A security issue has been discovered in Ghostscript, which can potentially be exploited by malicious people to bypass certain security restrictions and compromise a user's system.
The security issue is caused due to the application reading certain postscript files in the current working directory although the "-P-" command line option is set. This can be exploited to execute arbitrary postscript commands e.g. via the "gs_init.ps" file, if a user is tricked into opening a file using the "-P-" option in an attacker controlled directory.
The security issue is confirmed in version 8.71. Other versions may also be affected.
Solution: Fixed in the subversion repository.
Provided and/or discovered by: Christopher Yeleighton. Additional information by Paul Szabo.
Original Advisory: https://bugzilla.novell.com/show_bug.cgi?id=608071
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to email@example.com
Subject: Ghostscript "-P-" Command Line Option Security Issue