pimcore/customer-management-framework-bundle has SQL Injection vulnerability in Segment Assignment query
The Segment Assignment query in the customer management framework is vulnerable to SQL injection, allowing an administrator to execute arbitrary SQL queries. This could lead to data theft or modification.
pimcore/customer-data-framework
Originally disclosed on huntr
Impact
An administrator user can use the inheritable segments feature to execute his own blind SQL queries.
A user with administrator privileges can run any SQL query on database. This can be used to retrieve sensitive data, change database information or any other malicious activity against the database.
Patches
Update to version 3.3.10 or apply this patch manually https://github.com/pimcore/customer-data-framework/commit/76df151737b7964ce5169fdf9e27a0ad801757fe.patch
Workarounds
Apply https://github.com/pimcore/customer-data-framework/commit/76df151737b7964ce5169fdf9e27a0ad801757fe.patch manually.
References
https://huntr.dev/bounties/cf398528-819f-456e-88e7-c06d268d3f44/
From the GitHub Advisory Database (GHSA-25fx-3c2q-cq46, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An administrator could run any SQL query on the database, potentially retrieving sensitive data or modifying database information.
What the attacker needed
Administrator privileges
The fix
The vulnerability was fixed in version 3.3.10; applying the provided patch manually also resolves it.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
An administrator can use a feature called 'inheritable segments' to run their own database queries. This means they could read or change any data in the database, which is dangerous because administrators are supposed to have limited powers.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.