Known Exploited Vulnerability
7.8
HIGH
CVE-2017-8291
Artifex Ghostscript Type Confusion Vulnerability - [Actively Exploited]
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.

INFO

Published Date :

April 27, 2017, 1:59 a.m.

Last Modified :

July 2, 2024, 1:01 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
CISA Notification
CISA KEV (Known Exploited Vulnerabilities)

For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.

Description :

Artifex Ghostscript allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile.

Required Action :

Apply updates per vendor instructions.

Public PoC/Exploit Available at Github

CVE-2017-8291 has a 15 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2017-8291 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux_desktop
2 Redhat enterprise_linux_server
3 Redhat enterprise_linux_workstation
4 Redhat enterprise_linux_server_aus
5 Redhat enterprise_linux_server_tus
6 Redhat enterprise_linux_eus
1 Debian debian_linux
1 Artifex ghostscript
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-8291.

URL Resource
http://openwall.com/lists/oss-security/2017/04/28/2 Mailing List Patch Third Party Advisory
http://www.debian.org/security/2017/dsa-3838 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/98476 Broken Link Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:1230 Third Party Advisory
https://bugs.ghostscript.com/show_bug.cgi?id=697808 Issue Tracking Third Party Advisory VDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=1446063 Issue Tracking Patch Third Party Advisory VDB Entry
https://bugzilla.suse.com/show_bug.cgi?id=1036453 Exploit Issue Tracking Third Party Advisory VDB Entry
https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d Broken Link
https://security.gentoo.org/glsa/201708-06 Third Party Advisory
https://www.exploit-db.com/exploits/41955/ Exploit Third Party Advisory VDB Entry

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 9 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Jan. 26, 2024, 10:07 a.m. This repo has been linked 161 different CVEs too.

None

Updated: 1 year, 9 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 11, 2023, 1:21 p.m. This repo has been linked 1042 different CVEs too.

一个漏洞利用工具仓库

Python PHP Java C Makefile C++ Dockerfile Shell Perl RPC

Updated: 2 years, 6 months ago
0 stars 72 fork 72 watcher
Born at : April 22, 2022, 10:21 a.m. This repo has been linked 48 different CVEs too.

Ostorlab KEV: One-command to detect most remotely known exploitable vulnerabilities. Sourced from CISA KEV, Google's Tsunami, Ostorlab's Asteroid and Bug Bounty programs.

cisa-kev vulnerability 0day cisa exploits

Updated: 2 months ago
516 stars 32 fork 32 watcher
Born at : April 19, 2022, 8:58 a.m. This repo has been linked 1181 different CVEs too.

一个Vulhub漏洞复现知识库

vulnerability exploit

Updated: 2 months ago
448 stars 87 fork 87 watcher
Born at : March 3, 2022, 8:38 a.m. This repo has been linked 171 different CVEs too.

一个漏洞POC知识库 目前数量 1000+

poc

Updated: 2 months ago
3417 stars 682 fork 682 watcher
Born at : Feb. 20, 2022, 6:43 a.m. This repo has been linked 405 different CVEs too.

Change UploadScanner extension a bit to suit some of the target

HTML Python Perl

Updated: 3 years ago
0 stars 0 fork 0 watcher
Born at : Nov. 9, 2021, 2:54 p.m. This repo has been linked 7 different CVEs too.

Python library for ReversingLabs services - Python 3 version.

Python

Updated: 2 months, 3 weeks ago
8 stars 8 fork 8 watcher
Born at : March 17, 2021, 8:12 p.m. This repo has been linked 4 different CVEs too.

None

Updated: 3 years, 9 months ago
0 stars 1 fork 1 watcher
Born at : Feb. 6, 2021, 4:29 p.m. This repo has been linked 33 different CVEs too.

None

Updated: 2 months, 4 weeks ago
13 stars 4 fork 4 watcher
Born at : May 25, 2020, 7:51 a.m. This repo has been linked 1027 different CVEs too.

None

HTML Python Perl

Updated: 2 months, 4 weeks ago
0 stars 0 fork 0 watcher
Born at : March 21, 2020, 1:51 a.m. This repo has been linked 7 different CVEs too.

This repository contains various media files for known attacks on web applications processing media files. Useful for penetration tests and bug bounty.

PostScript

Updated: 2 months ago
311 stars 76 fork 76 watcher
Born at : July 17, 2019, 1:58 p.m. This repo has been linked 18 different CVEs too.

