Vulnerabilities

CVE-2025-59957

High 7.0 CVSS 4.0

Description

An Origin Validation Error vulnerability in an insufficient protected file of Juniper Networks Junos OS on EX4600 Series and QFX5000 Series allows an unauthenticated attacker with physical access to the device to create a backdoor which allows complete control of the system. When a device isn't configured with a root password, an attacker can modify a specific file. It's contents will be added to the Junos configuration of the device without being visible. This allows for the addition of any configuration unknown to the actual operator, which includes users, IP addresses and other configuration which could allow unauthorized access to the device. This exploit is persistent across reboots and even zeroization. The indicator of compromise is a modified /etc/config/<platform>-defaults[-flex].conf file. Review that file for unexpected configuration statements, or compare it to an unmodified version which can be extracted from the original Juniper software image file. For details on the extraction procedure please contact Juniper Technical Assistance Center (JTAC). To restore the device to a trusted initial configuration the system needs to be reinstalled from physical media. This issue affects Junos OS on EX4600 Series and QFX5000 Series: * All versions before 21.4R3, * 22.2 versions before 22.2R3-S3.

Description as published by the source, in English.

Key facts

Published
2025-10-09
Last modified
2026-10-08
Assigned by
sirt@juniper.net
CVSS vector
CVSS:4.0/AV:P/AC:L/AT:N/PR:N/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:N/R:
Scored by
sirt@juniper.net
Probability of exploitation
0.2 % higher than 7 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Juniper Ex4600 all versions listed Not affected
Juniper Ex4650 all versions listed Not affected
Juniper Junos < 21.4 Affected
Juniper Junos 21.4 Affected
Juniper Junos 22.2 Affected
Juniper Qfx5110 all versions listed Not affected
Juniper Qfx5120 all versions listed Not affected
Juniper Qfx5130 all versions listed Not affected
Juniper Qfx5200 all versions listed Not affected
Juniper Qfx5210 all versions listed Not affected
Juniper Qfx5220 all versions listed Not affected
Juniper Qfx5230-64cd all versions listed Not affected
Juniper Qfx5240 all versions listed Not affected
Juniper Qfx5241 all versions listed Not affected
Juniper Qfx5700 all versions listed Not affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1134: Access Token Manipulation stealth, privilege-escalation
  • T1134.001: Token Impersonation/Theft stealth, privilege-escalation
  • T1528: Steal Application Access Token credential-access
  • T1539: Steal Web Session Cookie credential-access
  • T1550.004: Web Session Cookie lateral-movement
  • T1557.002: ARP Cache Poisoning credential-access, collection
  • T1584.002: DNS Server resource-development

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities