Security Digest · Vulnerability record · Known exploited

CVE-2023-36845: Juniper Junos OS EX Series and SRX Series PHP External Variable Modification Vulnerability

Exploited in the wild (CISA KEV). 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.

CISA KEV · added 2023-11-13 CVSS 9.8 Critical EPSS 95.1% · p99.9

Should you act?

Exploited: patch now if you run it

CISA has confirmed exploitation in the wild. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Yes, if you run Juniper Junos OS. CISA added this CVE to its Known Exploited Vulnerabilities catalog on 2023-11-13, which means there is reliable evidence of exploitation in the wild. US federal agencies must remediate by 2023-11-17; treat that as the outer limit, not the target.
  • EPSS 95.1%, percentile 99.9: FIRST’s model estimates a 95.1% chance of exploitation activity in the next 30 days, higher than 99.9% of all scored CVEs (very high). EPSS is a probability, not a verdict.
  • Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.

What it is

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.

CISA’s summary

Juniper Junos OS on EX Series and SRX Series contains a PHP external variable modification vulnerability that allows an unauthenticated, network-based attacker to control an important environment variable. 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.

Weakness type: CWE-473.

Product: Juniper Junos OS · Assigned by: juniper · Published: 2023-08-17

Affected and fixed versions

VendorProductAffected versions (per CVE record)
Juniper NetworksJunos OS< 20.4R3-S9, 21.1 < 21.1*, 21.2 < 21.2R3-S7, 21.3 < 21.3R3-S5, 21.4 < 21.4R3-S5, 22.1 < 22.1R3-S4, 22.2 < 22.2R3-S2, 22.3 < 22.3R2-S2, 22.3R3-S1, 22.4 < 22.4R2-S1, 22.4R3, 23,2 < 23.2R1-S1, 23.2R2

Severity scores

Scored byCVSSScoreVector
juniper3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Privileges required: none (no login)
  • User interaction: none
  • Scope: unchanged

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: added 2023-11-13; federal due date 2023-11-17. Known ransomware use: Unknown.
  • CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
  • CISA SSVC assessment: exploitation active, automatable yes, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 95.07% probability of exploitation activity in the next 30 days; percentile 99.9.

Timeline

  • — CVE record published by juniper
  • — Added to CISA’s Known Exploited Vulnerabilities catalog
  • — CISA remediation deadline for US federal agencies
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vendor and project advisories, patches

  1. supportportal.juniper.net supportportal.juniper.net
  2. Listed in CISA KEV notes (supportportal.juniper.net) supportportal.juniper.net

Vulnerability records

  1. CVE.org record CVE-2023-36845 cve.org
  2. NVD entry CVE-2023-36845 nvd.nist.gov

Government

  1. CISA Known Exploited Vulnerabilities catalog entry cisa.gov

Other references from the CVE record and advisory

  1. packetstormsecurity.com packetstormsecurity.com
  2. packetstormsecurity.com packetstormsecurity.com

All exploited Juniper vulnerabilities · Today’s Security Digest