Stored Cross Site Scripting (XSS) via "properties" during creating new users in pimcore/pimcore
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
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.