CVE-2023-36845
Critical 9.8KEV · exploitedFix availableJunos OS: EX and SRX Series: A PHP vulnerability in J-Web allows an unauthenticated to control an important environment variable
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Among the highest-scored CVEs. A prediction, not evidence.
CISA remediation deadline
Passed 1100 days ago for U.S. federal agencies
Description
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.
Weakness: CWE-473
Patching and mitigation
- Patch status
- Fix available (source: CVE record (juniper))
- Fix documented (source date)
- 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
- Mitigation
- Disable J-Web, or limit access to only trusted hosts. Source (opens in a new tab)
- Vendor guidance
- supportportal.juniper.net (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Juniper | Junos OS | Not documented | Not documented | CISA KEV |
| Juniper Networks | Junos OS | from 21.1 before 21.1* | Not documented | CVE Program |
| Juniper Networks | Junos OS | from 21.2 before 21.2R3-S7 | 21.2R3-S7 | CVE Program |
| Juniper Networks | Junos OS | from 21.3 before 21.3R3-S5 | 21.3R3-S5 | CVE Program |
| Juniper Networks | Junos OS | from 21.4 before 21.4R3-S5 | 21.4R3-S5 | CVE Program |
| Juniper Networks | Junos OS | from 22.1 before 22.1R3-S4 | 22.1R3-S4 | CVE Program |
| Juniper Networks | Junos OS | from 22.2 before 22.2R3-S2 | 22.2R3-S2 | CVE Program |
| Juniper Networks | Junos OS | from 22.3 before 22.3R2-S2, 22.3R3-S1 | 22.3R2-S2, 22.3R3-S1 | CVE Program |
| Juniper Networks | Junos OS | from 22.4 before 22.4R2-S1, 22.4R3 | 22.4R2-S1, 22.4R3 | CVE Program |
| Juniper Networks | Junos OS | from 23,2 before 23.2R1-S1, 23.2R2 | 23.2R1-S1, 23.2R2 | CVE Program |
| Juniper Networks | Junos OS | all versions before 20.4R3-S9 | 20.4R3-S9 | CVE Program |
Timeline
Disclosure
CVE record published by juniper
Source: CVE Program (opens in a new tab)
13 Nov 2023KEV
Added to the CISA Known Exploited Vulnerabilities catalog
Source: CISA KEV (opens in a new tab)
13 Nov 2023Exploitation
Exploitation confirmed by CISA KEV
Source: CISA KEV (opens in a new tab)
Patch
Fix documented by CVE record (juniper)
Vendor guidance and references
- https://supportportal.juniper.net/JSA72300 (opens in a new tab)mitigation, vendor-advisory, x_transferred
- https://supportportal.juniper.net/s/article/2023-08-Out-of-Cycle-Security-Bulletin-Junos-OS-SRX-Series-and-EX-Series-Multiple-vulnerabilities-in-J-Web-can-be-combined-to-allow-a-preAuth-Remote-Code-Execution?language=en_US (opens in a new tab)vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-36845 (opens in a new tab)government
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-36845 (opens in a new tab)government-resource