Advisory

GHSA-xc9p-r5qj-8xm9

Also known as: CVE-2023-28108

Summary

Improper quoting of columns when calling methods "getByUuid" & "exists" on UUID Model

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-03-17 14:44 UTC
Modified
2023-11-08 04:12 UTC

Affected packages and fixes

pimcore/pimcore

Packagist · All systems

Affected

  • introduced 0, fixed 10.5.19 (ecosystem)

Fixed versions

10.5.19

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences