CVE-2021-0275

Junos OS: J-Web: Cross-site scripting attack allows an attacker to gain control of another users session.

8.8 high EPSS 1.21%

Published 22 Apr 2021 Updated 17 Sep 2024 CNA: juniper

Description

A Cross-site Scripting (XSS) vulnerability in J-Web on Juniper Networks Junos OS allows an attacker to target another user's session thereby gaining access to the users session. The other user session must be active for the attack to succeed. Once successful, the attacker has the same privileges as the user. If the user has root privileges, the attacker may be able to gain full control of the device. This issue affects: Juniper Networks Junos OS: 12.3 versions prior to 12.3R12-S15 on EX Series; 12.3X48 versions prior to 12.3X48-D95 on SRX Series; 15.1 versions prior to 15.1R7-S6 on EX Series; 15.1X49 versions prior to 15.1X49-D200 on SRX Series; 16.1 versions prior to 16.1R7-S7; 16.2 versions prior to 16.2R2-S11, 16.2R3; 17.1 versions prior to 17.1R2-S11, 17.1R3-S2; 17.2 versions prior to 17.2R3-S3; 17.3 versions prior to 17.3R2-S5, 17.3R3-S7; 17.4 versions prior to 17.4R2-S9, 17.4R3; 18.1 versions prior to 18.1R3-S9; 18.2 versions prior to 18.2R2-S7, 18.2R3-S3; 18.3 versions prior to 18.3R1-S7, 18.3R2-S3, 18.3R3-S1; 18.4 versions prior to 18.4R1-S6, 18.4R2-S4, 18.4R3; 19.1 versions prior to 19.1R2-S1, 19.1R3; 19.2 versions prior to 19.2R1-S3, 19.2R2; 19.3 versions prior to 19.3R2.

Severity (CVSS)

8.8 high CVSS 3.1 from juniper (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 69.3% of all scored CVEs. Scores of 2 Dec 2026.

Weakness

  • CWE-79 Improper Neutralization of Input During Web Page Generation

Affected products

As the CNA lists them.

ProductVersions
Junos OS
affected from 12.3, before 12.3R12-S15
affected from 15.1, before 15.1R7-S6
Junos OS
affected from 12.3X48, before 12.3X48-D95
affected from 15.1X49, before 15.1X49-D200
Junos OS
affected from 16.1, before 16.1R7-S7
affected from 16.2, before 16.2R2-S11, 16.2R3
affected from 17.1, before 17.1R2-S11, 17.1R3-S2
affected from 17.2, before 17.2R3-S3
affected from 17.3, before 17.3R2-S5, 17.3R3-S7
affected from 17.4, before 17.4R2-S9, 17.4R3
affected from 18.1, before 18.1R3-S9
affected from 18.2, before 18.2R2-S7, 18.2R3-S3
affected from 18.3, before 18.3R1-S7, 18.3R2-S3, 18.3R3-S1
affected from 18.4, before 18.4R1-S6, 18.4R2-S4, 18.4R3
affected from 19.1, before 19.1R2-S1, 19.1R3
affected from 19.2, before 19.2R1-S3, 19.2R2
affected from 19.3, before 19.3R2

Is my server affected?

This CVE is in Junos OS of Juniper Networks, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2021-0275 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.