[33184] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Hijacking Apache 2 via mod_perl

daemon@ATHENA.MIT.EDU (Ben Laurie)
Thu Jan 22 11:57:07 2004

Message-ID: <400FF1DD.7050504@algroup.co.uk>
Date: Thu, 22 Jan 2004 15:53:01 +0000
From: Ben Laurie <ben@algroup.co.uk>
MIME-Version: 1.0
To: Steve Grubb <linux_4ever@yahoo.com>
Cc: bugtraq@securityfocus.com, httpd security <security@httpd.apache.org>
In-Reply-To: <20040121225333.27880.qmail@www.securityfocus.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Steve Grubb wrote:
> Product:         mod_perl
> Versions:        1.99_09 / apache 2.0.47
> URL:             http://perl.apache.org
> Impact:          Daemon Hijacking
> Bug class:       Leaked Descriptor
> Vendor notified: Yes
> Fix available:   No
> Date:            01/21/04
>                                                                                 
>                                                                                 
> Issue:
> ======
> Mod_perl under apache 2.0.x leaks critical file descriptors that can be used to takeover (hijack) the http and https services.

This is not a leak - mod_perl is a module that is compiled into Apache, 
and hence has access to all its resources (including memory). If you 
want to run untrusted Perl, then don't use mod_perl.

Cheers,

Ben.

-- 
http://www.apache-ssl.org/ben.html       http://www.thebunker.net/

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff

home help back first fref pref prev next nref lref last post