Sun Java Runtime Environment GIF image buffer overflow

jre-gif-bo (31537) The risk level is classified as HighHigh Risk

Description:

The Sun Java Runtime Environment (JRE) is vulnerable to a heap-based buffer overflow, caused by improper bounds checking. By creating a specially-crafted Java applet containing a GIF image with an image block width set to zero, a remote attacker could overflow a buffer and execute arbitrary code on the system, if the attacker could persuade the victim to open a malicious Java applet.

*CVSS:

Base Score: 8
  Access Vector: Remote
  Access Complexity: High
  Authentication: Not Required
  Confidentiality Impact: Complete
  Integrity Impact: Complete
  Availability Impact: Complete
 
Temporal Score: 6.6
  Exploitability: Functional
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

Refer to Sun Alert ID: 102760 for patch, upgrade, or suggested workaround information. See References.

For Hitachi:
Refer to HS07-018 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 200702-07 and GLSA 200702-08 for patch, upgrade, or suggested workaround information. See References.

For Turbolinux:
Refer to TLSA-2007-8 for patch, upgrade, or suggested workaround information. See References.

For BEA JRockit:
Refer to BEA07-172.00 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Apply the appropriate update for your system. See References.

References:

  • Apple Web site: About the security content of Java Release 6 for Mac OS X 10.4.
  • BEA07-172.00: Buffer Overflow in processing GIF images.
  • Hitachi Security Vulnerability Information HS07-018: Buffer Overflow Vulnerability of Cosminexus, Processing Kit for XML, and Hitachi Developer's Kit for Java(TM).
  • Sun Alert ID: 102760: Security Vulnerability in Processing GIF Images in the Java Runtime Environment May Allow an Untrusted Applet to Elevate Privileges.
  • ZDI-07-005: Sun Microsystems Java GIF File Parsing Memory Corruption Vulnerability.
  • ASA-2007-027: Security Vulnerability in Processing GIF Images in the Java Runtime Environment May Allow an Untrusted Applet to Elevate Privileges (Sun 102760)
  • ASA-2007-119: HP-UX Java (JRE and JDK) Remote Execution of Arbitrary Code (HPSBUX02196)
  • ASA-2007-187: java-1.4.2-ibm and java-1.5.0-ibm security updates (RHSA-2007-166 and RHSA-2007-0167)
  • ASA-2007-465: java-1.5.0-bea security update (RHSA-2007-0956)
  • BID-22085: Sun Java RunTime Environment GIF Images Buffer Overflow Vulnerability
  • CVE-2007-0243: Buffer overflow in Sun JDK and Java Runtime Environment (JRE) 5.0 Update 9 and earlier, SDK and JRE 1.4.2_12 and earlier, and SDK and JRE 1.3.1_18 and earlier allows applets to gain privileges via a GIF image with a block with a 0 width field, which triggers memory corruption.
  • GLSA-200702-07: Sun JDK/JRE: Execution of arbitrary code
  • GLSA-200702-08: AMD64 x86 emulation Sun's J2SE Development Kit: Multiple vulnerabilities
  • OSVDB ID: 32834: Sun Java JRE / SDK GIF Processing Memory Corruption
  • RHSA-2007-0072: Critical: IBMJava2 security update
  • RHSA-2007-0166: Critical: java-1.4.2-ibm security update
  • RHSA-2007-0167: Critical: java-1.5.0-ibm security update
  • RHSA-2007-0956: Moderate: java-1.5.0-bea security update
  • RHSA-2008-0261: Moderate: Red Hat Network Satellite Server security update
  • RHSA-2008-0524: Low: Red Hat Network Satellite Server security update
  • SA23757: Sun Java JRE GIF Image Processing Buffer Overflow Vulnerability
  • SA25283: BEA JRockit Multiple Vulnerabilities
  • SA28115: Mac OS X Java Multiple Vulnerabilities
  • SECTRACK ID: 1017520: Java Runtime Environment GIF Image Buffer Overflow Lets Remote Applets Gain Elevated Privileges
  • SUSE-SA:2007:045: IBM and Sun Java security problems

