Artifex Ghostscript .rsdparams Operator Handling Type Confusion RCE

This script is Copyright (C) 2017 Tenable Network Security, Inc.


Synopsis :

The remote Windows host contains a library that is affected by a
remote command execution vulnerability.

Description :

The version of Artifex Ghostscript installed on the remote Windows
host is 9.21 or earlier. It is, therefore, affected by a type
confusion error when handling the '.rsdparams' operator with a
'/OutputFile (%pipe%' substring. An unauthenticated, remote attacker
can exploit this, via a specially crafted EPS file, to bypass the
-dSAFER sandbox and execute arbitrary commands.

See also :

https://bugs.ghostscript.com/show_bug.cgi?id=697799
https://bugs.ghostscript.com/show_bug.cgi?id=697808
http://www.nessus.org/u?ef741fb0

Solution :

Refer to bug 697799 for possible workarounds or patches. A fixed
version of Ghostscript reportedly is scheduled for release in
September of 2017.

Risk factor :

Medium / CVSS Base Score : 6.8
(CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 5.6
(CVSS2#E:F/RL:OF/RC:ND)
Public Exploit Available : true

Family: Windows

Nessus Plugin ID: 100356 ()

Bugtraq ID:

CVE ID: CVE-2017-8291

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now