Plugin ID | 244 |
Plugin name | Apache prior 1.3.26 chunked-encoding memory corruption |
Plugin filename | Apache prior 1.3.26 chunked-encoding memory corruption.plugin |
Plugin filesize | 4610 bytes |
Plugin family | HTTP |
Plugin created name | Marc Ruef |
Plugin created email | marc dot ruef at computec dot ch |
Plugin created web | http://www.computec.ch |
Plugin created company | computec.ch |
Plugin created date | 2004/09/16 |
Plugin updated name | Marc Ruef |
Plugin updated email | marc dot ruef at computec dot ch |
Plugin updated web | http://www.computec.ch |
Plugin updated company | computec.ch |
Plugin updated date | 2004/11/14 |
Plugin version | 2.0 |
Plugin changelog | Enhanced 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 protocol | tcp |
Plugin port | 80 |
Plugin procedure detection | open|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 accuracy | 80 |
Plugin comment | This plugin was written with the ATK Attack Editor. |
Bug published name | Neel Mehta |
Bug published web | http://xforce.iss.net |
Bug published company | ISS X-Force |
Bug published date | 2002/06/17 |
Bug advisory | http://httpd.apache.org/info/security_bulletin_20020617.txt |
Bug produced name | Apache Software Foundation |
Bug produced email | apache at apache dot org |
Bug produced web | http://httpd.apache.org |
Bug affected | Apache prior 1.3.26 |
Bug not affected | Apache 1.3.26 and newer or other solutions |
Bug vulnerability class | Unknown |
Bug description | The 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 solution | If 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 time | Approx. 2 hours |
Bug exploit availability | Yes |
Bug exploit url | http://www.securityfocus.com/bid/5033/exploit/ |
Bug remote | Yes |
Bug local | Yes |
Bug severity | Medium |
Bug popularity | 5 |
Bug simplicity | 6 |
Bug impact | 7 |
Bug risk | 6 |
Bug check tools | The 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 CVE | CVE-2002-0392 |
Source CERT ID | CA-2002-17 |
Source SecurityFocus BID | 5033 |
Source RedHat Security Advisory ID | RHSA-2002-103 |
Source Literature | Hacking 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 |