CVE-2025-59980

Junos OS: When a user with the name ftp or anonymous is configured unauthenticated filesystem access is allowed

State
Published
Severity
6.9 Medium
Published
Oct 9, 2025
Updated
Oct 10, 2025
Reserved
Sep 23, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS: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:Mjuniper
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:Njuniper

Weaknesses

  • CWE-305 Authentication Bypass by Primary Weakness

Affected Products

ProductVersions
Junos OSJuniper Networks
  • before 22.4R3-S8Affected
  • 23.2 to before 23.2R2-S3Affected
  • 23.4 to before 23.4R2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.