Remote command injection in Ghostscript



Risk Critical
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2017-8291
CWE-ID CWE-704
Exploitation vector Network
Public exploit This vulnerability is being exploited in the wild.
Vulnerable software
Ghostscript
Universal components / Libraries / Libraries used by multiple products

Vendor Artifex Software, Inc.

Security Bulletin

This security bulletin contains one critical risk vulnerability.

1) Type confusion

EUVDB-ID: #VU6546

Risk: Critical

CVSSv4.0: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Red]

CVE-ID: CVE-2017-8291

CWE-ID: CWE-704 - Type conversion

Exploit availability: Yes

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.

Mitigation

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

Vulnerable software versions

Ghostscript: 9.21

CPE2.3 External links

https://seclists.org/oss-sec/2017/q2/155
https://bugs.ghostscript.com/show_bug.cgi?id=697799
https://www.rapid7.com/db/modules/exploit/unix/fileformat/ghostscript_type_confusion


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.



###SIDEBAR###