Aladdin Enterprises Ghostscript up to 7.0.7 pj-gs.sh link following
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.0 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Vendor
Name
Version
- 4.3
- 4.3.2
- 5.10.10
- 5.10.10 1
- 5.10.12cl
- 5.10.15
- 5.10.16
- 5.10cl
- 5.50
- 5.50.8
- 5.50.8 7
- 6.51
- 6.52
- 6.53
- 7.0.4
- 7.0.5
- 7.0.6
- 7.0.7
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.4VulDB Meta Temp Score: 8.0
VulDB Base Score: 8.4
VulDB Temp Score: 8.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Link followingCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Timeline
09/30/2004 🔍09/30/2004 🔍
09/30/2004 🔍
10/19/2004 🔍
10/27/2004 🔍
02/09/2005 🔍
02/09/2005 🔍
06/09/2005 🔍
09/29/2005 🔍
01/15/2006 🔍
03/10/2015 🔍
07/07/2025 🔍
Sources
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: 🔍
Entry
Created: 03/10/2015 15:27Updated: 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.
No comments yet. Languages: en.
Please log in to comment.