Security networkFree AntivirusAntivirus ToolsInfoVirus

CVE-2023-36845

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

Actively exploited

What is CVE-2023-36845?

The vulnerability in Juniper Junos OS on EX and SRX series devices allows an unauthenticated attacker on the network to modify an important environment variable. By sending a specifically crafted request, an attacker can change the PHPRC variable. This action alters how the PHP environment functions, which enables the attacker to inject and execute malicious code on the affected system. This security flaw is currently being actively exploited by attackers.

Administrators of these Juniper products should be concerned about this vulnerability. To address the risk, administrators must apply the security update provided by the vendor. There is no alternative mitigation mentioned, so installing the official patch is the necessary step to protect the hardware from unauthorized code execution.

Summary written with AI assistance from the sources listed on this page. Check the original sources for full technical details.

CISA description

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 added this vulnerability to its Known Exploited Vulnerabilities catalog on 13 November 2023, which means there is reliable evidence that attackers are using it in real attacks.

What to do

Install the security update or apply the mitigations published by Juniper as soon as possible. If no fix is available, follow the vendor's workaround or stop using the affected product until it can be patched. For internet-facing systems, also check for signs of compromise, because the flaw may have been used before you patched.

References

Other exploited Juniper vulnerabilities

All 8 Juniper vulnerabilities →