PoC + Docker Environment for Python PIL/Pillow Remote Shell Command Execution via Ghostscript CVE-2018-16509

docker web-security python pillow ghostscript

Dockerfile Python

Updated: 4 months ago
58 stars 13 fork 13 watcher
Born at : Oct. 15, 2018, 7:44 a.m. This repo has been linked 2 different CVEs too.

HTTP file upload scanner for Burp Proxy

fileupload burp scanner security uploadscanner extension multipart

HTML Python Perl

Updated: 2 months, 3 weeks ago
479 stars 72 fork 72 watcher
Born at : April 20, 2018, 7:46 a.m. This repo has been linked 7 different CVEs too.

✍️ A curated list of CVE PoCs.

awesome cve poc

Updated: 2 months ago
3289 stars 678 fork 678 watcher
Born at : Feb. 2, 2017, 6:43 a.m. This repo has been linked 1042 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-8291 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-8291 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Modified Analysis by [email protected]

    Jul. 02, 2024

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.debian.org/security/2017/dsa-3838 No Types Assigned http://www.debian.org/security/2017/dsa-3838 Mailing List, Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/98476 No Types Assigned http://www.securityfocus.com/bid/98476 Broken Link, Third Party Advisory, VDB Entry
    Changed Reference Type https://access.redhat.com/errata/RHSA-2017:1230 No Types Assigned https://access.redhat.com/errata/RHSA-2017:1230 Third Party Advisory
    Changed Reference Type https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d No Types Assigned https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d Broken Link
    Changed Reference Type https://security.gentoo.org/glsa/201708-06 No Types Assigned https://security.gentoo.org/glsa/201708-06 Third Party Advisory
    Changed Reference Type https://www.exploit-db.com/exploits/41955/ No Types Assigned https://www.exploit-db.com/exploits/41955/ Exploit, Third Party Advisory, VDB Entry
    Removed CWE NIST CWE-704
    Added CWE NIST CWE-843
    Changed CPE Configuration OR *cpe:2.3:a:artifex:ghostscript:*:*:*:*:*:*:*:* versions up to (including) 9.21 OR *cpe:2.3:a:artifex:ghostscript:*:*:*:*:*:*:*:* versions up to (excluding) 9.21
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:7.5:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:7.7:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.7:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.7:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d [No types assigned]
    Removed Reference MITRE https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=04b37bbce174eed24edec7ad5b920eb93db4d47d
  • CVE Modified by [email protected]

    Jan. 05, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2017:1230 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 04, 2017

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2017/dsa-3838 [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 22, 2017

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201708-06 [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 16, 2017

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/41955/ [No Types Assigned]
  • CVE Modified by [email protected]

    May. 27, 2017

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/98476 [No Types Assigned]
  • Initial Analysis by [email protected]

    May. 10, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugzilla.suse.com/show_bug.cgi?id=1036453 No Types Assigned https://bugzilla.suse.com/show_bug.cgi?id=1036453 Exploit, Issue Tracking, Third Party Advisory, VDB Entry
    Changed Reference Type https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=04b37bbce174eed24edec7ad5b920eb93db4d47d No Types Assigned https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=04b37bbce174eed24edec7ad5b920eb93db4d47d Patch, Vendor Advisory
    Changed Reference Type https://bugs.ghostscript.com/show_bug.cgi?id=697808 No Types Assigned https://bugs.ghostscript.com/show_bug.cgi?id=697808 Issue Tracking, Third Party Advisory, VDB Entry
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1446063 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1446063 Issue Tracking, Patch, Third Party Advisory, VDB Entry
    Changed Reference Type http://openwall.com/lists/oss-security/2017/04/28/2 No Types Assigned http://openwall.com/lists/oss-security/2017/04/28/2 Mailing List, Patch, Third Party Advisory
    Added CWE CWE-704
    Added CPE Configuration OR *cpe:2.3:a:artifex:ghostscript:9.21:*:*:*:*:*:*:* (and previous)
  • CVE Modified by [email protected]

    Apr. 29, 2017

    Action Type Old Value New Value
    Added Reference https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=04b37bbce174eed24edec7ad5b920eb93db4d47d [No Types Assigned]
    Added Reference http://openwall.com/lists/oss-security/2017/04/28/2 [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 28, 2017

    Action Type Old Value New Value
    Changed Description Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via 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. 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.
    Added Reference https://bugzilla.suse.com/show_bug.cgi?id=1036453 [No Types Assigned]
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1446063 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-8291 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-8291 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

52.02 }} -0.17%

score

0.97665

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability