SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   libXpm Vendors:   X.org
(HP Issues ERPs for Tru64) libXpm Integer and Stack Overflows May Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1012209
SecurityTracker URL:  http://securitytracker.com/id/1012209
CVE Reference:   CVE-2004-0687, CVE-2004-0688   (Links to External Site)
Date:  Nov 12 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: CVE-2004-0687] and stack overflows [CVE: CVE-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:   HP has issued the following early release patches (ERPs):

HP Tru64 UNIX 5.1B-2/PK4 (BL25)
ERP Kit Name: T64KIT0024050-V51BB25-ES-20041026
General ITRC Patch Page: http://www.itrc.hp.com/service/patch/mainPage.do
Kit Location:
http://www.itrc.hp.com/service/patch/patchDetail.do?patchid=T64KIT0024050-V51BB25-ES-20041026

HP Tru64 UNIX 5.1B PK3
PREREQUISITE: HP Tru64 UNIX with 5.1B PK3 (BL24) installed
ERP Kit Name: T64KIT0024051-V51BB24-ES-20041026
General ITRC Patch Page: http://www.itrc.hp.com/service/patch/mainPage.do
Kit Location:
http://www.itrc.hp.com/service/patch/patchDetail.do?patchid=T64KIT0024051-V51BB24-ES-20041026

HP Tru64 UNIX 5.1A
PREREQUISITE: HP Tru64 UNIX with 5.1A PK6 (BL24) installed
ERP Kit Name: T64KIT0024052-V51AB24-ES-20041026
General ITRC Patch Page: http://www.itrc.hp.com/service/patch/mainPage.do
Kit Location:
http://www.itrc.hp.com/service/patch/patchDetail.do?patchid=T64KIT0024052-V51AB24-ES-20041026

HP Tru64 UNIX 4.0G
PREREQUISITE: HP Tru64 UNIX with 4.0G PK4 (BL22) installed
ERP Kit Name: T64KIT0024078-V40GB22-ES-20041028
General ITRC Patch Page: http://www.itrc.hp.com/service/patch/mainPage.do
Kit Location:
http://www.itrc.hp.com/service/patch/patchDetail.do?patchid=T64KIT0024078-V40GB22-ES-20041028

HP Tru64 UNIX 4.0F
PREREQUISITE: HP Tru64 UNIX with 4.0F PK8 (BL22) installed
ERP Kit Name: DUXKIT0024077-V40FB22-ES-20041028
General ITRC Patch Page: http://www.itrc.hp.com/service/patch/mainPage.do
Kit Location:
http://www.itrc.hp.com/service/patch/patchDetail.do?patchid=DUXKIT0024077-V40FB22-ES-20041028

Vendor URL:  www.x.org/pub/X11R6.8.0/patches/README.xorg-CVE-2004-0687-0688.patch (Links to External Site)
Cause:   Boundary error
Underlying OS:  UNIX (Tru64)
Underlying OS Comments:  4.0F, 4.0G, 5.1A, 5.1B

Message History:   This archive entry is a follow-up to the message listed below.
Sep 16 2004 libXpm Integer and Stack Overflows May Let Remote Users Execute Arbitrary Code



 Source Message Contents



[Original Message Not Available for Viewing]


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC