alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (
msg:"ET EXPLOIT SonicWall SMA 100 Series - Possible Heap-Based Overflow Activity (CVE-2021-20043)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"swcctn="; fast_pattern;
http.request_body;
content:"bmName="; startswith;
pcre:"/^[^&]{100,}/R";
threshold:type threshold, track by_src, count 3, seconds 60;
reference:url,research.nccgroup.com/2021/12/09/technical-advisory-sonicwall-sma-100-series-unauthenticated-file-upload-path-traversal-cve-2021-20040/;
reference:cve,2021-20043;
classtype:attempted-admin;
sid:2034897; rev:1;
metadata:created_at 2022_01_12, cve CVE_2021_20043, confidence Medium, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_01_12;
)