Stored Cross Site Scripting (XSS) via "properties" during creating new users in pimcore/pimcore

Valid

Reported on

Sep 6th 2022


Description

From demo url > login > click people icon at the left bar > click "Customers" > Click "New Customer" button from page > Fill up the "Edit" tab > Click "Save" button above > Click "Properties" tab > From "Add a custom Property" field , add "Test" on the first field > Click and select "text" on the second field > Click "+" button at the right of the field > On the table, click the key field to edit and add payload below:

mang"><img/src=x onerror=alert(/xss/)>

Then the XSS will triggered once the click any place in page.

Video Proof of Concept(PoC)

https://drive.google.com/file/d/1sfuiGp_c0AqBth55aR5tEdmVNka_BG0x/view?usp=sharing

Image PoC

Image

Impact

This vulnerability allows attackers to hijack the user's current session, steal relevant information, deface website or direct users to malicious websites and allows attacker to use for further exploitation.

We are processing your report and will contact the pimcore team within 24 hours. 25 days ago
Saitamang modified the report
25 days ago
We have contacted a member of the pimcore team and are waiting to hear back 24 days ago
pimcore/pimcore maintainer has acknowledged this report 23 days ago
Divesh Pahuja modified the Severity from High (7.7) to Medium (5.8) 17 days ago
The researcher has received a minor penalty to their credibility for miscalculating the severity: -1
Divesh Pahuja validated this vulnerability 17 days ago
Saitamang has been awarded the disclosure bounty
The fix bounty is now up for grabs
The researcher's credibility has increased: +7
Divesh Pahuja confirmed that a fix has been merged on 0508c4 17 days ago
Divesh Pahuja has been awarded the fix bounty
to join this conversation