GitHub Advisoryadvisory · Packagist
GHSA-4x35-vr82-xvj6 SQL Injection in AssetController
HIGH
Official page ↗
- Aliases
- CVE-2023-2338
- Ecosystem
- Packagist
- Packages
- pimcore/pimcore
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-89
- Reviewed
- 2023-04-27
Affected packages
• Packagist pimcore/pimcore: < 10.5.21 → fixed in 10.5.21
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/
Related
Alias · CVE (1)
- CVE-2023-2338 SQL Injection in GitHub repository pimcore/pimcore prior to 10.5.21. vulnerability
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://github.com/pimcore/pimcore/security/advisories/GHSA-4x35-vr82-xvj6 web
- https://nvd.nist.gov/vuln/detail/CVE-2023-2338 advisory
- https://github.com/pimcore/pimcore/commit/21e35af721c375ef4676ed50835e30d828e76520 web
- https://github.com/pimcore/pimcore package
- https://huntr.dev/bounties/bbf59fa7-cf5b-4945-81b0-328adc710462 web