Vulnerability Monitor

The vendors, products, and vulnerabilities you care about

CVE-2021-31358


A command injection vulnerability in sftp command processing on Juniper Networks Junos OS Evolved allows an attacker with authenticated CLI access to be able to bypass configured access protections to execute arbitrary shell commands within the context of the current user. The vulnerability allows an attacker to bypass command authorization restrictions assigned to their specific user account and execute commands that are available to the privilege level for which the user is assigned. For example, a user that is in the super-user login class, but restricted to executing specific CLI commands could exploit the vulnerability to execute any other command available to an unrestricted admin user. This vulnerability does not increase the privilege level of the user, but rather bypasses any CLI command restrictions by allowing full access to the shell. This issue affects Juniper Networks Junos OS Evolved: All versions prior to 20.4R2-S2-EVO; 21.1 versions prior to 21.1R2-EVO; 21.2 versions prior to 21.2R1-S1-EVO, 21.2R2-EVO.


Published

2021-10-19T19:15:09.013

Last Modified

2024-11-21T06:05:29.800

Status

Modified

Source

[email protected]

Severity

CVSSv3.1: 7.8 (HIGH)

CVSSv2 Vector

AV:L/AC:L/Au:N/C:C/I:C/A:C

  • Access Vector: LOCAL
  • Access Complexity: LOW
  • Authentication: NONE
  • Confidentiality Impact: COMPLETE
  • Integrity Impact: COMPLETE
  • Availability Impact: COMPLETE
Exploitability Score

3.9

Impact Score

10.0

Weaknesses
  • Type: Secondary
    CWE-77
  • Type: Primary
    CWE-78

Affected Vendors & Products
Type Vendor Product Version/Range Vulnerable?
Operating System juniper junos_os_evolved ≤ 20.3 Yes
Operating System juniper junos_os_evolved 20.4 Yes
Operating System juniper junos_os_evolved 20.4 Yes
Operating System juniper junos_os_evolved 20.4 Yes
Operating System juniper junos_os_evolved 20.4 Yes
Operating System juniper junos_os_evolved 20.4 Yes
Operating System juniper junos_os_evolved 20.4 Yes
Operating System juniper junos_os_evolved 20.4 Yes
Operating System juniper junos_os_evolved 20.4 Yes
Operating System juniper junos_os_evolved 21.1 Yes
Operating System juniper junos_os_evolved 21.1 Yes
Operating System juniper junos_os_evolved 21.1 Yes
Operating System juniper junos_os_evolved 21.1 Yes
Operating System juniper junos_os_evolved 21.2 Yes
Operating System juniper junos_os_evolved 21.2 Yes
Operating System juniper junos_os_evolved 21.2 Yes

References