CVE-2023-30852

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:pimcore:pimcore:*:*:*:*:*:*:*:*

History

21 Nov 2024, 08:00

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 4.9
v2 : unknown
v3 : 4.4
References () https://github.com/pimcore/pimcore/commit/498cadec2292f7842fb10612068ac78496e884b4.patch - Patch () https://github.com/pimcore/pimcore/commit/498cadec2292f7842fb10612068ac78496e884b4.patch - Patch
References () https://github.com/pimcore/pimcore/pull/14959 - Vendor Advisory () https://github.com/pimcore/pimcore/pull/14959 - Vendor Advisory
References () https://github.com/pimcore/pimcore/security/advisories/GHSA-j5c3-r84f-9596 - Patch, Vendor Advisory () https://github.com/pimcore/pimcore/security/advisories/GHSA-j5c3-r84f-9596 - Patch, Vendor Advisory

Information

Published : 2023-04-27 17:15

Updated : 2024-11-21 08:00


NVD link : CVE-2023-30852

Mitre link : CVE-2023-30852

CVE.ORG link : CVE-2023-30852


JSON object : View

Products Affected

pimcore

  • pimcore
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')