#VU65371 OS Command Injection in Juniper Junos OS


Published: 2022-07-16

Vulnerability identifier: #VU65371

Vulnerability risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-22221

CWE-ID: CWE-78

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
Juniper Junos OS
Operating systems & Components / Operating system

Vendor: Juniper Networks, Inc.

Description

The vulnerability allows a local user to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation in the 'request system download ...' and  'show system download ...' commands. A local user can pass specially crafted data to the affected CLI commands and execute arbitrary OS commands on the target system with elevated privileges.


Mitigation
Install updates from vendor's website.

Vulnerable software versions

Juniper Junos OS: 19.1 - 19.1R3-S8, 19.1R1-S4, 21.3R1 - 21.3R1-S2, 21.4R1, 19.4 - 19.4R3-S7, 19.4R1 - 19.4R1-S4, 20.4 - 20.4R3-S1, 21.1 - 21.1R3, 20.2 - 20.2R3-S3, 19.2 - 19.2R1-S8, 19.2R1-S4, 21.2R1 - 21.2R2-S1, 20.3 - 20.3R3-S2


External links
http://supportportal.juniper.net/s/article/2022-07-Security-Bulletin-Junos-OS-SRX-and-EX-Series-Local-privilege-escalation-flaw-in-download-functionality-CVE-2022-22221


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability