7.8
CWE
78 77
Advisory Published
Updated

CVE-2021-31357: Junos OS Evolved: shell-injection vulnerabilities in evo_tcpdump UI wrapper script

First published: Tue Oct 19 2021(Updated: )

A command injection vulnerability in tcpdump 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.3R2-S1-EVO; 20.4 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.

Credit: sirt@juniper.net

Affected SoftwareAffected VersionHow to fix
Juniper Junos Os Evolved<=20.3
Juniper Junos Os Evolved=20.4-r1
Juniper Junos Os Evolved=20.4-r1-s1
Juniper Junos Os Evolved=20.4-r1-s2
Juniper Junos Os Evolved=20.4-r2
Juniper Junos Os Evolved=20.4-r2-s1
Juniper Junos Os Evolved=20.4-r2-s2
Juniper Junos Os Evolved=20.4-r2-s3
Juniper Junos Os Evolved=20.4-r3
Juniper Junos Os Evolved=21.1
Juniper Junos Os Evolved=21.1-r1
Juniper Junos Os Evolved=21.1-r1-s1
Juniper Junos Os Evolved=21.1-r2
Juniper Junos Os Evolved=21.2-r1
Juniper Junos Os Evolved=21.2-r1-s1
Juniper Junos Os Evolved=21.2-r2

Remedy

The following software releases have been updated to resolve this specific issue: Junos OS Evolved 20.3R2-S1-EVO, 20.4R2-S2-EVO, 21.1R2-EVO, 21.2R1-S1-EVO, 21.2R2-EVO, 21.3R1-EVO, and all subsequent releases.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-31357?

    CVE-2021-31357 is a command injection vulnerability in the tcpdump command processing on Juniper Networks Junos OS Evolved.

  • What is the severity of CVE-2021-31357?

    The severity of CVE-2021-31357 is high with a CVSS score of 7.8.

  • How does CVE-2021-31357 affect Juniper Junos OS Evolved?

    CVE-2021-31357 allows an attacker with authenticated CLI access to bypass configured access protections and execute arbitrary shell commands within the current user's context.

  • Which versions of Juniper Junos OS Evolved are affected by CVE-2021-31357?

    Juniper Junos OS Evolved versions up to 20.3 are affected by CVE-2021-31357.

  • How can I fix CVE-2021-31357?

    To fix CVE-2021-31357, users should update to a version of Juniper Junos OS Evolved that is not vulnerable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203