Stored/Reflected XSS when add new domain in modoboa/modoboa
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
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.