CVE-2021-31358: Junos OS Evolved: shell-injection vulnerabilities in evo_sftp UI wrapper script
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.
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is the severity of CVE-2021-31358?
CVE-2021-31358 has been classified with a high severity due to the ability to execute arbitrary commands.
How do I fix CVE-2021-31358?
To fix CVE-2021-31358, upgrade the Junos OS Evolved to a version that contains the security patch addressing this vulnerability.
What products are affected by CVE-2021-31358?
CVE-2021-31358 affects Juniper Networks Junos OS Evolved versions up to and including 20.3 and specific versions within the 20.4 and 21.x series.
Who can exploit CVE-2021-31358?
CVE-2021-31358 can be exploited by attackers with authenticated CLI access to the affected Junos OS Evolved systems.
What are the potential impacts of CVE-2021-31358?
The potential impacts of CVE-2021-31358 include unauthorized access to system functions, data manipulation, and execution of arbitrary commands.