Skip to content

Test for CVE-2000-0649, and return an IP address if vulnerable

Notifications You must be signed in to change notification settings

rafaelh/CVE-2000-0649

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CVE-2000-0649

CVE-2000-0649 is a low risk vulnerability that can potentially disclose the internal IP addresses of the server. Official details are here:

This particular vulnerability became of interest to me because it seems to affect current NGINX and some Apache setups as well. This tool tests for the vulnerability on a given IP or domain, and is deliberately light on the output so that it can be used with other scripts. When it works, it should look something like this:

Image of cve-2000-0649 being run in a terminal

Otherwise, there will be no output. We fixed this in NGINX by adding the following line to /etc/nginx/nginx.conf:

server_name_in_redirect on

Thanks!