Cross-site Scripting (XSS) - Stored in pimcore/pimcore
Reported on
Dec 18th 2021
Description
XSS in Classification Store (included panels like Collections, Groups, Key,... in the store)
Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user. Flaws that allow these attacks to succeed are quite widespread and occur anywhere a web application uses input from a user within the output it generates without validating or encoding it.
Proof of Concept
1. Go to Settings > Data Objects > Classification Store
2. Add an item with XSS payload in the name field.
3. XSS will triggered when reload the page.
Impact
XSS can have huge implications for a web application and its users. User accounts can be hijacked, change the html screen and insult the organization. Credentials could be stolen, sensitive data could be exfiltrated, and lastly, access to your client computers can be obtained.