Full Disclosure mailing list archives

Re: Possible Python 2.3 DoS Vulnerability


From: André Malo <nd () perlig de>
Date: Mon, 20 Dec 2004 21:28:04 +0100

* Jack Shell wrote:

Problem:
Seems harmless right? Well, if someone was to send a request of
"\x1a\x09" or with "\x1a\x09" at the end to a server/client running on
a Python 2.3 platform, it could cause a denial of service.

POC?:
I tested this out by sending "GET \x1a\x09 HTTP/1.0\r\n" to the
BaseHTTPServer included in the python libs directory and it FREAKED at
the GET request and disconnected me. AND, when I tried to end the
server with the interupt key, I had to press it several times for
about two minutes.

(Without a Win32 available for a test)
The -u command line switch should resolve that issue.

nd
-- 
my @japh = (sub{q~Just~},sub{q~Another~},sub{q~Perl~},sub{q~Hacker~});
my $japh = q[sub japh { }]; print join       #########################
 [ $japh =~ /{(.)}/] -> [0] => map $_ -> ()  #            André Malo #
=> @japh;                                    # http://pub.perlig.de/ #

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html


Current thread: