Path traversal in Junos OS - CVE-2020-1631

 

Path traversal in Junos OS - CVE-2020-1631

Published: April 29, 2020 / Updated: March 25, 2022


Vulnerability identifier: #VU27430
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-1631
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in the HTTP/HTTPS service used by J-Web. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.

Note: Using this vulnerability, an attacker may be able to inject commands into the httpd.log, read files with "world" readable file permission or obtain J-Web session tokens.  


Affected software

Junos OS

How to mitigate CVE-2020-1631

Vendor recommends to update to the following fixed releases available for customer download: 12.3X48-D101, 15.1X49-D211, 18.2R3-S4, 18.4R3-S2, and 20.1R1-S1, the remaining fixed releases will be available in future time.

Junos OS - addressed in versions 12.3X48-D101, 12.3X48-D105, 15.1X49-D211, 15.1X49-D220, 15.1R7-S7, 16.1R7-S8, 17.2R3-S4, 17.3R3-S8, 17.4R2-S11, 17.4R3-S2, 18.1R3-S10, 18.2R2-S7, 18.2R3-S4, 18.3R2-S4, 18.3R3-S2, 18.4R1-S7, 18.4R3-S2, 19.1R1-S5, 19.1R3-S1, 19.2R2, 19.3R2-S3, 19.3R3, 19.4R1-S2, 19.4R2, 20.1R1-S1, 20.1R2

External References

Related Security Bulletins