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

SecurityTracker
Archives


 


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

Mandrakelinux 10.0:
f3eb5a56cf8e961908e9014306fd096a 10.0/RPMS/enscript-1.6.4-1.1.100mdk.i586.rpm
1ca9b9369578bc27057366a9c0757671 10.0/SRPMS/enscript-1.6.4-1.1.100mdk.src.rpm

Mandrakelinux 10.0/AMD64:
f316e4e8b11dde6155ddca1517fa8954 amd64/10.0/RPMS/enscript-1.6.4-1.1.100mdk.amd64.rpm
1ca9b9369578bc27057366a9c0757671 amd64/10.0/SRPMS/enscript-1.6.4-1.1.100mdk.src.rpm

Mandrakelinux 10.1:
2454e55d7ac2edad3c5513a60fb6dbe0 10.1/RPMS/enscript-1.6.4-1.1.101mdk.i586.rpm
47a3782c9ed270eb92d418fac3f9b390 10.1/SRPMS/enscript-1.6.4-1.1.101mdk.src.rpm

Mandrakelinux 10.1/X86_64:
9416aa90cf93d61755c815f9c38bac05 x86_64/10.1/RPMS/enscript-1.6.4-1.1.101mdk.x86_64.rpm
47a3782c9ed270eb92d418fac3f9b390 x86_64/10.1/SRPMS/enscript-1.6.4-1.1.101mdk.src.rpm

Corporate Server 2.1:
e14356e6a6bac0eb66a52bad164853b1 corporate/2.1/RPMS/enscript-1.6.3-1.1.C21mdk.i586.rpm
155cc925d6139bbd27272c2e7aab677f corporate/2.1/SRPMS/enscript-1.6.3-1.1.C21mdk.src.rpm

Corporate Server 2.1/X86_64:
633c80cff58745b0a1e907103267aed5 x86_64/corporate/2.1/RPMS/enscript-1.6.3-1.1.C21mdk.x86_64.rpm
155cc925d6139bbd27272c2e7aab677f x86_64/corporate/2.1/SRPMS/enscript-1.6.3-1.1.C21mdk.src.rpm

Corporate 3.0:
083cf4b5704f105f0aad21b82d3a2414 corporate/3.0/RPMS/enscript-1.6.4-1.1.C30mdk.i586.rpm
4ec9da427f7db5e0d2e4cac21e07e2c3 corporate/3.0/SRPMS/enscript-1.6.4-1.1.C30mdk.src.rpm

Corporate 3.0/X86_64:
2c6023e776b04c8ca7745e70ca8fe464 x86_64/corporate/3.0/RPMS/enscript-1.6.4-1.1.C30mdk.x86_64.rpm
4ec9da427f7db5e0d2e4cac21e07e2c3 x86_64/corporate/3.0/SRPMS/enscript-1.6.4-1.1.C30mdk.src.rpm

Vendor URL:  people.ssh.fi/mtr/genscript/ (Links to External Site)
Cause:   Boundary error, Input validation error
Underlying OS:  Linux (Mandriva/Mandrake)
Underlying OS Comments:  10.0, 10.1, Corporate 3.0, Corporate Server 2.1

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 Announce] MDKSA-2005:033 - Updated enscript packages


This is a multi-part message in MIME format...

