Vulnerability & Exploit Database

Back to search

Ghostscript Type Confusion Arbitrary Command Execution

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

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

exploit/unix/fileformat/ghostscript_type_confusion

Authors

  • Atlassian Security Team
  • hdm <x [at] hdm.io>

References

Targets

  • EPS file

Platforms

  • unix

Architectures

  • cmd

Reliability

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/unix/fileformat/ghostscript_type_confusion msf exploit(ghostscript_type_confusion) > show targets ...targets... msf exploit(ghostscript_type_confusion) > set TARGET <target-id> msf exploit(ghostscript_type_confusion) > show options ...show and set options... msf exploit(ghostscript_type_confusion) > exploit