Cross-site Scripting (XSS) Affecting pimcore/admin-ui-classic-bundle package, versions <1.2.0-RC1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.08% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-PIMCOREADMINUICLASSICBUNDLE-6041519
  • published1 Nov 2023
  • disclosed31 Oct 2023
  • creditTuanTH

Introduced: 31 Oct 2023

CVE-2023-46722  (opens in a new tab)
CWE-80  (opens in a new tab)

How to fix?

Upgrade pimcore/admin-ui-classic-bundle to version 1.2.0-RC1 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the Filedata field in Document Upload. An attacker with admin privileges can steal a user's cookie and gain unauthorized access to that user's account through the stolen cookie or redirect users to other malicious sites by uploading a specially crafted PDF file.

PoC

Step 1. Go to https://11.x-dev.pimcore.fun/admin/ and login.

Step 2. In Documents, go to home -> click on Sample Content -> click Document folder

Step 3. Upload PDF file containing XSS payload

Step 4. Open PDF file in XSS alert

References

CVSS Scores

version 3.1