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:  1013061
SecurityTracker URL:  http://securitytracker.com/id/1013061
CVE Reference:   CVE-2004-1184, CVE-2004-1185, CVE-2004-1186   (Links to External Site)
Date:  Feb 2 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 (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/enscript-1.6.1-16.5.src.rpm
8e405e471e4419319c6ac65c80d02d5c enscript-1.6.1-16.5.src.rpm

i386:
9f3d90e1f1d723669b77f7f814f15923 enscript-1.6.1-16.5.i386.rpm

ia64:
872542b1728ba95a680a703fd49b88ab enscript-1.6.1-16.5.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/enscript-1.6.1-16.5.src.rpm
8e405e471e4419319c6ac65c80d02d5c enscript-1.6.1-16.5.src.rpm

ia64:
872542b1728ba95a680a703fd49b88ab enscript-1.6.1-16.5.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/enscript-1.6.1-16.5.src.rpm
8e405e471e4419319c6ac65c80d02d5c enscript-1.6.1-16.5.src.rpm

i386:
9f3d90e1f1d723669b77f7f814f15923 enscript-1.6.1-16.5.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/enscript-1.6.1-16.5.src.rpm
8e405e471e4419319c6ac65c80d02d5c enscript-1.6.1-16.5.src.rpm

i386:
9f3d90e1f1d723669b77f7f814f15923 enscript-1.6.1-16.5.i386.rpm

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/enscript-1.6.1-24.4.src.rpm
25774a6b655e1b1b1647b5b45a70ddee enscript-1.6.1-24.4.src.rpm

i386:
8396407a881a05c9a139a1d324f179f8 enscript-1.6.1-24.4.i386.rpm

ia64:
93bfe25753b73dbcaa8390a82671cf09 enscript-1.6.1-24.4.ia64.rpm

ppc:
3ca7dfe2d1b9525000c5483c697de3e1 enscript-1.6.1-24.4.ppc.rpm

s390:
b54d139ecc5862c27517afa75adcc376 enscript-1.6.1-24.4.s390.rpm

s390x:
069ca11ef416ffd0914bd72fba54cbdb enscript-1.6.1-24.4.s390x.rpm

x86_64:
abc897af6cc5379b87964c7d03d3ad8f enscript-1.6.1-24.4.x86_64.rpm

Red Hat Desktop version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/enscript-1.6.1-24.4.src.rpm
25774a6b655e1b1b1647b5b45a70ddee enscript-1.6.1-24.4.src.rpm

i386:
8396407a881a05c9a139a1d324f179f8 enscript-1.6.1-24.4.i386.rpm

x86_64:
abc897af6cc5379b87964c7d03d3ad8f enscript-1.6.1-24.4.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/enscript-1.6.1-24.4.src.rpm
25774a6b655e1b1b1647b5b45a70ddee enscript-1.6.1-24.4.src.rpm

i386:
8396407a881a05c9a139a1d324f179f8 enscript-1.6.1-24.4.i386.rpm

ia64:
93bfe25753b73dbcaa8390a82671cf09 enscript-1.6.1-24.4.ia64.rpm

x86_64:
abc897af6cc5379b87964c7d03d3ad8f enscript-1.6.1-24.4.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/enscript-1.6.1-24.4.src.rpm
25774a6b655e1b1b1647b5b45a70ddee enscript-1.6.1-24.4.src.rpm

i386:
8396407a881a05c9a139a1d324f179f8 enscript-1.6.1-24.4.i386.rpm

ia64:
93bfe25753b73dbcaa8390a82671cf09 enscript-1.6.1-24.4.ia64.rpm

x86_64:
abc897af6cc5379b87964c7d03d3ad8f enscript-1.6.1-24.4.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:  2.1, 3

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:039-01] Updated enscript package fixes security issues


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

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

Synopsis:          Updated enscript package fixes security issues
Advisory ID:       RHSA-2005:039-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2005-039.html
Issue date:        2005-02-01
Updated on:        2005-02-01
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.

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
Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - 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
resolve 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/):

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

