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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Enscript (GNU) Vendors:   Rossi, Markku
(Debian Issues Fix) GNU Enscript EPSF and Filename Command Input Validation Errors May Let Remote Users Execute Arbitrary Code in Certain Cases
SecurityTracker Alert ID:  1012967
SecurityTracker URL:  http://securitytracker.com/id/1012967
CVE Reference:   CVE-2004-1184, CVE-2004-1185, CVE-2004-1186   (Links to External Site)
Date:  Jan 21 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:   Debian has released a fix for the stable distribution (woody) in version 1.6.3-1.3 and for the unstable distribution (sid) in version 1.6.4-6.

Debian GNU/Linux 3.0 alias woody:

Source archives:

http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3.dsc
Size/MD5 checksum: 598 b64a0ab822bd8e613a96cfe534f40cbc
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3.diff.gz
Size/MD5 checksum: 7312 5f39d5caad3a93f874705a10f4a4ae6d
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3.orig.tar.gz
Size/MD5 checksum: 814308 ec717f8b0de7db00a21a21f70d354610

Alpha architecture:

http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_alpha.deb
Size/MD5 checksum: 488176 ef6dc427cf55c77423da2b84c04a291e

ARM architecture:

http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_arm.deb
Size/MD5 checksum: 466220 6443058723684f0c7b7d14d659e909bf

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_i386.deb
Size/MD5 checksum: 458068 1b5dd9325b47b06f6fb0280a74753bdd

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_ia64.deb
Size/MD5 checksum: 506248 5a4bc6e9f0f771b694e65908bc302e64

HP Precision architecture:

http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_hppa.deb
Size/MD5 checksum: 477426 0f2bc8aba5c8f244d6d882c87b01946a

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_m68k.deb
Size/MD5 checksum: 447374 1054d2c3a5f249b2c7167fdd2aec2726

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_mips.deb
Size/MD5 checksum: 470862 996def7fa0ca46edac520083d5d22e39

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_mipsel.deb
Size/MD5 checksum: 470122 1f886d9ab7df6d9e3b4aafe6840676f8

PowerPC architecture:

http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_powerpc.deb
Size/MD5 checksum: 466374 a08bf7e3d47b5ed94cf436439d21922b

IBM S/390 architecture:

http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_s390.deb
Size/MD5 checksum: 460778 a2f4b67a5c7af46eba735b44ccea7de1

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_sparc.deb
Size/MD5 checksum: 465822 a8da2cae1003ca40e4e8b6c81137fb63

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

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:  [SECURITY] [DSA 654-1] New enscript packages fix several vulnerabilities


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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 654-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
January 21st, 2005                      http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : enscript
Vulnerability  : several
Problem-Type   : local (remote)
Debian-specific: no
CVE ID         : CAN-2004-1184 CAN-2004-1185 CAN-2004-1186

enscript, a program to convert ASCII text into Postscript and other
formats.  The Common Vulnerabilities and Exposures project identifies
the following vulnerabilities:

CAN-2004-1184

    Unsanitised input can cause the execution of arbitrary commands
    via EPSF pipe support.  This has been disabled, also upstream.
    
CAN-2004-1185

    Due to missing sanitising of filenames it is possible that a
    specially crafted filename can cause arbitrary commands to be
    executed.

CAN-2004-1186

    Multiple buffer overflows can cause the program to crash.

Usually, enscript is only run locally, but since it is executed inside
of viewcvs some of the problems mentioned above can easily be turned
into a remote vulnerability.

For the stable distribution (woody) these problems have been fixed in
version 1.6.3-1.3.

For the unstable distribution (sid) these problems have been fixed in
version 1.6.4-6.

We recommend that you upgrade your enscript package.


Upgrade Instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 3.0 alias woody
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3.dsc
      Size/MD5 checksum:      598 b64a0ab822bd8e613a96cfe534f40cbc
    http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3.diff.gz
      Size/MD5 checksum:     7312 5f39d5caad3a93f874705a10f4a4ae6d
    http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3.orig.tar.gz
      Size/MD5 checksum:   814308 ec717f8b0de7db00a21a21f70d354610

  Alpha architecture:

    http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_alpha.deb
      Size/MD5 checksum:   488176 ef6dc427cf55c77423da2b84c04a291e

  ARM architecture:

    http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_arm.deb
      Size/MD5 checksum:   466220 6443058723684f0c7b7d14d659e909bf

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_i386.deb
      Size/MD5 checksum:   458068 1b5dd9325b47b06f6fb0280a74753bdd

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_ia64.deb
      Size/MD5 checksum:   506248 5a4bc6e9f0f771b694e65908bc302e64

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_hppa.deb
      Size/MD5 checksum:   477426 0f2bc8aba5c8f244d6d882c87b01946a

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_m68k.deb
      Size/MD5 checksum:   447374 1054d2c3a5f249b2c7167fdd2aec2726

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_mips.deb
      Size/MD5 checksum:   470862 996def7fa0ca46edac520083d5d22e39

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_mipsel.deb
      Size/MD5 checksum:   470122 1f886d9ab7df6d9e3b4aafe6840676f8

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_powerpc.deb
      Size/MD5 checksum:   466374 a08bf7e3d47b5ed94cf436439d21922b

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_s390.deb
      Size/MD5 checksum:   460778 a2f4b67a5c7af46eba735b44ccea7de1

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3-1.3_sparc.deb
      Size/MD5 checksum:   465822 a8da2cae1003ca40e4e8b6c81137fb63


  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>

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

iD8DBQFB8QxQW5ql+IAeqTIRAms2AJ96BxPaZ3l5zHgZjF64urAAknetlwCeLAeX
T4BRwnlugM4tRy2jGvJUsgE=
=o9wU
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-security-announce-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

 
 


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