Apache prior 2.0.49 HTTP response splitting 2.0
 
Plugin ID240
Plugin nameApache prior 2.0.49 HTTP response splitting
Plugin filenameApache prior 2.0.49 HTTP response splitting.plugin
Plugin filesize4586 bytes
Plugin familyHTTP
Plugin created nameMarc Ruef
Plugin created emailmarc dot ruef at computec dot ch
Plugin created webhttp://www.computec.ch
Plugin created companycomputec.ch
Plugin created date2004/09/16
Plugin updated nameMarc Ruef
Plugin updated emailmarc dot ruef at computec dot ch
Plugin updated webhttp://www.computec.ch
Plugin updated companycomputec.ch
Plugin updated date2004/11/14
Plugin version2.0
Plugin changelogEnhanced the solution text in version 1.1. Corrected the plugin structure and added the accuracy values in 1.2. Improved the pattern matching and introduced the plugin changelog in 2.0
Plugin protocoltcp
Plugin port80
Plugin procedure detectionopen|send HEAD / HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/1.[0-1] ### *Server: Apache/2.0.[0-3]* OR HTTP/1.[0-1] ### *Server: Apache/2.0.4[0-9]*
Plugin detection accuracy80
Plugin commentThis plugin was written with the ATK Attack Editor.
Bug published nameAmit Klein
Bug published webhttp://www.sanctuminc.com
Bug published companySanctum Inc.
Bug published date2004/03/04
Bug advisoryhttp://www.sanctuminc.com/pdf/whitepaper_httpresponse.pdf
Bug produced nameApache Software Foundation
Bug produced emailapache at apache dot org
Bug produced webhttp://httpd.apache.org
Bug affectedApache2 prior 2.0.49 and many other HTTP daemons and CGI solutions are also vulnerable
Bug not affectedApache2 newer than 2.0.49 or other web solutions
Bug vulnerability classCross Site Scripting
Bug descriptionThe remote host is running an Apache web server that is vulnerable to a HTTP response splitting attack. These attacks involve abusing various input validation flaws in these implementations to split HTTP responses into multiple parts in such a way that response data may be misrepresented to client users. Exploitation would occur by injecting variations of CR/LF sequences into parts of HTTP response headers that the attacker may control or influence. The general consequences of exploitation are that an attacker may misrepresent web content to the client, potentially enticing the user to trust the content and take actions based on this false trust. While the various implementations listed in the paper contribute to these attacks, this issue will most likely be exposed through web applications that do not properly account for CR/LF sequences when accepting user-supplied input that may be returned in server responses. This vulnerability could also aid in exploitation of cross-site scripting vulnerabilities.
Bug solutionIf the web server is not used it should be de-installed or de-activated. Install the newest patch or bugfix to solve the problem or upgrade to the latest software version which is not vulnerable anymore. To make it harder to find the server the daemon could be configured to listen at another port (e.g. 8081). Alternation of the application banner can confuse an attacker and let him determine the wrong software. Additionally limit unwanted connections and communications with firewalling.
Bug fixing timeApprox. 2 hours
Bug exploit availabilityYes
Bug exploit urlhttp://www.securityfocus.com/bid/9804/exploit/
Bug remoteYes
Bug localYes
Bug severityMedium
Bug popularity7
Bug simplicity7
Bug impact6
Bug risk6
Source SecurityFocus BID9804
Source LiteratureHacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427
Source Misc.http://www.securityfocus.com/advisories/7053

This file was generated by the Attack Tool Kit (ATK), the open-sourced security scanner and exploiting framework.