Juniper Junos libgd Compressed GD2 Data RCE (JSA10798)

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

ID: 102073

File Name: juniper_jsa10798.nasl

Version: 1.4

Type: combined

Published: 2017/07/31

Modified: 2018/07/13

Dependencies: 55932

Risk Information

Risk Factor: High

CVSSv2

Base Score: 7.5

Temporal Score: 5.9

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

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

CVSSv3

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: 2017/07/12

Vulnerability Publication Date: 2016/04/21

Reference Information

CVE: CVE-2016-3074

BID: 87087

JSA: JSA10798

EDB-ID: 39736