Product Affected

This issue affects all versions of Junos OS.
Medium

Problem

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.

 

A system is only exploitable if ftp is enabled and a user with the name "ftp" or "anonymous" is configured:

[ system services ftp ]
[ system login user (ftp | anonymous) ... ]

 

Juniper SIRT is not aware of any malicious exploitation of this vulnerability.

This issue was seen during production usage.

Solution

The following software releases have been updated to resolve this specific issue: 22.4R3-S8, 23.2R2-S3, 23.4R2, 24.2R1, and all subsequent releases.

This issue is being tracked as 1771132 which is visible on the Customer Support website.

Note: Juniper SIRT's policy is not to evaluate releases which are beyond End of Engineering (EOE) or End of Life (EOL).

Workaround

Choosing another name for the user "ftp" or "anonymous" will prevent exploitation of this issue.

Severity Assessment

Information for how Juniper Networks uses CVSS can be found at KB 16446 [juniper.net], "Common Vulnerability Scoring System (CVSS) and Juniper's Security Advisories."

Modification History

2025-10-08: Initial Publication

2025-10-10: Updated the sentence describing the affected configuration to also mention anonymous

Related Information