------------=_1108088300-31468-2196

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

 _______________________________________________________________________

                 Mandrakelinux Security Update Advisory
 _______________________________________________________________________

 Package name:           enscript
 Advisory ID:            MDKSA-2005:033
 Date:                   February 10th, 2005

 Affected versions:	 10.0, 10.1, Corporate 3.0,
			 Corporate Server 2.1
 ______________________________________________________________________

 Problem Description:

 A vulnerability in the enscript program's handling of the epsf command
 used to insert inline EPS file into a document was found.  An attacker
 could create a carefully crafted ASCII file which would make used of
 the epsf pipe command in such a way that it could execute arbitrary
 commands if the file was opened with enscript (CAN-2004-1184).
 
 Additionally, flaws were found in enscript that could be abused by
 executing enscript with carefully crafted command-line arguments.
 These flaws only have a security impact if enscript is executed by
 other programs and passed untrusted data from remote users
 (CAN-2004-1185 and CAN-2004-1186).
 
 The updated packages have been patched to prevent these problems.
 _______________________________________________________________________

 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
 ______________________________________________________________________

 Updated Packages:
  
 Mandrakelinux 10.0:
 f3eb5a56cf8e961908e9014306fd096a  10.0/RPMS/enscript-1.6.4-1.1.100mdk.i586.rpm
 1ca9b9369578bc27057366a9c0757671  10.0/SRPMS/enscript-1.6.4-1.1.100mdk.src.rpm

 Mandrakelinux 10.0/AMD64:
 f316e4e8b11dde6155ddca1517fa8954  amd64/10.0/RPMS/enscript-1.6.4-1.1.100mdk.amd64.rpm
 1ca9b9369578bc27057366a9c0757671  amd64/10.0/SRPMS/enscript-1.6.4-1.1.100mdk.src.rpm

 Mandrakelinux 10.1:
 2454e55d7ac2edad3c5513a60fb6dbe0  10.1/RPMS/enscript-1.6.4-1.1.101mdk.i586.rpm
 47a3782c9ed270eb92d418fac3f9b390  10.1/SRPMS/enscript-1.6.4-1.1.101mdk.src.rpm

 Mandrakelinux 10.1/X86_64:
 9416aa90cf93d61755c815f9c38bac05  x86_64/10.1/RPMS/enscript-1.6.4-1.1.101mdk.x86_64.rpm
 47a3782c9ed270eb92d418fac3f9b390  x86_64/10.1/SRPMS/enscript-1.6.4-1.1.101mdk.src.rpm

 Corporate Server 2.1:
 e14356e6a6bac0eb66a52bad164853b1  corporate/2.1/RPMS/enscript-1.6.3-1.1.C21mdk.i586.rpm
 155cc925d6139bbd27272c2e7aab677f  corporate/2.1/SRPMS/enscript-1.6.3-1.1.C21mdk.src.rpm

 Corporate Server 2.1/X86_64:
 633c80cff58745b0a1e907103267aed5  x86_64/corporate/2.1/RPMS/enscript-1.6.3-1.1.C21mdk.x86_64.rpm
 155cc925d6139bbd27272c2e7aab677f  x86_64/corporate/2.1/SRPMS/enscript-1.6.3-1.1.C21mdk.src.rpm

 Corporate 3.0:
 083cf4b5704f105f0aad21b82d3a2414  corporate/3.0/RPMS/enscript-1.6.4-1.1.C30mdk.i586.rpm
 4ec9da427f7db5e0d2e4cac21e07e2c3  corporate/3.0/SRPMS/enscript-1.6.4-1.1.C30mdk.src.rpm

 Corporate 3.0/X86_64:
 2c6023e776b04c8ca7745e70ca8fe464  x86_64/corporate/3.0/RPMS/enscript-1.6.4-1.1.C30mdk.x86_64.rpm
 4ec9da427f7db5e0d2e4cac21e07e2c3  x86_64/corporate/3.0/SRPMS/enscript-1.6.4-1.1.C30mdk.src.rpm
 _______________________________________________________________________

 To upgrade automatically use MandrakeUpdate or urpmi.  The verification
 of md5 checksums and GPG signatures is performed automatically for you.

 All packages are signed by Mandrakesoft for security.  You can obtain
 the GPG public key of the Mandrakelinux Security Team by executing:

  gpg --recv-keys --keyserver pgp.mit.edu 0x22458A98

 You can view other update advisories for Mandrakelinux at:

  http://www.mandrakesoft.com/security/advisories

 If you want to report vulnerabilities, please contact

  security_linux-mandrake.com

 Type Bits/KeyID     Date       User ID
 pub  1024D/22458A98 2000-07-10 Linux Mandrake Security Team
  <security linux-mandrake.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCC/NtmqjQ0CJFipgRAtK/AJ0ShimVSx/3HfVspAP9N4wWDwuU8QCeNSZc
bJdqaUwRutSqPTRr+0PZYWk=
=JkCO
-----END PGP SIGNATURE-----


------------=_1108088300-31468-2196
Content-Type: text/plain; name="message.footer"
Content-Disposition: inline; filename="message.footer"
Content-Transfer-Encoding: 8bit

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

------------=_1108088300-31468-2196--

 
 


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