# # This script was written by Michel Arboi # GPL # *untested* # # Script audit and contributions from Carmichael Security # Erik Anderson # Added BugtraqID and CAN # # References: # From: "Matthew Murphy" # To: full-disclosure@lists.netsys.com, # "SecurITeam News" , bugtraq@securityfocus.com # Subject: Three BadBlue Vulnerabilities # Date: Fri, 12 Jul 2002 19:50:16 -0500 # if(description) { script_id(11064); script_version ("$Revision$"); script_cve_id("CAN-2002-1021"); script_bugtraq_id(5226); name["english"] = "BadBlue invalid null byte vulnerability"; script_name(english:name["english"]); desc["english"] = "It was possible to read the content of /EXT.INI (BadBlue configuration file) by sending an invalid GET request. A cracker may exploit this vulnerability to steal the passwords. Solution : upgrade your software or protect it with a filtering reverse proxy Risk factor : Medium"; script_description(english:desc["english"]); summary["english"] = "Read BadBlue protected configuration file"; script_summary(english:summary["english"]); script_category(ACT_ATTACK); script_copyright(english:"This script is Copyright (C) 2002 Michel Arboi"); family["english"] = "CGI abuses"; script_family(english:family["english"]); script_require_ports("Services/www", 80); script_dependencies("find_service.nes", "no404.nasl", "http_version.nasl"); exit(0); } ######## r = string("/ext.ini.% 00.txt"); port = is_cgi_installed(r); if(port) security_hole(port);