CVE-2023-36845
CONFIRMED EXPLOITEDJuniper Junos OS EX Series and SRX Series PHP External Variable Modification Vulnerability
Is Juniper Junos OS affected by CVE-2023-36845?
Juniper Junos OS is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2023-36845, added on 2023-11-13. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (40 vulnerable CPE entries): juniper junos.
Published CPE version bounds mark releases below 20.4 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2023-11-17.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2025-21590Same productJuniper Junos OS
Juniper Junos OS Improper Isolation or Compartmentalization Vulnerability
- CVE-2023-36851Same productJuniper Junos OS
Juniper Junos OS SRX Series Missing Authentication for Critical Function Vulnerability
- CVE-2023-36847Same productJuniper Junos OS
Juniper Junos OS EX Series Missing Authentication for Critical Function Vulnerability
- CVE-2023-36846Same productJuniper Junos OS
Juniper Junos OS SRX Series Missing Authentication for Critical Function Vulnerability
- CVE-2023-36844Neighboring entryJuniper Junos OS
Juniper Junos OS EX Series PHP External Variable Modification Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Juniper Junos OS on EX Series and SRX Series contains a PHP external variable modification vulnerability that allows an unauthenticated, network-based attacker to control an important environment variable. 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.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2023-11-13. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Junos OS has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Perimeter appliance / gateway surface (Juniper Junos OS): stream syslog, NetFlow, and authentication telemetry off-box to an independent collector (`Zeek`, `Suricata`, `Wazuh`) so logs survive appliance tampering. Inspect `conn.log` / `ssl.log` for unauthenticated probes against exposed VPN or management interfaces.
- Inventory all hosts running Juniper Junos OS and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- http://packetstormsecurity.com/files/174865/Juniper-SRX-Firewall-EX-Switch-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/176969/Juniper-SRX-Firewall-EX-Switch-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- https://supportportal.juniper.net/JSA72300Vendor Advisory
- http://packetstormsecurity.com/files/174865/Juniper-SRX-Firewall-EX-Switch-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/176969/Juniper-SRX-Firewall-EX-Switch-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- https://supportportal.juniper.net/JSA72300Vendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-36845US Government Resource
SCORING & VECTOR TELEMETRY
NIST NVD score not yet provided. Score attributed to Juniper CNA (sirt@juniper.net, Secondary / CNA assessment distributed via NVD).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Fast, template-driven vulnerability scanner by ProjectDiscovery
Intercepting web proxy and automated web application security testing tool
Multi-threaded IDS, IPS, and network security monitoring engine
Behavior-based open-source intrusion prevention system (IPS) and log analysis engine