Skip to content
OpenAdvisories
Critical · 9.3 Public exploit CVE-2012-10041 EUVD-2012-6592GHSA-w6rh-fp3w-8jj5

WAN Emulator v2.3 Command Execution

Published Aug 8, 2025 · Updated Apr 7, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
WAN Emulator WAN Emulator 2.3 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References