ghsa-c38c-c8mh-vq68
Vulnerability from github
Published
2024-01-10 15:22
Modified
2024-01-11 15:41
Severity ?
VLAI Severity ?
Summary
Pimcore Customer Data Framework Improper Access Control allows unprivileged user to access customers duplicates list
Details
Summary
An authenticated and unauthorized user can access the list of potential duplicate users and see their data.
Details
Permissions 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 :
https://github.com/pimcore/customer-data-framework/blob/b4af625ef327c58d05ef7cdf145fa749d2d4195e/src/Controller/Admin/DuplicatesController.php#L43
PoC
In order to reproduce the issue, the following steps can be followed :
- As an administrator : a. Create a role without any permission through Settings → User & Roles → Roles in the administration panel b. Create an user through Settings → User & Roles → Users and assign it the unprivileged role previously created
- Log out the current administrator and log in with this new user
- Access to the following endpoint
https://pimcore_instance/admin/customermanagementframework/duplicates/list
and the results will be returned to this unauthorized user
Impact
An unauthorized user can access PII data from customers without being authorized to.
{ "affected": [ { "package": { "ecosystem": "Packagist", "name": "pimcore/customer-management-framework-bundle" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "4.0.6" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-21666" ], "database_specific": { "cwe_ids": [ "CWE-284" ], "github_reviewed": true, "github_reviewed_at": "2024-01-10T15:22:48Z", "nvd_published_at": "2024-01-11T01:15:45Z", "severity": "MODERATE" }, "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\u003chttps://github.com/pimcore/customer-data-framework/blob/b4af625ef327c58d05ef7cdf145fa749d2d4195e/src/Controller/Admin/DuplicatesController.php#L43\u003e\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 \u2192 User \u0026 Roles \u2192 Roles in the administration panel\n b. Create an user through Settings \u2192 User \u0026 Roles \u2192 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", "id": "GHSA-c38c-c8mh-vq68", "modified": "2024-01-11T15:41:46Z", "published": "2024-01-10T15:22:48Z", "references": [ { "type": "WEB", "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": "WEB", "url": "https://github.com/pimcore/customer-data-framework/commit/c33c0048390ef0cf98b801d46a81d0762243baa6" }, { "type": "PACKAGE", "url": "https://github.com/pimcore/customer-data-framework" }, { "type": "WEB", "url": "https://github.com/pimcore/customer-data-framework/blob/b4af625ef327c58d05ef7cdf145fa749d2d4195e/src/Controller/Admin/DuplicatesController.php#L43" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "type": "CVSS_V3" } ], "summary": "Pimcore Customer Data Framework Improper Access Control allows unprivileged user to access customers duplicates list" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…