lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <40109B2A.90901@divisionbyzero.com>
Date: Thu, 22 Jan 2004 19:55:22 -0800
From: jon schatz <jon@...isionbyzero.com>
To: Steve G <linux_4ever@...oo.com>
Cc: "\"André\" Malo" <nd@...lig.de>,
	3APA3A <3APA3A@...URITY.NNOV.RU>, Ben Laurie <ben@...roup.co.uk>,
	bugtraq@...urityfocus.com, httpd security <security@...pd.apache.org>
Subject: Re: Hijacking Apache 2 via mod_perl


Steve G wrote:

>>Then one just writes a perl extension in C. Who's responsible 
>>then? 
> But don't you need root to add extentions?

>>Who's responsible if you just write a C module which hijacks the
>>descriptors? 
> Again, you need an admin to update apache's config.

you need an admin to update the config file if you're trying to use the 
LoadModule directive. but if mod_perl's already running (and if 
.htaccess files aren't locked down enough), you can use the SetHandler 
to load up any (malicous) modules you might need. afaik, loading a 
module once in mod_perl will make it available to every child process. 
if i've been reading this thread right (and there's a good chance i 
haven't) then this would give EvilModule.pm access to the leaked fd's.

(i haven't tested this for httpd2/mod_perl2, but i know it holds true 
for httpd1.3.x/mod_perl, and the new docs don't indicate any changes).

-jon
-- 
jon@...isionbyzero.com || www.divisionbyzero.com
gpg key: www.divisionbyzero.com/pubkey.asc
think i have a virus? www.divisionbyzero.com/pgp.html
"You are in a twisty little maze of Sendmail rules, all confusing."



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