Vulnerabilities > CVE-1999-0678

047910
CVSS 5.0 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
NONE
Availability impact
NONE
network
low complexity
apache
debian
nessus
exploit available

Summary

A default configuration of Apache on Debian GNU/Linux sets the ServerRoot to /usr/doc, which allows remote users to read documentation files for the entire server.

Vulnerable Configurations

Part Description Count
Application
Apache
1
OS
Debian
1

Exploit-Db

descriptionDebian Linux 2.1 httpd Vulnerability. CVE-1999-0678 . Remote exploit for linux platform
idEDB-ID:19253
last seen2016-02-02
modified1999-06-17
published1999-06-17
reporteranonymous
sourcehttps://www.exploit-db.com/download/19253/
titleDebian Linux 2.1 - httpd Vulnerability

Nessus

NASL familyCGI abuses
NASL idDOC_BROWSABLE.NASL
descriptionThe /doc directory is browsable. /doc shows the contents of the /usr/doc directory, which reveals not only which programs are installed but also their versions. This plugin has been deprecated. Webmirror3 (plugin ID 10662) will identify a browsable directory.
last seen2018-06-14
modified2018-06-13
plugin id10056
published2000-01-03
reporterTenable
sourcehttps://www.tenable.com/plugins/index.php?view=single&id=10056
title/doc Directory Browsable (deprecated)
code
#%NASL_MIN_LEVEL 999999

#
# Copyright 2000 by Hendrik Scholz <[email protected]>
#
# @DEPRECATED@
#
# Disabled on 2016/04/01. Webmirror3.nbin will identify browsable
# directories.

include("compat.inc");

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

 script_cve_id("CVE-1999-0678");
 script_bugtraq_id(318);

 script_name(english:"/doc Directory Browsable (deprecated)");
 script_summary(english:"Checks if /doc browsable.");

 script_set_attribute(attribute:"synopsis", value:
"This plugin has been deprecated.");
 script_set_attribute(attribute:"description", value:
"The /doc directory is browsable. /doc shows the contents of the
/usr/doc directory, which reveals not only which programs are
installed but also their versions.

This plugin has been deprecated. Webmirror3 (plugin ID 10662) will
identify a browsable directory.");
 script_set_attribute(attribute:"see_also", value:"http://projects.webappsec.org/w/page/13246922/Directory%20Indexing");
 script_set_attribute(attribute:"solution", value:"n/a");
 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:U/RC:ND");
 script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"false");

 script_set_attribute(attribute:"vuln_publication_date", value: "1999/04/05");
 script_set_attribute(attribute:"plugin_publication_date", value:"2000/01/03");

 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_end_attributes();
 
 script_category(ACT_GATHER_INFO);
 script_family(english:"CGI abuses");

 script_copyright(english:"This script is Copyright (C) 2000-2020 Hendrik Scholz");

 script_dependencie("http_version.nasl");
 script_require_ports("Services/www", 80);

 exit(0);
}

# Deprecated.
exit(0, "This plugin has been deprecated. Webmirror3 (plugin ID 10662) will identify a browsable directory.");

#
# The script code starts here

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

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

data = http_get(item:"/doc/", port:port);
buf = http_keepalive_send_recv(port:port, data:data);
if (isnull(buf)) exit(0);

buf = tolower(buf);
must_see = "index of /doc";

if((ereg(string:buf, pattern:"^http/[0-9]\.[0-9] 200 "))&&(must_see >< buf)){
   	security_warning(port);
	set_kb_item(name:"www/doc_browseable", value:TRUE);
	set_kb_item( name: 'www/'+port+'/content/directory_index',
		     value: '/doc/' );
}