{"answers":{"affected":"It affects 11 products.","exploited":"There is no known exploitation of CVE-2023-6357 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-6357 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-6357 is a high-severity command injection vulnerability in Codesys Control for Beaglebone Sl, published on 5 Dec 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-6357 and fix it if it is affected.\n\nWhat it is: CVE-2023-6357 is a high-severity command injection vulnerability in Codesys Control for Beaglebone Sl, published on 5 Dec 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-6357 in the wild and no public exploit code.\n\nAffected product: Codesys Control for Beaglebone Sl. 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-2023-6357/ (Markdown: https://insights.sbomify.com/CVE-2023-6357/index.md)","id":"CVE-2023-6357","markdown":"https://insights.sbomify.com/CVE-2023-6357/index.md","name":"CVE-2023-6357","record":{"aliases":["GHSA-2fx7-mf6r-pff9"],"analysis":{"component_type":"ics_ot","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"CODESYS Control","requires_auth":"low_privilege","summary":"A low-privileged remote attacker can inject system commands via file system libraries to gain full control of CODESYS devices.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CERTVDE","cpe":[{"product":"control_for_beaglebone_sl","vendor":"codesys"},{"product":"control_for_empc-a\\/imx6","vendor":"codesys"},{"product":"control_for_iot2000_sl","vendor":"codesys"},{"product":"control_for_linux_arm_sl","vendor":"codesys"},{"product":"control_for_linux_sl","vendor":"codesys"},{"product":"control_for_pfc100_sl","vendor":"codesys"},{"product":"control_for_pfc200_sl","vendor":"codesys"},{"product":"control_for_plcnext_sl","vendor":"codesys"},{"product":"control_for_raspberry_pi_sl","vendor":"codesys"},{"product":"control_for_wago_touch_panels_600_sl","vendor":"codesys"},{"product":"runtime_toolkit","vendor":"codesys"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"A low-privileged remote attacker could exploit the vulnerability and inject additional system commands via file system libraries which could give the attacker full control of the device.","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":"OS Command Injection in multiple CODESYS products","id":"CVE-2023-6357","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"codesys:control_for_beaglebone_sl","products":["codesys:control_for_beaglebone_sl","codesys:control_for_iot2000_sl","codesys:control_for_linux_sl","codesys:control_for_pfc100_sl","codesys:control_for_pfc200_sl","codesys:control_for_raspberry_pi_sl"],"type":"command_injection","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Cross-Site Scripting in Alumne LMS","id":"CVE-2023-6359"},"packages":[],"prev":{"headline":"Kernel: null pointer dereference in nvmet_tcp_build_iovec","id":"CVE-2023-6356"},"products":["CODESYS Control for BeagleBone SL","CODESYS Control for IOT2000 SL","CODESYS Control for Linux ARM SL","CODESYS Control for Linux SL","CODESYS Control for PFC100 SL","CODESYS Control for PFC200 SL","CODESYS Control for PLCnext SL","CODESYS Control for Raspberry Pi SL","CODESYS Control for WAGO Touch Panels 600 SL","CODESYS Control for emPC-A/iMX6 SL","CODESYS Runtime Toolkit for Linux or QNX"],"published":"2023-12-05","related":[{"cvss_score":9.8,"headline":"Missing authorization in n/a","id":"CVE-2019-9010","kev_date_added":null,"published":"2019-08-15"},{"cvss_score":9.8,"headline":"Misconfiguration in 3S-Smart Software Solutions GmbH CODESYS Control V3 products prior to version 3.5.14.0","id":"CVE-2018-10612","kev_date_added":null,"published":"2019-01-29"},{"cvss_score":8.8,"headline":"CODESYS: Improper memory restrictions fro CODESYS Control","id":"CVE-2022-4046","kev_date_added":null,"published":"2023-08-03"},{"cvss_score":8.8,"headline":"CODESYS: Multiple products prone to out-of-bounds write","id":"CVE-2022-47379","kev_date_added":null,"published":"2023-05-15"},{"cvss_score":8.8,"headline":"CODESYS: Multiple products prone to out-of-bounds write","id":"CVE-2022-47380","kev_date_added":null,"published":"2023-05-15"},{"cvss_score":8.8,"headline":"CODESYS: Multiple products prone to stack based out-of-bounds write","id":"CVE-2022-47381","kev_date_added":null,"published":"2023-05-15"}],"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-02","vendors":["CODESYS"]},"summary":"A low-privileged remote attacker can inject system commands via file system libraries to gain full control of CODESYS devices.","url":"https://insights.sbomify.com/CVE-2023-6357/"}