CVE-2020-1631

Out of Cycle Security Advisory: Junos OS: Security vulnerability in J-Web and web based (HTTP/HTTPS) services

CRITICAL
9.8
CVSS Score
Published: May 4, 2020 at 09:25 AM UTC
Updated: June 17, 2026 at 03:02 AM UTC
1 product affected across 1 vendorJunos

Using Junos OS by Juniper Networks?

Get instant alerts when new vulnerabilities affect Junos OS - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
CRITICAL9.8
Exploitation
CISA KEV
Exploit prediction
EPSS 5%
SSVC
Active

Actively Exploited

CISA Known Exploited Vulnerabilities (KEV) Catalog

EPSS Score4.9%

EPSS (Exploit Prediction Scoring System) estimates a 4.9% chance this CVE is exploited in the wild within the next 30 days — higher than 92% of all CVEs. It complements CVSS: a high EPSS on a mid-severity CVE can still be urgent.

A path traversal 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 remote code execution.

Required Action
Apply updates per vendor instructions.
Ransomware Use
Unknown
Added to KEV
Mar 25, 2022
Remediation Due
Apr 15, 2022
1658 days overdue

Description

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. Using this vulnerability, an attacker may be able to inject commands into the httpd.log, read files with 'world' readable permission file or obtain J-Web session tokens. In the case of command injection, as the HTTP service runs as user 'nobody', the impact of this command injection is limited. (CVSS score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) In the case of reading files with 'world' readable permission, in Junos OS 19.3R1 and above, the unauthenticated attacker would be able to read the configuration file. (CVSS score 5.9, vector CVSS:3.1/ AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N) If J-Web is enabled, the attacker could gain the same level of access of anyone actively logged into J-Web. If an administrator is logged in, the attacker could gain administrator access to J-Web. (CVSS score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) This issue only affects Juniper Networks Junos OS devices with HTTP/HTTPS services enabled. Junos OS devices with HTTP/HTTPS services disabled are not affected. If HTTP/HTTPS services are enabled, the following command will show the httpd processes: user@device> show system processes | match http 5260 - S 0:00.13 /usr/sbin/httpd-gk -N 5797 - I 0:00.10 /usr/sbin/httpd --config /jail/var/etc/httpd.conf To summarize: If HTTP/HTTPS services are disabled, there is no impact from this vulnerability. If HTTP/HTTPS services are enabled and J-Web is not in use, this vulnerability has a CVSS score of 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N). If J-Web is enabled, this vulnerability has a CVSS score of 8.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H). Juniper SIRT has received a single report of this vulnerability being exploited in the wild. Out of an abundance of caution, we are notifying customers so they can take appropriate actions. Indicators of Compromise: The /var/log/httpd.log may have indicators that commands have injected or files being accessed. The device administrator can look for these indicators by searching for the string patterns "=*;*&" or "*%3b*&" in /var/log/httpd.log, using the following command: user@device> show log httpd.log | match "=*;*&|=*%3b*&" If this command returns any output, it might be an indication of malicious attempts or simply scanning activities. Rotated logs should also be reviewed, using the following command: user@device> show log httpd.log.0.gz | match "=*;*&|=*%3b*&" user@device> show log httpd.log.1.gz | match "=*;*&|=*%3b*&" Note that a skilled attacker would likely remove these entries from the local log file, thus effectively eliminating any reliable signature that the device had been attacked. This issue affects Juniper Networks Junos OS 12.3 versions prior to 12.3R12-S16; 12.3X48 versions prior to 12.3X48-D101, 12.3X48-D105; 14.1X53 versions prior to 14.1X53-D54; 15.1 versions prior to 15.1R7-S7; 15.1X49 versions prior to 15.1X49-D211, 15.1X49-D220; 16.1 versions prior to 16.1R7-S8; 17.2 versions prior to 17.2R3-S4; 17.3 versions prior to 17.3R3-S8; 17.4 versions prior to 17.4R2-S11, 17.4R3-S2; 18.1 versions prior to 18.1R3-S10; 18.2 versions prior to 18.2R2-S7, 18.2R3-S4; 18.3 versions prior to 18.3R2-S4, 18.3R3-S2; 18.4 versions prior to 18.4R1-S7, 18.4R3-S2 ; 18.4 version 18.4R2 and later versions; 19.1 versions prior to 19.1R1-S5, 19.1R3-S1; 19.1 version 19.1R2 and later versions; 19.2 versions prior to 19.2R2; 19.3 versions prior to 19.3R2-S3, 19.3R3; 19.4 versions prior to 19.4R1-S2, 19.4R2; 20.1 versions prior to 20.1R1-S1, 20.1R2.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

