📄 apache_input_header_folding_dos.nasl
字号:
# This script was written by David Maciejak <david dot maciejak at kyxar dot fr># based on work from# (C) Tenable Network Security##ref: Georgi Guninski (June 2004)## This script is released under the GNU GPLv2if(description){ script_id(12293); script_bugtraq_id(10619, 12877); script_version("$Revision: 38 $"); script_cve_id("CVE-2004-0493"); if ( defined_func("script_xref") ) script_xref(name:"OSVDB", value:"7269"); name["english"] = "Apache Input Header Folding and mod_ssl ssl_io_filter_cleanup DoS Vulnerabilities"; script_name(english:name["english"]); desc["english"] = "The remote host appears to be running a version of Apache 2.x which isolder than 2.0.50. There is denial of service in apache httpd 2.0.x by sending aspecially crafted HTTP request. It is possible to consume arbitraryamount of memory. On 64 bit systems with more than 4GB virtual memorythis may lead to heap based buffer overflow. See alsohttp://www.guninski.com/httpd1.htmlThere is also a denial of service vulnerability in mod_ssl'sssl_io_filter_cleanup function. By sending a request to vulnerableserver over SSL and closing the connection before the server can senda response, an attacker can cause a memory violation that crashes theserver. Solution : Upgrade to Apache/2.0.50 or newerRisk factor : Medium"; script_description(english:desc["english"]); summary["english"] = "Checks for version of Apache"; script_summary(english:summary["english"]); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2004 David Maciejak"); family["english"] = "Denial of Service"; script_family(english:family["english"]); script_dependencie("find_service.nes", "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");include("backport.inc");port = get_http_port(default:80);if(get_port_state(port)){banner = get_backport_banner(banner:get_http_banner(port: port));if(!banner)exit(0); if(egrep(pattern:"^Server:.*Apache(-AdvancedExtranetServer)?/2\.0\.(([0-9][^0-9])([0-3][0-9][^0-9])|(4[0-9][^0-9])).*", string:banner)) { security_warning(port); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -