{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-10041 exists.","fix":"No fix has been published for CVE-2012-10041 yet. Limit exposure of the affected software until one is available.","what":"CVE-2012-10041 is a critical command injection vulnerability in WAN Emulator, published on 8 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2012-10041 and fix it if it is affected.\n\nWhat it is: CVE-2012-10041 is a critical command injection vulnerability in WAN Emulator, published on 8 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-10041 exists.\n\nAffected product: WAN Emulator. 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-10041/ (Markdown: https://insights.sbomify.com/CVE-2012-10041/index.md)","id":"CVE-2012-10041","markdown":"https://insights.sbomify.com/CVE-2012-10041/index.md","name":"CVE-2012-10041","record":{"aliases":["GHSA-w6rh-fp3w-8jj5"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"WAN Emulator","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary commands via unsanitized input and escalate privileges to root using a vulnerable SUID binary.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"WAN Emulator v2.3 contains two unauthenticated command execution vulnerabilities. The result.php script calls shell_exec() with unsanitized input from the pc POST parameter, allowing remote attackers to execute arbitrary commands as the www-data user. The system also includes a SUID-root binary named dosu, which is vulnerable to command injection via its first argument. An attacker can exploit both flaws in sequence to achieve full remote code execution and escalate privileges to root.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2012-08-12","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2012-08-12","kind":"metasploit","ref":"exploit/linux/http/wanem_exec","stars":null,"title":"WAN Emulator v2.3 Command Execution"}],"tier":"weaponised"},"has_fix":null,"headline":"WAN Emulator v2.3 Command Execution","id":"CVE-2012-10041","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2012"},"n_packages":0,"n_references":4,"next":{"headline":"Sflog! CMS 1.0 Arbitrary File Upload RCE","id":"CVE-2012-10042"},"packages":[],"prev":{"headline":"Openfiler v2.x NetworkCard Command Execution","id":"CVE-2012-10040"},"products":["WAN Emulator"],"published":"2025-08-08","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":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-07","vendors":["WAN Emulator"]},"summary":"Unauthenticated attackers can execute arbitrary commands via unsanitized input and escalate privileges to root using a vulnerable SUID binary.","url":"https://insights.sbomify.com/CVE-2012-10041/"}