CVE Watchtower

CVE-2023-36845Juniper Networks Junos OS

NVD

Vulnerability Summary

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 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.
Severity Level
CRITICAL(9.8)
Published Date
Aug 17, 2023
Last Modified
Oct 21, 2025
PoC
Available(Metasploit, Nuclei)
Exploitation Status
ACTIVE
Root Weakness (CWE)
See the MITRE CWE entry for the full definition of this weakness.
CVSS v3.1 Base Metrics — Score 9.8 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Juniper Networks Junos OS < 20.4R3-S9
  • Juniper Networks Junos OS >= 21.1 and < 21.1*
  • Juniper Networks Junos OS >= 21.2 and < 21.2R3-S7
  • Juniper Networks Junos OS >= 21.3 and < 21.3R3-S5
  • Juniper Networks Junos OS >= 21.4 and < 21.4R3-S5
  • Juniper Networks Junos OS >= 22.1 and < 22.1R3-S4
  • Juniper Networks Junos OS >= 22.2 and < 22.2R3-S2
  • Juniper Networks Junos OS >= 22.3 and < 22.3R2-S2, 22.3R3-S1
  • Juniper Networks Junos OS >= 22.4 and < 22.4R2-S1, 22.4R3
  • Juniper Networks Junos OS >= 23,2 and < 23.2R1-S1, 23.2R2
Patched Versions
  • Juniper Networks Junos OS 20.4R3-S9
  • Juniper Networks Junos OS 21.1*
  • Juniper Networks Junos OS 21.2R3-S7
  • 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.3R2-S2, 22.3R3-S1
  • Juniper Networks Junos OS 22.4R2-S1, 22.4R3
  • Juniper Networks Junos OS 23.2R1-S1, 23.2R2

What to do

Patch now. CISA lists this flaw as exploited in the wild and set a federal remediation deadline of Nov 17, 2023.

  1. Check whether you run Juniper Networks Junos OS and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. Review logs and exposed services for signs of earlier compromise.

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

CISA KEV Status

Listed in Known Exploited Vulnerabilities
Added: Nov 13, 2023
Remediation due: Nov 17, 2023 (deadline passed)

Timeline

  • Aug 17, 2023Published
  • Nov 13, 2023Added to CISA KEV catalog
  • Nov 17, 2023KEV remediation due date
  • Oct 21, 2025Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Juniper CVEsYou are reading CVE-2023-36845. Get an email when KEV listings, exploits or new CVEs match your stack.
Notify me about Juniper CVEs

More Juniper Networks Junos OS CVEs

Data last checked: Nov 20, 2026 10:08 UTC