TPTI-09-04: Apple Terminal xterm Resize Escape Sequence Memory Corruption
Vulnerability
http://dvlabs.tippingpoint.com/advisory/TPTI-09-04
June 2, 2009
– CVE ID:
CVE-2009-1717
– Affected Vendors:
Apple
– Affected Products:
Apple OS X
– TippingPoint(TM) IPS Customer Protection:
TippingPoint IPS customers have been protected against this
vulnerability by Digital Vaccine protection filter ID 8152.
For further product information on the TippingPoint IPS, visit:
http://www.tippingpoint.com
– Vulnerability Details:
This vulnerability allows remote attackers to execute arbitrary code on
vulnerable installations of Apple Terminal. User interaction is required
to exploit this vulnerability in that the target must visit a malicious
page.
The specific flaw exists in the handling of 'CSI[4' xterm window
resizing escape code. When a very low negative value for (x, y) size is
set, an integer overflow occurs resulting in a memory corruption. This
can be further leveraged to execute arbitrary code under the context of
the logged in user.
– Vendor Response:
Apple has issued an update to correct this vulnerability. More
details can be found at:
http://support.apple.com/kb/HT3549
– Disclosure Timeline:
2009-05-06 - Vulnerability reported to vendor
2009-06-02 - Coordinated public release of advisory
– Credit:
This vulnerability was discovered by:
* James King, TippingPoint DVLabs