4
HTTP 404 enumeration
HTTP
2003/11/10
Marc Ruef
marc dot ruef at computec dot ch
http://www.computec.ch
computec.ch
Marc Ruef
marc dot ruef at computec dot ch
http://www.computec.ch
computec.ch
2004/11/13
2.0
Corrected the severity and added the NetRecon rating in version 1.3. Corrected the plugin structure and added the accuracy values in 1.4. Improved the pattern matching and added the changelog in 2.0
tcp
80
open|send HEAD /404check.html HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/#.# 404 *
open|send GET /404check.html HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/#.# *Apache/#.* Server at * Port #*
60
97
This plugin was written with the ATK Attack Editor.
web servers
Usually misconfigured web servers
Configuration
The web server responds with an 404 Not Found error message. An attacker may indicate the existence of web documents. He could gather sensitive data.
A service if not needed should be de-installed or disabled. If this is not possible, an access control list (ACL) with firewalling should be applied to this port. Do not allow the web server to include sensitive data (e.g. web server name and version) into the 404 Not Found report.
30 minutes
Yes
Yes
Yes
Low
9
9
6
5
42
Many CGI scanners are able to do a similar check.
CVE-1999-0633
Hacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427
http://www.whitehatsec.com/presentations/Black_Hat_Europe_2001/Black_Hat_Europe2001_Presentation.ppt