CVE-2024-21666

CVE-2024-21666 is a medium-severity security vulnerability in pimcore/customer-management-framework-bundle (composer), affecting versions < 4.0.6. It is fixed in 4.0.6.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

Pimcore Customer Data Framework Improper Access Control allows unprivileged user to access customers duplicates list

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 :

  1. 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
  2. Log out the current administrator and log in with this new user
  3. 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.

CVE-2024-21666 has a CVSS score of 6.5 (Medium). The vector is network-reachable, low privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (4.0.6); upgrading removes the vulnerable code path.

Affected versions

pimcore/customer-management-framework-bundle (< 4.0.6)

Security releases

pimcore/customer-management-framework-bundle → 4.0.6 (composer)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

Upgrade pimcore/customer-management-framework-bundle to 4.0.6 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently Asked Questions

  1. What is CVE-2024-21666? CVE-2024-21666 is a medium-severity security vulnerability in pimcore/customer-management-framework-bundle (composer), affecting versions < 4.0.6. It is fixed in 4.0.6.
  2. How severe is CVE-2024-21666? CVE-2024-21666 has a CVSS score of 6.5 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which versions of pimcore/customer-management-framework-bundle are affected by CVE-2024-21666? pimcore/customer-management-framework-bundle (composer) versions < 4.0.6 is affected.
  4. Is there a fix for CVE-2024-21666? Yes. CVE-2024-21666 is fixed in 4.0.6. Upgrade to this version or later.
  5. Is CVE-2024-21666 exploitable, and should I be worried? Whether CVE-2024-21666 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether CVE-2024-21666 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix CVE-2024-21666? Upgrade pimcore/customer-management-framework-bundle to 4.0.6 or later.

Other vulnerabilities in pimcore/customer-management-framework-bundle

Stop the waste.
Protect your environment with Kodem.