Apple Mac OS X ImageIO integer overflow vulnerability

2007-03-14T00:00:00
ID VU:559444
Type cert
Reporter CERT
Modified 2007-10-01T00:00:00

Description

Overview

Apple's ImageIO framework contains an integer overflow vulnerability that may allow an attacker to execute code on a vulnerable system.

Description

Graphics Interchange Format (GIF) is a popular image format supported by many Apple Mac OS X applications. The ImageIO framework allows applications to read and write various image file formats, including GIF.

From Apple Security Update 2007-003:
An integer overflow vulnerability exists in the process of handling GIF files. By enticing a user to open a maliciously-crafted image, an attacker can trigger the overflow which may lead to an unexpected application termination or arbitrary code execution. This update addresses the issue by performing additional validation of GIF files. This issue does not affect systems prior to Mac OS X v10.4.


Impact

A remote unauthenticated attacker may be able to execute arbitrary code or cause a denial-of-service condition. The specially crafted GIF file used to exploit this vulnerability may be supplied on a web page, as an email attachment or inside an email, or by some other means to convince the user into opening the malicious file.


Solution

Upgrade

Apple has published Mac OS X 10.4.9 for Mac OS X 10.4 (Tiger) systems and Security Update 2007-003 for Mac OS X 10.3 (Panther) systems in response to this issue. See Apple Security Update 2007-003 for more details.


Systems Affected

Vendor| Status| Date Notified| Date Updated
---|---|---|---
Apple Computer, Inc.| | -| 14 Mar 2007
If you are a vendor and your product is affected, let us know.

CVSS Metrics

Group | Score | Vector
---|---|---
Base | N/A | N/A
Temporal | N/A | N/A
Environmental | N/A | N/A

References

  • <http://docs.info.apple.com/article.html?artnum=305214>
  • <http://developer.apple.com/graphicsimaging/workingwithimageio.html>
  • <http://secunia.com/advisories/24479/>
  • <https://www.securecoding.cert.org/confluence/display/seccode/INT32-C.+Ensure+that+integer+operations+do+not+result+in+an+overflow>
  • <http://en.wikipedia.org/wiki/Gif>
  • <http://securitytracker.com/alerts/2007/Mar/1017758.html>
  • <http://www.securityfocus.com/bid/22630>

Credit

Apple credits Tom Ferris of Security-Protocols for reporting this issue.

This document was written by Ryan Giobbi.

Other Information

  • CVE IDs: CVE-2007-1071
  • Date Public: 13 Mar 2007
  • Date First Published: 14 Mar 2007
  • Date Last Updated: 01 Oct 2007
  • Severity Metric: 2.07
  • Document Revision: 23