Security Resilience

CVE-2023-36845

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 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.95 99.9th percentile
Risk Priority 97 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-36845 is a critical-severity PHP External Variable Modification (CWE-473) vulnerability in Juniper Junos. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Credential Access (T1212); ranked in the top 0.1% 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-36845 is a PHP External Variable Modification vulnerability in the J-Web interface of Juniper Networks Junos OS on EX Series and SRX Series platforms. An unauthenticated network attacker can supply a crafted request that sets the PHPRC variable, altering the PHP execution environment to permit injection and execution of arbitrary code. The flaw affects all versions prior to 20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S2, 22.3R2-S2/22.3R3-S1, 22.4R2-S1/22.4R3, and 23.2R1-S1/23.2R2, as well as 21.1R1 and later releases before the listed fixes.

An unauthenticated remote attacker can exploit the issue over the network to achieve full remote code execution with no user interaction or credentials required, corresponding to the CVSS 9.8 rating.

The official Juniper advisory JSA72300 directs customers to install the fixed releases enumerated above; no other workarounds are specified in the reference materials.

Public exploit code for the vulnerability has been posted to Packet Storm, and the EPSS score has reached a peak of 0.9719 with a current value of 0.9435, indicating sustained exploitation interest after disclosure.

EU & UK References

Vulnerability Data

A PHP External Variable Modification vulnerability in J-Web of Juniper Networks Junos OS on EX Series and SRX Series allows an unauthenticated, network-based attacker to remotely execute code. Using a crafted request which sets the variable PHPRC an attacker is…

more

able to modify the PHP execution environment allowing the injection und execution of code. This issue affects Juniper Networks Junos OS on EX Series and SRX 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.3R2-S2, 22.3R3-S1; * 22.4 versions prior to 22.4R2-S1, 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

MITRE ATT&CK v20.0

T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1584.004 Server Resource Development
Adversaries may compromise third-party servers that can be used during targeting.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-36846Same product: Juniper Junosboth on KEV
CVE-2023-36844Same product: Juniper Junosboth on KEV
CVE-2023-22411Same product: Juniper Junos
CVE-2024-39529Same product: Juniper Junos
CVE-2024-21606Same product: Juniper Junos
CVE-2023-36838Same product: Juniper Junos
CVE-2023-22417Same product: Juniper Junos
CVE-2023-36831Same product: Juniper Junos
CVE-2023-28968Same product: Juniper Junos
CVE-2023-36851Same product: Juniper Junosboth on KEV

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)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 full match
blocks

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

PR.PS-01 mostly match
blocks

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

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

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

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

prevents

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

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software implementation weaknesses in delivered PHP code the way those practices do, at the same `partial` rung the owner set for A.8.30 -> CWE-134.

References