7.8
HIGH
CVE-2024-39520
Juniper Networks Junos OS Evolved Command Injection Vulnerability
Description

An Improper Neutralization of Special Elements vulnerability in Juniper Networks Junos OS Evolved commands allows a local, authenticated attacker with low privileges to escalate their privileges to 'root' leading to a full compromise of the system. The Junos OS Evolved CLI doesn't properly handle command options in some cases, allowing users which execute specific CLI commands with a crafted set of parameters to escalate their privileges to root on shell level. This issue affects Junos OS Evolved: * All version before 20.4R3-S6-EVO,  * 21.2-EVO versions before 21.2R3-S4-EVO, * 21.4-EVO versions before 21.4R3-S6-EVO,  * 22.2-EVO versions before 22.2R2-S1-EVO, 22.2R3-EVO,  * 22.3-EVO versions before 22.3R2-EVO.

INFO

Published Date :

July 11, 2024, 4:15 p.m.

Last Modified :

Sept. 23, 2024, 1:34 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-39520 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Juniper junos_os_evolved
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-39520.

URL Resource
https://supportportal.juniper.net/JSA82975 Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-39520 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-39520 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Sep. 23, 2024

    Action Type Old Value New Value
    Changed Reference Type https://supportportal.juniper.net/JSA82975 No Types Assigned https://supportportal.juniper.net/JSA82975 Vendor Advisory
    Added CWE NIST CWE-78
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos_os_evolved:*:*:*:*:*:*:*:* versions up to (excluding) 20.4 *cpe:2.3:o:juniper:junos_os_evolved:20.4:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r2-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r3-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r3-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r3-s5:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.2:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.2:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.2:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.2:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.2:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.2:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.2:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.2:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.2:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.2:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.2:r3-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.2:r3-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.4:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.4:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.4:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.4:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.4:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.4:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.4:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.4:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.4:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.4:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.4:r3-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.4:r3-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.4:r3-s5:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:22.2:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:22.2:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:22.2:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:22.2:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:22.3:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:22.3:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:22.3:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:22.3:r1-s2:*:*:*:*:*:*
  • CVE Received by [email protected]

    Jul. 11, 2024

    Action Type Old Value New Value
    Added Description An Improper Neutralization of Special Elements vulnerability in Juniper Networks Junos OS Evolved commands allows a local, authenticated attacker with low privileges to escalate their privileges to 'root' leading to a full compromise of the system. The Junos OS Evolved CLI doesn't properly handle command options in some cases, allowing users which execute specific CLI commands with a crafted set of parameters to escalate their privileges to root on shell level. This issue affects Junos OS Evolved: * All version before 20.4R3-S6-EVO,  * 21.2-EVO versions before 21.2R3-S4-EVO, * 21.4-EVO versions before 21.4R3-S6-EVO,  * 22.2-EVO versions before 22.2R2-S1-EVO, 22.2R3-EVO,  * 22.3-EVO versions before 22.3R2-EVO.
    Added Reference Juniper Networks, Inc. https://supportportal.juniper.net/JSA82975 [No types assigned]
    Added CWE Juniper Networks, Inc. CWE-78
    Added CVSS V3.1 Juniper Networks, Inc. AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V4.0 Juniper Networks, Inc. CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-39520 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability