Exploit database

Vulnerability

CVE-2017-8291

Vulnerability details

Score
7.8
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Description

Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile (%pipe%" substring in a crafted .eps document that is an input to the gs program, as exploited in the wild in April 2017.

CVE Program

Exploit source choices

2 sources
Ghostscript Type Confusion Arbitrary Command Execution
MSF-unix--fileformat--ghostscript_type_confusionMetasploitUnix / remote

This module exploits a type confusion vulnerability in Ghostscript that can be exploited to obtain arbitrary command execution. This vulnerability affects Ghostscript versions 9.21 and earlier and can be exploited through libraries such as ImageMagick and Pillow.

2017-04-27ghostscript_type_confusion.rb