Apache prior 1.3.26 chunked-encoding memory corruption 2.0
 
Plugin ID244
Plugin nameApache prior 1.3.26 chunked-encoding memory corruption
Plugin filenameApache prior 1.3.26 chunked-encoding memory corruption.plugin
Plugin filesize4610 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.1. 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/1.[0-2].* OR HTTP/1.[0-1] ### *Server: Apache/1.3.[0-1]* OR HTTP/1.[0-1] ### *Server: Apache/1.3.2[0-5]*
Plugin detection accuracy80
Plugin commentThis plugin was written with the ATK Attack Editor.
Bug published nameNeel Mehta
Bug published webhttp://xforce.iss.net
Bug published companyISS X-Force
Bug published date2002/06/17
Bug advisoryhttp://httpd.apache.org/info/security_bulletin_20020617.txt
Bug produced nameApache Software Foundation
Bug produced emailapache at apache dot org
Bug produced webhttp://httpd.apache.org
Bug affectedApache prior 1.3.26
Bug not affectedApache 1.3.26 and newer or other solutions
Bug vulnerability classUnknown
Bug descriptionThe remote host is running an Apache web server. It has been reported that in Apache web server prior 1.3.26 fails to calculate required buffer sizes within the chunked encoding mechanism. This is believed to be due to improper (signed) interpretation of an unsigned integer value. Exploitation of these conditions may result in the execution of arbitrary code.
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/5033/exploit/
Bug remoteYes
Bug localYes
Bug severityMedium
Bug popularity5
Bug simplicity6
Bug impact7
Bug risk6
Bug check toolsThe MetaSploit Framework is able to exploit this flaw. Also Apache-Chunked-Scanner.zip for Windows, an Apache Chunked Transfer vulnerability scanner by Felipe Moniz [http://packetstormsecurity.nl/Win/Apache-Chunked-Scanner.zip]. Does not check the banner - crashes a thread and watches the web server behavior. It has also been reported that there is at least one worm exploiting this vulnerability to propagate "in-the-wild". The worm targets FreeBSD 4.5 systems running Apache 1.3.22-24 and 1.3.20. Other versions may also be affected.
Source CVECVE-2002-0392
Source CERT IDCA-2002-17
Source SecurityFocus BID5033
Source RedHat Security Advisory IDRHSA-2002-103
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.giac.org/practical/Walker_Martin_GCIH.doc

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