{"id":"CVE-2024-21666","aliases":["GHSA-c38c-c8mh-vq68"],"url":"https://o3.security/vulnerability/CVE-2024-21666","summary":"Pimcore Customer Data Framework Improper Access Control allows unprivileged user to access customers duplicates list","details":"### Summary\nAn authenticated and unauthorized user can access the list of potential duplicate users and see their data.\n\n### Details\nPermissions do not seem to be enforced when reaching the `/admin/customermanagementframework/duplicates/list` endpoint allowing an authenticated user without the permissions to access the endpoint and query the data available there. It seems that the access control is not enforced in this place :\n<https://github.com/pimcore/customer-data-framework/blob/b4af625ef327c58d05ef7cdf145fa749d2d4195e/src/Controller/Admin/DuplicatesController.php#L43>\n\n### PoC\nIn order to reproduce the issue, the following steps can be followed :\n\n1. As an administrator :\n  a. Create a role without any permission through Settings → User & Roles → Roles in the administration panel\n  b. Create an user through Settings → User & Roles → Users and assign it the unprivileged role previously created\n2. Log out the current administrator and log in with this new user\n3. Access to the following endpoint `https://pimcore_instance/admin/customermanagementframework/duplicates/list` and the results will be returned to this unauthorized user\n\n### Impact\nAn unauthorized user can access PII data from customers without being authorized to.\n","published":"2024-01-11T00:45:44.520Z","modified":"2026-08-12T03:51:48.835940292Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},"epss":{"score":0.00564,"percentile":0.44302,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Packagist","name":"pimcore/customer-management-framework-bundle","fixedVersion":"4.0.6"}],"fix":{"url":"https://github.com/pimcore/customer-data-framework/commit/c33c0048390ef0cf98b801d46a81d0762243baa6","label":"pimcore/customer-data-framework@c33c004"},"references":[{"type":"WEB","url":"https://github.com/pimcore/customer-data-framework/blob/b4af625ef327c58d05ef7cdf145fa749d2d4195e/src/Controller/Admin/DuplicatesController.php#L43"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21666.json"},{"type":"ADVISORY","url":"https://github.com/pimcore/customer-data-framework/security/advisories/GHSA-c38c-c8mh-vq68"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21666"},{"type":"FIX","url":"https://github.com/pimcore/customer-data-framework/commit/c33c0048390ef0cf98b801d46a81d0762243baa6"},{"type":"PACKAGE","url":"https://github.com/pimcore/customer-data-framework"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:48.835940292Z"}}