An overwhelming majority of Juniper’s SRX firewalls and EX Series switches , totaling close to 12,000 devices, have been found to be vulnerable to a recently disclosed remote code execution flaw   , known as CVE-2023-36845   .
This vulnerability    , known as CVE-2023-36845   , allows an unauthenticated and remote attacker to execute arbitrary code on Juniper firewalls without creating a file on the system     . VulnCheck researchers discovered this vulnerability in internet-exposed devices and identified them as being at risk. It is a medium-severity vulnerability in the J-Web component of Junos OS , which can be exploited by manipulating certain environment variables. Approximately 80% of the affected internet-facing firewalls remain unpatched , highlighting the importance of applying the necessary fixes to mitigate potential threats   . Juniper Networks has released a patch for this vulnerability , along with three others  , in an out-of-cycle update  . Additionally, a new exploit has been discovered that only relies on CVE-2023-36845 and can be executed using a single cURL command . This exploit takes advantage of PHP’s autoprependfile and allowurlinclude options to achieve arbitrary code execution . While Juniper has not observed any successful exploits against its customers  , it has detected attempts to exploit this vulnerability in the wild. To assist in identifying vulnerable firewalls, VulnCheck has released a vulnerability scanner . Despite the availability of a patch, approximately 79% of public-facing firewalls and switches have not been updated , leaving them susceptible to potential issues such as malware deployment.
The discovery of this vulnerability in a large number of Juniper firewalls and switches highlights the need for prompt action to address the issue. With the availability of a patch, it is crucial for organizations to update their devices to mitigate potential threats. Failure to do so leaves these devices vulnerable to attacks, including the deployment of malware. The ongoing attempts to exploit this vulnerability further emphasize the importance of taking proactive measures to protect against potential security breaches.