← Back to CVEs
CVE-2012-10041
N/ADescription
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.
CVE Details
CVSS v3.1 ScoreN/A
Published8/8/2025
Last Modified8/8/2025
Sourcenvd
Honeypot Sightings0
Weaknesses (CWE)
CWE-78
References
https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/wanem_exec.rb(disclosure@vulncheck.com)
https://sourceforge.net/projects/wanem/(disclosure@vulncheck.com)
https://www.exploit-db.com/exploits/21190(disclosure@vulncheck.com)
https://www.vulncheck.com/advisories/wan-emulator-command-execution(disclosure@vulncheck.com)
https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/wanem_exec.rb(134c704f-9b21-4f2e-91b3-4a467353bcc0)
https://www.exploit-db.com/exploits/21190(134c704f-9b21-4f2e-91b3-4a467353bcc0)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.