PT-2023-23008 · Pimcore · Pimcore

Dvesh3

·

Published

2023-04-27

·

Updated

2023-05-09

·

CVE-2023-30852

CVSS v3.1

4.4

Medium

VectorAV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Pimcore versions prior to 10.5.21
Description Pimcore is an open source data and experience management platform. The /admin/misc/script-proxy API endpoint, 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.
Recommendations Update to version 10.5.21 to receive a patch. As a workaround, apply the patch manually. Restrict access to the /admin/misc/script-proxy API endpoint until the issue is resolved. Avoid using the scriptPath and scripts parameters in the affected API endpoint until the issue is resolved.

Exploit

Fix

Path traversal

Weakness Enumeration

Related Identifiers

CVE-2023-30852
GHSA-J5C3-R84F-9596

Affected Products

Pimcore