Juniper Junos OS
CVE-2025-59980
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach FTP service over network
-
ExploitAuthenticate as 'ftp'/'anonymous' without password
-
ExecutionGain limited read-write to home directory
-
ImpactRead or tamper with stored files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Primary weakness mitigation
|
| Exploitation Conditions | Exploitation requires two specific, non-default conditions that must BOTH hold: the Junos FTP server must be explicitly enabled, and a local user account named exactly 'ftp' or 'anonymous' must be configured. When those exist, that account can log in without presenting the configured password (the authentication bypass) and obtains read-write access limited to its own home directory. Limiting factors: FTP is not enabled by default and these specially-named accounts are uncommon, so default or hardened configurations are not affected; access is confined to the home directory with no code execution or privilege escalation; and affected versions are bounded (all before 22.4R3-S8, 23.2 before 23.2R2-S3, 23.4 before 23.4R2). No user interaction is required once the vulnerable configuration is present. |
| Impact | This is a medium-severity authentication bypass (vendor CVSS 4.0 base 6.9) whose real-world risk is tightly bounded by non-default preconditions rather than by the raw score. The CVSS vector (AV:N/AC:L/PR:N/UI:N) correctly indicates a network-based, unauthenticated attack with low complexity, but impact is deliberately scoped low (VC:L/VI:L/VA:N) - only limited read-write access to the 'ftp'/'anonymous' user's home directory, not full device compromise or code execution. The signals are internally consistent and point to a low-to-moderate priority: EPSS is 0.29% (20th percentile), indicating low predicted exploitation probability; there is no CISA KEV listing and no public exploit identified, so there is no evidence of active exploitation. The most important caveat is that the CVSS PR:N/AV:N framing understates the real barrier - exploitation requires the operator to have (a) explicitly enabled the FTP server and (b) configured a user literally named 'ftp' or 'anonymous'. Both are atypical on hardened Junos deployments, so this behaves more like a targeted misconfiguration-dependent issue than a broadly exploitable remote flaw. Treat as a configuration-hygiene and patch item, not an emergency; prioritize checking whether FTP and those accounts are present before escalating. |
| Exploit ScenarioDerived | An attacker with network reachability to a Junos device that has the FTP server enabled and an account named 'ftp' or 'anonymous' configured connects to the FTP service and authenticates as that user without supplying the configured password. With that foothold they read and write files within the account's home directory, potentially staging or tampering with files. No public exploit code has been identified, and exploitation is impossible unless the specific FTP-enabled, named-account configuration is present. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
An authentication bypass in the FTP server of Juniper Junos OS allows an unauthenticated, network-based attacker to log in without supplying the configured password when the FTP server is explicitly enabled and a local account named exactly 'ftp' or 'anonymous' exists, gaining read-write access confined to that account's home directory. Exploitation therefore requires two non-default preconditions to hold simultaneously, and the resulting impact is limited to file read/write within the home directory with no code execution or privilege escalation, which is why the real-world risk is tighter than the vendor's 6.9 (CVSS 4.0) base score suggests. EPSS is low at 0.29% (20th percentile), and no public exploit identified at time of analysis; affected releases are all versions before 22.4R3-S8, 23.2 versions before 23.2R2-S3, and 23.4 versions before 23.4R2.
RemediationAI
Apply the vendor-released patch by upgrading to the fixed release for your train: 22.4R3-S8 or later for the 22.4 branch, 23.2R2-S3 or later for 23.2, and 23.4R2 or later for 23.4, as documented in Juniper advisory JSA103167 (https://supportportal.juniper.net/JSA103167). If an immediate upgrade is not possible, two compensating controls eliminate the exposure: first, disable the FTP server entirely (for example by removing or disabling FTP configuration under the relevant system services stanza) - this fully removes the attack surface but breaks any legitimate file-transfer workflows that depend on FTP; second, if FTP must remain enabled, delete or rename any local accounts named exactly 'ftp' or 'anonymous', which removes the specific precondition the bypass relies on, though it may disrupt anonymous file-distribution use cases. Because there is no public exploit identified at time of analysis and EPSS is only 0.29%, prioritization should focus on devices that actually run the FTP service with these account names rather than treating this as a broadly exploitable issue.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is an instance of CWE-305, Authentication Bypass by Primary Weakness, meaning the authentication mechanism itself is fundamentally insufficient rather than being defeated by a secondary implementation bug. Junos OS can optionally run an FTP service; when that service is enabled and an operator has configured a local user account named 'ftp' or 'anonymous' (the conventional names for anonymous FTP access), the FTP daemon fails to enforce the configured password for that account and permits login without credential presentation. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N) confirms a network-reachable, unauthenticated attack requiring no user interaction, with only low confidentiality and integrity impact and no availability impact, consistent with an attacker reaching a chrooted or restricted home directory. The independent assessment aligns with a CVSS 3.1 equivalent of AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N. Affected CPE data confirms Juniper Junos OS across the 22.4 branch (through 22.4R3-S1 in the enumerated CPEs) as well as the broader product family wildcard, with the fix matrix extended to the 23.2 and 23.4 trains.
Know when Junos gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/AU:Y/RE:M
Network FTP login with no password gives unauthenticated remote access (AV:N/PR:N/UI:N); AC:L since the attack itself is simple, with low confidentiality and integrity impact confined to the home directory and no availability impact.
Primary rating from Vendor (juniper).
CVSS VectorVendor: juniper
DescriptionCVE.org
An Authentication Bypass by Primary Weakness
in the FTP server of Juniper Networks Junos OS allows an unauthenticated, network-based attacker to get limited read-write access to files on the device. When the FTP server is enabled and a user named "ftp" or "anonymous" is configured, that user can login without providing the configured password and then has read-write access to their home directory.
This issue affects Junos OS:
- all versions before 22.4R3-S8,
- 23.2 versions before 23.2R2-S3,
- 23.4 versions before 23.4R2.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
named in ISC BIND 9.x before 9.9.8-P4 and 9.10.x before 9.10.3-P4 does not properly handle DNAME records when parsing fe
named in ISC BIND 9.x before 9.9.8-P4 and 9.10.x before 9.10.3-P4 allows remote attackers to cause a denial of service (
A security vulnerability in An Improper (CVSS 6.7) that allows a local attacker with high privileges. Risk factors: acti
A PHP External Variable Modification vulnerability in J-Web of Juniper Networks Junos OS on EX Series and SRX Series all
jsdm/ajax/port.php in J-Web in Juniper Junos before 10.4R13, 11.4 before 11.4R7, 12.1 before 12.1R5, 12.2 before 12.2R3,
Juniper Junos 11.4 before R11, 12.1 before R9, 12.1X44 before D30, 12.1X45 before D20, 12.1X46 before D15, 12.1X47 befor
NFX Series devices using Juniper Networks Junos OS are susceptible to a local command execution vulnerability thereby al
NFX Series devices using Juniper Networks Junos OS are susceptible to a local code execution vulnerability thereby allow
Insufficient validation of environment variables in the telnet client supplied in Junos OS can lead to stack-based buffe
An Out-of-Bounds Write vulnerability in the H.323 ALG of Juniper Networks Junos OS allows an unauthenticated, network-ba
On QFX10000 Series devices using Juniper Networks Junos OS when configured as transit IP/MPLS penultimate hop popping (P
A Missing Release of Memory after Effective Lifetime vulnerability in the kernel of Juniper Networks Junos OS allows an
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB