CVE-2023-36844

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

Published 17 Aug 2023 Updated 21 Oct 2025 CNA: juniper

Known exploited

CISA added this CVE to its list of known exploited vulnerabilities on 13 Nov 2023. US federal agencies had to act by 17 Nov 2023.

Name
Juniper Junos OS EX Series PHP External Variable Modification Vulnerability
Required action
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Ransomware
Use in ransomware campaigns is not known
Notes
https://supportportal.juniper.net/s/article/2023-08-Out-of-Cycle-Security-Bulletin-Junos-OS-SRX-Series-and-EX-Series-Multiple-vulnerabilities-in-J-Web-can-be-combined-to-allow-a-preAuth-Remote-Code-Execution?language=en_US https://nvd.nist.gov/vuln/detail/CVE-2023-36844

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.

Severity (CVSS)

5.3 medium CVSS 3.1 from juniper (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 89.9%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.7% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 15 Nov 2023):

Exploitation
active: CISA has reliable evidence of exploitation in the wild
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-473 PHP External Variable Modification

Affected products

As the CNA lists them.

ProductVersions
Junos OS
affected before 20.4R3-S9
affected from 21.1, before 21.1*
affected from 21.2, before 21.2R3-S6
affected from 21.3, before 21.3R3-S5
affected from 21.4, before 21.4R3-S5
affected from 22.1, before 22.1R3-S4
affected from 22.2, before 22.2R3-S2
affected from 22.3, before 22.3R3-S1
affected from 22.4, before 22.4R2-S2, 22.4R3
affected from 23.2, before 23.2R1-S1, 23.2R2
Other versions: unaffected

Is my server affected?

This CVE is in Junos OS of Juniper Networks, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Other references

Source: the record CVE-2023-36844 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.