alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Cockpit Authenticated Arbitrary PHP File Upload (CVE-2025-1025)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:14;
content:"/assets/upload"; fast_pattern;
http.request_body;
content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|files|5b 5d 22 3b 20|filename|3d 22|";
pcre:"/^.*?\x2e(?:php|phtml|phar)/R";
reference:url,github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-1025.yaml;
reference:cve,2025-1025;
classtype:attempted-admin;
sid:2060780; rev:1;
metadata:affected_product Cockpit, attack_target Web_Server, tls_state plaintext, created_at 2025_03_11, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_03_11, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)