{"answers":{"affected":"3 open source packages ship an affected version, including modoboa. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2228 exists.","fix":"Upgrade modoboa to 2.1.0 or later.","what":"CVE-2023-2228 is a medium-severity vulnerability in modoboa/modoboa, published on 21 Apr 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-2228 and fix it if it is affected.\n\nWhat it is: CVE-2023-2228 is a medium-severity vulnerability in modoboa/modoboa, published on 21 Apr 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2228 exists.\n\nAffected packages and fixed versions:\n- modoboa (PyPI): affected all versions; fixed in 2.1.0\n- modoboa (PyPI): affected all versions; fixed in 2.1.0\n- modoboa (PyPI): affected all versions; fixed in 2.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-2228/ (Markdown: https://insights.sbomify.com/CVE-2023-2228/index.md)","id":"CVE-2023-2228","markdown":"https://insights.sbomify.com/CVE-2023-2228/index.md","name":"CVE-2023-2228","record":{"aliases":["GHSA-6pvf-cq4f-hfjp","PYSEC-2023-36"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Modoboa mail server","requires_auth":"high_privilege","summary":"Attackers can perform unauthorized actions on behalf of authenticated users in the Modoboa mail server web interface.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"modoboa","vendor":"modoboa"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"Cross-Site Request Forgery (CSRF) in GitHub repository modoboa/modoboa prior to 2.1.0.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Cross-Site Request Forgery (CSRF) in modoboa/modoboa","id":"CVE-2023-2228","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"csrf","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"Quick Post Duplicator \u003c= 2.0 - Authenticated (Contributor+) SQL Injection via post_id","id":"CVE-2023-2229"},"packages":[{"ecosystem":"PyPI","fixed":["2.1.0"],"introduced":["0"],"last_affected":[],"package":"modoboa","purl":null,"source":"GHSA-6pvf-cq4f-hfjp"},{"ecosystem":"PyPI","fixed":["2.1.0"],"introduced":["0"],"last_affected":[],"package":"modoboa","purl":"pkg:pypi/modoboa","source":"GHSA-6pvf-cq4f-hfjp"},{"ecosystem":"PyPI","fixed":["2.1.0"],"introduced":["0"],"last_affected":[],"package":"modoboa","purl":"pkg:pypi/modoboa","source":"PYSEC-2023-36"}],"prev":{"headline":"Improper Authorization in modoboa/modoboa","id":"CVE-2023-2227"},"products":["modoboa/modoboa"],"published":"2023-04-21","related":[{"cvss_score":9.8,"headline":"Cross-site Scripting (XSS) - DOM in modoboa/modoboa","id":"CVE-2023-5688","kev_date_added":null,"published":"2023-10-20"},{"cvss_score":9.1,"headline":"Improper Authorization in modoboa/modoboa","id":"CVE-2023-2227","kev_date_added":null,"published":"2023-04-21"},{"cvss_score":8.6,"headline":"Authentication Bypass by Primary Weakness in modoboa/modoboa","id":"CVE-2023-0777","kev_date_added":null,"published":"2023-02-10"},{"cvss_score":7.2,"headline":"Modoboa has an OS Command Injection","id":"CVE-2026-27602","kev_date_added":null,"published":"2026-03-25"},{"cvss_score":7.1,"headline":"Cross-site Scripting (XSS) - DOM in modoboa/modoboa","id":"CVE-2023-5689","kev_date_added":null,"published":"2023-10-20"},{"cvss_score":7.1,"headline":"Cross-site Scripting (XSS) - Stored in modoboa/modoboa","id":"CVE-2023-0470","kev_date_added":null,"published":"2023-01-26"},{"cvss_score":7.1,"headline":"Cross-site Scripting (XSS) - Stored in modoboa/modoboa","id":"CVE-2023-0519","kev_date_added":null,"published":"2023-01-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-04","vendors":["modoboa"]},"summary":"Attackers can perform unauthorized actions on behalf of authenticated users in the Modoboa mail server web interface.","url":"https://insights.sbomify.com/CVE-2023-2228/"}