CVE-2023-36845Juniper Junos OS EX Series and SRX Series PHP External Variable Modification Vulnerability
CVSS score
9.8
Critical
CVSS 3.1 from juniper.net
Exploit probability (EPSS)
95.1%
95.1% chance of exploitation in the next 30 days, higher than 99.9% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 13 Nov 2023.
US federal deadline to fix: 17 Nov 2023.
Official 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.
Source: NVD · CNA: sirt@juniper.net
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 13 Nov 2023.
US federal agencies must fix it by 17 Nov 2023. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Check whether you're affected
Find every system running Juniper Networks Junos OS and compare its version with the affected versions.
Update to a fixed version
- Update Junos OS to 20.4, 20.4R3-S9, 21.2R3-S7, 21.3R3-S5 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Juniper Networks Junos | < 20.4 · 20.4 · 21.1 · 21.2 · 21.3 · 21.4 |
| Juniper Networks Junos OS | < 20.4R3-S9 · ≥ 21.1, < 21.1* · ≥ 21.2, < 21.2R3-S7 · ≥ 21.3, < 21.3R3-S5 · ≥ 21.4, < 21.4R3-S5 · ≥ 22.1, < 22.1R3-S4 |
Weakness
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2023-36845 being exploited?
Yes. CISA added CVE-2023-36845 to its Known Exploited Vulnerabilities catalog on 13 Nov 2023, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 95.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2023-36845?
CVE-2023-36845 has a CVSS 3.1 base score of 9.8 (critical).
Which versions are affected?
Juniper Networks Junos (< 20.4; 20.4; 21.1; 21.2; 21.3; 21.4), Juniper Networks Junos OS (< 20.4R3-S9; ≥ 21.1, < 21.1*; ≥ 21.2, < 21.2R3-S7; ≥ 21.3, < 21.3R3-S5; ≥ 21.4, < 21.4R3-S5; ≥ 22.1, < 22.1R3-S4)
Is there a patch for CVE-2023-36845?
The official record links to vendor advisories or patches; see “What to do” above.
References
- supportportal.juniper.net/JSA72300(Vendor Advisory)
- packetstormsecurity.com/files/174865/Juniper-SRX-Firewall-EX-Switch-Remote-Code-Execution.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/176969/Juniper-SRX-Firewall-EX-Switch-Remote-Code-Execution.html(Exploit, Third Party Advisory, VDB Entry)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-36845(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.