Ghostscript 9.18/9.20 PS Interpreter input validation

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.
7.9$0-$5k0.00

Summaryinfo

A vulnerability classified as critical was found in Ghostscript 9.18/9.20. This issue affects some unknown processing of the component PS Interpreter. Executing a manipulation can lead to input validation. The identification of this vulnerability is CVE-2016-7976. The attack may be launched remotely. There is no exploit available. Applying a patch is advised to resolve this issue.

Detailsinfo

A vulnerability has been found in Ghostscript 9.18/9.20 (Document Processing Software) and classified as critical. This vulnerability affects an unknown function of the component PS Interpreter. The manipulation with an unknown input leads to a input validation vulnerability. The CWE definition for the vulnerability is CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

The PS Interpreter in Ghostscript 9.18 and 9.20 allows remote attackers to execute arbitrary code via crafted userparams.

The bug was discovered 10/05/2016. The weakness was shared 08/07/2017 by Tavis Ormandy (oss-sec). The advisory is shared for download at openwall.com. This vulnerability was named CVE-2016-7976 since 09/09/2016. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are neither technical details nor an exploit publicly available.

The vulnerability was handled as a non-public zero-day exploit for at least 7 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 94023 (Debian DSA-3691-1 : ghostscript - security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 175860 (Debian Security Update for ghostscript (DSA 3691-1)).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.ghostscript.com. 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 Tenable (94023) and SecurityFocus (BID 95332†). The entry VDB-99889 is related to this item. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.0
VulDB Meta Temp Score: 7.9

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 94023
Nessus Name: Debian DSA-3691-1 : ghostscript - security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 703691
OpenVAS Name: Debian Security Advisory DSA 3691-1 (ghostscript - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 6d444c273da5499a4cd72f21cb6d4c9a5256807d

Timelineinfo

09/09/2016 🔍
10/05/2016 +26 days 🔍
10/05/2016 +0 days 🔍
10/12/2016 +7 days 🔍
10/13/2016 +1 days 🔍
08/07/2017 +298 days 🔍
08/07/2017 +0 days 🔍
08/08/2017 +1 days 🔍
12/15/2022 +1955 days 🔍

Sourcesinfo

Advisory: openwall.com
Researcher: Tavis Ormandy
Status: Not defined
Confirmation: 🔍

CVE: CVE-2016-7976 (🔍)
GCVE (CVE): GCVE-0-2016-7976
GCVE (VulDB): GCVE-100-104944

OVAL: 🔍

SecurityFocus: 95332 - Ghostscript CVE-2016-7976 Remote Command Execution Vulnerability

See also: 🔍

Entryinfo

Created: 08/08/2017 12:39
Updated: 12/15/2022 09:39
Changes: 08/08/2017 12:39 (76), 11/04/2019 14:00 (5), 12/15/2022 09:39 (4)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!