Vulnerabilities > CVE-2002-0419 - Information Exposure vulnerability in Microsoft products

047910
CVSS 5.0 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
NONE
Availability impact
NONE
network
low complexity
microsoft
CWE-200
nessus
exploit available

Summary

Information leaks in IIS 4 through 5.1 allow remote attackers to obtain potentially sensitive information or more easily conduct brute force attacks via responses from the server in which (2) in certain configurations, the server IP address is provided as the realm for Basic authentication, which could reveal real IP addresses that were obscured by NAT, or (3) when NTLM authentication is used, the NetBIOS name of the server and its Windows NT domain are revealed in response to an Authorization request. NOTE: this entry originally contained a vector (1) in which the server reveals whether it supports Basic or NTLM authentication through 401 Access Denied error messages. CVE has REJECTED this vector; it is not a vulnerability because the information is already available through legitimate use, since authentication cannot proceed without specifying a scheme that is supported by both the client and the server.

Vulnerable Configurations

Part Description Count
Application
Microsoft
3

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Subverting Environment Variable Values
    The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.
  • Footprinting
    An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
  • Exploiting Trust in Client (aka Make the Client Invisible)
    An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Browser Fingerprinting
    An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser.
  • Session Credential Falsification through Prediction
    This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.

Exploit-Db

descriptionMicrosoft IIS 4.0/5.0/5.1 Authentication Method Disclosure Vulnerability. CVE-2002-0419 . Remote exploit for windows platform
idEDB-ID:21313
last seen2016-02-02
modified2002-03-05
published2002-03-05
reporterDavid Litchfield
sourcehttps://www.exploit-db.com/download/21313/
titleMicrosoft IIS 4.0/5.0/5.1 - Authentication Method Disclosure Vulnerability

Nessus

NASL familyWeb Servers
NASL idIIS_AUTH_SCHEME.NASL
descriptionThe remote host appears to be running a version of IIS which allows remote users to determine which authentication schemes are required for confidential web pages. That is, by requesting valid web pages with purposely invalid credentials, you can ascertain whether or not the authentication scheme is in use. This can be used for brute-force attacks against known USerIDs.
last seen2020-06-01
modified2020-06-02
plugin id11871
published2003-10-08
reporterThis script is Copyright (C) 2003-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/11871
titleMicrosoft IIS Authentication Method Enumeration
code
#
# (C) Tenable Network Security, Inc.
#

# The following HTTP requests have been provided as examples by
# David Litchfield ([email protected]):
#
# GET / HTTP/1.1
# Host: iis-server
# Authorization: Basic cTFraTk6ZDA5a2xt

# GET / HTTP/1.1
# Host: iis-server
# Authorization: Negotiate TlRMTVNTUAABAAAAB4IAoAAAAAAAAAAAAAAAAAAAAAA=

include("compat.inc");

if (description)
{
  script_id(11871);
  script_version("1.29");
  script_cvs_date("Date: 2018/11/15 20:50:25");

  script_cve_id("CVE-2002-0419");
  script_bugtraq_id(4235);

  script_name(english:"Microsoft IIS Authentication Method Enumeration");
  script_summary(english:"Find IIS authentication scheme");

  script_set_attribute(attribute:"synopsis", value:
"The remote web server is affected by an information disclosure
vulnerability.");
  script_set_attribute(attribute:"description", value:
"The remote host appears to be running a version of IIS which allows
remote users to determine which authentication schemes are required for
confidential web pages.

That is, by requesting valid web pages with purposely invalid
credentials, you can ascertain whether or not the authentication scheme
is in use.  This can be used for brute-force attacks against known
USerIDs.");
  script_set_attribute(attribute:"see_also", value:"https://marc.info/?l=bugtraq;m=101535399100534;w=2");
  script_set_attribute(attribute:"solution", value:
"If the application allows, disable any authentication methods that are
not used in the IIS Properties interface.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:H/Au:N/C:P/I:N/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2002/03/05");
  script_set_attribute(attribute:"plugin_publication_date", value:"2003/10/08");

  script_set_attribute(attribute:"potential_vulnerability", value:"true");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:iis");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_copyright(english:"This script is Copyright (C) 2003-2018 Tenable Network Security, Inc.");
  script_family(english:"Web Servers");

  script_dependencies("http_version.nasl", "www_fingerprinting_hmap.nasl");
  script_exclude_keys("global_settings/supplied_logins_only");
  script_require_keys("www/iis", "Settings/ParanoidReport");
  script_require_ports("Services/www", 80);

  exit(0);
}

#
# The script code starts here
#
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");

if (report_paranoia < 2) audit(AUDIT_PARANOID);

if (supplied_logins_only) audit(AUDIT_SUPPLIED_LOGINS_ONLY);

port = get_http_port(default:80, embedded: 0);

b = get_http_banner(port: port, exit_on_fail: 1);
if ("IIS" >!< b )
 exit(0, "The web server on port "+port+" is not IIS.");

rq = strcat('GET / HTTP/1.1\r\nHost: ', get_host_name(), '\r\n');

w = http_send_recv_buf(port: port, data: rq, exit_on_fail: 1);
if (w[0] =~ "401 Unauthorized") exit(1, "/ is protected on port "+port+".");

auth[0] = "- IIS Basic authentication";
auth[1] = "- IIS NTLM authentication";
req[0] = strcat(rq, 'Authorization: Basic cTFraTk6ZDA5a2xt\r\n\r\n');
req[1] = strcat(rq, 'Authorization: Negotiate TlRMTVNTUAABAAAAB4IAoAAAAAAAAAAAAAAAAAAAAAA=\r\n\r\n');
flag=0;

mywarning = string(
  "\n",
  "The following authentication methods are enabled on the remote\n",
  "webserver.\n"
);

for (i=0; req[i]; i++) {
  w = http_send_recv_buf(data:req[i], port:port, exit_on_fail: 1);

  if (w[0] =~ "401 Unauthorized")
  {
    mywarning = mywarning + auth[i];
    flag++;
  }
}

if (flag)
 security_note(port:port, extra:mywarning);
else
 exit(0, "The web server on port "+port+" is unaffected.");