Security Resilience

CVE-2023-36844

Juniper Junos ≤ 20.4

CISA KEVActive ExploitationEUVD ExploitedPublic PoC
Published
17 August 2023
Modified
24 October 2025
KEV Added
13 November 2023
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS Score 0.90 99.8th percentile
Risk Priority 75 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-36844 is a medium-severity PHP External Variable Modification (CWE-473) vulnerability in Juniper Junos. Its CVSS base score is 5.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Junk Data (T1001.001); ranked in the top 0.2% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2023-36844 is a PHP External Variable Modification vulnerability in the J-Web interface of Juniper Networks Junos OS on EX Series switches. It enables an unauthenticated network attacker to control selected PHP environment variables through a crafted request, resulting in partial loss of integrity that may facilitate chaining with other issues. The flaw affects all versions prior to 20.4R3-S9 as well as multiple later trains up to 23.2R2, including 21.1R1 and subsequent releases before the listed fixed releases in each branch.

An unauthenticated attacker with network access can submit specially formed requests to alter important environment variables. This grants limited integrity impact without requiring credentials or user interaction, potentially serving as a stepping stone to further exploitation depending on the surrounding environment.

Juniper's advisory JSA72300 details the affected releases and corresponding fixes, while CISA has added the CVE to its Known Exploited Vulnerabilities catalog. Operators should upgrade to one of the fixed versions such as 20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S2, 22.3R3-S1, 22.4R3, or 23.2R2 and later.

Public exploit code referencing remote code execution on EX Series devices has been posted to Packet Storm, and the vulnerability maintains a high EPSS score near 0.94.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)
KEV Date Added
13 November 2023

Related Threats

Threat-Actor AttributionAI

Apple Inc. (Masimo pulse-oximetry trade-secret 2020-2024)
2023 Top Routinely Exploited Vulnerabilities | CISA
Microsoft Corp. (Salesforce / Slack engineer recruitment claims)
2023 Top Routinely Exploited Vulnerabilities | CISA
AnonOps
2023 Top Routinely Exploited Vulnerabilities | CISA
Clop
2023 Top Routinely Exploited Vulnerabilities | CISA

MITRE ATT&CK Enterprise Techniques

T1001.001 Junk Data Command And Control
Adversaries may add junk data to protocols used for command and control to make detection more difficult.
T1003.001 LSASS Memory Credential Access
Adversaries may attempt to access credential material stored in the process memory of the Local Security Authority Subsystem Service (LSASS).
T1003.002 Security Account Manager Credential Access
Adversaries may attempt to extract credential material from the Security Account Manager (SAM) database either through in-memory techniques or through the Windows Registry where the SAM database is stored.
T1003.003 NTDS Credential Access
Adversaries may attempt to access or create a copy of the Active Directory domain database in order to steal credential information, as well as obtain other information about domain members such as devices, users, and access rights.
T1003.004 LSA Secrets Credential Access
Adversaries with SYSTEM access to a host may attempt to access Local Security Authority (LSA) secrets, which can contain a variety of different credential materials, such as credentials for service accounts.
T1003.005 Cached Domain Credentials Credential Access
Adversaries may attempt to access cached domain credentials used to allow authentication to occur in the event a domain controller is unavailable.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-36847Same product: Juniper Ex2200both on KEV
CVE-2023-36845Same product: Juniper Junosboth on KEV
CVE-2023-36851Same product: Juniper Ex2200both on KEV
CVE-2023-36846Same product: Juniper Junosboth on KEV
CVE-2024-21620Same product: Juniper Ex2200
CVE-2024-21619Same product: Juniper Ex2200
CVE-2020-1631Same product: Juniper Junosboth on KEV
CVE-2024-39565Same product: Juniper Ex2300
CVE-2024-21595Same product: Juniper Ex4400
CVE-2023-36843Same product: Juniper Junos

Affected Assets

juniper
junos
20.4, 21.1, 21.2, 21.3, 21.4 · ≤ 20.4

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.2.4
  • V15.3.7

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-01 partial match
blocks

Secure PHP configuration (e.g., register_globals=off) directly blocks external variable injection.

PR.PS-06 partial match
blocks

Secure SDLC practices include input validation and safe variable handling that prevent this exact weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

blocks

Secure development lifecycle mandates input validation and variable handling rules that directly prevent external variable tampering.

blocks

A.8.26 only requires that security requirements (including resilience against SQL injection etc.) be identified and specified during development or acquisition; it does not itself enforce, implement or otherwise stop external variable modification from being exploitable.

prevents

Secure coding standards require disabling register_globals and sanitizing all external inputs, eliminating the root cause of CWE-473.

finds

Security testing can detect variable-injection flaws but does not itself implement the preventive controls.

References