GhostScript Arbitrary Command Execution Vulnerability
BID:7757
Info
GhostScript Arbitrary Command Execution Vulnerability
| Bugtraq ID: | 7757 |
| Class: | Failure to Handle Exceptional Conditions |
| CVE: |
CVE-2003-0354 |
| Remote: | Yes |
| Local: | No |
| Published: | May 17 2003 12:00AM |
| Updated: | Jul 11 2009 10:06PM |
| Credit: | This vulnerability was reported by the vendor. |
| Vulnerable: |
SGI ProPack 2.3 SGI ProPack 2.2.1 Aladdin Enterprises Ghostscript 7.0 6 Aladdin Enterprises Ghostscript 7.0 5 Aladdin Enterprises Ghostscript 7.0 4 Aladdin Enterprises Ghostscript 6.53 Aladdin Enterprises Ghostscript 6.52 Aladdin Enterprises Ghostscript 6.51 Aladdin Enterprises Ghostscript 5.50.8 Aladdin Enterprises Ghostscript 5.50 Aladdin Enterprises Ghostscript 5.10.16 Aladdin Enterprises Ghostscript 5.10.15 Aladdin Enterprises Ghostscript 5.10.10 |
| Not Vulnerable: |
Aladdin Enterprises Ghostscript 7.0 7 |
Discussion
GhostScript Arbitrary Command Execution Vulnerability
A problem with Ghostscript could make it possible to execute arbitrary commands.
The vulnerability exists when GhostScript is used to process specially formatted PS files.
An attacker can exploit this vulnerability by creating a malicious PS file which, when processed with GhostScript, will result in the execution of arbitrary system commands.
A problem with Ghostscript could make it possible to execute arbitrary commands.
The vulnerability exists when GhostScript is used to process specially formatted PS files.
An attacker can exploit this vulnerability by creating a malicious PS file which, when processed with GhostScript, will result in the execution of arbitrary system commands.
Exploit / POC
GhostScript Arbitrary Command Execution Vulnerability
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution / Fix
GhostScript Arbitrary Command Execution Vulnerability
Solution:
Sun has released updates for Sun Linux 5.0.5.
Red Hat has released an advisory (RHSA-2003:181-01). Information about obtaining and applying fixes are available in the referenced advisory.
Red Hat has also released an advisory (RHSA-2003:182-04) which addresses this issue on Red Hat Enterprise Linux AS, Red Hat Enterprise Linux ES, Red Hat Enterprise Linux WS and Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor. Users should see the attached advisory for details on obtaining and applying fixes.
Mandrake has released an advisory (MDKSA-2003:065) that addresses this issue. Please see the attached advisory for details on obtaining and applying fixes.
Gentoo Linux has released an advisory. Users who have installed app-text/ghostscript are advised to upgrade to ghostscript-7.05.6-r2 by issuing the following commands:
emerge sync
emerge ghostscript
emerge clean
SGI has released an advisory (20031002-01-U) pertaining to their ProPack Linux distribution. The advisory has been released in response to a number of RHSA advisories, and includes a patch (Patch 10027) containing updated RPM packages relating to 22 different BIDS.
Patch 10027 can be obtained via the following link:
http://support.sgi.com/
For information regarding how to obtain individual RPM packages included in Patch 10027, please see the attached advisory.
Fixes available:
Aladdin Enterprises Ghostscript 5.10.10
Aladdin Enterprises Ghostscript 5.10.15
Aladdin Enterprises Ghostscript 5.10.16
Aladdin Enterprises Ghostscript 5.50
Aladdin Enterprises Ghostscript 5.50.8
Aladdin Enterprises Ghostscript 6.51
Aladdin Enterprises Ghostscript 6.52
Aladdin Enterprises Ghostscript 6.53
Aladdin Enterprises Ghostscript 7.0 6
Aladdin Enterprises Ghostscript 7.0 5
Aladdin Enterprises Ghostscript 7.0 4
Solution:
Sun has released updates for Sun Linux 5.0.5.
Red Hat has released an advisory (RHSA-2003:181-01). Information about obtaining and applying fixes are available in the referenced advisory.
Red Hat has also released an advisory (RHSA-2003:182-04) which addresses this issue on Red Hat Enterprise Linux AS, Red Hat Enterprise Linux ES, Red Hat Enterprise Linux WS and Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor. Users should see the attached advisory for details on obtaining and applying fixes.
Mandrake has released an advisory (MDKSA-2003:065) that addresses this issue. Please see the attached advisory for details on obtaining and applying fixes.
Gentoo Linux has released an advisory. Users who have installed app-text/ghostscript are advised to upgrade to ghostscript-7.05.6-r2 by issuing the following commands:
emerge sync
emerge ghostscript
emerge clean
SGI has released an advisory (20031002-01-U) pertaining to their ProPack Linux distribution. The advisory has been released in response to a number of RHSA advisories, and includes a patch (Patch 10027) containing updated RPM packages relating to 22 different BIDS.
Patch 10027 can be obtained via the following link:
http://support.sgi.com/
For information regarding how to obtain individual RPM packages included in Patch 10027, please see the attached advisory.
Fixes available:
Aladdin Enterprises Ghostscript 5.10.10
-
Aladdin Enterprises ghostscript-7.07.tar.gz
http://prdownloads.sourceforge.net/ghostscript/ghostscript-7.07.tar.gz ?download
Aladdin Enterprises Ghostscript 5.10.15
-
Aladdin Enterprises ghostscript-7.07.tar.gz
http://prdownloads.sourceforge.net/ghostscript/ghostscript-7.07.tar.gz ?download
Aladdin Enterprises Ghostscript 5.10.16
-
Aladdin Enterprises ghostscript-7.07.tar.gz
http://prdownloads.sourceforge.net/ghostscript/ghostscript-7.07.tar.gz ?download
Aladdin Enterprises Ghostscript 5.50
-
Aladdin Enterprises ghostscript-7.07.tar.gz
http://prdownloads.sourceforge.net/ghostscript/ghostscript-7.07.tar.gz ?download
Aladdin Enterprises Ghostscript 5.50.8
-
Aladdin Enterprises ghostscript-7.07.tar.gz
http://prdownloads.sourceforge.net/ghostscript/ghostscript-7.07.tar.gz ?download
Aladdin Enterprises Ghostscript 6.51
-
Aladdin Enterprises ghostscript-7.07.tar.gz
http://prdownloads.sourceforge.net/ghostscript/ghostscript-7.07.tar.gz ?download -
Sun ghostscript-6.51-16.3.i386.rpm
ftp://ftp.cobalt.sun.com/pub/products/sunlinux/5.0/en/updates/i386/RPM S/ghostscript-6.51-16.3.i386.rpm -
Sun ghostscript-6.51-16.3.src.rpm
ftp://ftp.cobalt.sun.com/pub/products/sunlinux/5.0/en/updates/i386/SRP MS/ghostscript-6.51-16.3.src.rpm
Aladdin Enterprises Ghostscript 6.52
-
Aladdin Enterprises ghostscript-7.07.tar.gz
http://prdownloads.sourceforge.net/ghostscript/ghostscript-7.07.tar.gz ?download
Aladdin Enterprises Ghostscript 6.53
-
Aladdin Enterprises ghostscript-7.07.tar.gz
http://prdownloads.sourceforge.net/ghostscript/ghostscript-7.07.tar.gz ?download -
Mandrake cups-drivers-1.1-48.3mdk.i586.rpm
Mandrake Linux 8.2
http://www.mandrakesecure.net/en/ftp.php -
Mandrake ghostscript-6.53-13.3mdk.i586.rpm
Mandrake Linux 8.2
http://www.mandrakesecure.net/en/ftp.php -
Mandrake ghostscript-module-SVGALIB-6.53-13.3mdk.i586.rpm
Mandrake Linux 8.2
http://www.mandrakesecure.net/en/ftp.php -
Mandrake ghostscript-module-X-6.53-13.3mdk.i586.rpm
Mandrake Linux 8.2
http://www.mandrakesecure.net/en/ftp.php -
Mandrake gimpprint-4.2.1-0.pre5.3mdk.i586.rpm
Mandrake Linux 8.2
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libgimpprint1-4.2.1-0.pre5.3mdk.i586.rpm
Mandrake Linux 8.2
http://www.mandrakesecure.net/en/ftp.php -
Mandrake omni-0.6.0-2.3mdk.i586.rpm
Mandrake Linux 8.2
http://www.mandrakesecure.net/en/ftp.php -
Mandrake printer-filters-1.0-48.3mdk.i586.rpm
Mandrake Linux 8.2
http://www.mandrakesecure.net/en/ftp.php -
Mandrake printer-testpages-1.0-48.3mdk.i586.rpm
Mandrake Linux 8.2
http://www.mandrakesecure.net/en/ftp.php -
Mandrake printer-utils-1.0-48.3mdk.i586.rpm
Mandrake Linux 8.2
http://www.mandrakesecure.net/en/ftp.php
Aladdin Enterprises Ghostscript 7.0 6
-
Aladdin Enterprises ghostscript-7.07.tar.gz
http://prdownloads.sourceforge.net/ghostscript/ghostscript-7.07.tar.gz ?download
Aladdin Enterprises Ghostscript 7.0 5
-
Aladdin Enterprises ghostscript-7.07.tar.gz
http://prdownloads.sourceforge.net/ghostscript/ghostscript-7.07.tar.gz ?download -
Conectiva ghostscript-library-7.05.3-162.i586.rpm
ftp://ul.conectiva.com.br/updates/1.0/RPMS.core/ghostscript-library-7. 05.3-162.i586.rpm -
Mandrake cups-drivers-1.1-104.2mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake cups-drivers-1.1-104.2mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake cups-drivers-1.1-84.3mdk.i586.rpm
Mandrake Linux 9.0 & Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake foomatic-2.0.2-20021220.2.3mdk.i586.rpm
Mandrake Linux 9.0 & Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake foomatic-db-3.0-0.beta2.20030403.2.2mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake foomatic-db-3.0-0.beta2.20030403.2.2mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake foomatic-db-engine-3.0-0.beta2.20030403.2.2mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake foomatic-db-engine-3.0-0.beta2.20030403.2.2mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake foomatic-filters-3.0-0.beta2.20030403.2.2mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake foomatic-filters-3.0-0.beta2.20030403.2.2mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake ghostscript-7.05-33.3mdk.i586.rpm
Mandrake Linux 9.0 & Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake ghostscript-7.05-53.2mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake ghostscript-7.05-53.2mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake ghostscript-module-X-7.05-33.3mdk.i586.rpm
Mandrake Linux 9.0 & Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake ghostscript-module-X-7.05-53.2mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake ghostscript-module-X-7.05-53.2mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake gimpprint-4.2.5-0.2.3mdk.i586.rpm
Mandrake Linux 9.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake gimpprint-4.2.5-18.2mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake gimpprint-4.2.5-18.2mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libgimpprint1-4.2.5-0.2.3mdk.i586.rpm
Mandrake Linux 9.0 & Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libgimpprint1-4.2.5-18.2mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libgimpprint1-4.2.5-18.2mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libgimpprint1-devel-4.2.5-0.2.3mdk.i586.rpm
Mandrake Linux 9.0 & Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libgimpprint1-devel-4.2.5-18.2mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libgimpprint1-devel-4.2.5-18.2mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libijs0-0.34-44.2mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libijs0-0.34-44.2mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libijs0-devel-0.34-44.2mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libijs0-devel-0.34-44.2mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake omni-0.7.1-11.3mdk.i586.rpm
Mandrake Linux 9.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake omni-0.7.2-20.2mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake omni-0.7.2-20.2mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake printer-filters-1.0-104.2mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake printer-filters-1.0-104.2mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake printer-filters-1.0-84.3mdk.i586.rpm
Mandrake Linux 9.0 & Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake printer-testpages-1.0-104.2mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake printer-testpages-1.0-104.2mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake printer-testpages-1.0-84.3mdk.i586.rpm
Mandrake Linux 9.0 & Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake printer-utils-1.0-104.2mdk.i586.rpm
Mandrake Linux 9.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake printer-utils-1.0-104.2mdk.ppc.rpm
Mandrake Linux 9.1/PPC
http://www.mandrakesecure.net/en/ftp.php -
Mandrake printer-utils-1.0-84.3mdk.i586.rpm
Mandrake Linux 9.0 & Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php
Aladdin Enterprises Ghostscript 7.0 4
-
Aladdin Enterprises ghostscript-7.07.tar.gz
http://prdownloads.sourceforge.net/ghostscript/ghostscript-7.07.tar.gz ?download -
OpenPKG ghostscript-7.04-1.1.1.src.rpm
ftp://ftp.openpkg.org/release/1.1/UPD/ghostscript-7.04-1.1.1.src.rpm
References
GhostScript Arbitrary Command Execution Vulnerability
References:
References:
- GNU Ghostscript 7.07 (GhostScript)
- RHSA-2003:182-04 Updated ghostscript packages fix vulnerability (Red Hat)
- Sun Linux Support - Sun Linux Patches (Sun)