(LessTif Issues Fix) libXpm Integer and Stack Overflows May Let Remote Users Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1011435
|
|
SecurityTracker URL: http://securitytracker.com/id?1011435
|
|
CVE Reference: CAN-2004-0687
(Links to External Site)
|
Date: Sep 28 2004
|
Impact: Execution of arbitrary code via network, User access via network
|
Fix Available: Yes
Vendor Confirmed: Yes
|
Version(s): prior to 0.93.96
|
Description: Some vulnerabilities were reported in libXpm. A remote user may be able to execute arbitrary code on applications that use libXpm. LessTif is affected.
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: A fixed version (0.93.96) of LessTif is available. LessTif is affected by the libXpm vulnerability.
The fix is available at:
http://sourceforge.net/project/showfiles.php?group_id=8596
|
Cause: Boundary error
|
Underlying OS: Linux (Any), UNIX (Any)
|
Reported By: Danny Backx <dannybackx@domain.unknown>
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: 2004-09-18 03:30
From: Danny Backx <dannybackx@domain.unknown>
Subject: CVS Update: lesstif
|
CVSROOT: /cvsroot/lesstif
Module name: lesstif
Repository: lesstif/include/Motif-2.1/XmI/
Changes by: dannybackx@sc....(none) 04/09/18 03:30:00
Modified files:
lesstif/lib/Xm-2.1/: Xpm.c
./: configure.in
lesstif/include/Motif-2.1/XmI/: XpmI.h
Removed files:
lesstif/include/Motif-2.1/XmI/: XmXpmI.h
Log message:
These are the recent Xpm security fixes.
|
|