Pimcore vulnerable to Pre-Auth Path Traversal in pimcore_log parameter
A path traversal flaw in the pimcore_log parameter lets an attacker overwrite or modify sensitive files. This could lead to denial of service or tampering with system settings.
pimcore/pimcore
Originally disclosed on huntr
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/
From the GitHub Advisory Database (GHSA-46g3-f9r8-xj4v, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could overwrite or modify sensitive files, potentially causing denial of service or tampering with system settings.
What the attacker needed
None
The fix
The vulnerability was fixed in version 10.5.22; a patch is also available for manual application.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Path traversal is when an attacker uses special characters like '../' to escape a folder and reach other files on the server. Here, a setting called pimcore_log can be tricked into pointing to a different file, so the attacker can overwrite it. This can break the site or change important system files.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.