CVE-2024-21666: Pimcore/customer management framework bundle Pimcore Customer Data Framework Improper Vulnerability
MODERATECVE-2024-21666 is a MODERATE (CVSS 6.5) pimcore customer data framework improper vulnerability (CWE-284: Improper Access Control) affecting Pimcore/customer management framework bundle libraries in the Packagist ecosystem. The issue involves pimcore customer data framework improper access control allows unprivileged user to access customers duplicates list. Remediation is available by upgrading affected packages to version 4.0.6.
CVE-2024-21666 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2024-21666
To remediate this vulnerability, upgrade all affected Pimcore/customer management framework bundle dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade pimcore/customer-management-framework-bundle to 4.0.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for pimcore/customer-management-framework-bundle
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-21666, inspect your project dependencies for Pimcore/customer management framework bundle:
inspect dependencies for pimcore/customer-management-framework-bundle
Analyze the terminal output to locate any version of Pimcore/customer management framework bundle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.6), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Pimcore/customer management framework bundle, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-21666 Affected Pimcore/customer management framework bundle Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pimcore/customer-management-framework-bundle
|
Packagist |
< 4.0.6
|
4.0.6
|
References
Frequently Asked Questions
What is CVE-2024-21666?
Which Pimcore/customer management framework bundle versions are affected?
What version fixes CVE-2024-21666?
Is pimcore/customer-management-framework-bundle affected?
What is the CVSS score of CVE-2024-21666?
What CWE is associated with CVE-2024-21666?
How can I check Packagist dependencies for CVE-2024-21666?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c38c-c8mh-vq68",
"modified" : "2024-01-11T15:41:46Z",
"published" : "2024-01-10T15:22:48Z",
"aliases" : [ "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",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "pimcore/customer-management-framework-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.0.6"
} ]
} ]
} ],
"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"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-10T15:22:48Z",
"nvd_published_at" : "2024-01-11T01:15:45Z"
}
}