Insufficient Cross-Site Scripting (XSS) protection in Juniper Networks J-Web and web based (HTTP/HTTPS) services allows an unauthenticated attacker to hijack the target user's HTTP/HTTPS session and perform administrative actions on the Junos device as the targeted user. This issue only affects Juniper Networks Junos OS devices with HTTP/HTTPS services enabled such as J-Web, Web Authentication, Dynamic-VPN (DVPN), Firewall Authentication Pass-Through with Web-Redirect, and Zero Touch Provisioning (ZTP). 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 /jai
The following software releases have been updated to resolve this specific issue: Junos OS 18.1R3-S11, 18.2R3-S5, 18.3R2-S4, 18.3R3-S2, 18.4R2-S5, 18.4R3-S2, 19.1R2-S2, 19.1R3-S1, 19.2R1-S5, 19.2R2, 19.3R2-S4, 19.3R3, 19.4R1-S3, 19.4R2, 20.1R1-S2, 20.1R2, 20.2R1 and all subsequent releases.
There are no viable workarounds for this issue.
| Product | Vulnerable range | Fixed version | Advisory |
|---|---|---|---|
| Juniper Networks Junos OS | >=18.1<18.1R3-S11 | 18.1R3-S11 | advisory ↗ |
| Juniper Networks Junos OS | >=18.2<18.2R3-S5 | 18.2R3-S5 | advisory ↗ |
| Juniper Networks Junos OS | >=18.3<18.3R2-S4, 18.3R3-S2 | 18.3R2-S4, 18.3R3-S2 | advisory ↗ |
| Juniper Networks Junos OS | >=18.4<18.4R2-S5, 18.4R3-S2 | 18.4R2-S5, 18.4R3-S2 | advisory ↗ |
| Juniper Networks Junos OS | >=19.1<19.1R2-S2, 19.1R3-S1 | 19.1R2-S2, 19.1R3-S1 | advisory ↗ |
| Juniper Networks Junos OS | >=19.2<19.2R1-S5, 19.2R2 | 19.2R1-S5, 19.2R2 | advisory ↗ |
| Juniper Networks Junos OS | >=19.3<19.3R2-S4, 19.3R3 | 19.3R2-S4, 19.3R3 | advisory ↗ |
| Juniper Networks Junos OS | >=19.4<19.4R1-S3, 19.4R2 | 19.4R1-S3, 19.4R2 | advisory ↗ |
| Juniper Networks Junos OS | >=20.1<20.1R1-S2, 20.1R2 | 20.1R1-S2, 20.1R2 | advisory ↗ |