Skip to content
skopnix

CVE-2023-36845 · Published 17 Aug 2023

Juniper Junos OS

On CISA's KEV list 88 days after disclosure; 28 public exploits.

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.

CISA required action (federal due date 17 Nov 2023): Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Signals

KEV, exploited in the wild
yes, added 13 Nov 2023, due 17 Nov 2023
EPSS, 30-day forecast
95%, 100th percentile (as of 18 Nov 2026)
CVSS, NVD
not stated
Internet exposure
not stated

KEV is an observation, EPSS a forecast; KEV outranks it. No score published by NVD.

Timeline 17 Aug 2023 to today

54 days from the Metasploit module to the KEV listing
20252026Disclosed 17 Aug 2023First PoC 16 Sep 2023Metasploit 20 Sep 2023KEV 13 Nov 2023today
  1. Disclosed
  2. First PoC+30 d
  3. Metasploit+4 d
  4. KEV+54 d

54 days from the Metasploit module to the KEV listing

Indicators none tied yet

No threat feed has tied an indicator to this CVE yet. Checked every six hours.

On the wire 0 dispatches

No dispatch on our wire has named this CVE yet.

Public exploit code 28 known · links only

GitHub PoCs 27Metasploit 1Exploit-DB 0

GitHub PoCs, by trust then stars27

  1. created 9 Nov 2026

  2. created 11 Nov 2026

  3. kopfjager007/CVE-2023-36845Trust ok 1000 stars

    Juniper JunOS J-Web PHP external variable modification (CVE-2023-36845) exploit.

    created 24 Nov 2025

  4. A go-exploit to scan for Juniper firewalls vulnerable to CVE-2023-36845

    created 16 Sep 2023

  5. kljunowsky/CVE-2023-36845Not checked55 stars

    Juniper Firewalls CVE-2023-36845 - RCE

    created 26 Sep 2023

  6. Simple Automation script for juniper cve-2023-36845

    created 29 Jan 2024

  7. ak1t4/CVE-2023-36845Not checked5 stars

    CVES

    created 13 Feb 2024

  8. CVE-2023-36845 PoC script automates the PoC for CVE-2023-36845 targeting Juniper Networks Junos OS's J-Web component on EX and SRX Series devices. It exploits a PHP flaw, allowing remote modification of the PHPRC variable. Successful exploitation can lead to code injection and execution.

    created 2 Oct 2023

Show 19 more
  1. zaenhaxor/CVE-2023-36845Not checked4 stars

    CVE-2023-36845 - Juniper Firewall Remote code execution (RCE)

    created 29 Sep 2023

  2. This Python script automates the Proof of Concept (PoC) for CVE-2023-36845, a vulnerability impacting Juniper Networks Junos OS on EX and SRX Series devices. The vulnerability resides in the J-Web component, allowing remote manipulation of the PHPRC variable, potentially leading to code injection.

    created 14 Feb 2024

  3. CVE-2023-36845 – Unauthenticated Juniper Remote Code Execution Vulnerability Scanner

    created 18 Feb 2024

  4. created 27 Sep 2023

  5. Juniper RCE (Remote Code Execution) CVE-2023-36845 is a vulnerability that has been identified within Juniper's software. This particular flaw allows for remote code execution, meaning an attacker could run arbitrary code on a system without needing physical access to the device.

    created 30 Jan 2024

  6. simrotion13/CVE-2023-36845Not checked1 stars

    created 1 Oct 2023

  7. created 3 Feb 2024

  8. created 1 Feb 2024

  9. ifconfig-me/CVE-2023-36845Not checked0 stars

    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.

    created 17 Feb 2024

  10. iveresk/CVE-2023-36845-6-Not checked0 stars

    CVE-2023-36845 и CVE-2023-36846 Juniper Junos OS J-Web RCE

    created 13 Feb 2024

  11. Ansible Playbook for CVE-2023-36845(Juniper Networks Junos OS 远程代码执行漏洞)

    created 15 Nov 2023

  12. first seen by skopnix 18 Oct 2026

  13. first seen by skopnix 18 Oct 2026

  14. first seen by skopnix 18 Oct 2026

  15. first seen by skopnix 18 Oct 2026

  16. first seen by skopnix 18 Oct 2026

  17. first seen by skopnix 18 Oct 2026

  18. first seen by skopnix 18 Oct 2026

  19. first seen by skopnix 18 Oct 2026

Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.

Metasploit1

  1. This module exploits a PHP environment variable manipulation vulnerability affecting Juniper SRX firewalls and EX switches. The affected Juniper devices run FreeBSD and every FreeBSD process can access their stdin by opening /dev/fd/0. The exploit also makes use of two useful PHP features. The first being 'auto_prepend_file' which causes the provided file to be added using the 'require' function. The second PHP function is 'allow_url_include' which allows

    ruby · first seen by skopnix 18 Oct 2026

Nuclei detection templates1

  1. 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 control certain environments variables to execute remote commands

    yaml · first seen by skopnix 18 Oct 2026

A Nuclei template is a scanner check that detects the flaw. It is not an exploit and is not counted as one.

References

Watch this one?

KEV additions reach Telegram and the KEV-only RSS as they land.

Telegram ↗KEV RSSAPIStack check