(Sun Issues Additional Fix for Solaris) libXpm Integer and Stack Overflows May Let Remote Users Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1013930
|
|
SecurityTracker URL: http://securitytracker.com/id?1013930
|
|
CVE Reference: CAN-2004-0687
(Links to External Site)
|
Date: May 11 2005
|
Impact: Execution of arbitrary code via network, User access via network
|
Fix Available: Yes
Vendor Confirmed: Yes
|
Advisory: Sun Alert
|
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 added a fix for Solaris 7. The following fixes are available:
Solaris Platform:
* Solaris 7 with patch 107081-57
or later
* Solaris 8 with patch 108940-68 or later
* Solaris 9 with patch 112771-23 or later
x86 Platform
*
Solaris 7 with patch 107082-57 or later
* Solaris 8 with patch 108941-68 or later
* Solaris 9 with patch 113867-18 or
later
Linux Platform
* Sun Java Desktop System (JDS) 2003 with the updated RPMs (patch-9400)
* Sun Java Desktop
System (JDS) Release 2 with the updated RPMs (patch-9400)
|
Vendor URL: sunsolve.sun.com/search/document.do?assetkey=1-26-57653-1 (Links to External Site)
|
Cause: Boundary error
|
Underlying OS: UNIX (Solaris - SunOS)
|
Underlying OS Comments: 7, 8, and 9
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Tue, 10 May 2005 02:19:21 -0400
Subject: http://sunsolve.sun.com/search/document.do?assetkey=1-26-57653-1
|
> 09-May-2005:
>
> * Added resolution patches for Solaris 7 to Contributing Factors and Resolution
> sections; re-release as Resolved
# Sun Alert ID: 57653
# Synopsis: libXpm Security Vulnerabilities Affect the Motif Library (libXm)
# Category: Security
# Product: Solaris Common Desktop Environment (CDE), Sun Java Desktop System (JDS)
# BugIDs: 5086486, 6175145
# Avoidance: Patch, Workaround
# State: Resolved
# Date Released: 08-Oct-2004, 09-May-2005
# Date Closed: 09-May-2005
# Date Modified: 16-Nov-2004, 23-Dec-2004, 02-Feb-2005, 22-Apr-2005, 09-May-2005
CVE: CAN-2004-0687, CAN-2004-0688
|
|