OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA12903] Ghostscript Insecure Temporary File Creation Vulnerability

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Thu Oct 21 2004 - 08:05:38 CDT


TITLE:
Ghostscript Insecure Temporary File Creation Vulnerability

SECUNIA ADVISORY ID:
SA12903

VERIFY ADVISORY:
http://secunia.com/advisories/12903/

CRITICAL:
Less critical

IMPACT:
Privilege escalation

WHERE:
Local system

SOFTWARE:
ESP Ghostscript 7.x
http://secunia.com/product/4125/

DESCRIPTION:
A vulnerability has been reported in ESP Ghostscript, which can be
exploited by malicious, local users to perform certain actions on a
vulnerable system with escalated privileges.

The vulnerability is caused due to temporary files being created
insecurely by the "pj-gs.sh", "ps2epsi", "pv.sh", and "sysvlp.sh"
scripts. This can be exploited via symlink attacks to create or
overwrite arbitrary files with the privileges of the user invoking a
vulnerable script.

SOLUTION:
Grant only trusted users access to vulnerable systems.

PROVIDED AND/OR DISCOVERED BY:
First reported in a Trustix advisory.

ORIGINAL ADVISORY:
http://www.trustix.org/errata/2004/0050/

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------