Vulnerability 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.
Related Weaknesses (CWE)
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exp
- 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/exp
- https://www.exploit-db.com/exploits/21190
FAQ
What is CVE-2012-10041?
CVE-2012-10041 is a documented vulnerability. 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 ...
How severe is CVE-2012-10041?
CVSS scoring is not yet available for CVE-2012-10041. Check NVD for updates.
Is there a patch for CVE-2012-10041?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.