Input validation error in Junos OS - CVE-2023-36845
Published: August 18, 2023 / Updated: October 25, 2024
Vulnerability identifier: #VU79688
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-36845
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
The vulnerability is being exploited in the wild
Vulnerability details
The vulnerability allows a remote attacker to modify application behavior.
The vulnerability exists due to insufficient validation of user-supplied input in J-Web. A remote attacker can modify values of certain PHP environments variables and modify application's behavior.
Affected software
Junos OS
How to mitigate CVE-2023-36845
Install updates from vendor's website.
Junos OS - addressed in versions 20.4R3-S8, 21.2R3-S6, 21.3R3-S5, 21.4R3-S4, 21.4R3-S5, 22.1R3-S3, 22.2R3-S1, 22.2R3-S2, 22.3R2-S2, 22.3R3, 22.4R2-S1, 22.4R3, 23.2R1
Links to Public Exploits and PoC-codes
- Exploit #10688 - Juniper-SRX-Firewalls&EX-switches - (PreAuth-RCE) (PoC) (October 25, 2024)
- Exploit #9662 - Automation-for-Juniper-cve-2023-36845 (Simple Automation script for juniper cve-2023-36845) (April 5, 2024)
- Exploit #9627 - CVE-2023-36845 (Juniper Firewalls CVE-2023-36845 - RCE) (March 22, 2024)
- Exploit #9367 - CVE-2023-36845-POC (CVE-2023-36845 PoC script automates the PoC for CVE-2023-36845 targeting Juniper Networks Junos OS's J-Web component on EX and SRX Series devices. It exploits a PHP flaw, allowing remote modification of the PHPRC variable. Successful e (October 2, 2023)
- Exploit #9366 - Junos OS PHPRC Environment Variable Manipulation RCE (September 29, 2023)
- Exploit #9352 - CVE-2023-36844_Juniper_RCE (A Proof of Concept for chaining the CVEs [CVE-2023-36844, CVE-2023-36845, CVE-2023-36846, CVE-2023-36847] to achieve Remote Code Execution (phpinfo) in Juniper JunOS within SRX and EX Series products.Modified from original expl (September 27, 2023)
- Exploit #9343 - cve-2023-36845-scanner (A go-exploit to scan for Juniper firewalls vulnerable to CVE-2023-36845) (September 19, 2023)