Skip to content
TrackCVE
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2023-36845

Junos OS: EX and SRX Series: A PHP vulnerability in J-Web allows an unauthenticated to control an important environment variable

Critical9.8Known exploitedPublic exploitEPSS 95.1%
Published
Updated
Reserved
Assigned by
juniper

Description

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.

Exploited in the wild

CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Juniper Junos OS EX Series and SRX Series PHP External Variable Modification Vulnerability.

Added
13 Nov 2023
Fix due (US federal)
17 Nov 2023
Used by ransomware
Not known

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Public exploit

An exploit or proof of concept is public: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: it is being exploited.

Timeline

  1. ID reserved

    By juniper

  2. · 51 days later

    Published

  3. · 3 months later

    Added to CISA KEV

    Known exploited in the wild

  4. · 24 months later

    Record updated

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

Scores

CVSS scores of CVE-2023-36845, by who scored it
Scored byCVSSScoreVector
juniperCNA (assigner)3.1Critical9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVDNVD · Analyzed3.1Critical9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation in 30 days)
95.1% · top 0.1% of all CVEs (7 Nov 2026)
CISA SSVC
Exploitation: active · Automatable: yes · Technical impact: total
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.

Weakness

Affected products

  • Juniper Networks · Junos OS

    • affected < 20.4R3-S9
    • affected 21.1 – < 21.1*
    • affected 21.2 – < 21.2R3-S7
    • affected 21.3 – < 21.3R3-S5
    • affected 21.4 – < 21.4R3-S5
    • affected 22.1 – < 22.1R3-S4
    • affected 22.2 – < 22.2R3-S2
    • affected 22.3 – < 22.3R2-S2, 22.3R3-S1
    • affected 22.4 – < 22.4R2-S1, 22.4R3
    • affected 23,2 – < 23.2R1-S1, 23.2R2

What to do

Solution: The following software releases have been updated to resolve this specific issue: 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*, 23.2R1-S1, 23.2R2*, 23.4R1*, and all subsequent releases. *Pending Publication

Workaround: Disable J-Web, or limit access to only trusted hosts.

Exploitation: Juniper SIRT is not aware of any malicious exploitation of this vulnerability.

References (4)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2023-36845 badge
[![CVE-2023-36845](https://trackcve.app/badge/CVE-2023-36845.svg)](https://trackcve.app/cve/CVE-2023-36845)

Record last updated .