8.8
CWE
269 250
Advisory Published
Updated

CVE-2022-22239: Junos OS Evolved: The ssh CLI command always runs as root which can lead to privilege escalation

First published: Wed Oct 12 2022(Updated: )

An Execution with Unnecessary Privileges vulnerability in Management Daemon (mgd) of Juniper Networks Junos OS Evolved allows a locally authenticated attacker with low privileges to escalate their privileges on the device and potentially remote systems. This vulnerability allows a locally authenticated attacker with access to the ssh operational command to escalate their privileges on the system to root, or if there is user interaction on the local device to potentially escalate privileges on a remote system to root. This issue affects Juniper Networks Junos OS Evolved: All versions prior to 20.4R3-S5-EVO; 21.1-EVO versions prior to 21.1R3-EVO; 21.2-EVO versions prior to 21.2R2-S1-EVO, 21.2R3-EVO; 21.3-EVO versions prior to 21.3R2-EVO. This issue does not affect Juniper Networks Junos OS.

Credit: sirt@juniper.net

Affected SoftwareAffected VersionHow to fix
Juniper Junos Os Evolved<20.4
Juniper Junos Os Evolved=20.4
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=20.4-r3-s1
Juniper Junos Os Evolved=20.4-r3-s2
Juniper Junos Os Evolved=20.4-r3-s3
Juniper Junos Os Evolved=20.4-r3-s4
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
Juniper Junos Os Evolved=21.2-r1
Juniper Junos Os Evolved=21.2-r1-s1
Juniper Junos Os Evolved=21.2-r1-s2
Juniper Junos Os Evolved=21.2-r2
Juniper Junos Os Evolved=21.3
Juniper Junos Os Evolved=21.3-r1
Juniper Junos Os Evolved=21.3-r1-s1

Remedy

The following software releases have been updated to resolve this specific issue: 20.4R3-S5-EVO, 21.1R3-EVO, 21.2R2-S1-EVO, 21.2R3-EVO, 21.3R2-EVO, 21.4R1-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-2022-22239?

    CVE-2022-22239 is an Execution with Unnecessary Privileges vulnerability in the Management Daemon (mgd) of Juniper Networks Junos OS Evolved.

  • How does CVE-2022-22239 affect Juniper Junos OS Evolved?

    CVE-2022-22239 allows a locally authenticated attacker with low privileges to escalate their privileges on the device and potentially remote systems.

  • What is the severity of CVE-2022-22239?

    The severity of CVE-2022-22239 is high with a CVSS score of 8.8.

  • How can I fix CVE-2022-22239?

    To fix CVE-2022-22239, it is recommended to update to the latest version of Juniper Junos OS Evolved.

  • Where can I find more information about CVE-2022-22239?

    More information about CVE-2022-22239 can be found in the Juniper Networks Security Advisory - JSA69895.

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