CVE-2024-21620: Junos OS: SRX Series and EX Series: J-Web doesn't sufficiently sanitize input to prevent XSS

Published Jan 25, 2024
·
Updated

An Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in J-Web of Juniper Networks Junos OS on SRX Series and EX Series allows an attacker to construct a URL that when visited by another user enables the attacker to execute commands with the target's permissions, including an administrator.

A specific invocation of the emitdebugnote method in webauthoperation.php will echo back the data it receives.

This issue affects Juniper Networks Junos OS on SRX Series and EX Series: All versions earlier than 20.4R3-S10; 21.2 versions earlier than 21.2R3-S8; 21.4 versions earlier than 21.4R3-S6; 22.1 versions earlier than 22.1R3-S5; 22.2 versions earlier than 22.2R3-S3; 22.3 versions earlier than 22.3R3-S2; 22.4 versions earlier than 22.4R3-S1; 23.2 versions earlier than 23.2R2; 23.4 versions earlier than 23.4R2.

Affected Software

196 affected components
Juniper Networks Junos OS
Juniper Networks SRX Series
Juniper Networks EX Series
All of the following
Any of the following
Juniper Junos<20.4
Juniper Junos=20.4
Juniper Junos=20.4-r1
Juniper Junos=20.4-r1-s1
Juniper Junos=20.4-r2
Juniper Junos=20.4-r2-s1
Juniper Junos=20.4-r2-s2
Juniper Junos=20.4-r3
Juniper Junos=20.4-r3-s1
Juniper Junos=20.4-r3-s2
Juniper Junos=20.4-r3-s3
Juniper Junos=20.4-r3-s4
Juniper Junos=20.4-r3-s5
Juniper Junos=20.4-r3-s6
Juniper Junos=20.4-r3-s7
Juniper Junos=20.4-r3-s8
Juniper Junos=20.4-r3-s9
Juniper Junos=21.2
Juniper Junos=21.2-r1
Juniper Junos=21.2-r1-s1
Juniper Junos=21.2-r1-s2
Juniper Junos=21.2-r2
Juniper Junos=21.2-r2-s1
Juniper Junos=21.2-r2-s2
Juniper Junos=21.2-r3
Juniper Junos=21.2-r3-s1
Juniper Junos=21.2-r3-s2
Juniper Junos=21.2-r3-s3
Juniper Junos=21.2-r3-s4
Juniper Junos=21.2-r3-s5
Juniper Junos=21.2-r3-s6
Juniper Junos=21.2-r3-s7
Juniper Junos=21.4
Juniper Junos=21.4-r1
Juniper Junos=21.4-r1-s1
Juniper Junos=21.4-r1-s2
Juniper Junos=21.4-r2
Juniper Junos=21.4-r2-s1
Juniper Junos=21.4-r2-s2
Juniper Junos=21.4-r3
Juniper Junos=21.4-r3-s1
Juniper Junos=21.4-r3-s2
Juniper Junos=21.4-r3-s3
Juniper Junos=21.4-r3-s4
Juniper Junos=21.4-r3-s5
Juniper Junos=22.1
Juniper Junos=22.1-r1
Juniper Junos=22.1-r1-s1
Juniper Junos=22.1-r1-s2
Juniper Junos=22.1-r2
Juniper Junos=22.1-r2-s1
Juniper Junos=22.1-r2-s2
Juniper Junos=22.1-r3
Juniper Junos=22.1-r3-s1
Juniper Junos=22.1-r3-s2
Juniper Junos=22.1-r3-s3
Juniper Junos=22.1-r3-s4
Juniper Junos=22.2
Juniper Junos=22.2-r1
Juniper Junos=22.2-r1-s1
Juniper Junos=22.2-r1-s2
Juniper Junos=22.2-r2
Juniper Junos=22.2-r2-s1
Juniper Junos=22.2-r2-s2
Juniper Junos=22.2-r3
Juniper Junos=22.2-r3-s1
Juniper Junos=22.2-r3-s2
Juniper Junos=22.3
Juniper Junos=22.3-r1
Juniper Junos=22.3-r1-s1
Juniper Junos=22.3-r1-s2
Juniper Junos=22.3-r2
Juniper Junos=22.3-r2-s1
Juniper Junos=22.3-r2-s2
Juniper Junos=22.3-r3
Juniper Junos=22.3-r3-s1
Juniper Junos=22.4
Juniper Junos=22.4-r1
Juniper Junos=22.4-r1-s1
Juniper Junos=22.4-r1-s2
Juniper Junos=22.4-r2
Juniper Junos=22.4-r2-s1
Juniper Junos=22.4-r2-s2
Juniper Junos=22.4-r3
Juniper Junos=23.2
Juniper Junos=23.2-r1
Juniper Junos=23.2-r1-s1
Juniper Junos=23.2-r1-s2
Juniper Junos=23.4-r1
Any of the following
Juniper Ex Redundant Power System
Juniper Ex Rps
Juniper EX2200
Juniper EX2200-C
Juniper Ex2200-vc
Juniper EX2300
Juniper Ex2300-24mp
Juniper Ex2300-24p
Juniper Ex2300-24t
Juniper Ex2300-48mp
Juniper Ex2300-48p
Juniper Ex2300-48t
Juniper EX2300-C
Juniper Ex2300 Multigigabit
Juniper Ex2300m
Juniper EX3200
Juniper EX3300
Juniper Ex3300-vc
Juniper EX3400
Juniper EX4100
Juniper Ex4100-f
Juniper Ex4100 Multigigabit
Juniper EX4200
Juniper Ex4200-vc
Juniper EX4300
Juniper Ex4300-24p
Juniper Ex4300-24p-s
Juniper Ex4300-24t
Juniper Ex4300-24t-s
Juniper Ex4300-32f
Juniper Ex4300-32f-dc
Juniper Ex4300-32f-s
Juniper Ex4300-48mp
Juniper Ex4300-48mp-s
Juniper Ex4300-48p
Juniper Ex4300-48p-s
Juniper Ex4300-48t
Juniper Ex4300-48t-afi
Juniper Ex4300-48t-dc
Juniper Ex4300-48t-dc-afi
Juniper Ex4300-48t-s
Juniper Ex4300-48tafi
Juniper Ex4300-48tdc
Juniper Ex4300-48tdc-afi
Juniper EX4300-MP
Juniper Ex4300-vc
Juniper Ex4300 Multigigabit
Juniper Ex4300m
Juniper EX4400
Juniper Ex4400-24x
Juniper Ex4400 Multigigabit
Juniper EX4500
Juniper Ex4500-vc
Juniper EX4550
Juniper Ex4550-vc
Juniper Ex4550\/vc
Juniper EX4600
Juniper Ex4600-vc
Juniper EX4650
Juniper EX6200
Juniper EX6210
Juniper EX8200
Juniper Ex8200-vc
Juniper EX8208
Juniper EX8216
Juniper EX9200
Juniper Ex9204
Juniper Ex9208
Juniper Ex9214
Juniper Ex9250
Juniper EX9251
Juniper Ex9253
Juniper SRX100
Juniper SRX110
Juniper SRX1400
Juniper SRX1500
Juniper SRX1600
Juniper SRX210
Juniper SRX220
Juniper SRX2300
Juniper SRX240
Juniper Srx240h2
Juniper SRX240m
Juniper SRX300
Juniper SRX320
Juniper SRX340
Juniper SRX3400
Juniper SRX345
Juniper SRX3600
Juniper Srx380
Juniper SRX4000
Juniper SRX4100
Juniper SRX4200
Juniper SRX4300
Juniper SRX4600
Juniper SRX4700
Juniper SRX5000
Juniper SRX5400
Juniper SRX550
Juniper Srx550 Hm
Juniper SRX550m
Juniper SRX5600
Juniper SRX5800
Juniper SRX650

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 20.4R3-S10*
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 21.2R3-S8*
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 21.4R3-S6*
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 22.1R3-S5*
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 22.2R3-S3*
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 22.3R3-S2*
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 22.4R3-S1*
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 23.2R2*
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 23.4R2*
  10. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 24.2R1*

Event History

Jan 25, 2024
CVE Published
via MITRE·10:50 PM
Data Sourced
via MITRE·10:50 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeaknessAffected Software
Jan 30, 2024
News Published
via The Register·03:30 PM
News Published
via The Register·03:33 PM

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-21620?

CVE-2024-21620 has a high severity rating due to its potential to allow cross-site scripting attacks.

2

How do I fix CVE-2024-21620?

To remediate CVE-2024-21620, you should update the Junos OS on affected devices to the latest patched version provided by Juniper Networks.

3

Which versions of Junos OS are affected by CVE-2024-21620?

CVE-2024-21620 affects several versions of Junos OS prior to the fixed releases, including versions up to 22.4.

4

What products are impacted by CVE-2024-21620?

CVE-2024-21620 impacts Juniper Networks' SRX Series and EX Series devices running affected versions of Junos OS.

5

Is there a workaround for CVE-2024-21620?

Currently, no known workarounds for CVE-2024-21620 are recommended apart from applying the security updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203