pimcore/admin-ui-classic-bundle Full Path Disclosure via re-export document
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 load_file() (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.
Source excerpt · OSVCertain vulnerabilities, such as using the load_file() (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.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 1.2.1Ecosystem versions | 1.2.1 |
Version evidence: OSV · GHSA-c8hj-w239-5gvf
View original version evidence (18 explicit versions)
Original source description
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 load_file() (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/
References
- Security advisory github.com/pimcore/admin-ui-classic-bundle/security/advisories/GHSA-c8hj-w239-5gvf
- Security advisory nvd.nist.gov/vuln/detail/CVE-2023-47636
- Patch github.com/pimcore/admin-ui-classic-bundle/commit/10d178ef771097604a256c1192b098af9ec57a87
- Source reference github.com/pimcore/admin-ui-classic-bundle
- Source reference huntr.com/bounties/4af4db18-9fd4-43e9-8bc6-c88aaf76839c