Pimcore vulnerable to Reflected XSS in Predefined Properties module in Settings
A reflected cross-site scripting flaw existed in the Predefined Properties module in Pimcore's settings. An attacker could steal a user's cookie and gain unauthorised access to that 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.20 or apply this patch manually https://github.com/pimcore/pimcore/pull/14721.patch
Workarounds
Apply https://github.com/pimcore/pimcore/pull/14721.patch manually.
References
https://huntr.dev/bounties/64f943c4-68e5-4ef8-82f6-9c4abe928256/
From the GitHub Advisory Database (GHSA-7r35-chv4-xr3r, 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
Victim clicks a crafted link; victim is logged in
The fix
It was fixed in version 10.5.20, or by applying the linked 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 shows text or code from an attacker as if it were part of the site. Here, a part of the settings page echoed something back without cleaning it, so a crafted link could run code in a logged-in user's browser. That code could read the user's session cookie, which is like a temporary key, and use it to 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.