CVE-2023-36845 in Juniper Junos and 28 more products
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.
Affects 29 products from 1 vendor. Description from NVD and MITRE.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Juniper | Junos | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
| Juniper | SRX1500 | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
| Juniper | SRX240H2 | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
| Juniper | SRX240M | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
| Juniper | SRX300 | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
| Juniper | SRX320 | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
| Juniper | SRX340 | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
| Juniper | SRX345 | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
| Juniper | SRX380 | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
| Juniper | SRX4000 | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
| Juniper | SRX4100 | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
| Juniper | SRX4200 | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
| Juniper | SRX4600 | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
| Juniper | SRX5000 | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
| Juniper | SRX5400 | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
| Juniper | SRX550 Hm | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
| Juniper | SRX550M | 20.4 21.1 21.2 21.3 21.4 22.1+5 more22.2 22.3 22.4 23.2 < 20.4 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Juniper SRX100, Juniper SRX110, Juniper SRX1400, Juniper SRX210, Juniper SRX220, Juniper SRX240, Juniper SRX3400, Juniper SRX3600, Juniper SRX550, Juniper SRX5600, Juniper SRX5800, Juniper SRX650
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2023-11-13 |
|---|---|
| Public exploit | Reported · reference |
Record details
| CVE ID | CVE-2023-36845 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-005281-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2023-08-17 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for all HTTP requests to the J-Web interface, and consider deploying a web application firewall (WAF) to filter out malicious requests.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.