Full Disclosure mailing list archives

Re: MacOS X 10.5/10.6 libc/strtod(3) buffer overflow


From: Maksymilian Arciemowicz <cxib () securityreason com>
Date: Mon, 11 Jan 2010 18:26:37 +0100

Joshua Levitsky wrote:
On Thu, Jan 7, 2010 at 7:20 PM, Maksymilian Arciemowicz
<cxib () securityreason com <mailto:cxib () securityreason com>> wrote:

    [ MacOS X 10.5/10.6 libc/strtod(3) buffer overflow ]

    Author: Maksymilian Arciemowicz and sp3x
    http://SecurityReason.com

    CVE: CVE-2009-0689
    CWE: CWE-119
    Risk: High
    Remote: Yes


I tested doing "printf %1.262159f 1.1" in a shell login on 10.4.11 and
it took out my session. I imagine this means 10.4.11 is vulnerable as
well no? Tiger is still very popular in enterprise environments that are
slow to upgrade.

-- 
Joshua Levitsky, MCSE, CISSP
http://www.jnuxhosting.net
http://www.jnux.net
http://blog.joshie.com/
[5957 F27C 9C71 E9A7 274A 0447 C9B9 75A4 9B41 D4D1]


Could you check perl PoC ?
It should overwrite esi and edi register

esi=0x41414141
edi=15

-- 
Best Regards,
------------------------
pub   1024D/A6986BD6 2008-08-22
uid                  Maksymilian Arciemowicz (cxib)
<cxib () securityreason com>
sub   4096g/0889FA9A 2008-08-22

http://securityreason.com
http://securityreason.com/key/Arciemowicz.Maksymilian.gpg

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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: