# # This script was written by Renaud Deraison # # See the Nessus Scripts License for details # # Ref: # From: "Apache HTTP Server Project" # To: # Subject: [ANNOUNCE][SECURITY] Apache 2.0.47 released # Date: Wed, 9 Jul 2003 14:01:31 +0200 if(description) { script_id(11788); script_cve_id("CAN-2003-0192", "CAN-2003-0253", "CAN-2003-0254"); script_bugtraq_id(8134, 8135, 8137, 8138); script_version("$Revision$"); name["english"] = "Apache < 2.0.47"; script_name(english:name["english"]); desc["english"] = " The remote host appears to be running a version of Apache 2.x which is older than 2.0.47 This version is vulnerable to various flaws which may allow an attacker to disable this service remotely and/or locally. Solution : Upgrade to version 2.0.47 See also : http://www.apache.org/dist/httpd/CHANGES_2.0 Risk factor : Medium"; script_description(english:desc["english"]); summary["english"] = "Checks for version of Apache"; script_summary(english:summary["english"]); script_category(ACT_MIXED_ATTACK); script_copyright(english:"This script is Copyright (C) 2003 Renaud Deraison", francais:"Ce script est Copyright (C) 2003 Renaud Deraison"); family["english"] = "Misc."; family["francais"] = "Divers"; script_family(english:family["english"], francais:family["francais"]); script_dependencie("find_service.nes", "no404.nasl", "http_version.nasl"); script_require_keys("www/apache"); script_require_ports("Services/www", 80); exit(0); } # # The script code starts here # include("http_func.inc"); port = get_kb_item("Services/www"); if(!port)port = 80; if(!get_port_state(port))exit(0); banner = get_http_banner(port: port); if(!banner)exit(0); serv = strstr(banner, "Server"); if(ereg(pattern:"^Server:.*Apache(-AdvancedExtranetServer)?/2\.0\.([0-9][^0-9]|[0-3][0-9]|4[0-6])", string:serv)) { security_warning(port); }