CVE-2023-2228: Modoboa Modoboa Vulnerable To Cross-Site Request Vulnerability
HIGHCVE-2023-2228 is a HIGH (CVSS 6.8) modoboa vulnerable to cross-site request vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Modoboa libraries in the PyPI ecosystem. The issue involves modoboa vulnerable to cross-site request forgery. Remediation is available by upgrading affected packages to version 2.1.0.
CVE-2023-2228 at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-2228
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.
pip install modoboa>=2.1.0
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-2228, 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.1.0), 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. 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
CVE-2023-2228 Affected Modoboa Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
modoboa
|
PyPI |
< 2.1.0
|
2.1.0
|
References
Frequently Asked Questions
What is CVE-2023-2228?
Which Modoboa versions are affected?
What version fixes CVE-2023-2228?
Is modoboa affected?
What is the CVSS score of CVE-2023-2228?
What CWE is associated with CVE-2023-2228?
How can I check PyPI dependencies for CVE-2023-2228?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6pvf-cq4f-hfjp",
"modified" : "2024-09-25T17:14:04Z",
"published" : "2023-04-21T15:30:18Z",
"aliases" : [ "CVE-2023-2228" ],
"summary" : "modoboa vulnerable to Cross-Site Request Forgery",
"details" : "modoboa prior to 2.1.0 is vulnerable to cross-site request forgery. An attacker must be logged in as admin to exploit this issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "modoboa"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-2228"
}, {
"type" : "WEB",
"url" : "https://github.com/modoboa/modoboa/commit/5d886f3d06373d2c3292911bac0772bcd5102343"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/modoboa/modoboa"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/modoboa/PYSEC-2023-36.yaml"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/619fb490-69ad-4a2a-b686-4c42a62404a9"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-352" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-04-24T20:29:46Z",
"nvd_published_at" : "2023-04-21T13:15:07Z"
}
}