FreeBSD : Ghostscript -- arbitrary code execution (30c0f878-b03e-11e8-be8a-0011d823eebd)

medium Nessus Plugin ID 112281

Language:

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 5.9

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

CERT reports :

Ghostscript contains an optional -dSAFER option, which is supposed to prevent unsafe PostScript operations. Multiple PostScript operations bypass the protections provided by -dSAFER, which can allow an attacker to execute arbitrary commands with arbitrary arguments. This vulnerability can also be exploited in applications that leverage Ghostscript, such as ImageMagick, GraphicsMagick, evince, Okular, Nautilus, and others.

Exploit code for this vulnerability is publicly available.

Solution

Update the affected packages.

See Also

https://www.kb.cert.org/vuls/id/332928/

http://www.nessus.org/u?bb5a2546

Plugin Details

Severity: Medium

ID: 112281

File Name: freebsd_pkg_30c0f878b03e11e8be8a0011d823eebd.nasl

Version: 1.4

Type: local

Published: 9/5/2018

Updated: 12/19/2018

Dependencies: 12634

Risk Information

Risk Factor: Medium

VPR Score: 5.9

CVSS v2.0

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS v3.0

Base Score: 7.8

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

Vulnerability Information

CPE: cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:*, p-cpe:2.3:a:freebsd:freebsd:ghostscript9-agpl-base:*:*:*:*:*:*:*, p-cpe:2.3:a:freebsd:freebsd:ghostscript9-agpl-x11:*:*:*:*:*:*:*

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 9/4/2018

Vulnerability Publication Date: 8/21/2018

Reference Information

CVE: CVE-2018-15908, CVE-2018-15909, CVE-2018-15910, CVE-2018-15911