Pimcore vulnerable to SQL Injection in Dataobjects sorting
The Dataobjects sorting feature in Pimcore was vulnerable to SQL injection, allowing an attacker to run arbitrary SQL queries. An attacker could use tools like sqlmap to enumerate all database information, alter data, or cause denial of service on the backend database.
pimcore/pimcore
Originally disclosed on huntr
Impact
Using some SQL exploitation tools such as sqlmap, an attacker can enumerate all information in the database, alter data or perform dos on the backend database.
Patches
Update to version 10.6.5 or apply this patch manually https://github.com/pimcore/pimcore/commit/e641968979d4a2377bbea5e2a76bdede040d0b97.patch
Workarounds
Apply patch https://github.com/pimcore/pimcore/commit/e641968979d4a2377bbea5e2a76bdede040d0b97.patch manually.
References
https://huntr.dev/bounties/b00a38b6-d040-494d-bf46-38f46ac1a1db/
From the GitHub Advisory Database (GHSA-c9hw-557q-f8hq, 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 attacker could use SQL exploitation tools to enumerate all database information, alter data, or cause denial of service on the backend database.
What the attacker needed
Access to the Dataobjects sorting feature
The fix
The issue was fixed in version 10.6.5, or by applying the linked patch manually.
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.
SQL injection is when user input is inserted into a database query without proper handling, letting an attacker change the query's meaning. Here, the sorting parameter for data objects was not safely handled, so an attacker could send crafted input to read or modify the whole database.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.