Juniper Junos Multiple OpenSSL Vulnerabilities (JSA10775)

High Nessus Plugin ID 102699

Synopsis

The remote device is missing a vendor-supplied security patch.

Description

According to its self-reported version number, the remote Juniper Junos device is affected by multiple vulnerabilities :

- A carry propagation error exists in the OpenSSL component in the Broadwell-specific Montgomery multiplication procedure when handling input lengths divisible by but longer than 256 bits. This can result in transient authentication and key negotiation failures or reproducible erroneous outcomes of public-key operations with specially crafted input. A man-in-the-middle attacker can possibly exploit this issue to compromise ECDH key negotiations that utilize Brainpool P-512 curves. (CVE-2016-7055)

- An out-of-bounds read error exists in the OpenSSL component when handling packets using the CHACHA20/POLY1305 or RC4-MD5 ciphers. An unauthenticated, remote attacker can exploit this, via specially crafted truncated packets, to cause a denial of service condition. (CVE-2017-3731)

- A carry propagating error exists in the OpenSSL component in the x86_64 Montgomery squaring implementation that may cause the BN_mod_exp() function to produce incorrect results. An unauthenticated, remote attacker with sufficient resources can exploit this to obtain sensitive information regarding private keys.
(CVE-2017-3732)

Note that these vulnerabilities only affect devices with J-Web or the SSL service for JUNOScript enabled.

Solution

Upgrade to the relevant Junos software release referenced in Juniper security advisory JSA10775. Alternatively, disable the J-Web service and use Netconf for JUNOScript rather than SSL.

See Also

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

https://www.openssl.org/news/secadv/20170126.txt

Plugin Details

Severity: High

ID: 102699

File Name: juniper_jsa10775.nasl

Version: $Revision: 1.2 $

Type: combined

Published: 2017/08/23

Modified: 2017/08/24

Dependencies: 55932

Risk Information

Risk Factor: High

CVSSv2

Base Score: 7.8

Temporal Score: 5.8

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

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

CVSSv3

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: cpe:/o:juniper:junos

Required KB Items: Host/Juniper/JUNOS/Version

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2017/07/12

Vulnerability Publication Date: 2016/11/10

Reference Information

CVE: CVE-2016-7055, CVE-2017-3731, CVE-2017-3732

BID: 94242, 95813, 95814

JSA: JSA10775