Juniper Junos OS up to 21.4R2/22.2R3-S2 -defaults[-flex].conf origin validation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.6$0-$5k0.00

Summaryinfo

A vulnerability classified as critical has been found in Juniper Junos OS up to 21.4R2/22.2R3-S2. Impacted is an unknown function of the file /etc/config/-defaults[-flex].conf. This manipulation causes origin validation. The identification of this vulnerability is CVE-2025-59957. It is feasible to perform the attack on the physical device. There is no exploit available. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability has been found in Juniper Junos OS up to 21.4R2/22.2R3-S2 and classified as critical. Affected by this vulnerability is some unknown processing of the file /etc/config/-defaults[-flex].conf. The manipulation with an unknown input leads to a origin validation vulnerability. The CWE definition for the vulnerability is CWE-346. The product does not properly verify that the source of data or communication is valid. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

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.

It is possible to read the advisory at supportportal.juniper.net. This vulnerability is known as CVE-2025-59957 since 09/23/2025. The exploitation appears to be easy. Attacking locally is a requirement. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 01/24/2026).

The vulnerability scanner Nessus provides a plugin with the ID 269724 (Juniper Junos OS Vulnerability (JSA103146)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 21.4R3 or 22.2R3-S3 eliminates this vulnerability.

The vulnerability is also documented in the databases at Tenable (269724) and CERT Bund (WID-SEC-2025-2238). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Affected

  • Juniper JUNOS

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 6.8
VulDB Meta Temp Score: 6.6

VulDB Base Score: 6.8
VulDB Temp Score: 6.5
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 6.8
CNA Vector (juniper): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Origin validation
CWE: CWE-346 / CWE-345
CAPEC: 🔒
ATT&CK: 🔒

Physical: Yes
Local: Yes
Remote: No

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 269724
Nessus Name: Juniper Junos OS Vulnerability (JSA103146)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Junos OS 21.4R3/22.2R3-S3

Timelineinfo

09/23/2025 CVE reserved
10/09/2025 +16 days Advisory disclosed
10/09/2025 +0 days VulDB entry created
01/24/2026 +107 days VulDB entry last update

Sourcesinfo

Vendor: juniper.net

Advisory: JSA103146
Status: Confirmed

CVE: CVE-2025-59957 (🔒)
GCVE (CVE): GCVE-0-2025-59957
GCVE (VulDB): GCVE-100-327739
CERT Bund: WID-SEC-2025-2238 - Juniper JUNOS OS, Space, OS Evolved: Mehrere Schwachstellen

Entryinfo

Created: 10/09/2025 18:40
Updated: 01/24/2026 12:05
Changes: 10/09/2025 18:40 (80), 10/09/2025 20:05 (7), 10/09/2025 20:37 (2), 01/24/2026 12:05 (1)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!