GHSA-6vf6-g3pr-j83hmedium5.4
pimcore is vulnerable to cross-site scripting via "title field " in data objects
Impact
The vulnerability is capable of resulting in stolen user cookies.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
pimcore/pimcore Packagist
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 10.5.14Ecosystem versions | 10.5.14 |
Version evidence: OSV · GHSA-6vf6-g3pr-j83h
View original version evidence (204 explicit versions)
Original source description
Impact
The vulnerability is capable of resulting in stolen user cookies.
Proof of Concept
Login with dev account https://11.x-dev.pimcore.fun/admin/?_dc=1670962076&perspective=
Go to setting --> data objects --> classes --> events
Click media under genaral settings
Add payload in title field.
Go to data objects module and open events, xss will trigger
// PoC.js "><iMg SrC="x" oNeRRor="alert(xss);">
Patches
Update to version 10.5.14 or apply this patch manually https://github.com/pimcore/pimcore/pull/13916.patch
Workarounds
Apply https://github.com/pimcore/pimcore/pull/13916.patch manually.
References
https://huntr.dev/bounties/129d6a4b-0504-4de1-a72c-3f12c4552343/
References
- Security advisory github.com/pimcore/pimcore/security/advisories/GHSA-6vf6-g3pr-j83h
- Security advisory nvd.nist.gov/vuln/detail/CVE-2023-0323
- Patch github.com/pimcore/pimcore/pull/13916.patch
- Patch github.com/pimcore/pimcore/commit/746fac1a342841624f63ab13edcd340358e1bc04
- Source reference github.com/pimcore/pimcore
- Source reference huntr.dev/bounties/129d6a4b-0504-4de1-a72c-3f12c4552343