Advisory

GHSA-352x-hc2f-fwff

Also known as: CVE-2019-16317, SNYK-PHP-PIMCOREPIMCORE-451599

Summary

Pimcore RCE via PHAR upload

Details

In Pimcore before 5.7.1, an attacker with limited privileges can trigger execution of a .phar file via a phar:// URL in a filename parameter, because PHAR uploads are not blocked and are reachable within the phar://../../../../../../../../var/www/html/web/var/assets/ directory, a different vulnerability than CVE-2019-10867 and CVE-2019-16318.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 16:56 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

pimcore/pimcore

Packagist · All systems

Affected

  • introduced 0, fixed 5.7.1 (ecosystem)

Fixed versions

5.7.1

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