Skip to content
Server Security Center
KEVmedium5.3

CVE-2023-36844: Juniper Junos OS EX Series PHP External Variable Modification

Juniper Junos OS · listed in the CISA catalog of actively exploited vulnerabilities since 2023-11-13.

CVSS v3.1 (CVE record)
5.3
medium
EPSS (exploit probability, 30 days)
90%
higher than 99.7% of all CVEs
Added to CISA KEV
2023-11-13
US federal due date 2023-11-17
Automatable (CISA SSVC)
yes
technical impact: total

CVE-2023-36844 explained

CVE-2023-36844 is a PHP External Variable Modification flaw in the J-Web interface of Juniper Networks Junos OS on EX Series switches. An unauthenticated attacker on the network can modify certain PHP environment variables with a crafted request. CISA lists it as known exploited, and the flaw may be chained with other vulnerabilities.

Impact

An unauthenticated, network-based attacker can change important PHP environment variables in J-Web without user interaction. On its own this causes a partial loss of integrity, but it may allow chaining to other vulnerabilities. CISA rates it as automatable with total technical impact, so attackers can exploit it at scale and may gain full control of the affected component. CISA lists it as known exploited; ransomware use is unknown.

Who is affected

Junos OS on EX Series is affected in versions before 20.4R3-S9 and the whole 21.1.x branch. It is also affected in these branches before the fixed release: 21.2 (before 21.2R3-S6), 21.3 (21.3R3-S5), 21.4 (21.4R3-S5), 22.1 (22.1R3-S4), 22.2 (22.2R3-S2) and 22.3 (22.3R3-S1). Two more affected items appear on the page. Fixed versions are 20.4R3-S9, 21.2R3-S6, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S2, 22.3R3-S1, 22.4R2-S2, 22.4R3, 23.2R1-S1 and 23.2R2. The record's description gives 21.2R3-S7 for the 21.2 branch.

Written with AI from the data on this page and checked against it automatically.

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

CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • Juniper Networks Junos OSEX Series
    Affected
    • < 20.4R3-S9
    • 21.1.x
    • ≥ 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.4R3
    • ≥ 23.2, < 23.2R2
    Fixed in
    • 20.4R3-S9
    • 21.2R3-S6
    • 21.3R3-S5
    • 21.4R3-S5
    • 22.1R3-S4
    • 22.2R3-S2
    • 22.3R3-S1
    • 22.4R2-S2
    • 22.4R3
    • 23.2R1-S1
    • 23.2R2

How to fix it

  • Update to a fixed version: 20.4R3-S9, 21.2R3-S6, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S2, 22.3R3-S1, 22.4R2-S2 and 3 more (see the table).
  • Vendor advisory: supportportal.juniper.net/JSA72300
  • CISA's deadline for US federal agencies: 2023-11-17 (passed) – a useful benchmark for everyone else, too.

Vendor solution: The following software releases have been updated to resolve this specific issue: 20.4R3-S9*, 21.2R3-S7*, 21.3R3-S5*, 21.4R3-S5*, 22.1R3-S4*, 22.2R3-S2, 22.3R3-S1*, 22.4R2-S2*, 22.4R3*, 23.2R1-S1, 23.2R2*, 23.4R1*, and all subsequent releases. *Pending Publication

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

What to do

  1. Upgrade EX Series devices to a fixed Junos OS release for your branch, such as 22.4R3, 23.2R2 or 21.4R3-S5.
  2. On the 21.1.x branch, which has no listed fix, move to a supported branch with a fixed release.
  3. Apply the mitigations in the Juniper advisory, as CISA's required action states, if you cannot upgrade immediately.
  4. Restrict J-Web access to trusted management networks and keep it off the internet.
  5. Check exposed EX Series devices for signs of compromise, because the flaw is known to be exploited.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
Yes – attackers can automate it at scale
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-473 PHP External Variable Modification

Questions about CVE-2023-36844

Why is this urgent if the CVSS severity is medium?
CISA lists it as known exploited. It also rates it automatable with total technical impact. The flaw may be chained with other vulnerabilities, so the real risk is higher than the base score suggests.
Which devices are affected?
Juniper Networks Junos OS on EX Series. The flaw is in the J-Web interface, and an attacker needs no authentication to exploit it.
What if I cannot upgrade right away?
CISA requires applying mitigations per vendor instructions, or discontinuing use of the product if mitigations are unavailable. Follow the Juniper advisory and limit network access to J-Web.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.