CVE-2023-36845 Details
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.
A vulnerability allowing PHP external variable modification has been identified in Juniper Networks Junos OS, specifically on EX Series and SRX Series devices. This vulnerability allows an unauthenticated, network-based attacker to remotely execute code by manipulating the PHP execution environment. The issue arises from the J-Web component, where attackers can send crafted requests that modify important environment variables, particularly PHPRC. This modification enables the injection and execution of arbitrary code. The vulnerability affects all versions prior to 20.4R3-S9, as well as specific 21.x, 22.x, and 23.2 versions, with the exception of certain patched releases.
Users are advised to upgrade to Junos OS versions 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. For EX Series, the mentioned versions are available, while for SRX Series, the latest releases are 23.2R1-S1 and 23.2R2.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 15, 2023References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-36845 | CISA-ADP | US Government Resource |
| http://packetstormsecurity.com/files/174865/Juniper-SRX-Firewall-EX-Switch-Remote-Code-Execution.html | CVE | ExploitThird Party AdvisoryVDB Entry |
| http://packetstormsecurity.com/files/176969/Juniper-SRX-Firewall-EX-Switch-Remote-Code-Execution.html | CVE | ExploitThird Party AdvisoryVDB Entry |
| https://supportportal.juniper.net/JSA72300 | CVE | Vendor Advisory |
| http://packetstormsecurity.com/files/174865/Juniper-SRX-Firewall-EX-Switch-Remote-Code-Execution.html | [email protected] | ExploitThird Party AdvisoryVDB Entry |
| http://packetstormsecurity.com/files/176969/Juniper-SRX-Firewall-EX-Switch-Remote-Code-Execution.html | [email protected] | ExploitThird Party AdvisoryVDB Entry |
| https://supportportal.juniper.net/JSA72300 | [email protected] | Vendor Advisory |
This CVE is in CISA's Known Exploited Vulnerabilities Catalog
Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.
| Vulnerability Name | Date Added | Due Date | Required Action |
|---|---|---|---|
| Juniper Junos OS EX Series and SRX Series PHP External Variable Modification Vulnerability | Nov 13, 2023 | Nov 17, 2023 | Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
| CWE-473 | PHP External Variable Modification | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| juniper junos | < 20.4 20.4 - 20.4 r1 20.4 r1-s1 20.4 r2 20.4 r2-s1 20.4 r2-s2 20.4 r3 20.4 r3-s1 20.4 r3-s2 20.4 r3-s3 20.4 r3-s4 20.4 r3-s5 20.4 r3-s6 20.4 r3-s7 20.4 r3-s8 21.1 r1 21.1 r1-s1 21.1 r2 21.1 r2-s1 21.1 r2-s2 21.1 r3 21.1 r3-s1 21.1 r3-s2 21.1 r3-s3 21.1 r3-s4 21.1 r3-s5 21.2 - 21.2 r1 21.2 r1-s1 21.2 r1-s2 21.2 r2 21.2 r2-s1 21.2 r2-s2 21.2 r3 21.2 r3-s1 21.2 r3-s2 21.2 r3-s3 21.2 r3-s4 21.2 r3-s5 21.2 r3-s6 21.3 - 21.3 r1 21.3 r1-s1 21.3 r1-s2 21.3 r2 21.3 r2-s1 21.3 r2-s2 21.3 r3 21.3 r3-s1 21.3 r3-s2 21.3 r3-s3 21.3 r3-s4 21.4 - 21.4 r1 21.4 r1-s1 21.4 r1-s2 21.4 r2 21.4 r2-s1 21.4 r2-s2 21.4 r3 21.4 r3-s1 21.4 r3-s2 21.4 r3-s3 21.4 r3-s4 22.1 r1 22.1 r1-s1 22.1 r1-s2 22.1 r2 22.1 r2-s1 22.1 r2-s2 22.1 r3 22.1 r3-s1 22.1 r3-s2 22.1 r3-s3 22.2 r1 22.2 r1-s1 22.2 r1-s2 22.2 r2 22.2 r2-s1 22.2 r2-s2 22.2 r3 22.2 r3-s1 22.3 r1 22.3 r1-s1 22.3 r1-s2 22.3 r2 22.3 r2-s1 22.4 r1 22.4 r1-s1 22.4 r1-s2 22.4 r2 23.2 r1 |
CPE
Remediation
| |
| juniper srx100 | All versions |
CPE
Remediation
| |
| juniper srx110 | All versions |
CPE
Remediation
| |
| juniper srx1400 | All versions |
CPE
Remediation
| |
| juniper srx1500 | All versions |
CPE
Remediation
| |
| juniper srx210 | All versions |
CPE
Remediation
| |
| juniper srx220 | All versions |
CPE
Remediation
| |
| juniper srx240 | All versions |
CPE
Remediation
| |
| juniper srx240h2 | All versions |
CPE
Remediation
| |
| juniper srx240m | All versions |
CPE
Remediation
| |
| juniper srx300 | All versions |
CPE
Remediation
| |
| juniper srx320 | All versions |
CPE
Remediation
| |
| juniper srx340 | All versions |
CPE
Remediation
| |
| juniper srx3400 | All versions |
CPE
Remediation
| |
| juniper srx345 | All versions |
CPE
Remediation
| |
| juniper srx3600 | All versions |
CPE
Remediation
| |
| juniper srx380 | All versions |
CPE
Remediation
| |
| juniper srx4000 | All versions |
CPE
Remediation
| |
| juniper srx4100 | All versions |
CPE
Remediation
| |
| juniper srx4200 | All versions |
CPE
Remediation
| |
| juniper srx4600 | All versions |
CPE
Remediation
| |
| juniper srx5000 | All versions |
CPE
Remediation
| |
| juniper srx5400 | All versions |
CPE
Remediation
| |
| juniper srx550 | All versions |
CPE
Remediation
| |
| juniper srx550 hm | All versions |
CPE
Remediation
| |
| juniper srx550m | All versions |
CPE
Remediation
| |
| juniper srx5600 | All versions |
CPE
Remediation
| |
| juniper srx5800 | All versions |
CPE
Remediation
| |
| juniper srx650 | All versions |
CPE
Remediation
| |
Change History
17 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Oct 24, 2025 | Modified Analysis | [email protected] |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Mar 10, 2025 | Modified Analysis | [email protected] |
| Feb 13, 2025 | CVE Modified | [email protected] |
| Jan 27, 2025 | Modified Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Jun 27, 2024 | Modified Analysis | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 2, 2024 | CVE Modified | [email protected] |
| Oct 2, 2023 | CVE Modified | [email protected] |
| Sep 27, 2023 | CVE Modified | [email protected] |
| Aug 30, 2023 | CVE Modified | [email protected] |
| Aug 24, 2023 | Initial Analysis | [email protected] |