Pimcore Cross-site Scripting (XSS) in name field of Custom Reports
A cross-site scripting flaw existed in the name field of Custom Reports in Pimcore. An attacker could steal a user's cookie and gain unauthorised access to that user's account, or redirect users to malicious sites.
pimcore/pimcore
Originally disclosed on huntr
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.
Patches
Update to version 10.5.21 or apply this patch manually: https://github.com/pimcore/pimcore/commit/c36ef54ce33f7b5e74b7b0ab9eabfed47c018fc7.patch
Workarounds
Apply patches manually: https://github.com/pimcore/pimcore/commit/c36ef54ce33f7b5e74b7b0ab9eabfed47c018fc7.patch
References
https://huntr.dev/bounties/1a5e6c65-2c5e-4617-9411-5b47a7e743a6/
From the GitHub Advisory Database (GHSA-m6m9-gr85-79vm, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
What the attacker needed
Ability to set the Custom Reports name field; victim views the affected report
The fix
It was fixed by updating to version 10.5.21 or applying the referenced patch manually.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Cross-site scripting (XSS) is when a website displays user-supplied text without making it safe, so a malicious script runs in another visitor's browser. Here the name field of Custom Reports did not neutralise input, so an attacker could run code in a victim's session. That code could read the victim's login cookie and let the attacker act as that user.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.