Cross-site Scripting (XSS) in DataObject columns grid
A cross-site scripting vulnerability existed in the DataObject columns grid, allowing an attacker to steal a user's session cookie. This could lead to complete account takeover.
pimcore/pimcore
Originally disclosed on huntr
Impact
The attacker is capable to stolen the user session cookie. it will leads to complete account takeover.
Patches
Update to version 10.5.21 or apply this patch manually https://github.com/pimcore/pimcore/commit/aa38319e353cc3cdfac12e03e21ed7a8f3628d3e.patch
Workarounds
Apply patch https://github.com/pimcore/pimcore/commit/aa38319e353cc3cdfac12e03e21ed7a8f3628d3e.patch manually.
References
https://huntr.dev/bounties/964762b0-b4fe-441c-81e1-0ebdbbf80f3b/
From the GitHub Advisory Database (GHSA-g93x-fm2w-5pxw, 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 views crafted DataObject grid content
The fix
The issue was fixed in version 10.5.21, or can be patched manually with the provided commit.
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 a flaw where a website shows attacker-supplied code to other users. Here, the DataObject columns grid did not properly clean input, so an attacker could run code in a victim's browser. That code could read the victim's session cookie, which is like a temporary login pass, and use it to take over the account.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.