Lucene search
+L

D-Link DSL-2875AL/DSL-2877AL Information Disclosure Vulnerability

🗓️ 12 Sep 2019 00:00:00Reported by Copyright (C) 2019 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 93 Views

D-Link DSL-2875AL/DSL-2877AL Information Disclosure Vulnerability. Read username and password from ISP by examining /cgi-bin/index.asp HTML code. Update firmware version to fix

Related
Refs
Code
# SPDX-FileCopyrightText: 2019 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.142877");
  script_version("2025-06-26T05:40:52+0000");
  script_tag(name:"last_modification", value:"2025-06-26 05:40:52 +0000 (Thu, 26 Jun 2025)");
  script_tag(name:"creation_date", value:"2019-09-12 06:55:38 +0000 (Thu, 12 Sep 2019)");
  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.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:"2020-03-23 20:14:00 +0000 (Mon, 23 Mar 2020)");

  script_cve_id("CVE-2019-15656");

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

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

  script_name("D-Link DSL-2875AL/DSL-2877AL Information Disclosure Vulnerability");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2019 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_dlink_dsl_consolidation.nasl");
  script_mandatory_keys("d-link/dsl/http/detected");

  script_tag(name:"summary", value:"D-Link DSL-2875AL and DSL-2877AL are prone to an information
  disclosure vulnerability.");

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

  script_tag(name:"insight", value:"It is possible to read the username and password used to connect
  to the ISP by examining the HTML code of /cgi-bin/index.asp.");

  script_tag(name:"affected", value:"D-Link DSL-2875AL prior to firmware version 1.00.08AU 20161011
  and D-Link DSL-2877AL prior to firmware version 1.00.20AU 20180327.");

  script_tag(name:"solution", value:"Update firmware to version 1.00.08AU 20161011 (DSL-2875AL),
  1.00.20AU 20180327 (DSL-2877AL) or later.");

  script_xref(name:"URL", value:"https://www.trustwave.com/en-us/resources/security-resources/security-advisories/?fid=26165");

  exit(0);
}

include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");

cpe_list = make_list("cpe:/o:dlink:dsl-2875al_firmware",
                     "cpe:/o:dlink:dsl-2877al_firmware");

if (!infos = get_app_port_from_list(cpe_list: cpe_list, service: "www"))
  exit(0);

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

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

url = "/cgi-bin/index.asp";

if (http_vuln_check(port: port, url: url, pattern: "var username_v = '", check_header: TRUE,
                    extra_check: "var password_v = '")) {
  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

26 Jun 2025 00:00Current
7.5High risk
Vulners AI Score7.5
CVSS 25
CVSS 3.17.5
EPSS0.01339
93