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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Enscript (GNU) Vendors:   Rossi, Markku
(Red Hat Issues Fix) GNU Enscript EPSF and Filename Command Input Validation Errors May Let Remote Users Execute Arbitrary Code in Certain Cases
SecurityTracker Alert ID:  1013183
SecurityTracker URL:  http://securitytracker.com/id/1013183
CVE Reference:   CVE-2004-1184, CVE-2004-1185, CVE-2004-1186   (Links to External Site)
Date:  Feb 15 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:   Red Hat has released a fix.

Red Hat Enterprise Linux AS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/enscript-1.6.1-28.3.src.rpm
6136608a19ec0ba813c7afdbdfa24515 enscript-1.6.1-28.3.src.rpm

i386:
d714abdae2f34960e2e8b629a4e4c468 enscript-1.6.1-28.3.i386.rpm

ia64:
037e9d631eb07d7675477f0c43e936ad enscript-1.6.1-28.3.ia64.rpm

ppc:
87dd4e16ae03373117bc6f996d3f9c7a enscript-1.6.1-28.3.ppc.rpm

s390:
9190d5795d0ee630864c7bf628a76995 enscript-1.6.1-28.3.s390.rpm

s390x:
7394a1fc69dfa447bba88b53087595a2 enscript-1.6.1-28.3.s390x.rpm

x86_64:
fe7d069e80c458b73bab137b2d00c434 enscript-1.6.1-28.3.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/enscript-1.6.1-28.3.src.rpm
6136608a19ec0ba813c7afdbdfa24515 enscript-1.6.1-28.3.src.rpm

i386:
d714abdae2f34960e2e8b629a4e4c468 enscript-1.6.1-28.3.i386.rpm

x86_64:
fe7d069e80c458b73bab137b2d00c434 enscript-1.6.1-28.3.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/enscript-1.6.1-28.3.src.rpm
6136608a19ec0ba813c7afdbdfa24515 enscript-1.6.1-28.3.src.rpm

i386:
d714abdae2f34960e2e8b629a4e4c468 enscript-1.6.1-28.3.i386.rpm

ia64:
037e9d631eb07d7675477f0c43e936ad enscript-1.6.1-28.3.ia64.rpm

x86_64:
fe7d069e80c458b73bab137b2d00c434 enscript-1.6.1-28.3.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/enscript-1.6.1-28.3.src.rpm
6136608a19ec0ba813c7afdbdfa24515 enscript-1.6.1-28.3.src.rpm

i386:
d714abdae2f34960e2e8b629a4e4c468 enscript-1.6.1-28.3.i386.rpm

ia64:
037e9d631eb07d7675477f0c43e936ad enscript-1.6.1-28.3.ia64.rpm

x86_64:
fe7d069e80c458b73bab137b2d00c434 enscript-1.6.1-28.3.x86_64.rpm

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

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:  [RHSA-2005:040-01] Low: enscript security update


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

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

Synopsis:          Low: enscript security update
Advisory ID:       RHSA-2005:040-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2005-040.html
Issue date:        2005-02-15
Updated on:        2005-02-15
Product:           Red Hat Enterprise Linux
CVE Names:         CAN-2004-1184 CAN-2004-1185 CAN-2004-1186
- ---------------------------------------------------------------------

1. Summary:

An updated enscript package that fixes several security issues is now
available for Red Hat Enterprise Linux 4.

This update has been rated as having low security impact by the Red Hat
Security Response Team.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux Desktop version 4 - i386, x86_64
Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64

3. Problem description:

GNU enscript converts ASCII files to PostScript.

Enscript has the ability to interpret special escape sequences.  A flaw was
found in the handling of the epsf command used to insert inline EPS files
into a document.  An attacker could create a carefully crafted ASCII file
which made use of the epsf pipe command in such a way that it could execute
arbitrary commands if the file was opened with enscript by a victim.  The
Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned
the name CAN-2004-1184 to this issue.

Additional flaws in Enscript were also discovered which can only be
triggered by executing enscript with carefully crafted command line
arguments.  These flaws therefore only have a security impact if enscript
is executed by other programs and passed untrusted data from remote users.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the names CAN-2004-1185 and CAN-2004-1186 to these issues.

All users of enscript should upgrade to these updated packages, which
contain backported patches to correct these issues.

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/):

144686 - CAN-2004-1184 multiple security issues in enscript (CAN-2004-1185 CAN-2004-1186)

6. RPMs required:

Red Hat Enterprise Linux AS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/enscript-1.6.1-28.3.src.rpm
6136608a19ec0ba813c7afdbdfa24515  enscript-1.6.1-28.3.src.rpm

i386:
d714abdae2f34960e2e8b629a4e4c468  enscript-1.6.1-28.3.i386.rpm

ia64:
037e9d631eb07d7675477f0c43e936ad  enscript-1.6.1-28.3.ia64.rpm

ppc:
87dd4e16ae03373117bc6f996d3f9c7a  enscript-1.6.1-28.3.ppc.rpm

s390:
9190d5795d0ee630864c7bf628a76995  enscript-1.6.1-28.3.s390.rpm

s390x:
7394a1fc69dfa447bba88b53087595a2  enscript-1.6.1-28.3.s390x.rpm

x86_64:
fe7d069e80c458b73bab137b2d00c434  enscript-1.6.1-28.3.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/enscript-1.6.1-28.3.src.rpm
6136608a19ec0ba813c7afdbdfa24515  enscript-1.6.1-28.3.src.rpm

i386:
d714abdae2f34960e2e8b629a4e4c468  enscript-1.6.1-28.3.i386.rpm

x86_64:
fe7d069e80c458b73bab137b2d00c434  enscript-1.6.1-28.3.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/enscript-1.6.1-28.3.src.rpm
6136608a19ec0ba813c7afdbdfa24515  enscript-1.6.1-28.3.src.rpm

i386:
d714abdae2f34960e2e8b629a4e4c468  enscript-1.6.1-28.3.i386.rpm

ia64:
037e9d631eb07d7675477f0c43e936ad  enscript-1.6.1-28.3.ia64.rpm

x86_64:
fe7d069e80c458b73bab137b2d00c434  enscript-1.6.1-28.3.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/enscript-1.6.1-28.3.src.rpm
6136608a19ec0ba813c7afdbdfa24515  enscript-1.6.1-28.3.src.rpm

i386:
d714abdae2f34960e2e8b629a4e4c468  enscript-1.6.1-28.3.i386.rpm

ia64:
037e9d631eb07d7675477f0c43e936ad  enscript-1.6.1-28.3.ia64.rpm

x86_64:
fe7d069e80c458b73bab137b2d00c434  enscript-1.6.1-28.3.x86_64.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-1184
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1185
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1186

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.2.1 (GNU/Linux)

iD8DBQFCEcveXlSAg2UNWIIRAvfPAJ4lIzQ14Rt4vMf13cvCjCJ8/mdP2ACfab7y
pWzJ56NjR4VkT7jZhtAMgpU=
=lkRZ
-----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 2019, SecurityGlobal.net LLC