Synopsis
A researcher at Tenable discovered multiple access control vulnerabilities in Pimcore bundles.
Pimcore E-Commerce Framework Bundle
CVE-2024-21665 - Improper Access Control allows unprivileged user to access back-office orders list (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N)
An authenticated and unauthorized user can access the back-office orders list and is able to query over the information returned without having the privileges.
Proof Of Concept:
In order to reproduce the issue, the following steps can be followed on a Pimcore instance using this feature / bundle:
- As an administrator :
- Create a role without any permission through Settings -> User & Roles -> Roles in the administration panel
- 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 the new user.
- Access to the following endpoint https://pimcore_instance/admin/ecommerceframework/admin-order/list and the results will be returned to this unauthorized user.
Pimcore Customer Data Framework Bundle
CVE-2024-21666 - Improper Access Control allows unprivileged user to access customers duplicates list (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N)
An authenticated and unauthorized user can access the list of potential duplicate users and see their data.
Proof Of Concept:
In order to reproduce the issue, the following steps can be followed on a Pimcore instance using this feature / bundle:
- As an administrator :
- Create a role without any permission through Settings -> User & Roles -> Roles in the administration panel
- 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 the new user.
- Access to the following endpoint https://pimcore_instance/admin/customermanagementframework/duplicates/list and the results will be returned to this unauthorized user.
CVE-2024-21667 - Improper Access Control allows unprivileged user to access GDPR extracts (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N)
An authenticated and unauthorized user can access the GDPR data extraction feature and query over the information returned, leading to customer data exposure.
Proof Of Concept:
In order to reproduce the issue, the following steps can be followed on a Pimcore instance using this feature / bundle:
- As an administrator :
- Create a role without any permission through Settings -> User & Roles -> Roles in the administration panel
- 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 the new user.
- Access to the following endpoint https://pimcore_instance/admin/customermanagementframework/gdpr-data/search-data-objects and the results will be returned to this unauthorized user.
Solution
Upgrade to Pimcore Customer Data Framework Bundle 4.0.6 or later and to Pimcore E-Commerce Framework Bundle 1.0.10 or later.
Additional References
https://github.com/pimcore/ecommerce-framework-bundle/security/advisories/GHSA-cx99-25hr-5jxfhttps://github.com/pimcore/ecommerce-framework-bundle/releases
https://github.com/pimcore/customer-data-framework/security/advisories/GHSA-c38c-c8mh-vq68
https://github.com/pimcore/customer-data-framework/security/advisories/GHSA-g273-wppx-82w4
https://github.com/pimcore/customer-data-framework/releases
Disclosure Timeline
All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.
Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.
For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.
If you have questions or corrections about this advisory, please email [email protected]