vendor:
Ghostscript
by:
John Page AKA hyp3rlinx
7,5
CVSS
HIGH
Filename Command Execution
78
CWE
Product Name: Ghostscript
Affected Version From: Ghostscript 9.20
Affected Version To: Ghostscript 9.20
Patch Exists: NO
Related CWE: N/A
CPE: a:artifex_software:ghostscript
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Windows (32 bit)
2015
GHOSTSCRIPT FILENAME COMMAND EXECUTION
The ghostscript ps2epsi translator to processes ".ps" files executes arbitrary commands from specially crafted filenames that contain OS commands as part of the processed postscript files name. This feature seems to work only using the ps2epsi translator. Other tested GS translator calls like 'ps2pdf' fail.
Mitigation:
Disable the ps2epsi translator or restrict access to the directory where the ".ps" files are stored.