Cross-site Scripting (XSS) in Document Properties Parameter
A cross-site scripting flaw existed in the Document Properties parameter of Pimcore. An attacker could use it to 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/9fc674892b8b53103098b9524705074a45e7f773.patch
Workarounds
Apply patch https://github.com/pimcore/pimcore/commit/9fc674892b8b53103098b9524705074a45e7f773.patch manually.
References
https://huntr.dev/bounties/f7228f3f-3bef-46fe-b0e3-56c432048a67/
From the GitHub Advisory Database (GHSA-476g-v7hf-cw5m, 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
Impact
An attacker could steal a user's cookie to take over their account, or redirect users to malicious sites.
What the attacker needed
Victim views the affected Document Properties; attacker can set the parameter value
The fix
It was fixed in version 10.5.21, 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 that a user typed without cleaning it first, so an attacker can sneak in code that runs in other people's browsers. Here the 'Document Properties' field was not cleaned properly. If a victim viewed the affected page, the attacker's code could run and read the victim's login cookie, which is like a temporary key to their account.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.