GitHub Advisoryadvisory · Packagist
GHSA-xc9p-r5qj-8xm9 Improper quoting of columns when calling methods "getByUuid" & "exists" on UUID Model
HIGH
Official page ↗
- Aliases
- CVE-2023-28108
- Ecosystem
- Packagist
- Packages
- pimcore/pimcore
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
- Weaknesses
- CWE-89
- Reviewed
- 2023-03-17
Affected packages
• Packagist pimcore/pimcore: < 10.5.19 → fixed in 10.5.19
Description
Impact
The quoting is not done properly in UUID DAO model, so there's the theoretical possibility to inject custom SQL if the developer is using this methods with input data and not doing proper input validation in advance and so relies on the auto-quoting being done by the DAO class.
Patches
Update to version 10.5.19 or apply this patch manually https://github.com/pimcore/pimcore/commit/08e7ba56ae983c3c67ec563b6989b16ef8f35275.patch
Workarounds
Apply https://github.com/pimcore/pimcore/commit/08e7ba56ae983c3c67ec563b6989b16ef8f35275.patch manually.
References
14633
Related
Alias · CVE (1)
- CVE-2023-28108 Pimcore is an open source data and experience management platform. 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-xc9p-r5qj-8xm9 web
- https://nvd.nist.gov/vuln/detail/CVE-2023-28108 advisory
- https://github.com/pimcore/pimcore/pull/14633 web
- https://github.com/pimcore/pimcore/commit/08e7ba56ae983c3c67ec563b6989b16ef8f35275.patch web
- https://github.com/pimcore/pimcore package