Security Advisory

CVE-2020-1631: Junos OS J-Web HTTP Path Traversal

Last updated:
  • CVE-2020-1631

CVE-2020-1631 is an unauthenticated path traversal in the Junos OS HTTP/HTTPS service used by J-Web, Web Authentication, Dynamic-VPN and Zero Touch Provisioning: an attacker can read world-readable files, inject commands into the HTTP log or hijack a J-Web session. NVD scores it 9.8 and CISA KEV lists it. Juniper's fix is in the releases listed in JSA11021.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

4.9%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2020-1631 · Source: NVD

Affected components

ComponentCPEVersion range
Juniper Junos OS (devices with HTTP/HTTPS services enabled)cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*12.3, 12.3X48, 14.1X53, 15.1, 15.1X49, 16.1, 17.2, 17.3, 17.4, 18.1, 18.2, 18.3, 18.4, 19.1, 19.2, 19.3, 19.4 and 20.1 before the fixed releases; fixed in 12.3R12-S16, 12.3X48-D101, 12.3X48-D105, 14.1X53-D54, 15.1R7-S7, 15.1X49-D211, 15.1X49-D220, 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 and 20.1R2 and all later releases (Juniper JSA11021)

What does this mean for affected devices?

Juniper, as CNA, published the CVE record on 2020-05-04 with its out-of-cycle advisory JSA11021: "A vulnerability in the HTTP/HTTPS service used by J-Web, Web Authentication, Dynamic-VPN (DVPN), Firewall Authentication Pass-Through with Web-Redirect, and Zero Touch Provisioning (ZTP) allows an unauthenticated attacker to perform local file inclusion (LFI) or path traversal." Juniper scores the impact by scenario: 5.3 for command injection into the HTTP log (the web service runs as user "nobody"), 5.9 for reading world-readable files, which on Junos OS 19.3R1 and later includes the configuration file, and 8.8 when J-Web is enabled, because the attacker can gain the access of anyone logged into J-Web, including an administrator. NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and NVD CVSS v2 6.8, with CWE-22; Juniper adds CWE-73 (NVD, CVE record).

Which Junos OS releases are affected?

Only Junos OS devices with HTTP/HTTPS services enabled are affected; with those services disabled there is no impact. Juniper lists the trains 12.3, 12.3X48, 14.1X53, 15.1, 15.1X49, 16.1, 17.2, 17.3, 17.4, 18.1, 18.2, 18.3, 18.4, 19.1, 19.2, 19.3, 19.4 and 20.1 before the fixed releases. For 18.4 and 19.1 it also counts 18.4R2 and 19.1R2 and their later releases as affected until the fixed builds. Juniper's download notes for the advisory name SRX branch, SRX1000/3000, SRX5000, SRX300 and SRX500 series install packages, so SRX firewalls are among the devices to check, but any Junos OS device with the web service on is in scope.

How do I fix CVE-2020-1631?

Upgrade to a fixed release: 12.3R12-S16, 12.3X48-D101, 12.3X48-D105, 14.1X53-D54, 15.1R7-S7, 15.1X49-D211, 15.1X49-D220, 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 and 20.1R2, or any later release. Juniper says "there are no viable workarounds" and recommends disabling the HTTP/HTTPS service (web management) and Dynamic-VPN, or allowing the HTTP service only from trusted hosts or networks. Juniper also tells administrators to review the HTTP log and its rotated copies for signs of injected commands or file access, while warning that a skilled attacker would likely remove such entries. Keeping J-Web off the internet is the same advice as CISA BOD 23-02 on internet-exposed management interfaces; the bug class is covered in how to fix path traversal in embedded firmware.

Is CVE-2020-1631 exploited?

Yes. When it published the advisory, Juniper SIRT had "received a single report of this vulnerability being exploited in the wild". CISA added the CVE to the KEV catalog on 2022-03-25 with the required action "Apply updates per vendor instructions." (due date 2022-04-15; known ransomware campaign use: Unknown); it is still listed as of 2026-11-26 in catalog version 2026.11.25 (CISA KEV). FIRST EPSS gives 0.04865, the 92.81st percentile, in the 2026-11-25 dataset (FIRST EPSS). J-Web was hit again in 2023: CVE-2023-36845 (PHPRC injection) and CVE-2023-36851 (SRX file transfer) are also on KEV.

How to fix this class of issueThis advisory's weakness class is Path traversal. Our practical guide covers how to detect, fix, verify and disclose it: How to fix path traversal in embedded firmware.

Evidence

  • NVD: status Analyzed; [email protected] Primary CVSS 3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H and CVSS 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P; Juniper ([email protected]) Secondary 8.8 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H; CWE-22 (NVD), CWE-22/CWE-73 (Juniper); 277 Junos CPEs across 12.3 to 20.1; published 2020-05-04; read 2026-11-26. — NVD
  • CVE record (CNA Juniper, advisory JSA11021, title 'Out of Cycle Security Advisory: Junos OS: Security vulnerability in J-Web and web based (HTTP/HTTPS) services'): scenario scores 5.3/5.9/8.8; config readable on 19.3R1 and above; affected trains and fixed releases; no viable workarounds, disable web-management and dynamic-vpn or limit HTTP to trusted hosts; single report of in-the-wild exploitation; review httpd.log; download notes for SRX series packages. — CVE.org
  • Juniper JSA11021 vendor advisory referenced by NVD and the CVE record. — Juniper
  • KEV catalog 2026.11.25: dateAdded 2022-03-25, due 2022-04-15, required action 'Apply updates per vendor instructions.', knownRansomwareCampaignUse Unknown, CWE-22/CWE-73; checked 2026-11-26. — CISA KEV
  • EPSS 0.04865, percentile 0.92812, dataset 2026-11-25, read 2026-11-26. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CVE.org record CVE-2020-1631 (CNA: Juniper Networks)
  3. Juniper JSA11021: Security vulnerability in J-Web and web based (HTTP/HTTPS) services
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Which Junos OS devices are affected by CVE-2020-1631?

Any Junos OS device running an affected release with HTTP/HTTPS services enabled, used by J-Web, Web Authentication, Dynamic-VPN, Firewall Authentication Pass-Through with Web-Redirect or Zero Touch Provisioning. Devices with these services disabled are not affected (per Juniper JSA11021).

Which Junos OS releases fix CVE-2020-1631?

Juniper lists 12.3R12-S16, 12.3X48-D101, 12.3X48-D105, 14.1X53-D54, 15.1R7-S7, 15.1X49-D211, 15.1X49-D220, 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 and 20.1R2, and all later releases (per Juniper JSA11021).

Is there a workaround for CVE-2020-1631?

Juniper says there is no viable workaround. It recommends disabling the web-management service and Dynamic-VPN, or limiting the HTTP service to trusted hosts or networks, until the device runs a fixed release (per Juniper JSA11021).

Why do NVD and Juniper score CVE-2020-1631 differently?

NVD's Primary CVSS v3.1 score is 9.8 with no user interaction. Juniper gives 8.8 for J-Web, which needs an administrator to be logged in, and 5.3 or 5.9 for the other scenarios. NVD CVSS v2 is 6.8 (per NVD and the CVE record).