#######################################################################
Luigi Auriemma
Application: Monkey httpd
http://monkeyd.sourceforge.net
Versions: <= 0.8.1
Platforms: GNU/Linux
Bug: Denial of Service
Risk: high
Exploitation: remote
Date: 11 Feb 2004
Author: Luigi Auriemma
e-mail: [email protected]
web: http://aluigi.altervista.org
#######################################################################
1) Introduction
2) Bug
3) The Code
4) Fix
#######################################################################
>From the Monkey httpd's website:
"Monkey is a Web server written in C that works under Linux. This is an
open source project based on the HTTP/1.1 protocol.
The objective is to develop a fast, efficient, small and easy to
configure web server."
#######################################################################
The sending of some crafted HTTP requests leads to the freeze of the
webserver.
The problem is located in the function get_real_string().
#######################################################################
http://aluigi.altervista.org/poc/monkeydos.zip
#######################################################################
Version 0.8.2
#######################################################################
Luigi Auriemma
http://aluigi.altervista.org