SQL Injection in AssetController
Impact
SQL injections in AssetController due to unsanitized concatenating strings in where clause. The attacker can dump database, alter data or perform dos on the backend database.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 10.5.21Ecosystem versions | 10.5.21 |
Version evidence: OSV · GHSA-4x35-vr82-xvj6
View original version evidence (211 explicit versions)
Original source description
Impact
SQL injections in AssetController due to unsanitized concatenating strings in where clause. The attacker can dump database, alter data or perform dos on the backend database.
Patches
Update to version 10.5.21 or apply this patch manually https://github.com/pimcore/pimcore/commit/21e35af721c375ef4676ed50835e30d828e76520.patch
Workarounds
Apply patch https://github.com/pimcore/pimcore/commit/21e35af721c375ef4676ed50835e30d828e76520.patch manually.
References
https://huntr.dev/bounties/bbf59fa7-cf5b-4945-81b0-328adc710462/
References
- Security advisory github.com/pimcore/pimcore/security/advisories/GHSA-4x35-vr82-xvj6
- Security advisory nvd.nist.gov/vuln/detail/CVE-2023-2338
- Patch github.com/pimcore/pimcore/commit/21e35af721c375ef4676ed50835e30d828e76520
- Source reference github.com/pimcore/pimcore
- Source reference huntr.dev/bounties/bbf59fa7-cf5b-4945-81b0-328adc710462