MediumGHSA-j5c3-r84f-9596
Arbitrary File Read in Admin JS CSS files
Affected versions
before 10.5.21 - fixed in 10.5.21Details
### Impact It was observed that the `/admin/misc/script-proxy` API endpoint accessible by an authenticated administrator user and is vulnerable arbitrary JavaScript, CSS file read via the "scriptPath" and "scripts" parameters. The "scriptPath" parameter is not sanitized properly and is vulnerable to path traversal attack. Any JavaScript/CSS file from the application server can be read by specifying sufficient number of "../" patterns to go out from the application webroot followed by path of the folder where the file is located in the "scriptPath" parameter and the file name in the "scripts"
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-30852
- https://github.com/pimcore/pimcore/security/advisories/GHSA-j5c3-r84f-9596
- https://nvd.nist.gov/vuln/detail/CVE-2023-30852
- https://github.com/pimcore/pimcore/pull/14959
- https://github.com/pimcore/pimcore/commit/498cadec2292f7842fb10612068ac78496e884b4.patch
- https://github.com/pimcore/pimcore
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected