Lucene search
K

Microsoft ASP.NET Application Tracing trace.axd Information Disclosure

🗓️ 05 Jun 2002 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 214 Views

ASP.NET application tracing vulnerability allows information disclosure of sensitive data.

Code
#%NASL_MIN_LEVEL 70300
#
# This script was written by H D Moore
# 
# Changes by Tenable:
# - Revised plugin title, CVSS2 score. (1/08/2009)
# - Changed response match to avoid false positives. (06/29/2016)
# - Updated the synopsis and description. (06/29/2016)

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

if (description)
{
  script_id(10993);
  script_version("1.24");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_name(english:"Microsoft ASP.NET Application Tracing trace.axd Information Disclosure");

  script_set_attribute(attribute:"synopsis", value:
"The remote host is affected by an information disclosure
vulnerability.");
  script_set_attribute(attribute:"description", value:
"The ASP.NET web application running in the root directory of the
remote web server has application tracing enabled. This allows an
unauthenticated, remote attacker to view the last 50 web requests made
to the server, including sensitive information like Session ID values
and the physical path to the requested file.");
  script_set_attribute(attribute:"solution", value:
"Set <trace enabled=false> in web.config");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");

  script_set_attribute(attribute:"vuln_publication_date", value:"2002/01/01");
  script_set_attribute(attribute:"plugin_publication_date", value:"2002/06/05");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:asp.net");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_ATTACK);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2002-2022 Digital Defense Inc.");

  script_dependencies("find_service1.nasl", "http_version.nasl", "www_fingerprinting_hmap.nasl");
  script_require_ports("Services/www", 80);

  exit(0);
}

#
# The script code starts here
#

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

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

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

req = http_get(item:"/trace.axd", port:port);
res = http_keepalive_send_recv(port:port, data:req);
if ("Application Trace" >< res && "Requests to this Application" >< res)
{
    security_warning(port);
}

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