CVE-2023-0860: Modoboa Improper Restriction Of Excessive Authentication Vulnerability

HIGH
Advisory Identifier: GHSA-q9ww-gjpw-p9g6
CVSS 7.5
CWE-307
Published
Advisory Summary

CVE-2023-0860 is a HIGH (CVSS 7.5) improper restriction of excessive authentication vulnerability (CWE-307: Improper Restriction of Excessive Authentication Attempts) affecting Modoboa libraries in the PyPI ecosystem. The issue involves improper restriction of excessive authentication attempts in modoboa. Remediation is available by upgrading affected packages to version 2.0.4.

CVE-2023-0860 at a Glance

CVE Identifier CVE-2023-0860
GHSA Identifier GHSA-q9ww-gjpw-p9g6
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-307: Improper Restriction of Excessive Authentication Attempts
Affected Product Modoboa
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2023-0860

To remediate this vulnerability, upgrade all affected Modoboa dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

modoboa fixed: 2.0.4
pip install modoboa>=2.0.4
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show modoboa

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2023-0860, inspect your installed packages using pip:

pip show modoboa

Analyze the terminal output to locate any version of Modoboa in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.4), your application is affected.

Note: The pip show modoboa command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts, where the product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame. In Modoboa, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Improper Restriction of Excessive Authentication Attempts in GitHub repository modoboa/modoboa-installer prior to 2.0.4.

CVE-2023-0860 Affected Modoboa Versions

1 component(s)
Fixed Versions:
2.0.4
Product / Package Ecosystem Affected Versions Fixed Version
modoboa
PyPI
< 2.0.4
2.0.4

References

Frequently Asked Questions

What is CVE-2023-0860?
CVE-2023-0860 is a security vulnerability in Modoboa involving Improper Restriction of Excessive Authentication Attempts in modoboa under CWE-307: Improper Restriction of Excessive Authentication Attempts.
Which Modoboa versions are affected?
Affected versions include releases prior to 2.0.4 across affected packages: modoboa.
What version fixes CVE-2023-0860?
Upgrading to 2.0.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is modoboa affected?
Yes, modoboa is affected in releases prior to 2.0.4. Upgrade your dependency to 2.0.4 or later.
What is the CVSS score of CVE-2023-0860?
CVE-2023-0860 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2023-0860?
CVE-2023-0860 is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts (The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.).
How can I check PyPI dependencies for CVE-2023-0860?
Run the dependency tree command: 'pip show modoboa'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-q9ww-gjpw-p9g6",
  "modified" : "2023-02-24T18:58:07Z",
  "published" : "2023-02-16T12:30:22Z",
  "aliases" : [ "CVE-2023-0860" ],
  "summary" : "Improper Restriction of Excessive Authentication Attempts in modoboa",
  "details" : "Improper Restriction of Excessive Authentication Attempts in GitHub repository modoboa/modoboa-installer prior to 2.0.4.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "modoboa"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-0860"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/modoboa/modoboa-installer/commit/63d92b73f3da6971ae4e13d033d625773ac91085"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/modoboa/modoboa"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.dev/bounties/64f3ab93-1357-4468-8ff4-52bbcec18cca"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-307" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-02-16T18:45:14Z",
    "nvd_published_at" : "2023-02-16T10:15:00Z"
  }
}