title: Junos OS: NFX Series: Local Command Execution Vulnerability in JDMD Leads to Privilege Escalation
description: NFX Series devices using Juniper Networks Junos OS are susceptible to a local command execution vulnerability thereby allowing an attacker to elevate their privileges via the Junos Device Management Daemon (JDMD) process. This issue affects Juniper Networks Junos OS on NFX Series 17.2 version 17.2R1 and later versions prior to 18.3R3-S4; 18.4 versions prior to 18.4R2-S5, 18.4R3-S5; 19.1 versions prior to 19.1R1-S3; 19.2 version 19.1R2 and later versions prior to 19.2R3; 19.3 versions prior to 19.3R3; 19.4 versions prior to 19.4R2-S2. 19.4 versions 19.4R3 and above. This issue does not affect Juniper Networks Junos OS versions prior to 17.2R1. This issue does not affect the JDMD as used by Junos Node Slicing such as External Servers use in conjunction with Junos Node Slicing and In-Chassis Junos Node Slicing on MX480, MX960, MX2008, MX2010, MX2020.
problem types: CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
affected:
{
platforms: NFX Series
product: Junos OS
vendor: Juniper Networks
versions:
lessThan: 18.3R3-S4, status: affected, version: unspecified, versionType: custom
lessThan: 17.2*, status: affected, version: 17.2R1, versionType: custom
lessThan: 18.4R2-S5, 18.4R3-S5, status: affected, version: 18.4, versionType: custom
lessThan: 19.1R1-S3, status: affected, version: 19.1, versionType: custom
changes: [at: 19.2R3, status: unaffected], lessThan: 19.2*, status: affected, version: 19.1R2, versionType: custom
lessThan: 19.3R3, status: affected, version: 19.3, versionType: custom
changes: [at: 19.4R3, status: affected], lessThan: 19.4R2-S2, status: affected, version: 19.4, versionType: custom
}
{
product: Junos OS
vendor: Juniper Networks
versions:
lessThan: 17.2R1, status: unaffected, version: unspecified, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: HIGH
baseScore: 7.8
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
version: 3.1
]
exploits: Juniper SIRT is not aware of any malicious exploitation of this vulnerability.
solutions: The following software releases have been updated to resolve this specific issue: 18.3R3-S4, 18.4R2-S5, 18.4R3-S5, 19.1R3-S3, 19.2R3, 19.3R3, 19.4R2-S2, 20.1R1 and all subsequent releases.
workarounds: There are no viable workarounds for this issue.
To reduce the risk of exploitation of this issue, use access lists or firewall filters to limit access to only trusted administrative networks, hosts and users.