Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
COMPLETE Integrity impact
COMPLETE Availability impact
COMPLETE network
low complexity
leif-m-wright
critical
nessus
exploit available
Published: 2001-02-12
Updated: 2017-12-19
Summary
ad.cgi CGI program by Leif Wright allows remote attackers to execute arbitrary commands via shell metacharacters in the file parameter.
Vulnerable Configurations
Exploit-Db
description | Leif M. Wright ad.cgi 1.0 Unchecked Input Vulnerability. CVE-2001-0025 . Remote exploit for cgi platform |
id | EDB-ID:20504 |
last seen | 2016-02-02 |
modified | 2000-12-11 |
published | 2000-12-11 |
reporter | rpc |
source | https://www.exploit-db.com/download/20504/ |
title | Leif M. Wright ad.cgi 1.0 Unchecked Input Vulnerability |
Nessus
NASL family | CGI abuses |
NASL id | AD_CGI.NASL |
description | The CGI |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 11464 |
published | 2003-03-25 |
reporter | This script is Copyright (C) 2003-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/11464 |
title | Leif Wright ad.cgi file Parameter Arbitrary Command Execution |
code | #
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(11464);
script_version("1.19");
script_cvs_date("Date: 2018/06/13 18:56:25");
script_cve_id("CVE-2001-0025");
script_bugtraq_id(2103);
script_name(english:"Leif Wright ad.cgi file Parameter Arbitrary Command Execution");
script_summary(english:"Checks for the presence of /cgi-bin/ad.cgi");
script_set_attribute(attribute:"synopsis", value:"Arbitrary commands can be run on the remote server.");
script_set_attribute(attribute:"description", value:
"The CGI 'ad.cgi' is installed. This CGI has a well known security flaw
that lets an attacker execute arbitrary commands with the privileges
of the http daemon (usually root or nobody).");
script_set_attribute(attribute:"solution", value:"Remove it from /cgi-bin.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"vuln_publication_date", value:"2000/12/11");
script_set_attribute(attribute:"plugin_publication_date", value:"2003/03/25");
script_set_attribute(attribute:"potential_vulnerability", value:"true");
script_set_attribute(attribute:"plugin_type", value:"remote");
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:"CGI abuses");
script_dependencie("find_service1.nasl", "http_version.nasl");
script_require_ports("Services/www", 80);
script_exclude_keys("Settings/disable_cgi_scanning");
script_require_keys("Settings/ParanoidReport");
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
if (report_paranoia < 2) audit(AUDIT_PARANOID);
port = get_http_port(default:80);
if(!get_port_state(port))exit(0);
foreach dir (cgi_dirs())
{
res = is_cgi_installed3(item: strcat(dir, "/ad.cgi"), port:port);
if(isnull(res)) exit (0);
if(res) { security_hole(port); exit(0); }
}
|