CVE-2025-30661 Details
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.
A vulnerability allowing privilege escalation has been identified in Juniper Networks Junos OS. This issue arises from incorrect permission assignments in line card script processing, enabling a local, low-privileged user to install scripts that are executed as root during system boot. Affected users can gain root access, potentially leading to complete control of the system. This vulnerability impacts specific line cards, including MPC10, MPC11, LC4800, LC9600, MX304-LMIC16, SRX4700, and EX9200-15C. The vulnerable Junos OS versions are 23.2 prior to 23.2R2-S4, 23.4 prior to 23.4R2-S5, 24.2 prior to 24.2R2-S1, and 24.4 prior to 24.4R1-S3 and 24.4R2.
Users can upgrade to Junos 23.2R2-S4, 23.4R2-S5, 24.2R2-S1, 24.4R1-S3, 24.4R2, or 25.2R1. Access lists or firewall filters can also be used to restrict CLI access to trusted hosts and administrators.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/orangecertcc/security-research/security/advisories/GHSA-2p66-9j7x-fmch | [email protected] | Third Party Advisory |
| https://supportportal.juniper.net/JSA100057 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-732 | Incorrect Permission Assignment for Critical Resource | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| juniper junos | 23.2 - 23.2 r1 23.2 r1-s1 23.2 r1-s2 23.2 r2 23.2 r2-s1 23.2 r2-s2 23.2 r2-s3 23.4 - 23.4 r1 23.4 r1-s1 23.4 r1-s2 23.4 r2 23.4 r2-s1 23.4 r2-s2 23.4 r2-s3 23.4 r2-s4 24.2 - 24.2 r1 24.2 r1-s1 24.2 r1-s2 24.2 r2 24.4 - 24.4 r1 24.4 r1-s2 24.4 r2 |
CPE
Remediation
| |
| juniper ex9200-15c | All versions |
CPE
Remediation
| |
| juniper lc4800 | All versions |
CPE
Remediation
| |
| juniper lc9600 | All versions |
CPE
Remediation
| |
| juniper mpc10e-10c | All versions |
CPE
Remediation
| |
| juniper mpc10e-15c | All versions |
CPE
Remediation
| |
| juniper mpc11 | All versions |
CPE
Remediation
| |
| juniper mx304-lmic16 | All versions |
CPE
Remediation
| |
| juniper srx4700 | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 26, 2026 | Initial Analysis | [email protected] |
| Jul 11, 2025 | New CVE Received | [email protected] |