Live threats

All CVEs / Juniper

CVE-2023-36845Juniper Junos OS

Unauthenticated Remote Code Execution in J-Web of Juniper Junos OS

Critical 9.8 KEV No auth neededHigh EPSS

Priority
83
CVSS 3.1
9.8
EPSS
91.4%
probability of exploitation in 30 days · percentile 100
Auth required
No
In KEV since
Nov 13, 2023
CISA deadline
Nov 17, 2023
Ransomware use
Unknown
Published
Aug 17, 2023
Updated
Jun 17, 2026
Category
Network & edge · Network appliance
Weakness (CWE)
CWE-473
SSVC (CISA)
Exploitation: active · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

A PHP external variable modification vulnerability in J-Web of Juniper Networks Junos OS on EX and SRX Series allows an unauthenticated remote attacker to execute arbitrary code. By crafting a request that sets the PHPRC variable, an attacker can modify the PHP execution environment and inject malicious code. CISA has confirmed active exploitation of this vulnerability.

Show the original NVD text

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.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

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.

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

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 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

Update Junos OS to a patched version according to the vendor advisory. Check Juniper's support portal to identify the appropriate secure version for your device series.

Vendor advisory · supportportal.juniper.net ↗

  1. Apply the vendor's security update for Junos OS.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was November 17, 2023.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected products (CPE)

VendorProductVersions
juniperjunos< 20.4
juniperjunos20.4
juniperjunos20.4
juniperjunos20.4
juniperjunos20.4
juniperjunos20.4
juniperjunos20.4
juniperjunos20.4
juniperjunos20.4
juniperjunos20.4
juniperjunos20.4
juniperjunos20.4
juniperjunos20.4
juniperjunos20.4
juniperjunos20.4
juniperjunos20.4
juniperjunos21.1
juniperjunos21.1
juniperjunos21.1
juniperjunos21.1
juniperjunos21.1
juniperjunos21.1
juniperjunos21.1
juniperjunos21.1
juniperjunos21.1
juniperjunos21.1
juniperjunos21.1
juniperjunos21.2
juniperjunos21.2
juniperjunos21.2
juniperjunos21.2
juniperjunos21.2
juniperjunos21.2
juniperjunos21.2
juniperjunos21.2
juniperjunos21.2
juniperjunos21.2
juniperjunos21.2
juniperjunos21.2
juniperjunos21.2
juniperjunos21.2
juniperjunos21.3
juniperjunos21.3
juniperjunos21.3
juniperjunos21.3
juniperjunos21.3
juniperjunos21.3
juniperjunos21.3
juniperjunos21.3
juniperjunos21.3
juniperjunos21.3
juniperjunos21.3
juniperjunos21.3
juniperjunos21.4
juniperjunos21.4
juniperjunos21.4
juniperjunos21.4
juniperjunos21.4
juniperjunos21.4
juniperjunos21.4

and 33 more in the JSON

Official sources

References

Links published by the sources. Open them with care.