| Reporter | Title | Published | Views | Family All 7 |
|---|---|---|---|---|
| Apache < 1.3.14 Multiple Forward Slash Directory Listing | 20 Aug 200400:00 | – | nessus | |
| Apache for Windows Multiple Forward Slash Directory Listing | 13 Jun 200000:00 | – | nessus | |
| CVE-2000-0505 | 13 Oct 200004:00 | – | cve | |
| CVE-2000-0505 | 13 Oct 200004:00 | – | cvelist | |
| Apache Httpd < 1.3.14 : Requests can cause directory listing to be displayed on NT | 13 Oct 200000:00 | – | httpd | |
| CVE-2000-0505 | 31 May 200004:00 | – | nvd | |
| Apache HTTP Server Multiple '/' Vulnerability - Active Check | 3 Nov 200500:00 | – | openvas |
# OpenVAS Vulnerability Test
# $Id: apache_slash.nasl 7275 2017-09-26 11:46:31Z cfischer $
# Description: Check for Apache Multiple / vulnerability
#
# Authors:
# John Lampe ([email protected])
# changes by rd : - script description
# - more verbose report
# - check for k < 16 in find_index()
# - script id
#
# Copyright:
# Copyright (C) 2000 John Lampe <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# as published by the Free Software Foundation
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
tag_summary = "Certain versions of Apache for Win32 have a bug wherein remote users
can list directory entries. Specifically, by appending multiple /'s
to the HTTP GET command, the remote Apache server will list all files
and subdirectories within the web root (as defined in httpd.conf).";
tag_solution = "Upgrade to the most recent version of Apache at www.apache.org";
if(description)
{
script_id(10440);
script_version("$Revision: 7275 $");
script_tag(name:"last_modification", value:"$Date: 2017-09-26 13:46:31 +0200 (Tue, 26 Sep 2017) $");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_bugtraq_id(1284);
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
script_cve_id("CVE-2000-0505");
script_name("Check for Apache Multiple / vulnerability");
script_category(ACT_GATHER_INFO);
script_tag(name:"qod_type", value:"remote_analysis");
script_family("Remote file access");
script_copyright("Copyright (C) 2000 John Lampe <[email protected]>");
script_dependencies("find_service.nasl", "http_version.nasl");
script_require_keys("www/apache");
script_require_ports("Services/www", 80);
script_tag(name : "solution" , value : tag_solution);
script_tag(name : "summary" , value : tag_summary);
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
function find_index(k, port) {
if(k < 16)k = 17;
for (q=k-16; q<k; q=q+1) {
buf = http_get(item:crap(length:q, data:"/"), port:port);
incoming = http_keepalive_send_recv(port:port, data:buf);
if ( incoming == NULL ) exit(0);
if ("Index of /" >< incoming) {
my_warning = "
It is possible to list a directories contents by appending multiple /'s
in the HTTP GET command, this is only
a vulnerability on Apache/Win32 based webservers. ";
my_warning = my_warning + string (q, " slashes will cause the directory contents to be listed", "\n\n")
;
my_warning = my_warning +
"Solution: Upgrade to the most recent version of Apache at www.apache.org";
security_message(port:port, data:my_warning);
exit(0);
}
}
exit(0);
}
port = get_http_port(default:80);
banner = get_http_banner(port:port);
if ( ! banner ) exit(0);
if ( "Apache" >!< banner ) exit(0);
if ( "Win32" >!< banner ) exit(0);
req = http_get(item:"/", port:port);
res = http_keepalive_send_recv(port:port, data:req);
if ( res == NULL ) exit(0);
if ( "Index of /" >< res ) exit(0);
if(get_port_state(port)) {
for (i=2; i < 512; i=i+16) {
buf = http_get(item:crap(length:i, data:"/"), port:port);
incoming = http_keepalive_send_recv(port:port, data:buf);
if(incoming == NULL)exit(0);
if ("Forbidden" >< incoming) {
find_index(k:i, port:port);
}
}
}
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