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

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.

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) and Tenable (20645). Entries connected to this vulnerability are available at 942, 950, 975 and 23937.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
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: 🔍

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: 🔍

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 🔍
06/02/2019 +1545 days 🔍

Sourcesinfo

Advisory: securityfocus.com
Organization: Trustix
Status: Not defined
Confirmation: 🔍

CVE: CVE-2004-0967 (🔍)
OVAL: 🔍

X-Force: 17583
Vulnerability Center: 8287 - Aladdin Enterprises Ghostscript <= 7.0 7 Allows Overwriting Files via Multiple Scripts, Low
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

See also: 🔍

Entryinfo

Created: 03/10/2015 15:27
Updated: 06/02/2019 10:28
Changes: 03/10/2015 15:27 (75), 06/02/2019 10:28 (9)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!