{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-10040 exists.","fix":"No fix has been published for CVE-2012-10040 yet. Limit exposure of the affected software until one is available.","what":"CVE-2012-10040 is a critical command injection vulnerability in Openfiler, published on 11 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2012-10040 and fix it if it is affected.\n\nWhat it is: CVE-2012-10040 is a critical command injection vulnerability in Openfiler, published on 11 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-10040 exists.\n\nAffected product: Openfiler. 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-2012-10040/ (Markdown: https://insights.sbomify.com/CVE-2012-10040/index.md)","id":"CVE-2012-10040","markdown":"https://insights.sbomify.com/CVE-2012-10040/index.md","name":"CVE-2012-10040","record":{"aliases":["GHSA-vxcv-gc68-4r3q"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Openfiler storage OS","requires_auth":"low_privilege","summary":"Authenticated attackers can execute arbitrary commands via unsanitized input in Openfiler, escalating privileges to root due to misconfigured sudoers.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":9.4,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Openfiler v2.x contains a command injection vulnerability in the system.html page. The device parameter is used to instantiate a NetworkCard object, whose constructor in network.inc calls exec() with unsanitized input. An authenticated attacker can exploit this to execute arbitrary commands as the openfiler user. Due to misconfigured sudoers, the openfiler user can escalate privileges to root via sudo /bin/bash without a password.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2012-09-04","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2012-09-04","kind":"metasploit","ref":"exploit/linux/http/openfiler_networkcard_exec","stars":null,"title":"Openfiler v2.x NetworkCard Command Execution"}],"tier":"weaponised"},"has_fix":null,"headline":"Openfiler v2.x NetworkCard Command Execution","id":"CVE-2012-10040","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2012"},"n_packages":0,"n_references":5,"next":{"headline":"WAN Emulator v2.3 Command Execution","id":"CVE-2012-10041"},"packages":[],"prev":{"headline":"ZEN Load Balancer Filelog Command Execution","id":"CVE-2012-10039"},"products":["Openfiler"],"published":"2025-08-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-07","vendors":["Openfiler"]},"summary":"Authenticated attackers can execute arbitrary commands via unsanitized input in Openfiler, escalating privileges to root due to misconfigured sudoers.","url":"https://insights.sbomify.com/CVE-2012-10040/"}