Description
Apache on Red Hat Linux with with the UserDir directive enabled generates different error codes when a username exists and there is no public_html directory and when the username does not exist, which could allow remote attackers to determine valid usernames on the server.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Apache "mod_userdir" User Enumeration
auxiliary/scanner/http/apache_userdir_enum
Exploit-DB 1
- RedHat Linux 7.0 Apache - Remote Username Enumeration EDB-21112 · remote · Sep 12, 2001 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 3335 vdb-entry
- 20010912 Is there user Anna at your host ? mailing-list
- 20000707 Re: your mail mailing-list
- 20000707 (no subject) mailing-list
- linux-apache-username-exists(7129) vdb-entry
- 20000707 Re: apache and 404/404 status codes mailing-list