Skip to main content

Juniper Junos OS CVE-2025-59980

MEDIUM
Authentication Bypass by Primary Weakness (CWE-305)
2025-10-09 sirt@juniper.net
6.9
CVSS 4.0 · Vendor: juniper
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach FTP service over network
  2. Exploit
    Authenticate as 'ftp'/'anonymous' without password
  3. Execution
    Gain limited read-write to home directory
  4. Impact
    Read 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (juniper) PRIMARY 6.9 MEDIUM
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (juniper).

CVSS VectorVendor: juniper

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 80% exploitable
Prevalence
High
Junos OS runs on widely deployed Juniper enterprise and carrier network appliances
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:22.4:-:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:22.4:r1:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:22.4:r1-s1:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:22.4:r1-s2:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:22.4:r2:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:22.4:r2-s1:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:22.4:r2-s2:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:22.4:r3:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:22.4:r3-s1:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:22.4:r3-s2:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:22.4:r3-s3:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:22.4:r3-s4:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:22.4:r3-s5:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:22.4:r3-s6:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:22.4:r3-s7:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:23.2:-:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:23.2:r1:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:23.2:r1-s1:*:*:*:*:*:*
cpe:2.3:o:juniper:junos:23.2:r1-s2:*:*:*:*:*:*
+ 7 more

More in Junos

View all
CVE-2016-1285 MEDIUM
6.8 Mar 09

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

CVE-2016-1286 HIGH
8.6 Mar 09

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 (

CVE-2025-21590 MEDIUM
6.7 Mar 12

A security vulnerability in An Improper (CVSS 6.7) that allows a local attacker with high privileges. Risk factors: acti

CVE-2023-36845 CRITICAL POC
9.8 Aug 17

A PHP External Variable Modification vulnerability in J-Web of Juniper Networks Junos OS on EX Series and SRX Series all

CVE-2013-6618 CRITICAL POC
9.0 Nov 05

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,

CVE-2014-6380 HIGH POC
7.8 Oct 14

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

CVE-2021-0253 HIGH POC
7.8 Apr 22

NFX Series devices using Juniper Networks Junos OS are susceptible to a local command execution vulnerability thereby al

CVE-2021-0252 HIGH POC
7.8 Apr 22

NFX Series devices using Juniper Networks Junos OS are susceptible to a local code execution vulnerability thereby allow

CVE-2019-0053 HIGH POC
7.8 Jul 11

Insufficient validation of environment variables in the telnet client supplied in Junos OS can lead to stack-based buffe

CVE-2023-22415 HIGH POC
7.5 Jan 13

An Out-of-Bounds Write vulnerability in the H.323 ALG of Juniper Networks Junos OS allows an unauthenticated, network-ba

CVE-2022-22223 HIGH POC
7.5 Oct 18

On QFX10000 Series devices using Juniper Networks Junos OS when configured as transit IP/MPLS penultimate hop popping (P

CVE-2022-22209 HIGH POC
7.5 Jul 20

A Missing Release of Memory after Effective Lifetime vulnerability in the kernel of Juniper Networks Junos OS allows an

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy