cybersecurity Request an audit

Actively exploited vulnerability / CVE-2023-36845

Juniper Junos OS on EX and SRX: attackers can take control of the device

This flaw in J-Web, the web management interface of Junos OS, lets an attacker on the network run code on the device without any account or password. For a business, that can mean losing control of the firewall or switch that all traffic passes through, exposing the internal network and data. It is on the lists of vulnerabilities used in real attacks kept by both CISA, the US cybersecurity agency, and ENISA, the EU cybersecurity agency.

Identifier
CVE-2023-36845 · EUVD-2023-40765
Severity
Critical (9.8/10)
On the CISA list (US)
yes, since 13 November 2023
Deadline given to US federal agencies
17 November 2023
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
91.4% (FIRST's estimate for the next 30 days)

Does it concern you?

Junos OS is the operating system of Juniper network equipment, here the EX Series switches and SRX Series firewalls. They are found at companies that run their own network or have it managed by an IT provider.

The Junos OS version is shown in the J-Web management interface, or your IT provider can tell you quickly. Affected are all versions before 20.4R3-S9, all 21.1 versions, and versions in the 21.2 to 23.2 series before Juniper's security updates, such as 21.2R3-S7, 21.4R3-S5, 22.1R3-S4, 22.2R3-S2, 22.3R3-S1, 22.4R3 or 23.2R2.

Affected products and versions

  • Juniper Junos OS
  • junos: before 20.4

What to do

Install the Junos OS update that matches your series, for example 20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S2, 22.3R2-S2 or 22.3R3-S1, 22.4R2-S1 or 22.4R3, 23.2R1-S1 or 23.2R2. If you cannot update, follow Juniper's mitigation guidance or stop using the device.

Versions that contain the fix: 20.4.

The official description

The text below is the description from the public database.

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.

Sources

Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.

Other exploited vulnerabilities in Juniper Junos OS

All exploited vulnerabilities in Juniper Junos OS

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.