{"answers":{"affected":"It affects 13 products.","exploited":"There is no known exploitation of CVE-2018-7240 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-7240 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-7240 is a high-severity command injection vulnerability in Schneider Electric SE Modicon Quantum, published on 18 Apr 2018. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-7240 and fix it if it is affected.\n\nWhat it is: CVE-2018-7240 is a high-severity command injection vulnerability in Schneider Electric SE Modicon Quantum, published on 18 Apr 2018. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-7240 in the wild and no public exploit code.\n\nAffected product: Schneider Electric SE Modicon Quantum. 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-7240/ (Markdown: https://insights.sbomify.com/CVE-2018-7240/index.md)","id":"CVE-2018-7240","markdown":"https://insights.sbomify.com/CVE-2018-7240/index.md","name":"CVE-2018-7240","record":{"aliases":["GHSA-62m4-6p37-pc95"],"analysis":{"component_type":"ics_ot","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Modicon Quantum PLC","requires_auth":"low_privilege","summary":"Attackers can exploit an FTP command in Schneider Electric Modicon Quantum modules to execute arbitrary code or cause denial of service.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"schneider","cpe":[{"product":"140cpu31110_firmware","vendor":"schneider-electric"},{"product":"140cpu31110c_firmware","vendor":"schneider-electric"},{"product":"140cpu43412u_firmware","vendor":"schneider-electric"},{"product":"140cpu43412uc_firmware","vendor":"schneider-electric"},{"product":"140cpu65150_firmware","vendor":"schneider-electric"},{"product":"140cpu65150c_firmware","vendor":"schneider-electric"},{"product":"140cpu65160_firmware","vendor":"schneider-electric"},{"product":"140cpu65160c_firmware","vendor":"schneider-electric"},{"product":"140cpu65160s_firmware","vendor":"schneider-electric"},{"product":"140cpu65260_firmware","vendor":"schneider-electric"},{"product":"140cpu65260c_firmware","vendor":"schneider-electric"},{"product":"140cpu65860_firmware","vendor":"schneider-electric"},{"product":"140cpu65860c_firmware","vendor":"schneider-electric"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"A vulnerability exists in Schneider Electric's Modicon Quantum in all versions of the communication modules which could allow arbitrary code execution. An FTP command used to upgrade the firmware of the module can be misused to cause a denial of service, or in extreme cases, to load a malicious firmware.","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":"Command injection in Modicon Quantum","id":"CVE-2018-7240","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2018"},"n_packages":0,"n_references":3,"next":{"headline":"Hardcoded credentials in Modicon Premium, Modicon Quantum, Modicon M340, BMXNOR0200","id":"CVE-2018-7241"},"packages":[],"prev":{"headline":"A DLL hijacking vulnerability exists in Schneider Electric's SoMove Software and associated DTM software components in all versions prior to","id":"CVE-2018-7239"},"products":["Modicon Quantum"],"published":"2018-04-18","related":[{"cvss_score":9.8,"headline":"Hardcoded credentials in Modicon Premium, Modicon Quantum, Modicon M340, BMXNOR0200","id":"CVE-2018-7241","kev_date_added":null,"published":"2018-04-18"},{"cvss_score":9.8,"headline":"Weak cryptography in Modicon Premium, Modicon Quantum, Modicon M340, BMXNOR0200","id":"CVE-2018-7242","kev_date_added":null,"published":"2018-04-18"},{"cvss_score":9.8,"headline":"Auth bypass in Modicon M340, Modicon Premium, Modicon Quantum, BMXNOR0201","id":"CVE-2018-7760","kev_date_added":null,"published":"2018-04-18"},{"cvss_score":9.8,"headline":"Code injection in Modicon M340, Modicon Premium, Modicon Quantum, BMXNOR0202","id":"CVE-2018-7761","kev_date_added":null,"published":"2018-04-18"},{"cvss_score":7.5,"headline":"Memory corruption in Modicon M340, Modicon Premium, Modicon Quantum, BMXNOR0200","id":"CVE-2018-7759","kev_date_added":null,"published":"2018-04-18"},{"cvss_score":7.5,"headline":"Memory corruption in Modicon M340, Modicon Premium, Modicon Quantum, BMXNOR0203","id":"CVE-2018-7762","kev_date_added":null,"published":"2018-04-18"}],"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":["Schneider Electric SE"]},"summary":"Attackers can exploit an FTP command in Schneider Electric Modicon Quantum modules to execute arbitrary code or cause denial of service.","url":"https://insights.sbomify.com/CVE-2018-7240/"}