CVE-2023-36845
Exploitation confirmed. First attested on 2023-10-22 by CISA-ADP, CISA KEV, GCVE · kevintel, GCVE · shadowserver.
- Published2023-08-17
- Fixed in20.4
- WeaknessCWE-473
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTCObserved activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2023-36845?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2023-36845?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 20.4 | < 20.4 | 20.4 | NVD |
| 20.4 | = 20.4 | no fix published | NVD |
| 21.1 | = 21.1 | no fix published | NVD |
| 21.2 | = 21.2 | no fix published | NVD |
| 21.3 | = 21.3 | no fix published | NVD |
| 21.4 | = 21.4 | no fix published | NVD |
| 22.1 | = 22.1 | no fix published | NVD |
| 22.2 | = 22.2 | no fix published | NVD |
| 22.3 | = 22.3 | no fix published | NVD |
| 22.4 | = 22.4 | no fix published | NVD |
| 23.2 | = 23.2 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As juniper, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Juniper Networks Junos OSother versions: not affected
platforms: EX Series, SRX Series
Affected- < 20.4R3-S9fixed in 20.4R3-S9semver
- ≥ 21.1, < 21.1*fixed in 21.1*semver
- ≥ 21.2, < 21.2R3-S7fixed in 21.2R3-S7semver
- ≥ 21.3, < 21.3R3-S5fixed in 21.3R3-S5semver
- ≥ 21.4, < 21.4R3-S5fixed in 21.4R3-S5semver
- ≥ 22.1, < 22.1R3-S4fixed in 22.1R3-S4semver
- ≥ 22.2, < 22.2R3-S2fixed in 22.2R3-S2semver
- ≥ 22.3, < 22.3R2-S2, 22.3R3-S1fixed in 22.3R2-S2, 22.3R3-S1semver
2 more version lines in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-02-02
Fix
- Update Juniper junos to 20.4
- CISA’s required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.due 2023-11-17
Advisories and patches
- supportportal.juniper.netVendor Advisory
Detection
read 2026-11-02 22:42 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- 17 repositories, unverifiedvulncheck-oss/cve-2023-36845-scannerkljunowsky/CVE-2023-36845halencarjunior/CVE-2023-36845zaenhaxor/CVE-2023-36845simrotion13/CVE-2023-36845 PoC-in-GitHub
- Metasploit modules
- 1 moduleexploit/freebsd/http/junos_phprc_auto_prepend_filerank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
CISA Known Exploited Vulnerability
- Date Added
- 2023-11-13
- Patch Due Date
- 2023-11-17
- Ransomware Use
- Unknown
- Required Action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Sources
- NVDCVE recordread 2026-10-23
- CISA KEVKEV entry2023-11-13
- ENISA EUVDexploitation2023-11-132023-11-13
- GCVEexploitation2023-10-22
- CISA-ADPSSVC decisionactive2023-11-15
- OpenCVESSVC decisionactive—
- CNACVSS 3.19.8known since 2026-10-23
- CNAweakness (CWE)CWE-473known since 2026-10-23
- FIRST EPSSEPSS score95.1 %read 2026-11-02
- PoC-in-GitHubproof of concept17read 2026-11-02
- ProjectDiscoverydetectionread 2026-11-02
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2023-40765same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-q56g-qr28-qh57same flawGitHub Advisory Database · CC-BY-4.0
- exploit/freebsd/http/junos_phprc_auto_prepend_fileexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2023-08-17
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-q56g-qr28-qh57
Frequently asked questions
What is CVE-2023-36845?
Is CVE-2023-36845 actively exploited?
What is the CVSS score for CVE-2023-36845?
Hear about the next vulnerability in your software
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA KEV · CC0-1.0 (cisagov/kev-data)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-q56g-qr28-qh57
- Metasploit Framework · BSD-3-Clause
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- PoC-in-GitHub · CC0-1.0
- CISA Vulnrichment · CC0-1.0