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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Enscript (GNU) Vendors:   Rossi, Markku
(Gentoo Issues Fix) GNU Enscript EPSF and Filename Command Input Validation Errors May Let Remote Users Execute Arbitrary Code in Certain Cases
SecurityTracker Alert ID:  1013068
SecurityTracker URL:  http://securitytracker.com/id/1013068
CVE Reference:   CVE-2004-1184, CVE-2004-1185, CVE-2004-1186   (Links to External Site)
Date:  Feb 3 2005
Impact:   Denial of service via network, Execution of arbitrary code via local system, Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 1.6.4 and prior versions
Description:   Several vulnerabilities were reported in GNU Enscript. A local user may be able to execute arbitrary commands or cause denial of service conditions. In some cases, a remote user may also be able to trigger these flaws.

Debian reported that an input validation vulnerability in EPSF pipe support may allow arbitrary commands to be executed [CVE: CVE-2004-1184].

An input validation flaw in the processing of filenames allows arbitrary commands to be executed [CVE: CVE-2004-1185].

Several buffer overflows may cause the application to crash [CVE: CVE-2004-1186].

These flaws reside in 'src/util.c' and 'src/psgen.c'.

Debian notes that enscript is usually run locally, but may be executed remotely via other applications (such as viewcvs).

Erik Sjolund is credited with discovering these flaws.

Impact:   If the target application is called via a remotely accessible application, a remote user may be able to execute arbitrary code or cause denial of service conditions.
Solution:   Gentoo has released a fix and indicates that all enscript users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/enscript-1.6.3-r3"

Vendor URL:  people.ssh.fi/mtr/genscript/ (Links to External Site)
Cause:   Boundary error, Input validation error
Underlying OS:  Linux (Gentoo)

Message History:   This archive entry is a follow-up to the message listed below.
Jan 21 2005 GNU Enscript EPSF and Filename Command Input Validation Errors May Let Remote Users Execute Arbitrary Code in Certain Cases



 Source Message Contents

Subject:  [gentoo-announce] [ GLSA 200502-03 ] enscript: Multiple vulnerabilities


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig5E69213DB4D9BCFA22B5BE4C
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200502-03
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: enscript: Multiple vulnerabilities
      Date: February 02, 2005
      Bugs: #77408
        ID: 200502-03

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

enscript suffers from vulnerabilities and design flaws, potentially
resulting in the execution of arbitrary code.

Background
==========

enscript is a powerful ASCII to PostScript file converter.

Affected packages
=================

    -------------------------------------------------------------------
     Package            /  Vulnerable  /                    Unaffected
    -------------------------------------------------------------------
  1  app-text/enscript     < 1.6.3-r3                      >= 1.6.3-r3

Description
===========

Erik Sjolund discovered several issues in enscript: it suffers from
several buffer overflows (CAN-2004-1186), quotes and shell escape
characters are insufficiently sanitized in filenames (CAN-2004-1185),
and it supported taking input from an arbitrary command pipe, with
unwanted side effects (CAN-2004-1184).

Impact
======

An attacker could design malicious files or input data which, once
feeded into enscript, would trigger the execution of arbitrary code
with the rights of the user running enscript.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All enscript users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-text/enscript-1.6.3-r3"

References
==========

  [ 1 ] CAN-2004-1184
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1184
  [ 2 ] CAN-2004-1185
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1185
  [ 3 ] CAN-2004-1186
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1186

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200502-03.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0


--------------enig5E69213DB4D9BCFA22B5BE4C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCANBivcL1obalX08RApWGAJ9jhxuT/C5GVYh+WTOGmDyyu1yJdwCgphwx
Ci4LFsw/IhqY4x9Z405ICjM=
=G6E+
-----END PGP SIGNATURE-----

--------------enig5E69213DB4D9BCFA22B5BE4C--

 
 


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 2019, SecurityGlobal.net LLC