CVE-2012-10041 Details
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.
A command execution vulnerability has been identified in WAN Emulator version 2.3. This vulnerability allows unauthenticated users to execute arbitrary commands on the server as the 'www-data' user. The issue arises in the 'result.php' script, which improperly sanitizes input from the 'pc' POST parameter before passing it to the 'shell_exec()' function. Additionally, the application includes a SUID-root binary named 'dosu', which is susceptible to command injection through its first argument. By exploiting both vulnerabilities in tandem, an attacker can achieve full remote code execution and escalate privileges to root.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 8, 2025CISA-ADP
Assessed Aug 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| WAN Emulator | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 16, 2026 | CVE Modified | [email protected] |
| Jun 16, 2026 | CVE Modified | CISA-ADP |
| Aug 8, 2025 | New CVE Received | [email protected] |
| Aug 8, 2025 | CVE Modified | CISA-ADP |
Volerion