{"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-0777 exists.","fix":"Upgrade modoboa to 2.0.4 or later.","what":"CVE-2023-0777 is a high-severity authentication bypass vulnerability in modoboa/modoboa, published on 10 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-0777 and fix it if it is affected.\n\nWhat it is: CVE-2023-0777 is a high-severity authentication bypass vulnerability in modoboa/modoboa, published on 10 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-0777 exists.\n\nAffected packages and fixed versions:\n- modoboa (PyPI): affected all versions; fixed in 2.0.4\n- modoboa (PyPI): affected all versions; fixed in 2.0.4\n- modoboa (PyPI): affected all versions; fixed in 2.0.4\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-0777/ (Markdown: https://insights.sbomify.com/CVE-2023-0777/index.md)","id":"CVE-2023-0777","markdown":"https://insights.sbomify.com/CVE-2023-0777/index.md","name":"CVE-2023-0777","record":{"aliases":["GHSA-rfhw-fm4m-52j6","PYSEC-2023-32"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Modoboa mail platform","requires_auth":"none","summary":"An authentication bypass vulnerability in Modoboa allows attackers to gain unauthorized access to user accounts.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"modoboa","vendor":"modoboa"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-305","name":"Authentication Bypass by Primary Weakness"}],"description":"Authentication Bypass by Primary Weakness in GitHub repository modoboa/modoboa prior to 2.0.4.","ecosystems":["PyPI"],"exploits":{"exploitdb":1,"first_seen":"2023-04-06","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":"2023-04-06","kind":"exploitdb","ref":"51276","stars":null,"title":"modoboa  2.0.4 - Admin TakeOver"},{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-0777.yaml","stars":null,"title":"modoboa  2.0.4 - Admin TakeOver"}],"tier":"weaponised"},"has_fix":true,"headline":"Authentication Bypass by Primary Weakness in modoboa/modoboa","id":"CVE-2023-0777","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"auth_bypass","year":"2023"},"n_packages":3,"n_references":3,"next":{"headline":"Podman Time-of-check Time-of-use (TOCTOU) Race Condition","id":"CVE-2023-0778"},"packages":[{"ecosystem":"PyPI","fixed":["2.0.4"],"introduced":["0"],"last_affected":[],"package":"modoboa","purl":null,"source":"GHSA-rfhw-fm4m-52j6"},{"ecosystem":"PyPI","fixed":["2.0.4"],"introduced":["0"],"last_affected":[],"package":"modoboa","purl":"pkg:pypi/modoboa","source":"GHSA-rfhw-fm4m-52j6"},{"ecosystem":"PyPI","fixed":["2.0.4"],"introduced":["0"],"last_affected":[],"package":"modoboa","purl":"pkg:pypi/modoboa","source":"PYSEC-2023-32"}],"prev":{"headline":"Remote Code Execution in Baicells QRTB Platform","id":"CVE-2023-0776"},"products":["modoboa/modoboa"],"published":"2023-02-10","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":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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-24","vendors":["modoboa"]},"summary":"An authentication bypass vulnerability in Modoboa allows attackers to gain unauthorized access to user accounts.","url":"https://insights.sbomify.com/CVE-2023-0777/"}