6. RPMs required:

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

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/enscript-1.6.1-16.5.src.rpm
8e405e471e4419319c6ac65c80d02d5c  enscript-1.6.1-16.5.src.rpm

i386:
9f3d90e1f1d723669b77f7f814f15923  enscript-1.6.1-16.5.i386.rpm

ia64:
872542b1728ba95a680a703fd49b88ab  enscript-1.6.1-16.5.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/enscript-1.6.1-16.5.src.rpm
8e405e471e4419319c6ac65c80d02d5c  enscript-1.6.1-16.5.src.rpm

ia64:
872542b1728ba95a680a703fd49b88ab  enscript-1.6.1-16.5.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/enscript-1.6.1-16.5.src.rpm
8e405e471e4419319c6ac65c80d02d5c  enscript-1.6.1-16.5.src.rpm

i386:
9f3d90e1f1d723669b77f7f814f15923  enscript-1.6.1-16.5.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/enscript-1.6.1-16.5.src.rpm
8e405e471e4419319c6ac65c80d02d5c  enscript-1.6.1-16.5.src.rpm

i386:
9f3d90e1f1d723669b77f7f814f15923  enscript-1.6.1-16.5.i386.rpm

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/enscript-1.6.1-24.4.src.rpm
25774a6b655e1b1b1647b5b45a70ddee  enscript-1.6.1-24.4.src.rpm

i386:
8396407a881a05c9a139a1d324f179f8  enscript-1.6.1-24.4.i386.rpm

ia64:
93bfe25753b73dbcaa8390a82671cf09  enscript-1.6.1-24.4.ia64.rpm

ppc:
3ca7dfe2d1b9525000c5483c697de3e1  enscript-1.6.1-24.4.ppc.rpm

s390:
b54d139ecc5862c27517afa75adcc376  enscript-1.6.1-24.4.s390.rpm

s390x:
069ca11ef416ffd0914bd72fba54cbdb  enscript-1.6.1-24.4.s390x.rpm

x86_64:
abc897af6cc5379b87964c7d03d3ad8f  enscript-1.6.1-24.4.x86_64.rpm

Red Hat Desktop version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/enscript-1.6.1-24.4.src.rpm
25774a6b655e1b1b1647b5b45a70ddee  enscript-1.6.1-24.4.src.rpm

i386:
8396407a881a05c9a139a1d324f179f8  enscript-1.6.1-24.4.i386.rpm

x86_64:
abc897af6cc5379b87964c7d03d3ad8f  enscript-1.6.1-24.4.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/enscript-1.6.1-24.4.src.rpm
25774a6b655e1b1b1647b5b45a70ddee  enscript-1.6.1-24.4.src.rpm

i386:
8396407a881a05c9a139a1d324f179f8  enscript-1.6.1-24.4.i386.rpm

ia64:
93bfe25753b73dbcaa8390a82671cf09  enscript-1.6.1-24.4.ia64.rpm

x86_64:
abc897af6cc5379b87964c7d03d3ad8f  enscript-1.6.1-24.4.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/enscript-1.6.1-24.4.src.rpm
25774a6b655e1b1b1647b5b45a70ddee  enscript-1.6.1-24.4.src.rpm

i386:
8396407a881a05c9a139a1d324f179f8  enscript-1.6.1-24.4.i386.rpm

ia64:
93bfe25753b73dbcaa8390a82671cf09  enscript-1.6.1-24.4.ia64.rpm

x86_64:
abc897af6cc5379b87964c7d03d3ad8f  enscript-1.6.1-24.4.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.0.7 (GNU/Linux)

iD8DBQFB/5ctXlSAg2UNWIIRApavAJ9c63+NZKidcSzkMAWCEVReuWrDSgCggiQp
2Cfhdx+SPewjI06CgeJV+og=
=Y+t/
-----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