GNU Enscript Multiple Vulnerabilities
BID:12329
Info
GNU Enscript Multiple Vulnerabilities
| Bugtraq ID: | 12329 |
| Class: | Design Error |
| CVE: |
CVE-2004-1186 CVE-2004-1185 CVE-2004-1184 |
| Remote: | Yes |
| Local: | Yes |
| Published: | Jan 21 2005 12:00AM |
| Updated: | May 29 2006 04:07PM |
| Credit: | Erik Sjolund is credited with the discovery of these vulnerabilities. |
| Vulnerable: |
SuSE Linux 8.1 SuSE Linux 8.0 i386 SuSE Linux 8.0 SuSE Linux 7.3 sparc SuSE Linux 7.3 ppc SuSE Linux 7.3 i386 SuSE Linux 7.3 SuSE Linux 7.2 i386 SuSE Linux 7.2 SuSE Linux 7.1 x86 SuSE Linux 7.1 sparc SuSE Linux 7.1 ppc SuSE Linux 7.1 alpha SuSE Linux 7.1 SuSE Linux 7.0 sparc SuSE Linux 7.0 ppc SuSE Linux 7.0 i386 SuSE Linux 7.0 alpha SuSE Linux 7.0 SuSE Linux 6.4 ppc SuSE Linux 6.4 i386 SuSE Linux 6.4 alpha SuSE Linux 6.4 SuSE Linux 6.3 ppc SuSE Linux 6.3 alpha SuSE Linux 6.3 SuSE Linux 6.2 SuSE Linux 6.1 alpha SuSE Linux 6.1 SuSE Linux 6.0 SuSE Linux 5.3 SuSE Linux 5.2 SuSE Linux 5.1 SuSE Linux 5.0 SuSE Linux 4.4.1 SuSE Linux 4.4 SuSE Linux 4.3 SuSE Linux 4.2 SuSE Linux 4.0 SuSE Linux 3.0 SuSE Linux 2.0 SuSE Linux 1.0 SGI ProPack 3.0 S.u.S.E. Linux Personal 9.2 x86_64 S.u.S.E. Linux Personal 9.2 S.u.S.E. Linux Personal 9.1 x86_64 S.u.S.E. Linux Personal 9.1 S.u.S.E. Linux Personal 9.0 x86_64 S.u.S.E. Linux Personal 9.0 S.u.S.E. Linux Personal 8.2 rPath rPath Linux 1 Redhat Linux 9.0 i386 Redhat Linux 7.3 i386 Redhat Fedora Core3 Redhat Fedora Core2 Redhat Fedora Core1 GNU Enscript 1.6.4 GNU Enscript 1.6.3 GNU Enscript 1.6.2 GNU Enscript 1.6.1 GNU Enscript 1.6 GNU Enscript 1.5 GNU Enscript 1.4 |
| Not Vulnerable: | |
Discussion
GNU Enscript Multiple Vulnerabilities
Multiple vulnerabilities are reported in GNU enscript.
The first issues are due to insufficient sanitization of user-supplied input data, leading to the possibility of arbitrary command execution.
Multiple unspecified buffer-overflow vulnerabilities are also reported. These issues are due to the application's failure to properly bounds-check user-supplied data before copying it into insufficiently sized memory buffers.
These issues are all locally exploitable, since enscript doesn't contain any network support. However, when enscript is combined with network-based applications such as 'viewcvs' and possibly others, these issues could likely be remotely exploited.
The enscript utility is not installed with setuid privileges, but it may be used as a part of print-spooler systems. By exploiting these issues, attackers may be able to execute arbitrary commands or machine code in the context of the affected system that is using the affected utility. Other attacks are also possible, depending on how the utility is used.
Multiple vulnerabilities are reported in GNU enscript.
The first issues are due to insufficient sanitization of user-supplied input data, leading to the possibility of arbitrary command execution.
Multiple unspecified buffer-overflow vulnerabilities are also reported. These issues are due to the application's failure to properly bounds-check user-supplied data before copying it into insufficiently sized memory buffers.
These issues are all locally exploitable, since enscript doesn't contain any network support. However, when enscript is combined with network-based applications such as 'viewcvs' and possibly others, these issues could likely be remotely exploited.
The enscript utility is not installed with setuid privileges, but it may be used as a part of print-spooler systems. By exploiting these issues, attackers may be able to execute arbitrary commands or machine code in the context of the affected system that is using the affected utility. Other attacks are also possible, depending on how the utility is used.
Exploit / POC
GNU Enscript Multiple Vulnerabilities
An exploit is not required for the command-execution vulnerabilities.
Currently we are not aware of any exploits for these buffer-overflow issues. If you feel we are in error or are aware of more recent information, please mail us at: [email protected]
An exploit is not required for the command-execution vulnerabilities.
Currently we are not aware of any exploits for these buffer-overflow issues. If you feel we are in error or are aware of more recent information, please mail us at: [email protected]
Solution / Fix
GNU Enscript Multiple Vulnerabilities
Solution:
Please see the referenced advisories for more information.
GNU Enscript 1.6.1
GNU Enscript 1.6.2
GNU Enscript 1.6.3
GNU Enscript 1.6.4
SGI ProPack 3.0
Solution:
Please see the referenced advisories for more information.
GNU Enscript 1.6.1
-
Fedora enscript-1.6.1-25.2.i386.rpm
RedHat Fedora Core 2
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora enscript-1.6.1-25.2.x86_64.rpm
RedHat Fedora Core 2
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora enscript-1.6.1-25.3.i386.rpm
RedHat Fedora Core 2
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora enscript-1.6.1-25.3.x86_64.rpm
RedHat Fedora Core 2
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora enscript-1.6.1-28.0.2.i386.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora enscript-1.6.1-28.0.2.x86_64.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora enscript-1.6.1-28.0.3.i386.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora enscript-1.6.1-28.0.3.x86_64.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora enscript-1.6.1-28.0.4.i386.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora enscript-1.6.1-28.0.4.x86_64.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora enscript-debuginfo-1.6.1-25.2.i386.rpm
RedHat Fedora Core 2
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora enscript-debuginfo-1.6.1-25.2.x86_64.rpm
RedHat Fedora Core 2
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora enscript-debuginfo-1.6.1-25.3.i386.rpm
RedHat Fedora Core 2
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora enscript-debuginfo-1.6.1-25.3.x86_64.rpm
RedHat Fedora Core 2
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora enscript-debuginfo-1.6.1-28.0.2.i386.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora enscript-debuginfo-1.6.1-28.0.2.x86_64.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora enscript-debuginfo-1.6.1-28.0.3.i386.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora enscript-debuginfo-1.6.1-28.0.3.x86_64.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora enscript-debuginfo-1.6.1-28.0.4.i386.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora enscript-debuginfo-1.6.1-28.0.4.x86_64.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora Legacy enscript-1.6.1-19.73.2.legacy.i386.rpm
Red Hat Linux 7.3:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/enscript-1.6. 1-19.73.2.legacy.i386.rpm -
Fedora Legacy enscript-1.6.1-19.73.2.legacy.i386.rpm
Red Hat Linux 9:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/enscript-1.6. 1-19.73.2.legacy.i386.rpm -
Fedora Legacy enscript-1.6.1-24.2.legacy.i386.rpm
Red Hat Linux 9:
http://download.fedoralegacy.org/redhat/9/updates/i386/enscript-1.6.1- 24.2.legacy.i386.rpm -
Fedora Legacy enscript-1.6.1-25.1.1.legacy.i386.rpm
Fedora Core 1:
http://download.fedoralegacy.org/fedora/1/updates/i386/enscript-1.6.1- 25.1.1.legacy.i386.rpm
GNU Enscript 1.6.2
-
SuSE enscript-1.6.2-814.6.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/enscript-1.6.2-81 4.6.i586.rpm -
SuSE enscript-1.6.2-814.6.x86_64.rpm
ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/enscript-1.6. 2-814.6.x86_64.rpm -
SuSE enscript-1.6.2-822.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/enscript-1.6.2-82 2.i586.rpm -
SuSE enscript-1.6.2-822.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/enscript-1.6.2-82 2.i586.rpm -
SuSE enscript-1.6.2-822.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/enscript-1.6.2-82 2.i586.rpm -
SuSE enscript-1.6.2-822.x86_64.rpm
ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/enscript-1.6. 2-822.x86_64.rpm
GNU Enscript 1.6.3
-
Debian enscript_1.6.3-1.3_alpha.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3 -1.3_alpha.deb -
Debian enscript_1.6.3-1.3_arm.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3 -1.3_arm.deb -
Debian enscript_1.6.3-1.3_hppa.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3 -1.3_hppa.deb -
Debian enscript_1.6.3-1.3_i386.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3 -1.3_i386.deb -
Debian enscript_1.6.3-1.3_ia64.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3 -1.3_ia64.deb -
Debian enscript_1.6.3-1.3_m68k.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3 -1.3_m68k.deb -
Debian enscript_1.6.3-1.3_mips.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3 -1.3_mips.deb -
Debian enscript_1.6.3-1.3_mipsel.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3 -1.3_mipsel.deb -
Debian enscript_1.6.3-1.3_powerpc.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3 -1.3_powerpc.deb -
Debian enscript_1.6.3-1.3_s390.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3 -1.3_s390.deb -
Debian enscript_1.6.3-1.3_sparc.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/e/enscript/enscript_1.6.3 -1.3_sparc.deb -
Mandrake enscript-1.6.3-1.1.C21mdk.i586.rpm
Mandrake Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake enscript-1.6.3-1.1.C21mdk.x86_64.rpm
Mandrake Corporate Server 2.1/x86_64
http://www.mandrakesecure.net/en/ftp.php
GNU Enscript 1.6.4
-
Mandrake enscript-1.6.4-1.1.100mdk.amd64.rpm
Mandrake Linux 10.0/AMD64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake enscript-1.6.4-1.1.100mdk.i586.rpm
Mandrake Linux 10.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake enscript-1.6.4-1.1.101mdk.i586.rpm
Mandrake Linux 10.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake enscript-1.6.4-1.1.101mdk.x86_64.rpm
Mandrake Linux 10.1/x86_64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake enscript-1.6.4-1.1.C30mdk.i586.rpm
Mandrake Corporate Server 3.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake enscript-1.6.4-1.1.C30mdk.x86_64.rpm
Mandrake Corporate Server 3.0/x86_64
http://www.mandrakesecure.net/en/ftp.php -
SuSE enscript-1.6.4-2.3.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/9.2/rpm/i586/enscript-1.6.4-2. 3.i586.rpm -
SuSE enscript-1.6.4-2.3.x86_64.rpm
ftp://ftp.suse.com/pub/suse/x86_64/update/9.2/rpm/x86_64/enscript-1.6. 4-2.3.x86_64.rpm -
Ubuntu enscript_1.6.4-4ubuntu0.1_amd64.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/e/enscript/enscript_1. 6.4-4ubuntu0.1_amd64.deb -
Ubuntu enscript_1.6.4-4ubuntu0.1_i386.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/e/enscript/enscript_1. 6.4-4ubuntu0.1_i386.deb -
Ubuntu enscript_1.6.4-4ubuntu0.1_powerpc.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/e/enscript/enscript_1. 6.4-4ubuntu0.1_powerpc.deb
SGI ProPack 3.0
-
SGI patch10140.tar.gz
ftp://patches.sgi.com/support/free/security/patches/ProPack/3/patch101 39.tar.gz -
SGI patch10141.tar.gz
ftp://patches.sgi.com/support/free/security/patches/ProPack/3/patch101 39.tar.gz
References
GNU Enscript Multiple Vulnerabilities
References:
References:
- Enscript Home Page (GNU)
- RHSA-2005:039-06 - Updated enscript package fixes security issues (RedHat)
- rPSA-2006-0083-1 enscript ("Justin M. Forbes"
)