{"id":"CVE-2012-10041","published":"2025-08-08T18:13:25Z","modified":"2026-04-07T14:02:37Z","title":"WAN Emulator v2.3 Command Execution","vendor":"WAN Emulator","product":"WAN Emulator","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04017,"percentile":0.90815,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/wanem_exec.rb","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/21190","tags":["exploit"]},{"url":"https://sourceforge.net/projects/wanem/","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/wan-emulator-command-execution","tags":["third-party-advisory"]}],"priority":{"score":29.7,"factors":[{"name":"EPSS percentile","points":18.16},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"metasploit":[{"name":"WAN Emulator v2.3 Command Execution","module":"exploit/linux/http/wanem_exec","type":"exploit","disclosureDate":"2012-08-12","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/wanem_exec.rb"}],"first":{"date":"2012-08-12","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/wanem_exec.rb"},"provenance":"source"},"vendorSlug":"wan-emulator","affectedVersions":[{"vendor":"WAN Emulator","product":"WAN Emulator","versions":["2.3"]}],"capec":[{"id":"CAPEC-88","name":"OS Command Injection"}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-08-08T18:45:38.599546Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The WAN Emulator v2.3 product contains a flaw in its result.php script, which passes unsanitized input from the pc POST parameter to shell_exec(), and a SUID-root binary named dosu that is vulnerable to command injection through its first argument. An unauthenticated remote attacker over the network can run arbitrary commands as the www-data user via the POST parameter, then exploit the dosu binary in sequence to escalate to root, with no user interaction or prior access required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:02:33Z"},"euvd":{"id":"EUVD-2012-6592","exploited":false,"provenance":"source"},"exploitRefs":["https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/wanem_exec.rb","https://www.exploit-db.com/exploits/21190"]}