Skip to content

pimcore is vulnerable to cross-site scripting via "title field " in data objects

Moderate severity GitHub Reviewed Published Jan 16, 2023 in pimcore/pimcore • Updated Jan 24, 2023

Package

composer pimcore/pimcore (Composer)

Affected versions

< 10.5.14

Patched versions

10.5.14

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

@dvesh3 dvesh3 published to pimcore/pimcore Jan 16, 2023
Published by the National Vulnerability Database Jan 16, 2023
Published to the GitHub Advisory Database Jan 20, 2023
Reviewed Jan 20, 2023
Last updated Jan 24, 2023

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

EPSS score

0.053%
(22nd percentile)

Weaknesses

CVE ID

CVE-2023-0323

GHSA ID

GHSA-6vf6-g3pr-j83h

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.