Pimcore vulnerable to Pre-Auth Path Traversal in pimcore_log parameter
Published 6 Jun 2023 · Updated 16 Feb 2024
Is your project on an affected pimcore/pimcore?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <10.5.22
- Fixed in
- 10.5.22
composer require pimcore/pimcore:^10.5.22Details
Impact
A path traversal vulnerability exists in the CMS, which allows an attacker to overwrite or modify sensitive files by manipulating the pimcore_log parameter.This can lead to potential denial of service---key file overwrite.
The impact of this vulnerability allows attackers to:
- Overwrite or modify sensitive files, potentially leading to unauthorized access, privilege escalation, or disclosure of confidential information.
- Tamper with system settings by modifying key files, such as the hosts file in Windows or configuration files for other services.
- Cause a denial of service (DoS) if critical system files are overwritten or deleted.
The consequences of exploiting this vulnerability can be detrimental to the confidentiality, integrity, and availability of the affected system. It's crucial to address this vulnerability to protect sensitive data and ensure the proper functioning of the system.
Patches
Update to version 10.5.22 or apply this patch manually https://github.com/pimcore/pimcore/commit/e8dbc4da58ae86618bceb67ed35ce23e5e54d2ed.patch
Workarounds
Apply patch https://github.com/pimcore/pimcore/commit/e8dbc4da58ae86618bceb67ed35ce23e5e54d2ed.patch manually.
References
https://huntr.dev/bounties/5df8b951-e2f1-4548-a7e3-601186e1b191/
Is GHSA-46g3-f9r8-xj4v in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected pimcore/pimcore, and gives you the command that fixes it.
More advisories for pimcore/pimcore
- HighCVE-2026-55416Pimcore: SQL Injection in Custom Reports via Malicious Report Configuration · 10 Sept 2026
- CriticalCVE-2026-55634Pimcore Vulnerable to Remote Code Execution via DataObject Class-Definition Field Name · 28 Aug 2026
- CriticalCVE-2026-55220Pimcore Hotspotimage getDataFromResource() unrestricted Serialize::unserialize over object-store column (PHP Object Injection, CWE-502) · 28 Aug 2026
- HighCVE-2026-55072Pimcore: ClassDefinition UID regex missing end anchor allows SQL injection via Block.php unquoted table name · 13 Aug 2026
- HighCVE-2026-11407Pimcore CMS Twig Sandbox Bypass via SecurityPolicy checkMethodAllowed · 17 Jun 2026
- HighCVE-2026-5394Pimcore Platform - SQL Injection in DataObject composite index handling during class definition import/save · 28 May 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.