CVE-2023-36845: Juniper Junos OS EX Series and SRX Series PHP External Variable Modification
Juniper Junos OS · listed in the CISA catalog of actively exploited vulnerabilities since 2023-11-13.
- CVSS v3.1 (CVE record)
- 9.8
- critical
- EPSS (exploit probability, 30 days)
- 95%
- higher than 99.8% of all CVEs
- Added to CISA KEV
- 2023-11-13
- US federal due date 2023-11-17
- Automatable (CISA SSVC)
- yes
- technical impact: total
What is CVE-2023-36845?
A PHP External Variable Modification vulnerability in J-Web of Juniper Networks Junos OS on EX Series and SRX Series allows an unauthenticated, network-based attacker to remotely execute code. Using a crafted request which sets the variable PHPRC an attacker is able to modify the PHP execution environment allowing the injection und execution of code.
This issue affects Juniper Networks Junos OS on EX Series and SRX Series: * All versions prior to 20.4R3-S9; * 21.1 versions 21.1R1 and later; * 21.2 versions prior to 21.2R3-S7; * 21.3 versions prior to 21.3R3-S5; * 21.4 versions prior to 21.4R3-S5; * 22.1 versions prior to 22.1R3-S4; * 22.2 versions prior to 22.2R3-S2; * 22.3 versions prior to 22.3R2-S2, 22.3R3-S1; * 22.4 versions prior to 22.4R2-S1, 22.4R3; * 23.2 versions prior to 23.2R1-S1, 23.2R2.
CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
CISA notes
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- Juniper Networks Junos OSEX Series, SRX SeriesAffectedFixed in
- < 20.4R3-S9
- 21.1.x
- ≥ 21.2, < 21.2R3-S7
- ≥ 21.3, < 21.3R3-S5
- ≥ 21.4, < 21.4R3-S5
- ≥ 22.1, < 22.1R3-S4
- ≥ 22.2, < 22.2R3-S2
- ≥ 22.3, < 22.3R3-S1
- ≥ 22.4, < 22.4R3
- ≥ 23,2, < 23.2R2
- 20.4R3-S9
- 21.2R3-S7
- 21.3R3-S5
- 21.4R3-S5
- 22.1R3-S4
- 22.2R3-S2
- 22.3R2-S2
- 22.3R3-S1
- 22.4R2-S1
- 22.4R3
- 23.2R1-S1
- 23.2R2
| Product | Affected | Fixed in |
|---|---|---|
| Juniper Networks Junos OSEX Series, SRX Series |
|
|
How to fix it
- Update to a fixed version: 20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S2, 22.3R2-S2, 22.3R3-S1 and 4 more (see the table).
- Vendor advisory: supportportal.juniper.net/JSA72300
- CISA's deadline for US federal agencies: 2023-11-17 (passed) – a useful benchmark for everyone else, too.
Vendor solution: The following software releases have been updated to resolve this specific issue: 20.4R3-S9*, 21.2R3-S7*, 21.3R3-S5, 21.4R3-S5*, 22.1R3-S4*, 22.2R3-S2, 22.3R2-S2, 22.3R3-S1*, 22.4R2-S1, 22.4R3*, 23.2R1-S1, 23.2R2*, 23.4R1*, and all subsequent releases. *Pending Publication
Workaround: Disable J-Web, or limit access to only trusted hosts.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- Yes – attackers can automate it at scale
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-473 PHP External Variable Modification
References
Vendor
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.