Vulnerability Description
Pimcore is an open source data and experience management platform. Prior to version 10.5.21, the `/admin/misc/script-proxy` API endpoint that is accessible by an authenticated administrator user is vulnerable to arbitrary JavaScript and 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" parameter. The JavaScript file is successfully read only if the web application has read access to it. Users should update to version 10.5.21 to receive a patch or, as a workaround, apply the patch manual.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Pimcore | Pimcore | < 10.5.21 |
Related Weaknesses (CWE)
References
- https://github.com/pimcore/pimcore/commit/498cadec2292f7842fb10612068ac78496e884Patch
- https://github.com/pimcore/pimcore/pull/14959Vendor Advisory
- https://github.com/pimcore/pimcore/security/advisories/GHSA-j5c3-r84f-9596PatchVendor Advisory
- https://github.com/pimcore/pimcore/commit/498cadec2292f7842fb10612068ac78496e884Patch
- https://github.com/pimcore/pimcore/pull/14959Vendor Advisory
- https://github.com/pimcore/pimcore/security/advisories/GHSA-j5c3-r84f-9596PatchVendor Advisory
FAQ
What is CVE-2023-30852?
CVE-2023-30852 is a vulnerability with a CVSS score of 4.4 (MEDIUM). Pimcore is an open source data and experience management platform. Prior to version 10.5.21, the `/admin/misc/script-proxy` API endpoint that is accessible by an authenticated administrator user is vu...
How severe is CVE-2023-30852?
CVE-2023-30852 has been rated MEDIUM with a CVSS base score of 4.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-30852?
Check the references section above for vendor advisories and patch information. Affected products include: Pimcore Pimcore.