Stored/Reflected XSS when add new domain in modoboa/modoboa
Reported on
Jan 20th 2023
#Description there is an XSS vulnerability that malicious script is injected directly in list of domain
Proof of Concept
1//go to admin/domains/
2/ click add to add a new domain
3/ in name section add this payload "><img src/onerror=prompt(8)> and you can see payload executed
POC
https://drive.google.com/file/d/1wfKb3Ath3nI-KOL8VJVjK6hYDm2rpNeZ/view?usp=sharing https://drive.google.com/file/d/1oFkYWuAwKlSXjCSC_IzTT46TVSe_UK4m/view?usp=sharing
Impact
Cross site scripting attacks can have devastating consequences. Code injected into a vulnerable application can exfiltrate data or install malware on the user’s machine. Attackers can masquerade as authorized users via session cookies, allowing them to perform any action allowed by the user account.
Occurrences
Here is a fix: https://github.com/modoboa/modoboa/pull/2757
Hi @maintainer Can you validate this as fixed and move to CVE