SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |    Help    |   

SecurityTracker
Archives


Welcome to SecurityTracker!
 
Click to Sign Up
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com

Sign Up!





Category:  Application (Generic)  >  Sun Java Desktop System (JDS) Vendors:  Sun
(Sun Issues Fix for Java Desktop System) libXpm Integer and Stack Overflows May Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1011745
SecurityTracker URL:  http://securitytracker.com/id?1011745
CVE Reference:  CAN-2004-0687   (Links to External Site)
Date:  Oct 16 2004
Impact:  Execution of arbitrary code via network, User access via network
Fix Available:  Yes   Vendor Confirmed:  Yes  
Version(s): 2003, Release 2
Description:  Some vulnerabilities were reported in libXpm. A remote user may be able to execute arbitrary code on applications that use libXpm. Sun Java Desktop System 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:  The following fix is available for Sun Java Desktop System:

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)

For more information on obtaining updates see:

* http://wwws.sun.com/software/javadesktopsystem/faq.html#5q5
* http://wwws.sun.com/software/javadesktopsystem/faq.html#5q7

Vendor URL:  sunsolve.sun.com/search/document.do?assetkey=1-26-57652-1 (Links to External Site)
Cause:  Boundary error
Underlying OS:  Linux (Any)

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

Date:  Sat, 16 Oct 2004 13:50:17 -0400
Subject:  http://sunsolve.sun.com/search/document.do?assetkey=1-26-57652-1

 
 
#  Sun Alert ID: 57652
# Synopsis: Security Vulnerabilities in libXpm May Allow a Remote Unprivileged User to Execute Arbitr
ary Code # Category: Security # Product: Solaris, Sun Java Desktop System (JDS) # BugIDs: 5077952, 5105762 # Avoidance: T-Patch, Patch # State: Engineering Complete # Date Released: 15-Oct-2004 # Date Closed: # Date Modified: CVE: CAN-2004-0687 Preliminary T-patches are available at: http://sunsolve.sun.com/tpatches: SPARC * Solaris 9 T-patch T118300-01 x86 Platform * Solaris 9 T-patch T118301-01 The following fix is available: 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) For more information on obtaining updates see: * http://wwws.sun.com/software/javadesktopsystem/faq.html#5q5 * http://wwws.sun.com/software/javadesktopsystem/faq.html#5q7 A final resolution is pending.


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us   |    Help

Copyright 2004, SecurityGlobal.net LLC