CVE-2024-39524

Junos OS Evolved: CLI parameter processing issue allows privilege escalation

State
Published
Severity
8.5 High
Published
Jul 11, 2024
Updated
Aug 2, 2024
Reserved
Jun 25, 2024

Read the record on cve.org

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 versions before 20.4R3-S7-EVO,

21.2-EVO versions before 21.2R3-S8-EVO,

21.4-EVO versions before 21.4R3-S7-EVO,

22.2-EVO versions before 22.2R3-EVO,

22.3-EVO versions before 22.3R2-EVO,

22.4-EVO versions before 22.4R2-EVO.

Scores

CVSSScoreVectorSource
4.08.5 HighCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:Njuniper
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hjuniper

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected Products

ProductVersions
Junos OS EvolvedJuniper Networks
  • before 20.4R3-S7-EVOAffected
  • 21.2-EVO to before 21.2R3-S8-EVOAffected
  • 21.4-EVO to before 21.4R3-S7-EVOAffected
  • 22.2-EVO to before 22.2R3-EVOAffected
  • 22.3-EVO to before 22.3R2-EVOAffected
  • 22.4-EVO to before 22.4R2-EVOAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.