Cairo read_png function buffer overflow

cairo-readpng-bo (38771) The risk level is classified as HighHigh Risk

Description:

Cairo is vulnerable to a heap-based buffer overflow, caused by an integer overflow in the read_png function. By persuading a victim to open a specially-crafted PNG file, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the affected application to crash.

*CVSS:

Base Score: 6.8
  Access Vector: Network
  Access Complexity: Medium
  Authentication: None
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 5
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

Upgrade to the latest version of Cairo (1.4.12 or later), available from the Cairo Web site. See References.

References:

  • Cairo Web site: cairo 1.4.12 release available.
  • Red Hat Bugzilla Bug 387431: CVE-2007-5503 cairo integer overflow.
  • BID-26650: Cairo PNG Image Processing Remote Integer Overflow Vulnerability
  • CVE-2007-5503: Multiple integer overflows in Cairo before 1.4.12 might allow remote attackers to execute arbitrary code, as demonstrated using a crafted PNG image with large width and height values, which is not properly handled by the read_png function.
  • DSA-1542: libcairo -- integer overflow
  • GLSA-200712-04: Cairo: User-assisted execution of arbitrary code
  • GLSA-200712-24: AMD64 x86 emulation GTK+ library: User-assisted execution of arbitrary code
  • MDVSA-2008:019: Updated cairo packages fix vulnerability
  • RHSA-2007-1078: Important: cairo security update
  • SA27880: Cairo PNG Image Processing Integer Overflow
  • SA31707: VMware Workstation Multiple Vulnerabilities
  • SA31711: VMware Fusion Multiple Vulnerabilities
  • SECTRACK ID: 1019027: Cairo Integer Overflow in Processing PNG Files Lets Remote Users Execute Arbitrary Code
  • SUSE-SR:2008:003: SUSE Security Summary Report
  • USN-550-1: Cairo vulnerability
  • USN-550-2: Cairo regression
  • USN-550-3: Cairo regression
  • VUPEN/ADV-2007-4045: Cairo read_png() PNG Image Processing Integer Overflow Vulnerability
  • VUPEN/ADV-2008-2466: VMware Products Code Execution and Security Bypass Vulnerabilities

Platforms Affected:

  • Canonical Ubuntu 6.06 LTS
  • Canonical Ubuntu 6.10
  • Canonical Ubuntu 7.04
  • Canonical Ubuntu 7.10
  • Cario Cario prior to 1.4.12
  • Debian Debian Linux 4.0
  • Gentoo Linux
  • MandrakeSoft Mandrake Linux 2007
  • MandrakeSoft Mandrake Linux 2007 X86_64
  • MandrakeSoft Mandrake Linux 2007.1
  • MandrakeSoft Mandrake Linux 2007.1 X86_64
  • MandrakeSoft Mandrake Linux 2008.0
  • MandrakeSoft Mandrake Linux 2008.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • RedHat Enterprise Linux 5
  • RedHat Enterprise Linux 5 Client
  • RedHat Enterprise Linux 5 Client Workstation
  • RedHat Enterprise Linux 5.1.z EUS

Reported:

Nov 29, 2007

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.