{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2018-7842 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-7842 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-7842 is a critical authentication bypass vulnerability in Modicon M580 Modicon M340 Modicon Quantum Modicon Premium, published on 22 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-7842 and fix it if it is affected.\n\nWhat it is: CVE-2018-7842 is a critical authentication bypass vulnerability in Modicon M580 Modicon M340 Modicon Quantum Modicon Premium, published on 22 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-7842 in the wild and no public exploit code.\n\nAffected product: Modicon M580 Modicon M340 Modicon Quantum Modicon Premium. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2018-7842/ (Markdown: https://insights.sbomify.com/CVE-2018-7842/index.md)","id":"CVE-2018-7842","markdown":"https://insights.sbomify.com/CVE-2018-7842/index.md","name":"CVE-2018-7842","record":{"aliases":["GHSA-36fw-7hg5-xv5p"],"analysis":{"component_type":"ics_ot","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Modicon PLC","requires_auth":"none","summary":"Attackers can bypass authentication via brute force on Modbus parameters, leading to privilege escalation on Schneider Modicon PLCs.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"schneider","cpe":[{"product":"modicon_m340_firmware","vendor":"schneider-electric"},{"product":"modicon_m580_firmware","vendor":"schneider-electric"},{"product":"modicon_premium_firmware","vendor":"schneider-electric"},{"product":"modicon_quantum_firmware","vendor":"schneider-electric"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"description":"A CWE-290: Authentication Bypass by Spoofing vulnerability exists in all versions of the Modicon M580, Modicon M340, Modicon Quantum, and Modicon Premium which could cause an elevation of privilege by conducting a brute force attack on Modbus parameters sent to the controller.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-10-17","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-10-17T12:19:27Z","kind":"github_poc","ref":"https://github.com/yanissec/CVE-2018-7842","stars":0,"title":"CVE-2018-7842"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Auth bypass in Modicon M580 Modicon M340 Modicon Quantum Modicon Premium","id":"CVE-2018-7842","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2018"},"n_packages":0,"n_references":2,"next":{"headline":"Denial of service in Modicon M580 Modicon M340 Modicon Quantum Modicon Premium","id":"CVE-2018-7843"},"packages":[],"prev":{"headline":"Schneider Electric U.motion Builder SQL Injection","id":"CVE-2018-7841"},"products":["Modicon M580 Modicon M340 Modicon Quantum Modicon Premium"],"published":"2019-05-22","related":[{"cvss_score":9.8,"headline":"Auth bypass in Modicon M580 Modicon M340 Modicon Quantum Modicon Premium","id":"CVE-2018-7846","kev_date_added":null,"published":"2019-05-22"},{"cvss_score":9.8,"headline":"Missing authorization in Modicon M580 Modicon M340 Modicon Quantum Modicon Premium","id":"CVE-2018-7847","kev_date_added":null,"published":"2019-05-22"},{"cvss_score":9.8,"headline":"Missing authorization in Modicon M580 Modicon M340 Modicon Quantum Modicon Premium","id":"CVE-2019-6808","kev_date_added":null,"published":"2019-05-22"},{"cvss_score":7.5,"headline":"Information disclosure in Modicon M580, Modicon M340, Modicon Premium , Modicon Quantum (all firmware versions)","id":"CVE-2019-6845","kev_date_added":null,"published":"2019-10-29"},{"cvss_score":7.5,"headline":"Information disclosure in Modicon M580, Modicon M340, Modicon Premium , Modicon Quantum (all firmware versions)","id":"CVE-2019-6851","kev_date_added":null,"published":"2019-10-29"},{"cvss_score":7.5,"headline":"Denial of service in Modicon M340","id":"CVE-2019-6809","kev_date_added":null,"published":"2019-09-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers can bypass authentication via brute force on Modbus parameters, leading to privilege escalation on Schneider Modicon PLCs.","url":"https://insights.sbomify.com/CVE-2018-7842/"}