ESP Ghostscript Insecure Temporary File Creation Vulnerabilities
Secunia Advisory: SA12903
Release Date: 2004-10-21
Last Update: 2005-01-21
Popularity: 7,364 views

Critical:
Less critical
Impact: Privilege escalation
Where: Local system
Solution Status: Unpatched

Software:ESP Ghostscript 7.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2004-0967


Description:
Some vulnerabilities have 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 vulnerabilities are caused due to various scripts creating temporary files insecurely. This can be exploited via symlink attacks to create or overwrite arbitrary files with the privileges of the user invoking a vulnerable script.

The following scripts/files are reportedly affected:
* pj-gs.sh
* ps2epsi
* pv.sh
* sysvlp.sh
* cups-pcl3
* if-pcl3
* catppd
* gdevhpij.c
* gdevpnga.c
* 3way.tcl
* gsindent
* makeset.tcl
* pre

Solution:
Grant only trusted users access to vulnerable systems.

Provided and/or discovered by:
First reported in a Trustix advisory.

Additional information provided by Javier.

Changelog:
2005-01-21: Updated advisory.

Original Advisory:
http://www.trustix.org/errata/2004/0050/


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. phpBB Cross Site Scripting and Unspecified Vulnerabilities // 24 views
2. Microsoft Word Malformed Object Pointer Vulnerability // 18 views
3. PHP Multiple Vulnerabilities // 18 views
4. PluggedOut Blog "index.php" SQL Injection Vulnerabilities // 17 views
5. Subdreamer Light Global Variables SQL Injection Vulnerability // 15 views
6. phpBB BBcode Script Insertion Vulnerability // 15 views
7. Microsoft Office Two Code Execution Vulnerabilities // 15 views
8. PHP "gdPngReadData()" Truncated PNG Data Denial of Service // 13 views
9. HP OpenView Select Identity Connectors Information Disclosure // 12 views
10. Fedora update for xastir // 12 views