ID:1742 - Exploit for Type confusion in Ghostscript - CVE-2017-8291

 
Main Vulnerability Database Exploits ID:1742 - Exploit for Type confusion in Ghostscript - CVE-2017-8291

ID:1742 - Exploit for Type confusion in Ghostscript - CVE-2017-8291

Published: March 18, 2020


Vulnerability identifier: #VU6546
Vulnerability risk: Critical
CVE-ID: CVE-2017-8291
CWE-ID: CWE-704
Exploitation vector: Remote access
Vulnerable software:
Ghostscript

Link to public exploit:


Vulnerability description

The vulnerability allows a remote unauthenticated attacker to execute arbitrary commands on a targeted system.

The weakness exists due to type confusion error when processing user-supplied parameters passed to the .rsdparams and .eqproc functions in ghostscript. A remote attacker can submit a specially crafted .eps document, execute code in the context of the ghostscript process and bypass -dSAFER protection.

Successful exploitation of the vulnerability may result in system compromise.

Note: this vulnerability is being exploited in the wild.

Remediation

Ghostscript 9.21 through 2017-04-26 is vulnerable. Older versions may also be affected.