# CVE-2023-36844: Junos OS: EX Series: A PHP vulnerability in J-Web allows an unauthenticated attacker to control important environment variables

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- **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
- **Exploited in the wild:** Yes: in CISA KEV since 2023-11-13; federal due date 2023-11-17
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 52.38% (percentile 99, 2026-11-26)
- **CWE:** CWE-473
- **Published:** 2023-08-17T19:17:47.904Z
- **Modified:** 2026-06-17T06:07:12.573Z

## 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

## 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

- 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)

## Mitigation

- Vendor workaround: Disable J-Web, or limit access to only trusted hosts.

## 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 a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://supportportal.juniper.net/JSA72300>
- exploit: <http://packetstormsecurity.com/files/174865/Juniper-SRX-Firewall-EX-Switch-Remote-Code-Execution.html>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-36844>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-36844>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2023-36844> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-36844>
