Pimcore Cross-site Scripting (XSS) vulnerability in DataObject datetime fields
A cross-site scripting vulnerability existed in Pimcore's DataObject datetime fields, allowing an attacker to inject malicious script. This could let an attacker steal a user's cookie and gain unauthorised access to their 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.6.8 or apply this patch manually https://github.com/pimcore/pimcore/commit/234c0c02ea7502071b00ab673fbe4a6ac253080e.patch
Workarounds
Apply patch https://github.com/pimcore/pimcore/commit/234c0c02ea7502071b00ab673fbe4a6ac253080e.patch manually.
References
https://huntr.dev/bounties/245a8785-0fc0-4561-b181-fa20f869d993/
From the GitHub Advisory Database (GHSA-599v-h3q5-g6r9, 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 a DataObject datetime field; victim views the affected field
The fix
It was fixed by updating to version 10.6.8 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 content without properly neutralising it, so a malicious script runs in another visitor's browser. Here, a date/time field in Pimcore's data objects did not sanitise input, so an attacker could plant script that executes when someone views the affected page. That script could read the victim's session cookie, which is like a temporary login pass, 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.