Skip to content

Juniper · Junos OS

CVE-2023-36845

Juniper Junos OS EX Series and SRX Series PHP External Variable Modification Vulnerability

Actively exploitedAdded by CISA 13 November 2023

What it is

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.

Am I affected?

Only if you run Juniper Junos OS, or a service built on it, in a version the vendor lists as affected. The vendor's advisory in the references gives the affected and fixed versions.

CISA adds a vulnerability to this list only when there is reliable evidence of attacks using it, so treat it as urgent if you run an affected version.

What to do

  1. Find out whether you run Junos OS, and which version, including on hosting or services you don't manage day to day.
  2. Apply the vendor's update or mitigation from the advisory below. If there is none yet, follow the vendor's workaround, or take the product off the internet until it's fixed.
  3. Because this is being exploited, check the system for signs it was already compromised before you patched: unknown accounts, changed files, and unusual outbound connections.

CISA's required action

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

US federal agencies must act by 17 November 2023.

References

Check your own site

A free scan checks your site's HTTPS, headers, cookies, exposed keys and malware signs, with the fix for each issue.

Scan a website