Platforms Affected:

  • Gentoo Linux
  • Hitachi Cosminexus 4
  • Hitachi Cosminexus 5
  • Hitachi Cosminexus 6
  • Hitachi Cosminexus 6.7
  • Hitachi Cosminexus 7
  • Novell Linux Desktop 9
  • Novell Linux POS 9
  • Novell Open Enterprise Server
  • Novell Open Enterprise Server
  • Novell OpenSUSE 10.2
  • Novell SLE SDK 10
  • Novell SLE SDK 10 SP1
  • Novell SUSE Linux Enterprise Desktop 10 SP1
  • Novell SUSE Linux Enterprise Server 10 SP1
  • Novell SUSE Linux Enterprise Server 10
  • Novell UnitedLinux 1.0
  • Oracle JRockit 1.4.2
  • Oracle JRockit 1.5.0
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Network Satellite Server 4.2
  • RedHat Network Satellite Server 5.0
  • RedHat RHEL Extras 3
  • RedHat RHEL Extras 4
  • RedHat RHEL Supplementary 5 Server
  • Sun JDK 1.5.0 Update9
  • Sun JDK 1.5.0 Update8
  • Sun JDK 1.5.0 Update7 B03
  • Sun JDK 1.5.0 Update7
  • Sun JDK 1.5.0 Update6
  • Sun JDK 1.5.0 Update5
  • Sun JDK 1.5.0 Update4
  • Sun JDK 1.5.0 Update3
  • Sun JDK 1.5.0 Update2
  • Sun JDK 1.5.0
  • Sun JDK 1.5.0 Update1
  • Sun JRE 1.3.1
  • Sun JRE 1.3.1 Update1
  • Sun JRE 1.3.1 Update15
  • Sun JRE 1.3.1 Update16
  • Sun JRE 1.3.1 Update18
  • Sun JRE 1.3.1 Update1a
  • Sun JRE 1.3.1 Update4
  • Sun JRE 1.3.1 Update8
  • Sun JRE 1.3.1 Update2
  • Sun JRE 1.3.1 Update3
  • Sun JRE 1.3.1 Update5
  • Sun JRE 1.3.1 Update6
  • Sun JRE 1.3.1 Update7
  • Sun JRE 1.3.1 Update9
  • Sun JRE 1.3.1 Update10
  • Sun JRE 1.3.1 Update11
  • Sun JRE 1.3.1 Update12
  • Sun JRE 1.3.1 Update13
  • Sun JRE 1.3.1 Update14
  • Sun JRE 1.3.1 Update17
  • Sun JRE 1.4.2 Update2
  • Sun JRE 1.4.2 Update12
  • Sun JRE 1.4.2 Update11
  • Sun JRE 1.4.2 Update10
  • Sun JRE 1.4.2 Update1
  • Sun JRE 1.4.2
  • Sun JRE 1.4.2 Update3
  • Sun JRE 1.4.2 Update5
  • Sun JRE 1.4.2 Update9
  • Sun JRE 1.4.2 Update8
  • Sun JRE 1.4.2 Update7
  • Sun JRE 1.4.2 Update4
  • Sun JRE 1.4.2 Update6
  • Sun JRE 1.5.0 Update9
  • Sun JRE 1.5.0 Update8
  • Sun JRE 1.5.0 Update7
  • Sun JRE 1.5.0 Update3
  • Sun JRE 1.5.0
  • Sun JRE 1.5.0 Update6
  • Sun JRE 1.5.0 Update5
  • Sun JRE 1.5.0 Update4
  • Sun JRE 1.5.0 Update2
  • Sun JRE 1.5.0 Update1
  • Sun SDK 1.3.1_01
  • Sun SDK 1.3.1_01a
  • Sun SDK 1.3.1_02
  • Sun SDK 1.3.1_03
  • Sun SDK 1.3.1_04
  • Sun SDK 1.3.1_05
  • Sun SDK 1.3.1_06
  • Sun SDK 1.3.1_07
  • Sun SDK 1.3.1_08
  • Sun SDK 1.3.1_09
  • Sun SDK 1.3.1_10
  • Sun SDK 1.3.1_11
  • Sun SDK 1.3.1_12
  • Sun SDK 1.3.1_13
  • Sun SDK 1.3.1_14
  • Sun SDK 1.3.1_15
  • Sun SDK 1.3.1_16
  • Sun SDK 1.3.1_17
  • Sun SDK 1.3.1_18
  • Sun SDK 1.4.2
  • Sun SDK 1.4.2_01
  • Sun SDK 1.4.2_02
  • Sun SDK 1.4.2_03
  • Sun SDK 1.4.2_04
  • Sun SDK 1.4.2_05
  • Sun SDK 1.4.2_06
  • Sun SDK 1.4.2_07
  • Sun SDK 1.4.2_08
  • Sun SDK 1.4.2_09
  • Sun SDK 1.4.2_10
  • Sun SDK 1.4.2_11
  • Sun SDK 1.4.2_12
  • SuSE Linux Enterprise Server 9
  • SUSE SuSE Linux 10.0
  • SuSE SuSE Linux Retail Solution 8
  • SuSE SuSE SLES 9
  • Turbolinux Turbolinux 10 Desktop
  • Turbolinux Turbolinux 10 F...
  • Turbolinux Turbolinux 10 Server x64 Ed
  • Turbolinux Turbolinux FUJI
  • Turbolinux Turbolinux Home
  • Turbolinux Turbolinux Multimedia
  • Turbolinux Turbolinux Personal

Reported:

Jan 16, 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 Security Systems

IBM Security Systems include an extensive portfolio of hardware, software solutions, professional and managed services offerings covering the spectrum of IT and business security risks: people and identity, data and information, application and process, network, server and endpoint and physical infrastructure, empowering clients to innovate and operate their businesses on the most secure infrastructure platforms. Through world-class solutions that address risk across the enterprise, IBM helps organizations build a strong security posture that helps reduce costs, improve service, and manage risk. IBM X-Force(R) Research and Development is one of the most renowned commercial security research and development groups in the world. For more information on how to address today's biggest risks, please visit us at ibm.com/security.