{"id":"CVE-2025-59980","state":"PUBLISHED","title":"Junos OS: When a user with the name ftp or anonymous is configured unauthenticated filesystem access is allowed","description":"An Authentication Bypass by Primary Weakness\n\nin 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.\nWhen 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.\n\nThis issue affects Junos OS: \n\n\n\n  *  all versions before 22.4R3-S8,\n  *  23.2 versions before 23.2R2-S3,\n  *  23.4 versions before 23.4R2.","publishedAt":"2025-10-09T16:05:17.009Z","updatedAt":"2025-10-10T14:41:12.698Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"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","source":"juniper"},"assigner":"juniper","products":["Juniper Networks Junos OS"],"affected":[{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"22.4R3-S8","versionType":"semver"},{"version":"23.2","status":"affected","lessThan":"23.2R2-S3","versionType":"semver"},{"version":"23.4","status":"affected","lessThan":"23.4R2","versionType":"semver"}]}],"references":["https://supportportal.juniper.net/JSA103167"],"weaknesses":["CWE-305"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/59xxx/CVE-2025-59980.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-59980","state":"PUBLISHED","datePublished":"2025-10-09T16:05:17.009Z","dateUpdated":"2025-10-10T14:41:12.698Z","assignerShortName":"juniper","assignerOrgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateReserved":"2025-09-23T18:19:06.957Z"},"containers":{"cna":{"title":"Junos OS: When a user with the name ftp or anonymous is configured unauthenticated filesystem access is allowed","descriptions":[{"lang":"en","value":"An Authentication Bypass by Primary Weakness\n\nin 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.\nWhen 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.\n\nThis issue affects Junos OS: \n\n\n\n  *  all versions before 22.4R3-S8,\n  *  23.2 versions before 23.2R2-S3,\n  *  23.4 versions before 23.4R2."}],"affected":[{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"22.4R3-S8","versionType":"semver"},{"version":"23.2","status":"affected","lessThan":"23.2R2-S3","versionType":"semver"},{"version":"23.4","status":"affected","lessThan":"23.4R2","versionType":"semver"}]}],"references":[{"url":"https://supportportal.juniper.net/JSA103167","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]},{"cvssV4_0":{"Automatable":"YES","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"MODERATE"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-305","description":"CWE-305 Authentication Bypass by Primary Weakness","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"juniper","orgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateUpdated":"2025-10-10T14:41:12.698Z"},"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"A system is only exploitable if ftp is enabled and a user with the name \"ftp\" or \"anonymous\" is configured:<br><br><tt>[ system services ftp ]<br>[ system login user (ftp | anonymous) ... ]</tt>"}],"value":"A system is only exploitable if ftp is enabled and a user with the name \"ftp\" or \"anonymous\" is configured:\n\n[ system services ftp ]\n[ system login user (ftp | anonymous) ... ]"}],"datePublic":"2025-10-08T16:00:00.000Z","exploits":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Juniper SIRT is not aware of any malicious exploitation of this vulnerability."}],"value":"Juniper SIRT is not aware of any malicious exploitation of this vulnerability."}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"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."}],"value":"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."}],"source":{"advisory":"JSA103167","defect":["1771132"],"discovery":"USER"},"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Choosing another name for the user \"ftp\" or \"anonymous\" will prevent exploitation of this issue."}],"value":"Choosing another name for the user \"ftp\" or \"anonymous\" will prevent exploitation of this issue."}],"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-10-09T19:45:37.043436Z","id":"CVE-2025-59980","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-09T19:49:01.776Z"}}]}}}