Aladdin Enterprises Ghostscript up to 7.0.7 pj-gs.sh link following

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.0$0-$5k0.00

Summaryinfo

A vulnerability was found in Aladdin Enterprises Ghostscript. It has been classified as problematic. The affected element is an unknown function of the file pj-gs.sh. Performing a manipulation results in link following. This vulnerability is identified as CVE-2004-0967. There is not any exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability classified as critical has been found in Aladdin Enterprises Ghostscript (Document Processing Software). This affects an unknown code block of the file pj-gs.sh. The manipulation with an unknown input leads to a link following vulnerability. CWE is classifying the issue as CWE-59. The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

The (1) pj-gs.sh, (2) ps2epsi, (3) pv.sh, and (4) sysvlp.sh scripts in the ESP Ghostscript (espgs) package in Trustix Secure Linux 1.5 through 2.1, and other operating systems, allow local users to overwrite files via a symlink attack on temporary files.

The bug was discovered 09/30/2004. The weakness was released 02/09/2005 with Trustix (Website). It is possible to read the advisory at securityfocus.com. This vulnerability is uniquely identified as CVE-2004-0967 since 10/19/2004. The exploitability is told to be easy. Attacking locally is a requirement. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 27 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 20645 (Ubuntu 4.10 : GhostScript utility script vulnerabilities (USN-3-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 117851 (CentOS Security Update for Ghostscript (CESA-2005:081)).

Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (17583), Tenable (20645), SecurityFocus (BID 11285†), OSVDB (11069†) and Secunia (SA16997†). Entries connected to this vulnerability are available at VDB-942, VDB-950, VDB-975 and VDB-23937. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.4
VulDB Meta Temp Score: 8.0

VulDB Base Score: 8.4
VulDB Temp Score: 8.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Link following
CWE: CWE-59
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 20645
Nessus Name: Ubuntu 4.10 : GhostScript utility script vulnerabilities (USN-3-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 55907
OpenVAS Name: FreeBSD Ports: ghostscript-gnu, ghostscript-gnu-nox11
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Timelineinfo

09/30/2004 🔍
09/30/2004 +0 days 🔍
09/30/2004 +0 days 🔍
10/19/2004 +19 days 🔍
10/27/2004 +8 days 🔍
02/09/2005 +105 days 🔍
02/09/2005 +0 days 🔍
06/09/2005 +120 days 🔍
09/29/2005 +112 days 🔍
01/15/2006 +108 days 🔍
03/10/2015 +3341 days 🔍
07/07/2025 +3771 days 🔍

Sourcesinfo

Advisory: securityfocus.com
Organization: Trustix
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2004-0967 (🔍)
GCVE (CVE): GCVE-0-2004-0967
GCVE (VulDB): GCVE-100-23931

OVAL: 🔍

X-Force: 17583
SecurityFocus: 11285 - GhostScript Insecure Temporary File Creation Vulnerability
Secunia: 16997 - Red Hat update for ghostscript, Less Critical
OSVDB: 11069 - CVE-2004-0967 - GhostScript - Symlink Issue
Vulnerability Center: 8287 - Aladdin Enterprises Ghostscript <= 7.0 7 Allows Overwriting Files via Multiple Scripts, Low

See also: 🔍

Entryinfo

Created: 03/10/2015 15:27
Updated: 07/07/2025 00:15
Changes: 03/10/2015 15:27 (75), 06/02/2019 10:28 (9), 07/07/2025 00:15 (20)
Complete: 🔍
Cache ID: 216:055:103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!