[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <B071D66D-4835-4937-A432-664470181898@digitalmunition.com>
Date: Mon, 21 Apr 2008 10:43:27 -0400
From: "Kevin Finisterre (lists)" <kf_lists@...italmunition.com>
To: c0ntex <c0ntexb@...il.com>
Cc: Full Disclosure <full-disclosure@...ts.grok.org.uk>
Subject: Re: Adobe Unchecked Overflow
I've been beating on CS3 a bit the past few days myself... I ran
across the same issue. Here is a little helper function
def addr_to_asc_pad(addr)
low = (addr & 0x0000ffff)
high = (addr & 0xffff0000) >> 16
a = (low & 0x00ff)
b = (low & 0xff00) >> 8
c = (high & 0x00ff)
d = (high & 0xff00) >> 8
sprintf( "%s\x00\x00%s\x00\x00%s\x00\x00%s\x00\x00", a.chr,
b.chr, c.chr, d.chr )
end
-KF
On Apr 21, 2008, at 7:23 AM, c0ntex wrote:
>
>
> There is a caveats to the bug as the shellcode and return address
> need to be 4
> byte values. Thus a return address of 0x41424344 needs to be in the
> following
> format:
> "\x44\x44\x44\x44\x43\x43\x43\x43\x42\x42\x42\x42\x41\x41\x41\x41"
>
> ...
>
> regards
> c0ntex
> _______________________________________________
> Full-Disclosure - We believe in it.
> Charter: http://lists.grok.org.uk/full-disclosure-charter.html
> Hosted and sponsored by Secunia - http://secunia.com/
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
Powered by blists - more mailing lists