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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   LessTif Vendors:   lesstif.org
(Red Hat Issues Fix for LessTif) libXpm Integer and Stack Overflows May Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1012879
SecurityTracker URL:  http://securitytracker.com/id/1012879
CVE Reference:   CVE-2004-0687, CVE-2004-0688   (Links to External Site)
Date:  Jan 13 2005
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  

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: 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:   Red Hat has released a fix for LessTif, which is affected by the LibXpm vulnerability.

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/lesstif-0.93.15-4.AS21.4.src.rpm
59665437349ef5bad3f7b373e1dd6001 lesstif-0.93.15-4.AS21.4.src.rpm

i386:
9c49c91a9d0668505b1218b60705bd56 lesstif-0.93.15-4.AS21.4.i386.rpm
c9b3a89ad94af645dba780da9e3d86bb lesstif-devel-0.93.15-4.AS21.4.i386.rpm

ia64:
9345984ef75ef4878bffe381e6964647 lesstif-0.93.15-4.AS21.4.ia64.rpm
09670ebdb668df8c2281eea87ce42ce8 lesstif-devel-0.93.15-4.AS21.4.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/lesstif-0.93.15-4.AS21.4.src.rpm
59665437349ef5bad3f7b373e1dd6001 lesstif-0.93.15-4.AS21.4.src.rpm

ia64:
9345984ef75ef4878bffe381e6964647 lesstif-0.93.15-4.AS21.4.ia64.rpm
09670ebdb668df8c2281eea87ce42ce8 lesstif-devel-0.93.15-4.AS21.4.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/lesstif-0.93.15-4.AS21.4.src.rpm
59665437349ef5bad3f7b373e1dd6001 lesstif-0.93.15-4.AS21.4.src.rpm

i386:
9c49c91a9d0668505b1218b60705bd56 lesstif-0.93.15-4.AS21.4.i386.rpm
c9b3a89ad94af645dba780da9e3d86bb lesstif-devel-0.93.15-4.AS21.4.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/lesstif-0.93.15-4.AS21.4.src.rpm
59665437349ef5bad3f7b373e1dd6001 lesstif-0.93.15-4.AS21.4.src.rpm

i386:
9c49c91a9d0668505b1218b60705bd56 lesstif-0.93.15-4.AS21.4.i386.rpm
c9b3a89ad94af645dba780da9e3d86bb lesstif-devel-0.93.15-4.AS21.4.i386.rpm

Cause:   Boundary error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  2.1

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

Subject:  [RHSA-2005:004-01] Updated lesstif package fixes image vulnerability


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Updated lesstif package fixes image vulnerability
Advisory ID:       RHSA-2005:004-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2005-004.html
Issue date:        2005-01-12
Updated on:        2005-01-12
Product:           Red Hat Enterprise Linux
CVE Names:         CAN-2004-0687 CAN-2004-0688 CAN-2004-0914
- ---------------------------------------------------------------------

1. Summary:

An updated lesstif package that fixes flaws in the Xpm library is now
available for Red Hat Enterprise Linux 2.1.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386

3. Problem description:

LessTif provides libraries which implement the Motif industry standard
graphical user interface.  

During a source code audit, Chris Evans discovered several stack overflow
flaws and an integer overflow flaw in the libXpm library used to decode XPM
(X PixMap) images. A vulnerable version of this library was found within
Lesstif. An attacker could create a carefully crafted XPM file which would
cause an application to crash or potentially execute arbitrary code if
opened by a victim.  The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the names CAN-2004-0687,CAN-2004-0688, and
CAN-2004-0914 to these issues.

Users of LessTif are advised to upgrade to this erratum package, which
contains backported security patches to the embedded libXpm library.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.  Use Red Hat
Network to download and update your packages.  To launch the Red Hat
Update Agent, use the following command:

    up2date

For information on how to install packages manually, refer to the
following Web page for the System Administration or Customization
guide specific to your system:

    http://www.redhat.com/docs/manuals/enterprise/

5. Bug IDs fixed (http://bugzilla.redhat.com/):

135076 - CAN-2004-0687 buffer overflows in libXpm
135079 - CAN-2004-0688 integer overflows in libXpm (CAN-2004-0914)

6. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/lesstif-0.93.15-4.AS21.4.src.rpm
59665437349ef5bad3f7b373e1dd6001  lesstif-0.93.15-4.AS21.4.src.rpm

i386:
9c49c91a9d0668505b1218b60705bd56  lesstif-0.93.15-4.AS21.4.i386.rpm
c9b3a89ad94af645dba780da9e3d86bb  lesstif-devel-0.93.15-4.AS21.4.i386.rpm

ia64:
9345984ef75ef4878bffe381e6964647  lesstif-0.93.15-4.AS21.4.ia64.rpm
09670ebdb668df8c2281eea87ce42ce8  lesstif-devel-0.93.15-4.AS21.4.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/lesstif-0.93.15-4.AS21.4.src.rpm
59665437349ef5bad3f7b373e1dd6001  lesstif-0.93.15-4.AS21.4.src.rpm

ia64:
9345984ef75ef4878bffe381e6964647  lesstif-0.93.15-4.AS21.4.ia64.rpm
09670ebdb668df8c2281eea87ce42ce8  lesstif-devel-0.93.15-4.AS21.4.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/lesstif-0.93.15-4.AS21.4.src.rpm
59665437349ef5bad3f7b373e1dd6001  lesstif-0.93.15-4.AS21.4.src.rpm

i386:
9c49c91a9d0668505b1218b60705bd56  lesstif-0.93.15-4.AS21.4.i386.rpm
c9b3a89ad94af645dba780da9e3d86bb  lesstif-devel-0.93.15-4.AS21.4.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/lesstif-0.93.15-4.AS21.4.src.rpm
59665437349ef5bad3f7b373e1dd6001  lesstif-0.93.15-4.AS21.4.src.rpm

i386:
9c49c91a9d0668505b1218b60705bd56  lesstif-0.93.15-4.AS21.4.i386.rpm
c9b3a89ad94af645dba780da9e3d86bb  lesstif-devel-0.93.15-4.AS21.4.i386.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0687
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0688
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0914

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2005 Red Hat, Inc.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQFB5XG0XlSAg2UNWIIRAioFAKCdgaGQ9OBQ78irSFHdR6i9PiqVeACeOszn
K4acuasFVQN/9WHM+JA/PYU=
=BhWM
-----END PGP SIGNATURE-----


-- 
Enterprise-watch-list mailing list
Enterprise-watch-list@redhat.com
https://www.redhat.com/mailman/listinfo/enterprise-watch-list

 
 


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