GitHub Advisoryadvisory · Packagist
GHSA-jfxw-6c5v-c42f Pimcore Admin Classic Bundle Cross-site Scripting (XSS) in PDF previews
MEDIUM
Official page ↗
- Aliases
- CVE-2023-46722
- Ecosystem
- Packagist
- Packages
- pimcore/admin-ui-classic-bundle
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2023-11-01
Affected packages
• Packagist pimcore/admin-ui-classic-bundle: < 1.2.0 → fixed in 1.2.0
Description
Impact
This vulnerability has the potential to 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.
Proof of Concept
Step 1. Go to /admin and login.
Step 2. In Documents, go to home -> click on Sample Content -> click Document folder
Step 3. Upload file PDF content XSS payload
Patches
Apply patches
https://github.com/pimcore/pimcore/commit/757375677dc83a44c6c22f26d97452cc5cda5d7c.patch
https://github.com/pimcore/admin-ui-classic-bundle/commit/19fda2e86557c2ed4978316104de5ccdaa66d8b9.patch
Workarounds
Update to version 1.2.0 or apply patches manually
https://github.com/pimcore/pimcore/commit/757375677dc83a44c6c22f26d97452cc5cda5d7c.patch
https://github.com/pimcore/admin-ui-classic-bundle/commit/19fda2e86557c2ed4978316104de5ccdaa66d8b9.patch
Related
Alias · CVE (1)
- CVE-2023-46722 The Pimcore Admin Classic Bundle provides a backend UI for Pimcore. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/pimcore/admin-ui-classic-bundle/security/advisories/GHSA-jfxw-6c5v-c42f web
- https://nvd.nist.gov/vuln/detail/CVE-2023-46722 advisory
- https://github.com/pimcore/admin-ui-classic-bundle/commit/19fda2e86557c2ed4978316104de5ccdaa66d8b9 web
- https://github.com/pimcore/pimcore/commit/757375677dc83a44c6c22f26d97452cc5cda5d7c web
- https://github.com/pimcore/admin-ui-classic-bundle package