Skip to content

CVE-2025-30661 Junos OS: Low-privileged user can cause script to run as root, leading to privilege escalation

HighCVSS 8.5 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Network Appliances

Description

An Incorrect Permission Assignment for Critical Resource vulnerability in line card script processing of Juniper Networks Junos OS allows a local, low-privileged user to install scripts to be executed as root, leading to privilege escalation.

A local user with access to the local file system can copy a script to the router in a way that will be executed as root, as the system boots. Execution of the script as root can lead to privilege escalation, potentially providing the adversary complete control of the system.

This issue only affects specific line cards, such as the MPC10, MPC11, LC4800, LC9600, MX304-LMIC16, SRX4700, and EX9200-15C.

This issue affects Junos OS: * from 23.2 before 23.2R2-S4, 

  • from 23.4 before 23.4R2-S5, 
  • from 24.2 before 24.2R2-S1, 
  • from 24.4 before 24.4R1-S3, 24.4R2.

This issue does not affect versions prior to 23.1R2.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
juniper Junos OS >= 23.2, < 23.2R2-S4; >= 23.4, < 23.4R2-S5; >= 24.2, < 24.2R2-S1; >= 24.4, < 24.4R1-S3, 24.4R2 23.2R2-S4, 23.4R2-S5, 24.2R2-S1, 24.4R1-S3, 24.4R2 Fixed
juniper junos = 23.2; = 23.2-r1; = 23.2-r1-s1; = 23.2-r1-s2 +22 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
juniper Junos OS >= 23.2, < 23.2R2-S4 23.2R2-S4
juniper Junos OS >= 23.4, < 23.4R2-S5 23.4R2-S5
juniper Junos OS >= 24.2, < 24.2R2-S1 24.2R2-S1
juniper Junos OS >= 24.4, < 24.4R1-S3, 24.4R2 24.4R1-S3, 24.4R2
juniper junos = 23.2 No fix listed
juniper junos = 23.2-r1 No fix listed
juniper junos = 23.2-r1-s1 No fix listed
juniper junos = 23.2-r1-s2 No fix listed
juniper junos = 23.2-r2 No fix listed
juniper junos = 23.2-r2-s1 No fix listed
juniper junos = 23.2-r2-s2 No fix listed
juniper junos = 23.2-r2-s3 No fix listed
juniper junos = 23.4 No fix listed
juniper junos = 23.4-r1 No fix listed
juniper junos = 23.4-r1-s1 No fix listed
juniper junos = 23.4-r1-s2 No fix listed
juniper junos = 23.4-r2 No fix listed
juniper junos = 23.4-r2-s1 No fix listed
juniper junos = 23.4-r2-s2 No fix listed
juniper junos = 23.4-r2-s3 No fix listed
juniper junos = 23.4-r2-s4 No fix listed
juniper junos = 24.2 No fix listed
juniper junos = 24.2-r1 No fix listed
juniper junos = 24.2-r1-s1 No fix listed
juniper junos = 24.2-r1-s2 No fix listed
Show 5 more
ProductAffected versionsFixed in
juniper junos = 24.2-r2 No fix listed
juniper junos = 24.4 No fix listed
juniper junos = 24.4-r1 No fix listed
juniper junos = 24.4-r1-s2 No fix listed
juniper junos = 24.4-r2 No fix listed

References