pstotext -dSAFER option command execution
| pstotext-dsafer-command-execution (21498) |
Description:
pstotext could allow a remote attacker to execute arbitrary code on the system. pstotext fails to properly use the -dSAFER option to call GhostScript when extracting plain text from PostScript files. A remote attacker could exploit this vulnerability to execute arbitrary code on the system.
Platforms Affected:
- Debian, Debian Linux 3.0
- Debian, Debian Linux 3.1
- Gentoo, Linux
- Ghostgum Software, pstotext 1.9
Remedy:
Refer to GLSA 200507-29 for patch, upgrade or suggested workaround information. See References.
Consequences:
Gain Access
References:
- Debian Bug report logs - #319758, pstotext: arbitrary postscript code execution at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=319758.
- pstotext Web page, pstotext - extracting plain text from PostScript at http://www.cs.wisc.edu/~ghost/doc/pstotext.htm.
- BID-14378: PSToText Arbitrary Code Execution Vulnerability
- CVE-2005-2536: pstotext before 1.8g does not properly use the -dSAFER option when calling Ghostscript to extract plain text from PostScript and PDF files, which allows remote attackers to execute arbitrary commands via a malicious PostScript file.
- DSA-792: pstotext -- missing input sanitising
- GLSA-200507-29: pstotext: Remote execution of arbitrary code
- SA16183: pstotext Arbitrary Postscript Code Execution Vulnerability
Reported:
Jul 25, 2005
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
