Debian Linux httpd Vulnerability

BID:318

Info

Debian Linux httpd Vulnerability

Bugtraq ID: 318
Class: Configuration Error
CVE:
Remote: Yes
Local: Yes
Published: Jan 17 1999 12:00AM
Updated: Jan 17 1999 12:00AM
Credit:
Vulnerable: Debian Linux 2.1
Not Vulnerable:

Discussion

Debian Linux httpd Vulnerability

The Debian GNU/Linux 2.1 apache package by default allows anyone to view /usr/doc via the web, remotely. This is because srm.conf is preconfigured with the line:

Alias /doc/ /usr/doc/

Boa is also preconfigured this way.

Exploit / POC

Debian Linux httpd Vulnerability

lynx http://some.host/doc

This will provide you with all of the information in /usr/doc, which could be used to find vulnerable software on the remote machine.

Solution / Fix

Debian Linux httpd Vulnerability

Solution:
The following addition to /etc/apache/access.conf will restrict access:

<Directory /usr/doc>

AllowOverride None

order deny,allow

deny from all

allow from localhost

</Directory>

References

Debian Linux httpd Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report