Lucene search
K

A1Stats Multiple Script Traversal Arbitrary File Access

🗓️ 14 May 2001 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 40 Views

A1Stats vulnerability allows file access via specially crafted GET requests on 'aldisp.cgi'.

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

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

if(description)
{
 script_id(10669);
 script_version("1.34");

 script_cve_id("CVE-2001-0561");
 script_bugtraq_id(2705);
 
 script_name(english:"A1Stats Multiple Script Traversal Arbitrary File Access");
 script_summary(english:"Checks if A1Stats reads any file");

 script_set_attribute(attribute:"synopsis",value:
"The remote host contains a CGI application that is affected by a
directory traversal vulnerability. ");

 script_set_attribute(attribute:"description",value:
"The 'aldisp.cgi' CGI script was found on this system. This script
allows an attacker to view any file on the target computer by making a
specially crafted GET request.");
 # https://web.archive.org/web/20010822024043/http://archives.neohapsis.com/archives/bugtraq/2001-05/0047.html
 script_set_attribute(attribute:"see_also", value:
"http://www.nessus.org/u?b4229144");

 script_set_attribute(attribute:"solution", value:
"Upgrading to version 1.6 or higher reportedly addresses the 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: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: "2001/05/14");
 script_set_attribute(attribute:"vuln_publication_date", value: "2001/05/07");
 script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();

 script_category(ACT_GATHER_INFO);
 
 
 script_copyright(english:"This script is Copyright (C) 2001-2021 Tenable Network Security, Inc.");
 script_family(english:"CGI abuses");

 script_dependencies("find_service1.nasl", "http_version.nasl");
 script_require_ports("Services/www", 80);
 script_exclude_keys("Settings/disable_cgi_scanning");
 exit(0);
}

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

global_var port;

function check(str)
{
  local_var r, w;

  w = http_send_recv3(method:"GET", port:port, item:str, exit_on_fail: 1);
  r = strcat(r[0], r[1], '\r\n', r[2]);
  if(egrep(pattern:".*root:.*:0:[01]:", string:r))return(1);
  return(0);
}

port = get_http_port(default:80);

foreach dir (cgi_dirs())
  {
  req = string(dir, "/a1disp3.cgi?/../../../../../../etc/passwd");
  if(check(str:req)){security_warning(port);exit(0);}
  req = string(dir, "/a1stats/a1disp3.cgi?/../../../../../../etc/passwd");
  if(check(str:req)){security_warning(port);exit(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

19 Jan 2021 00:00Current
5.4Medium risk
Vulners AI Score5.4
CVSS 27.5
EPSS0.10512
40