ghsa-f6j3-wrc2-m228
Vulnerability from github
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/-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.
{ "affected": [], "aliases": [ "CVE-2025-59957" ], "database_specific": { "cwe_ids": [ "CWE-346" ], "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2025-10-09T16:15:45Z", "severity": "HIGH" }, "details": "An Origin Validation Error vulnerability in an insufficient protected file of Juniper Networks Junos OS on\u00a0EX4600 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.\n\nWhen a device isn\u0027t configured with a root password, an attacker can modify a specific file. It\u0027s contents will be added to the Junos configuration of the device without being visible. This allows for the addition of any configuration unknown \n\nto the actual operator,\u00a0which includes users, IP addresses and other configuration which could allow unauthorized access to the device.\nThis exploit is persistent across reboots and even zeroization.\n\nThe indicator of compromise is a modified /etc/config/\u003cplatform\u003e-defaults[-flex].conf file. Review that file for unexpected configuration statements, or compare it to an unmodified version which can be\u00a0extracted from the original Juniper software image file. For details on the extraction procedure please contact Juniper Technical Assistance Center (JTAC).\n\nTo restore the device to a trusted initial configuration the system needs to be reinstalled from physical media.\u00a0\n\nThis issue affects Junos OS on EX4600 Series and QFX5000 Series:\n\n\n\n * All versions before 21.4R3,\n * 22.2 versions before 22.2R3-S3.", "id": "GHSA-f6j3-wrc2-m228", "modified": "2025-10-09T18:30:36Z", "published": "2025-10-09T18:30:36Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-59957" }, { "type": "WEB", "url": "https://support.juniper.net/support/requesting-support" }, { "type": "WEB", "url": "https://supportportal.juniper.net/JSA103146" }, { "type": "WEB", "url": "https://supportportal.juniper.net/s/article/EX-QFX-Procedure-to-format-install-QFX5K-device-using-a-USB" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" }, { "score": "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:U/V:X/RE:H/U:X", "type": "CVSS_V4" } ] }
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.