GHSA-352x-hc2f-fwff
Dashboard / Vulnerabilities / GHSA-352x-hc2f-fwff
GHSA-352x-hc2f-fwff
Published: 24 May 2022Last Modified: 10 Sept 2026
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.
References: https://nvd.nist.gov/vuln/detail/CVE-2019-16317, https://github.com/pimcore/pimcore/commit/6ee5d8536d0802e377594cbe39083e822710aab9, https://snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-451599
Affected packages
Package
Name: pimcore/pimcore
Purl: pkg:composer/pimcore/pimcore
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -5.7.1
Affected versions
2.2.0
2.2.1
2.2.2
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
