alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS HPE Aruba Instant Authenticated File Write via Web UI (cp-upload) (CVE-2021-25158)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/swarm.cgi"; fast_pattern; startswith;
http.request_body;
content:"name|3d 22|upload_id|22|";
content:"|2e 2e 2f|"; distance:0;
reference:url,alephsecurity.com/vulns/aleph-2021007;
reference:cve,2021-25158;
classtype:web-application-attack;
sid:2062918; rev:1;
metadata:affected_product HPE_Aruba, attack_target Server, created_at 2025_06_12, cve CVE_2021_25158, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, tag Exploit, updated_at 2025_06_12, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)