Sun Java Runtime Environment GIF image buffer overflow
| jre-gif-bo (31537) |
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.
Platforms Affected:
- BEA, JRockit 1.4.2
- BEA, JRockit 1.5.0
- 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 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
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 2.1 AS
- 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 Update6
- Sun, JDK 1.5.0 Update7 B03
- Sun, JDK 1.5.0 Update3
- Sun, JDK 1.5.0 Update9
- Sun, JDK 1.5.0 Update8
- Sun, JDK 1.5.0 Update7
- Sun, JDK 1.5.0 Update5
- Sun, JDK 1.5.0 Update4
- 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 Update1
- Sun, JDK 1.5.0
- Sun, JDK 1.5.0 Update9
- Sun, JDK 1.5.0 Update8
- Sun, JDK 1.5.0 Update7
- 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.3.1 Update18
- Sun, JRE 1.3.1 Update16
- Sun, JRE 1.4.2 Update12
- Sun, JRE 1.4.2 Update4
- Sun, JRE 1.4.2 Update10
- Sun, JRE 1.4.2 Update9
- Sun, JRE 1.4.2 Update8
- Sun, JRE 1.4.2 Update7
- Sun, JRE 1.4.2 Update6
- Sun, JRE 1.4.2 Update5
- Sun, JRE 1.4.2 Update4
- Sun, JRE 1.4.2 Update3
- Sun, JRE 1.4.2 Update2
- Sun, JRE 1.4.2 Update1
- Sun, JRE 1.4.2
- Sun, JRE 1.4.2 Update8
- Sun, JRE 1.4.2 Update9
- Sun, JRE 1.4.2 Update1
- Sun, JRE 1.4.2 Update10
- Sun, JRE 1.4.2 Update11
- Sun, JRE 1.4.2 Update12
- Sun, JRE 1.4.2 Update2
- Sun, JRE 1.4.2 Update3
- Sun, JRE 1.4.2 Update5
- Sun, JRE 1.4.2 Update6
- Sun, JRE 1.4.2 Update7
- Sun, JRE 1.4.2 Update11
- Sun, JRE 1.5.0 Update9
- Sun, JRE 1.5.0 Update8
- Sun, JRE 1.5.0 Update7
- Sun, JRE 1.5.0 Update6
- Sun, JRE 1.5.0 Update5
- Sun, JRE 1.5.0 Update4
- Sun, JRE 1.5.0 Update3
- Sun, JRE 1.5.0 Update3
- Sun, JRE 1.5.0
- Sun, JRE 1.5.0 Update7
- Sun, JRE 1.5.0 Update8
- Sun, JRE 1.5.0 Update9
- Sun, JRE 1.5.0 Update7
- Sun, JRE 1.5.0 Update1
- Sun, JRE 1.5.0 Update2
- Sun, JRE 1.5.0 Update4
- Sun, JRE 1.5.0 Update5
- Sun, JRE 1.5.0 Update6
- Sun, SDK 1.3.1_01
- Sun, SDK 1.3.1_01
- Sun, SDK 1.3.1_01a
- 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_16
- Sun, SDK 1.3.1_16
- Sun, SDK 1.3.1_17
- Sun, SDK 1.3.1_18
- Sun, SDK 1.3.1_18
- Sun, SDK 1.3.1_18
- Sun, SDK 1.4.2
- Sun, SDK 1.4.2 10
- Sun, SDK 1.4.2_01
- Sun, SDK 1.4.2_02
- Sun, SDK 1.4.2_03
- 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_08
- Sun, SDK 1.4.2_09
- Sun, SDK 1.4.2_09
- Sun, SDK 1.4.2_10
- Sun, SDK 1.4.2_11
- Sun, SDK 1.4.2_12
- Sun, SDK 1.4.2_12
- SuSE, SLE SDK 10
- SuSE, SuSE Linux 10.0
- SuSE, SuSE Linux Enterprise Server 9.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
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.
Consequences:
Gain Access
References:
- Apple Web site, About the security content of Java Release 6 for Mac OS X 10.4 at http://docs.info.apple.com/article.html?artnum=307177.
- BEA07-172.00, Buffer Overflow in processing GIF images at https://support.bea.com/application_content/product_portlets/securityadvisories/242.html.
- HS07-018, Buffer Overflow Vulnerability of Cosminexus, Processing Kit for XML, and Hitachi Developer's Kit for Java(TM) at http://www.hitachi-support.com/security_e/vuls_e/HS07-018_e/index-e.html.
- Sun Alert ID: 102760, Security Vulnerability in Processing GIF Images in the Java Runtime Environment May Allow an Untrusted Applet to Elevate Privileges at http://www.sunsolve.sun.com/search/document.do?assetkey=1-26-102760-1.
- ZDI-07-005, Sun Microsystems Java GIF File Parsing Memory Corruption Vulnerability at http://www.zerodayinitiative.com/advisories/ZDI-07-005.html.
- 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.
- FrSIRT/ADV-2007-0211: Sun Java Runtime Environment GIF Image Handling Remote Code Execution Vulnerability
- FrSIRT/ADV-2007-0936: HP Security Update Fixes HP-UX Java Multiple Remote Code Execution Vulnerabilities
- FrSIRT/ADV-2007-1814: BEA JRockit Multiple Applet Security Bypass and Remote Code Execution Vulnerabilities
- FrSIRT/ADV-2007-4224: Apple Security Update Fixes Multiple Java for Mac OS X Vulnerabilities
- GLSA-200702-07: Sun JDK/JRE: Execution of arbitrary code
- GLSA-200702-08: AMD64 x86 emulation Sun's J2SE Development Kit: Multiple vulnerabilities
- 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
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 (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.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
