[Full-disclosure] 0day LINUX 0day LATEST
Andrew Dawson
a.dawson at ucl.ac.uk
Mon Jan 28 15:53:32 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 28 Jan 2008, at 10:55, Andrew Farmer wrote:
> On 28 Jan 08, at 02:13, wejwklekl246 wrote:
>> /* !!PRIVATE !!PRIVATE !!PRIVATE !!PRIVATE !!PRIVATE !!PRIVATE
>> *
>> * afunixroot.c Linux kernel 2.6.x i386 local root exploit
>
> <blah blah blah>
>
> Compiles a shared library in /tmp/own.so containing the functions
>
> int getuid() { return 0; }
> int geteuid() { return 0; }
> int getgid() { return 0; }
> int getegid() { return 0; }
>
> and executes /bin/sh with LD_PRELOAD=/tmp/own.so
>
> Pretty lame. Protip: "hellc0de" containing lots of \x61-\x7f looks
> fake.
This whole exploit program is seemingly a massive obsfucation exercise.
Apart from the above, the prepare() function has "hidden" socket()
and sendto() calls to send a 64 byte parameter block to 213.73.91.29
port 864 (repeated 9 times).
The rest is repeated fork/wait/nice stuff that will probably have a
DoS effect on the system it's run on, but no privilege elevation...
Regards,
Andrew.
- --
************************************************************
Andrew Dawson
Operating Systems Group Manager
Information Systems
Education & Information Support Division
University College London
Gower Street
London WC1E 6BT
************************************************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFHnfqLPlVbrK39S+4RAtl1AJ0bZ/cu1NdLqXqTdGuIkkMRjbR/+wCfWj+J
ZzSCqSWic8q2fd/zvw99WSg=
=jTB6
-----END PGP SIGNATURE-----
Full-Disclosure is hosted and sponsored by Secunia.