An authenticated and unauthorized user can access the GDPR data extraction feature and query over the information returned, leading to customer data exposure.
Permissions 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
In order to reproduce the issue, the following steps can be followed:
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.An unauthorized user can access PII data from customers without being authorized to.
{ "nvd_published_at": "2024-01-11T01:15:45Z", "cwe_ids": [ "CWE-284" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2024-01-10T15:24:08Z" }