CVE-2023-30852: Pimcore Arbitrary File Read in Admin JS CSS files

Published Apr 27, 2023
·
Updated

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" parameter. The JavaScript file is successfully read only if the web application has read access to it.

Patches Update to version 10.5.21 or apply this patch manually https://github.com/pimcore/pimcore/commit/1d128404eddf4beb560d434437347da7aea059eb.patch

Workarounds Apply patch https://github.com/pimcore/pimcore/commit/1d128404eddf4beb560d434437347da7aea059eb.patch manually.

References https://github.com/pimcore/pimcore/pull/14959

Other sources

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.

— MITRE

Affected Software

2 affected componentsFixes available
composer/pimcore/pimcore<10.5.21
10.5.21
Pimcore pimcore<10.5.21

Event History

Apr 27, 2023
CVE Published
via MITRE·04:44 PM
Data Sourced
via MITRE·04:44 PM
DescriptionSeverityWeakness
Advisory Published
11:10 PM

Frequently Asked Questions

1

What is CVE-2023-30852?

CVE-2023-30852 is a vulnerability in Pimcore, an open source data and experience management platform, that allows arbitrary JavaScript and CSS file read.

2

How does CVE-2023-30852 impact Pimcore?

CVE-2023-30852 allows an authenticated administrator user to read arbitrary JavaScript and CSS files via the `/admin/misc/script-proxy` API endpoint.

3

What is the severity of CVE-2023-30852?

CVE-2023-30852 has a severity rating of medium.

4

How can I fix CVE-2023-30852 in Pimcore?

To fix CVE-2023-30852 in Pimcore, update to version 10.5.21 or newer.

5

Where can I find more information about CVE-2023-30852?

You can find more information about CVE-2023-30852 in the Pimcore GitHub repository, including the patch, pull request, and security advisories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203