12.3 ≤ v < 12.3R12-S1612.3X48 ≤ v < 12.3X48-D101, 12.3X48-D10514.1X53 ≤ v < 14.1X53-D5415.1 ≤ v < 15.1R7-S715.1X49 ≤ v < 15.1X49-D211, 15.1X49-D22016.1 ≤ v < 16.1R7-S817.2 ≤ v < 17.2R3-S417.3 ≤ v < 17.3R3-S817.4 ≤ v < 17.4R2-S11, 17.4R3-S218.1 ≤ v < 18.1R3-S1018.2 ≤ v < 18.2R2-S7, 18.2R3-S418.3 ≤ v < 18.3R2-S4, 18.3R3-S218.4 ≤ v < 18.4R1-S7, 18.4R3-S219.1 ≤ v < 19.1R1-S5, 19.1R3-S119.2 ≤ v < 19.2R219.3 ≤ v < 19.3R2-S3, 19.3R319.4 ≤ v < 19.4R1-S2, 19.4R220.1 ≤ v < 20.1R1-S1, 20.1R212.312.3 r112.3 r1012.3 r10-s112.3 r10-s212.3 r1112.3 r1212.3 r12-s112.3 r12-s1112.3 r12-s1212.3 r12-s1312.3 r12-s1412.3 r12-s1512.3 r12-s312.3 r12-s412.3 r12-s612.3 r12-s812.3X4812.3x4812.3x48 d1012.3x48 d10012.3x48 d1512.3x48 d2012.3x48 d2512.3x48 d3012.3x48 d3512.3x48 d4012.3x48 d4512.3x48 d5012.3x48 d5112.3x48 d5512.3x48 d6012.3x48 d6512.3x48 d7012.3x48 d7512.3x48 d8012.3x48 d8512.3x48 d9012.3x48 d9514.1X5314.1x5314.1x53 d1014.1x53 d1514.1x53 d1614.1x53 d2514.1x53 d2614.1x53 d2714.1x53 d3014.1x53 d3514.1x53 d4014.1x53 d4214.1x53 d4314.1x53 d4414.1x53 d4514.1x53 d4614.1x53 d4714.1x53 d4814.1x53 d4914.1x53 d5014.1x53 d5114.1x53 d5214.1x53 d5315.115.1 a115.1 f15.1 f115.1 f215.1 f2-s115.1 f2-s215.1 f2-s315.1 f2-s415.1 f315.1 f415.1 f515.1 f5-s715.1 f615.1 f6-s115.1 f6-s1215.1 f6-s215.1 f6-s315.1 f6-s415.1 f6-s715.1 f715.1 r115.1 r215.1 r315.1 r415.1 r4-s715.1 r4-s815.1 r4-s915.1 r515.1 r5-s115.1 r5-s515.1 r5-s615.1 r615.1 r6-s115.1 r6-s215.1 r6-s615.1 r715.1 r7-s115.1 r7-s215.1 r7-s315.1 r7-s415.1 r7-s515.1X4915.1x4915.1x49 d1015.1x49 d10015.1x49 d11015.1x49 d12015.1x49 d13015.1x49 d14015.1x49 d1515.1x49 d15015.1x49 d16015.1x49 d17015.1x49 d18015.1x49 d19015.1x49 d2015.1x49 d20015.1x49 d21015.1x49 d2515.1x49 d3015.1x49 d3515.1x49 d4015.1x49 d4515.1x49 d5015.1x49 d5515.1x49 d6015.1x49 d6515.1x49 d7015.1x49 d7515.1x49 d8015.1x49 d9016.116.1 r116.1 r216.1 r316.1 r3-s1016.1 r3-s1116.1 r416.1 r4-s1216.1 r4-s216.1 r4-s316.1 r4-s416.1 r4-s616.1 r516.1 r5-s416.1 r6-s116.1 r6-s616.1 r716.1 r7-s216.1 r7-s316.1 r7-s416.1 r7-s516.1 r7-s616.1 r7-s717.217.2 r117.2 r1-s117.2 r1-s217.2 r1-s317.2 r1-s417.2 r1-s517.2 r1-s717.2 r1-s817.2 r217.2 r2-s1117.2 r2-s617.2 r2-s717.2 r3-s117.2 r3-s217.2 r3-s317.317.3 r1-s117.3 r217.3 r2-s117.3 r2-s217.3 r2-s317.3 r2-s417.3 r317.3 r3-s117.3 r3-s217.3 r3-s317.3 r3-s417.3 r3-s717.417.4 r117.4 r1-s117.4 r1-s217.4 r1-s417.4 r1-s517.4 r1-s617.4 r1-s717.4 r217.4 r2-s117.4 r2-s1017.4 r2-s217.4 r2-s317.4 r2-s417.4 r2-s517.4 r2-s617.4 r2-s717.4 r2-s817.4 r2-s917.4 r317.4 r3-s118.118.1 r218.1 r2-s118.1 r2-s218.1 r2-s418.1 r318.1 r3-s118.1 r3-s218.1 r3-s318.1 r3-s418.1 r3-s618.1 r3-s718.1 r3-s818.1 r3-s918.218.2 r1-s318.2 r1-s518.2 r2-s118.2 r2-s218.2 r2-s318.2 r2-s418.2 r2-s518.2 r2-s618.2 r318.2 r3-s118.2 r3-s218.2 r3-s318.318.3 r118.3 r1-s118.3 r1-s218.3 r1-s318.3 r1-s518.3 r1-s618.3 r218.3 r2-s118.3 r2-s218.3 r2-s318.3 r318.3 r3-s118.418.4 r118.4 r1-s118.4 r1-s218.4 r1-s318.4 r1-s418.4 r1-s518.4 r1-s618.4 r218.4 r2-s118.4 r2-s218.4 r2-s318.4 r319.119.1 r119.1 r1-s119.1 r1-s219.1 r1-s319.1 r1-s419.219.2 r119.2 r1-s119.2 r1-s219.2 r1-s319.319.3 r119.3 r1-s119.3 r219.3 r2-s119.3 r2-s219.419.4 r119.4 r1-s120.120.1 r1
Affected range stops below 12.3R12-S16, so it looks safe — our inference, not a vendor statement
Affected range stops below 12.3X48-D101, 12.3X48-D105, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.1X53-D54, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.1R7-S7, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.1X49-D211, 15.1X49-D220, so it looks safe — our inference, not a vendor statement
Affected range stops below 16.1R7-S8, so it looks safe — our inference, not a vendor statement
Affected range stops below 17.2R3-S4, so it looks safe — our inference, not a vendor statement
Affected range stops below 17.3R3-S8, so it looks safe — our inference, not a vendor statement
Affected range stops below 17.4R2-S11, 17.4R3-S2, so it looks safe — our inference, not a vendor statement
Affected range stops below 18.1R3-S10, so it looks safe — our inference, not a vendor statement
Affected range stops below 18.2R2-S7, 18.2R3-S4, so it looks safe — our inference, not a vendor statement
Affected range stops below 18.3R2-S4, 18.3R3-S2, so it looks safe — our inference, not a vendor statement
Affected range stops below 18.4R1-S7, 18.4R3-S2, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.1R1-S5, 19.1R3-S1, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.2R2, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.3R2-S3, 19.3R3, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.4R1-S2, 19.4R2, so it looks safe — our inference, not a vendor statement
Affected range stops below 20.1R1-S1, 20.1R2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

References (2)

x_refsource_CONFIRMMitigationVendor Advisory
https://kb.juniper.net/JSA11021
US Government Resource
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-1631

SSVC — Action Prioritization

SSVCActiveNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-22CWE-73

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card