GitHub Advisoryadvisory · Packagist
GHSA-g2mc-fqqc-hxg3 Pimcore Path Traversal Vulnerability in AdminBundle/Controller/Reports/CustomReportController.php
MEDIUM
Official page ↗
- Aliases
- CVE-2023-30855
- Ecosystem
- Packagist
- Packages
- pimcore/pimcore
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2023-05-02
Affected packages
• Packagist pimcore/pimcore: < 10.5.18 → fixed in 10.5.18
Description
Impact
The impact of this path traversal and arbitrary extension is limited (creation of arbitrary files and appending data to existing files) but when combined with the SQL Injection, the exported data `RESTRICTED DIFFUSION 9 / 9` can be controlled and a webshell can be uploaded. Attackers can use that to execute arbitrary PHP code on the server with the permissions of the webserver.
Patches
Update to version 10.5.18 or apply this patch manually https://github.com/pimcore/pimcore/commit/7f788fa44bc18bc1c9182c25e26b770a1d30b62f.patch
Workarounds
Apply patch https://github.com/pimcore/pimcore/commit/7f788fa44bc18bc1c9182c25e26b770a1d30b62f.patch manually.
References
https://github.com/pimcore/pimcore/pull/14498
Related
Alias · CVE (1)
- CVE-2023-30855 Pimcore is an open source data and experience management platform. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/pimcore/pimcore/security/advisories/GHSA-g2mc-fqqc-hxg3 web
- https://nvd.nist.gov/vuln/detail/CVE-2023-30855 advisory
- https://github.com/pimcore/pimcore/pull/14498 web
- https://github.com/pimcore/pimcore/commit/7f788fa44bc18bc1c9182c25e26b770a1d30b62f.patch web
- https://github.com/pimcore/pimcore/commit/f1d904094700b513c4756904fa2b1e19d08d890e.patch web
- https://github.com/pimcore/pimcore package