File disclosure and session hijacking via path traversal
Published May 4, 2020 · Updated Oct 21, 2025
Path traversal in Juniper Networks Junos OS allows remote attackers to read files and session tokens through crafted HTTP requests. The enabled HTTP/HTTPS service resolves attacker-controlled paths without confining them to an authorized directory and can place command text in httpd.log. Exposure requires HTTP/HTTPS services; configuration files become readable from 19.3R1, while stolen J-Web sessions inherit an active user's access.
Summary
What happened
Path traversal in Juniper Networks Junos OS allows remote attackers to read files and session tokens through crafted HTTP requests. The enabled HTTP/HTTPS service resolves attacker-controlled paths without confining them to an authorized directory and can place command text in httpd.log. Exposure requires HTTP/HTTPS services; configuration files become readable from 19.3R1, while stolen J-Web sessions inherit an active user's access.
The record
- CVE
- CVE-2020-1631
- Published
- May 4, 2020
- Updated
- Oct 21, 2025
- Vendor
- Juniper Networks
- Product
- Junos OS
- Classifications
- CWE-73, CWE-22, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 4, 2020CVE publishedPublication date reported by the CVE source.
- Mar 25, 2022Exploitation reportedCISA Known Exploited Vulnerabilities entry
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=12.3 <12.3R12-S16
- Affected versionversion=12.3X48 <12.3X48-D101, 12.3X48-D105
- Affected versionversion=14.1X53 <14.1X53-D54
- Affected versionversion=15.1 <15.1R7-S7
- Affected versionversion=15.1X49 <15.1X49-D211, 15.1X49-D220
- Affected versionversion=16.1 <16.1R7-S8
- Affected versionversion=17.2 <17.2R3-S4
- Affected versionversion=17.3 <17.3R3-S8
- Affected versionversion=17.4 <17.4R2-S11, 17.4R3-S2
- Affected versionversion=18.1 <18.1R3-S10
- Affected versionversion=18.2 <18.2R2-S7, 18.2R3-S4
- Affected versionversion=18.3 <18.3R2-S4, 18.3R3-S2
- Affected versionversion=18.4 <18.4R1-S7, 18.4R3-S2 changes=[{"at":"18.4R2","status":"affected"}]
- Affected versionversion=19.1 <19.1R1-S5, 19.1R3-S1 changes=[{"at":"19.1R2","status":"affected"}]
- Affected versionversion=19.2 <19.2R2
- Affected versionversion=19.3 <19.3R2-S3, 19.3R3
- Affected versionversion=19.4 <19.4R1-S2, 19.4R2
- Affected versionversion=20.1 <20.1R1-S1, 20.1R2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities entryknown exploited catalog
- Juniper SIRT exploitation reportreported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo