{"id":"CVE-2024-21667","aliases":["GHSA-g273-wppx-82w4"],"url":"https://o3.security/vulnerability/CVE-2024-21667","summary":"Pimcore Customer Data Framework Improper Access Control allows unprivileged user to access GDPR extracts","details":"### Summary\nAn authenticated and unauthorized user can access the GDPR data extraction feature and query over the information returned, leading to customer data exposure.\n\n### Details\nPermissions do not seem to be enforced when reaching the `/admin/customermanagementframework/gdpr-data/search-data-objects` 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 : <https://github.com/pimcore/customer-data-framework/blob/b4af625ef327c58d05ef7cdf145fa749d2d4195e/src/Controller/Admin/GDPRDataController.php#L38>\n\n### PoC\n\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/gdpr-data/search-data-objects?id=&firstname=&lastname=&email=&page=1&start=0&limit=50` 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-11T01:05:35.979Z","modified":"2026-08-12T03:51:17.183758129Z","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":null,"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/6c34515be2ba39dceee7da07a1abf246309ccd77","label":"pimcore/customer-data-framework@6c34515"},"references":[{"type":"WEB","url":"https://github.com/pimcore/customer-data-framework/blob/b4af625ef327c58d05ef7cdf145fa749d2d4195e/src/Controller/Admin/GDPRDataController.php#L38"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21667.json"},{"type":"ADVISORY","url":"https://github.com/pimcore/customer-data-framework/security/advisories/GHSA-g273-wppx-82w4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21667"},{"type":"FIX","url":"https://github.com/pimcore/customer-data-framework/commit/6c34515be2ba39dceee7da07a1abf246309ccd77"},{"type":"PACKAGE","url":"https://github.com/pimcore/customer-data-framework"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:17.183758129Z"}}