alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (
msg:"ET EXPLOIT Junos OS - Unauthenticated PHPRC Environmental Variable Modification M1 (CVE-2023-36844 CVE-2023-36845)";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/webauth_operation.php";
content:"PHPRC=|2f|var|2f|tmp|2f|"; fast_pattern;
reference:url,supportportal.juniper.net/s/article/2023-08-Out-of-Cycle-Security-Bulletin-Junos-OS-SRX-Series-and-EX-Series-Multiple-vulnerabilities-in-J-Web-can-be-combined-to-allow-a-preAuth-Remote-Code-Execution;
reference:url,labs.watchtowr.com/cve-2023-36844-and-friends-rce-in-juniper-firewalls/;
reference:cve,2023-36844;
reference:cve,2023-36845;
classtype:attempted-admin;
sid:2047869; rev:1;
metadata:affected_product JunOS, attack_target Networking_Equipment, created_at 2023_09_01, cve CVE_2023_36844_CVE_2023_36845, deployment Perimeter, deployment Internal, deployment SSLDecrypt, performance_impact Low, confidence Medium, signature_severity Major, tag CISA_KEV, updated_at 2023_09_01, reviewed_at 2023_09_01;
target:dest_ip;
)