Skip to content

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

MediumCVSS 6.9 EPSS 0.29%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Network Appliances

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
juniper junos < 22.4; = 22.4; = 22.4-r1; = 22.4-r1-s1 +23 more 22.4 Fixed
juniper Junos OS < 22.4R3-S8; >= 23.2, < 23.2R2-S3; >= 23.4, < 23.4R2 22.4R3-S8, 23.2R2-S3, 23.4R2 Fixed

Affected products

ProductAffected versionsFixed in
juniper Junos OS < 22.4R3-S8 22.4R3-S8
juniper Junos OS >= 23.2, < 23.2R2-S3 23.2R2-S3
juniper Junos OS >= 23.4, < 23.4R2 23.4R2
juniper junos < 22.4 22.4
juniper junos = 22.4 No fix listed
juniper junos = 22.4-r1 No fix listed
juniper junos = 22.4-r1-s1 No fix listed
juniper junos = 22.4-r1-s2 No fix listed
juniper junos = 22.4-r2 No fix listed
juniper junos = 22.4-r2-s1 No fix listed
juniper junos = 22.4-r2-s2 No fix listed
juniper junos = 22.4-r3 No fix listed
juniper junos = 22.4-r3-s1 No fix listed
juniper junos = 22.4-r3-s2 No fix listed
juniper junos = 22.4-r3-s3 No fix listed
juniper junos = 22.4-r3-s4 No fix listed
juniper junos = 22.4-r3-s5 No fix listed
juniper junos = 22.4-r3-s6 No fix listed
juniper junos = 22.4-r3-s7 No fix listed
juniper junos = 23.2 No fix listed
juniper junos = 23.2-r1 No fix listed
juniper junos = 23.2-r1-s1 No fix listed
juniper junos = 23.2-r1-s2 No fix listed
juniper junos = 23.2-r2 No fix listed
juniper junos = 23.2-r2-s1 No fix listed
Show 5 more
ProductAffected versionsFixed in
juniper junos = 23.2-r2-s2 No fix listed
juniper junos = 23.4 No fix listed
juniper junos = 23.4-r1 No fix listed
juniper junos = 23.4-r1-s1 No fix listed
juniper junos = 23.4-r1-s2 No fix listed

References