CVE-2023-36844
Junos OS: EX Series: A PHP vulnerability in J-Web allows an unauthenticated attacker to control important environment variables
Mitigation
- Vendor workaround: Disable J-Web, or limit access to only trusted hosts.
Who should check
- Anyone running Juniper Networks Junos OS < 20.4R3-S9; >= 21.1, < 21.1*; >= 21.2, < 21.2R3-S6; >= 21.3, < 21.3R3-S5; >= 21.4, < 21.4R3-S5; >= 22.1, < 22.1R3-S4; >= 22.2, < 22.2R3-S2; >= 22.3, < 22.3R3-S1; >= 22.4, < 22.4R2-S2, 22.4R3; >= 23.2, < 23.2R1-S1, 23.2R2
Vulnerability facts
- Affected
- Juniper Networks Junos OS < 20.4R3-S9; >= 21.1, < 21.1*; >= 21.2, < 21.2R3-S6; >= 21.3, < 21.3R3-S5; >= 21.4, < 21.4R3-S5; >= 22.1, < 22.1R3-S4; >= 22.2, < 22.2R3-S2; >= 22.3, < 22.3R3-S1; >= 22.4, < 22.4R2-S2, 22.4R3; >= 23.2, < 23.2R1-S1, 23.2R2
- Fixed in
- Juniper Networks Junos OS 20.4R3-S9, Juniper Networks Junos OS 21.1*, Juniper Networks Junos OS 21.2R3-S6, Juniper Networks Junos OS 21.3R3-S5, Juniper Networks Junos OS 21.4R3-S5, Juniper Networks Junos OS 22.1R3-S4, Juniper Networks Junos OS 22.2R3-S2, Juniper Networks Junos OS 22.3R3-S1, Juniper Networks Junos OS 22.4R2-S2, Juniper Networks Junos OS 23.2R1-S1
- Exploited in the wild
- Yes: in CISA KEV since 2023-11-13; federal due date 2023-11-17
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- EPSS
- 52.38% chance of exploitation in 30 days (percentile 99, 2026-11-26)
- CWE
- CWE-473
- Modified
Description
A PHP External Variable Modification vulnerability in J-Web of Juniper Networks Junos OS on EX Series allows an unauthenticated, network-based attacker to control certain, important environment variables. Using a crafted request an attacker is able to modify certain PHP environment variables leading to partial loss of integrity, which may allow chaining to other vulnerabilities. This issue affects Juniper Networks Junos OS on EX 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.3R3-S1; * 22.4 versions prior to 22.4R2-S2, 22.4R3; * 23.2 versions prior to 23.2R1-S1, 23.2R2.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Juniper Networks Junos OS | < 20.4R3-S9; >= 21.1, < 21.1*; >= 21.2, < 21.2R3-S6; >= 21.3, < 21.3R3-S5; >= 21.4, < 21.4R3-S5; >= 22.1, < 22.1R3-S4; >= 22.2, < 22.2R3-S2; >= 22.3, < 22.3R3-S1; >= 22.4, < 22.4R2-S2, 22.4R3; >= 23.2, < 23.2R1-S1, 23.2R2 | — | cvelist |
Timeline
- 2023-08-17 Published
- 2023-11-13 Added to CISA KEV (exploited in the wild)
- 2023-11-17 CISA remediation due date for US federal agencies
- 2026-06-17 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-36844. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-36844.md Affected: Juniper Networks Junos OS < 20.4R3-S9; >= 21.1, < 21.1*; >= 21.2, < 21.2R3-S6; >= 21.3, < 21.3R3-S5; >= 21.4, < 21.4R3-S5; >= 22.1, < 22.1R3-S4; >= 22.2, < 22.2R3-S2; >= 22.3, < 22.3R3-S1; >= 22.4, < 22.4R2-S2, 22.4R3; >= 23.2, < 23.2R1-S1, 23.2R2 Fixed in: Juniper Networks Junos OS 20.4R3-S9, Juniper Networks Junos OS 21.1*, Juniper Networks Junos OS 21.2R3-S6, Juniper Networks Junos OS 21.3R3-S5, Juniper Networks Junos OS 21.4R3-S5, Juniper Networks Junos OS 22.1R3-S4, Juniper Networks Junos OS 22.2R3-S2, Juniper Networks Junos OS 22.3R3-S1, Juniper… Steps: 1. Search this machine and project for Juniper Networks Junos OS: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Exploits and PoCs
FAQ
Is CVE-2023-36844 being exploited?
Yes. CISA lists CVE-2023-36844 in its Known Exploited Vulnerabilities catalog since 2023-11-13, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 52.38% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-36844?
Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-36844?
Juniper Networks Junos OS < 20.4R3-S9; >= 21.1, < 21.1*; >= 21.2, < 21.2R3-S6; >= 21.3, < 21.3R3-S5; >= 21.4, < 21.4R3-S5; >= 22.1, < 22.1R3-S4; >= 22.2, < 22.2R3-S2; >= 22.3, < 22.3R3-S1; >= 22.4, < 22.4R2-S2, 22.4R3; >= 23.2, < 23.2R1-S1, 23.2R2.
Is there a fix for CVE-2023-36844?
Yes. Fixed in Juniper Networks Junos OS 20.4R3-S9, Juniper Networks Junos OS 21.1*, Juniper Networks Junos OS 21.2R3-S6, Juniper Networks Junos OS 21.3R3-S5, Juniper Networks Junos OS 21.4R3-S5, Juniper Networks Junos OS 22.1R3-S4, Juniper Networks Junos OS 22.2R3-S2, Juniper Networks Junos OS 22.3R3-S1, Juniper Networks Junos OS 22.4R2-S2, Juniper Networks Junos OS 23.2R1-S1. Vendor workaround: Disable J-Web, or limit access to only trusted hosts.
How do I check if I'm affected by CVE-2023-36844?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.