{"answers":{"affected":"It affects 9 products.","exploited":"There is no known exploitation of CVE-2018-4840 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-4840 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-4840 is a high-severity missing authorization vulnerability in Siemens DIGSI 4, published on 8 Mar 2018. 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-4840 and fix it if it is affected.\n\nWhat it is: CVE-2018-4840 is a high-severity missing authorization vulnerability in Siemens DIGSI 4, published on 8 Mar 2018. 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-4840 in the wild and no public exploit code.\n\nAffected product: Siemens DIGSI 4. 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-4840/ (Markdown: https://insights.sbomify.com/CVE-2018-4840/index.md)","id":"CVE-2018-4840","markdown":"https://insights.sbomify.com/CVE-2018-4840/index.md","name":"CVE-2018-4840","record":{"aliases":["GHSA-2fqf-9j8p-6mg2"],"analysis":{"component_type":"ics_ot","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Siemens industrial automation","requires_auth":"none","summary":"Unauthenticated remote attackers can upload modified device configurations to overwrite access authorization passwords in Siemens industrial automation products.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"siemens","cpe":[{"product":"digsi_4","vendor":"siemens"},{"product":"en100_ethernet_module_dnp3_firmware","vendor":"siemens"},{"product":"en100_ethernet_module_iec_104_firmware","vendor":"siemens"},{"product":"en100_ethernet_module_iec_61850_firmware","vendor":"siemens"},{"product":"en100_ethernet_module_modbus_tcp_firmware","vendor":"siemens"},{"product":"en100_ethernet_module_profinet_io_firmware","vendor":"siemens"},{"product":"siprotec_4_7sj66_firmware","vendor":"siemens"},{"product":"siprotec_compact_7sj80_firmware","vendor":"siemens"},{"product":"siprotec_compact_7sk80_firmware","vendor":"siemens"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"description":"A vulnerability has been identified in DIGSI 4 (All versions \u003c V4.92), EN100 Ethernet module DNP3 variant (All versions \u003c V1.05.00), EN100 Ethernet module IEC 104 variant (All versions), EN100 Ethernet module IEC 61850 variant (All versions \u003c V4.30), EN100 Ethernet module Modbus TCP variant (All versions), EN100 Ethernet module PROFINET IO variant (All versions). The device engineering mechanism allows an unauthenticated remote user to upload a modified device configuration overwriting access authorization passwords.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Missing authorization in DIGSI 4","id":"CVE-2018-4840","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2018"},"n_packages":0,"n_references":1,"next":{"headline":"Auth bypass in TIM 1531 IRC","id":"CVE-2018-4841"},"packages":[],"prev":{"headline":"Weak cryptography in DIGSI 4","id":"CVE-2018-4839"},"products":["DIGSI 4","EN100 Ethernet module DNP3 variant","EN100 Ethernet module IEC 104 variant","EN100 Ethernet module IEC 61850 variant","EN100 Ethernet module Modbus TCP variant","EN100 Ethernet module PROFINET IO variant"],"published":"2018-03-08","related":[{"cvss_score":7.8,"headline":"Privilege escalation in DIGSI 4","id":"CVE-2020-25245","kev_date_added":null,"published":"2021-02-09"},{"cvss_score":5.3,"headline":"Weak cryptography in DIGSI 4","id":"CVE-2018-4839","kev_date_added":null,"published":"2018-03-08"}],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["Siemens"]},"summary":"Unauthenticated remote attackers can upload modified device configurations to overwrite access authorization passwords in Siemens industrial automation products.","url":"https://insights.sbomify.com/CVE-2018-4840/"}