CVE-2012-10041
WAN Emulator v2.3 contains two unauthenticated command execution vulnerabilities.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.85%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 4.0
- 9.3 CRITICALCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M
- EPSS
- 2.85% probability · 86th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Source
- disclosure@vulncheck.com
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/wanem_exec.rb
- https://sourceforge.net/projects/wanem/
- https://www.exploit-db.com/exploits/21190
- https://www.vulncheck.com/advisories/wan-emulator-command-execution
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/wanem_exec.rb
- https://www.exploit-db.com/exploits/21190
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.