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

high Nessus Plugin ID 112281

Language:

New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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: High

ID: 112281

File Name: freebsd_pkg_30c0f878b03e11e8be8a0011d823eebd.nasl

Version: 1.4

Type: local

Published: 9/5/2018

Updated: 12/19/2018

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

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

CVSS v3

Risk Factor: High

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: p-cpe:/a:freebsd:freebsd:ghostscript9-agpl-base, p-cpe:/a:freebsd:freebsd:ghostscript9-agpl-x11, cpe:/o:freebsd:freebsd

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