Juniper Junos sendmsg Local Privilege Escalation (JSA10797)

High Nessus Plugin ID 102072

Synopsis

The remote device is affected by a privilege escalation vulnerability.

Description

According to its self-reported version number, the remote Juniper Junos device is affected by a heap-based buffer overflow condition in the sendmsg system call, specifically due to incorrect handling of arguments in the sockargs() function in sys/kern/uipc_syscalls.c. A local attacker can exploit this to overwrite large portions of the kernel memory, resulting in a denial of service condition or the execution of arbitrary code with elevated privileges.

Solution

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

See Also

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

Plugin Details

Severity: High

ID: 102072

File Name: juniper_jsa10797.nasl

Version: 1.3

Type: combined

Published: 2017/07/31

Modified: 2018/07/12

Dependencies: 55932

Risk Information

Risk Factor: High

CVSSv2

Base Score: 7.2

Temporal Score: 5.6

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

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

CVSSv3

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:L/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/05/17

Reference Information

CVE: CVE-2016-1887

BID: 90732

JSA: JSA10797