Juniper Networks Junos OS
Junos OS and Junos OS Evolved: When an unsigned Python op script configuration is present, a local low privileged user can compromise the system
Edge device · Router / network deviceknown edge product: Juniper Networks Junos OS Junos OS and Junos (high confidence)
An Execution with Unnecessary Privileges vulnerability in the User Interface (UI) of Juniper Networks Junos OS and Junos OS Evolved allows a local, low-privileged attacker to gain root privileges, thus compromising the system. When a configuration that allows unsigned Python op scripts is present on the device, a non-root user is able to execute malicious op scripts as a root-equivalent user, leading to privilege escalation. This issue affects Junos OS: * All versions before 22.4R3-S7, * from 23.2 before 23.2R2-S4, * from 23.4 before 23.4R2-S6, * from 24.2 before 24.2R1-S2, 24.2R2, * from 24.4 before 24.4R1-S2, 24.4R2; Junos OS Evolved: * All versions before 22.4R3-S7-EVO, * from 23.2 before 23.2R2-S4-EVO, * from 23.4 before 23.4R2-S6-EVO, * from 24.2 before 24.2R2-EVO, * from 24.4 before 24.4R1-S1-EVO, 24.4R2-EVO.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 22.4R3-S7
- >= 23.2, < 23.2R2-S4
- >= 23.4, < 23.4R2-S6
- >= 24.2, < 24.2R1-S2, 24.2R2
- >= 24.4, < 24.4R1-S2, 24.4R2
Fixed in 22.4R3-S7, 23.2R2-S4, 23.4R2-S6, 24.2R1-S2, 24.2R2, 24.4R1-S2, 24.4R2
- < 22.4R3-S7-EVO
- >= 23.2, < 23.2R2-S4-EVO
- >= 23.4, < 23.4R2-S6-EVO
- >= 24.2, < 24.2R2-EVO
- >= 24.4, < 24.4R1-S1-EVO, 24.4R2-EVO
Fixed in 22.4R3-S7-EVO, 23.2R2-S4-EVO, 23.4R2-S6-EVO, 24.2R2-EVO, 24.4R1-S1-EVO, 24.4R2-EVO
Mitigation
The following software releases have been updated to resolve this specific issue: Junos OS Evolved: 22.4R3-S7-EVO, 23.2R2-S4-EVO, 23.4R2-S6-EVO, 24.2R2-EVO, 24.4R1-S1-EVO, 24.4R2-EVO, 25.2R1-EVO and all subsequent releases. Junos OS: 22.4R3-S7, 23.2R2-S4, 23.4R2-S6, 24.2R1-S2, 24.2R2, 24.4R1-S2, 24.4R2, 25.2R1 and all subsequent releases.
Workaround
Use access lists or firewall filters to limit access to the CLI only from trusted hosts and administrators.
References
- Vendor advisory supportportal.juniper.net/JSA103142
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.