Skip to content

Pimcore RCE via PHAR upload

High severity GitHub Reviewed Published May 24, 2022 to the GitHub Advisory Database • Updated Jul 17, 2023

Package

composer pimcore/pimcore (Composer)

Affected versions

< 5.7.1

Patched versions

5.7.1

Description

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

Published by the National Vulnerability Database Sep 14, 2019
Published to the GitHub Advisory Database May 24, 2022
Last updated Jul 17, 2023
Reviewed Jul 17, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2019-16317

GHSA ID

GHSA-352x-hc2f-fwff

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.