CVE-2023-47636: Full Path Disclosure via re-export document in pimcore/admin-ui-classic-bundle
Impact Full Path Disclosure (FPD) vulnerabilities enable the attacker to see the path to the webroot/file. e.g.: /home/omg/htdocs/file/. Certain vulnerabilities, such as using the loadfile() (within a SQL Injection) query to view the page source, require the attacker to have the full path to the file they wish to view.
In the case of pimcore, the fopen() function here doesn't have an error handle when the file doesn't exist on the server so the server response raises the full path "fopen(/var/www/html/var/tmp/export-{ uniqe id}.csv)"
Patches Apply patch https://github.com/pimcore/admin-ui-classic-bundle/commit/10d178ef771097604a256c1192b098af9ec57a87.patch
Workarounds Update to version 1.2.1 or apply patches manually
References https://huntr.com/bounties/4af4db18-9fd4-43e9-8bc6-c88aaf76839c/
Other sources
The Pimcore Admin Classic Bundle provides a Backend UI for Pimcore. Full Path Disclosure (FPD) vulnerabilities enable the attacker to see the path to the webroot/file. e.g.: /home/omg/htdocs/file/. Certain vulnerabilities, such as using the loadfile() (within a SQL Injection) query to view the page source, require the attacker to have the full path to the file they wish to view. In the case of pimcore, the fopen() function here doesn't have an error handle when the file doesn't exist on the server so the server response raises the full path "fopen(/var/www/html/var/tmp/export-{ uniqe id}.csv)". This issue has been patched in commit 10d178ef771 which has been included in release version 1.2.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2023-47636?
CVE-2023-47636 is a Full Path Disclosure vulnerability in the pimcore/admin-ui-classic-bundle package.
What is the impact of CVE-2023-47636?
The impact of CVE-2023-47636 is that it allows attackers to see the full path to the webroot/file, potentially exposing sensitive information.
Which software versions are affected by CVE-2023-47636?
pimcore/admin-ui-classic-bundle version up to and excluding 1.2.1 is affected by CVE-2023-47636.
How severe is CVE-2023-47636?
CVE-2023-47636 has a severity rating of 5.3 (Medium).
Is there a fix for CVE-2023-47636?
Yes, upgrading to version 1.2.1 or higher of pimcore/admin-ui-classic-bundle resolves CVE-2023-47636.