(Sun Issues Fix for Solaris) libXpm Integer and Stack Overflows May Let Remote Users Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1012454
|
|
SecurityTracker URL: http://securitytracker.com/id?1012454
|
|
CVE Reference: CAN-2004-0687
(Links to External Site)
|
Date: Dec 8 2004
|
Impact: Execution of arbitrary code via network, User access via network
|
Fix Available: Yes
Vendor Confirmed: Yes
|
Version(s): X11 R6.8.0
|
Description: Some vulnerabilities were reported in libXpm. A remote user may be able to execute arbitrary code on applications that use libXpm.
The vendor reported that there are some integer overflows [CVE: CAN-2004-0687] and stack overflows [CVE: CAN-2004-0688] in the libXpm
X Pixmap library, shipped as part of the X Window System.
A stack overflow is reported in xpmParseColors() in 'parse.c' that
can be triggered by a specially crafted XPMv1 and XPMv2/3 file. A demonstration exploit file is available at:
http://scary.beasts.org/misc/doom.xpm
A
stack overflow is reported in the reading of pixel values in the ParseAndPutPixels() function in 'create.c' and in the ParsePixels()
function in 'parse.c'. A demonstration exploit file is available at:
http://scary.beasts.org/misc/doom2.xpm
An integer overflow
is reported in the colorTable allocation in xpmParseColors() in 'parse.c'. The XpmCreateImageFromXpmImage, CreateXImage, ParsePixels,
ParseAndPutPixels, and ParsePixels are affected.
The vendor credits Chris Evans with reporting these flaws. The advisory from
Chris Evans is available at:
http://scary.beasts.org/security/CESA-2004-003.txt
|
Impact: A remote user can create a specially crafted image file that, when processed by an application using libXpm, will execute arbitrary code on the target system with the privileges of the target application.
|
Solution: Sun has issued the following fixes for Solaris 9:
SPARC Platform
* Solaris 9 with patch 118300-01 or later
x86 Platform
* Solaris 9 with patch 118301-01 or later
|
Vendor URL: sunsolve.sun.com/search/document.do?assetkey=1-26-57652-1 (Links to External Site)
|
Cause: Boundary error
|
Underlying OS: UNIX (Solaris - SunOS)
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Wed, 8 Dec 2004 01:03:43 -0500
Subject: http://sunsolve.sun.com/search/document.do?assetkey=1-26-57652-1
|
In addition to the previously released Linux JDS patches, Sun has issued fixes
for Solaris 9:
SPARC Platform
* Solaris 9 with patch 118300-01 or later
x86 Platform
* Solaris 9 with patch 118301-01 or later
Linux
* Sun Java Desktop System (JDS) 2003 with the updated RPMs (patch-9367)
* Sun Java Desktop System (JDS) Release 2 with the updated RPMs (patch-9367)
-----
* Sun Alert ID: 57652
* Synopsis: Security Vulnerabilities in libXpm May Allow a Remote Unprivileged User to Execute Ar bitrary Code
* Category: Security
* Product: Solaris, Sun Java Desktop System (JDS)
* BugIDs: 5077952, 5105762, 5082323
* Avoidance: Patch
* State: Resolved
* Date Released: 15-Oct-2004, 06-Dec-2004
* Date Closed: 06-Dec-2004
* Date Modified: 18-Oct-2004, 06-Dec-2004
|
|