GHSA-4x35-vr82-xvj6
SQL Injection in AssetController
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | pimcore/pimcore | < 10.5.21 | 10.5.21 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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
External links from the advisory. They lead to third-party sites.
- https://github.com/pimcore/pimcore/security/advisories/GHSA-4x35-vr82-xvj6
- https://nvd.nist.gov/vuln/detail/CVE-2023-2338
- https://github.com/pimcore/pimcore/commit/21e35af721c375ef4676ed50835e30d828e76520
- https://github.com/pimcore/pimcore
- https://huntr.dev/bounties/bbf59fa7-cf5b-4945-81b0-328adc710462