Juniper Junos libgd Compressed GD2 Data RCE (JSA10798)

critical Nessus Plugin ID 102073

Synopsis

The remote device is affected by a remote code execution vulnerability.

Description

According to its self-reported version number, the remote Juniper Junos device is affected by an integer signedness error in the included GD Graphics Library (libgd) when handling compressed GD2 data due to improper validation of user-supplied input. An unauthenticated, remote attacker can exploit this, via specially crafted compressed GD2 data, to cause a heap-based buffer overflow, resulting in a denial of service condition or the execution of arbitrary code.

Solution

Upgrade to the relevant Junos software release referenced in Juniper security advisory JSA10798.

See Also

https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10798

Plugin Details

Severity: Critical

ID: 102073

File Name: juniper_jsa10798.nasl

Version: 1.4

Type: combined

Published: 7/31/2017

Updated: 7/13/2018

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:juniper:junos

Required KB Items: Host/Juniper/JUNOS/Version

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/12/2017

Vulnerability Publication Date: 4/21/2016

Reference Information

CVE: CVE-2016-3074

BID: 87087

JSA: JSA10798