alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET EXPLOIT FCM-MB40 Attempted Remote Command Execution as Root";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/cgi-bin/camctrl_save_profile.cgi"; depth:33; fast_pattern;
content:"num="; distance:0;
content:"name="; distance:0;
content:"a|20|-e|20|s|2f 5e|"; distance:0;
content:"|20 2e 2e|/cgi-bin/ddns.cgi|20|"; distance:0;
content:"&save=profile"; distance:0;
reference:url,xor.cat/2019/06/19/fortinet-forticam-vulns/;
classtype:attempted-admin;
sid:2027513; rev:3;
metadata:attack_target IoT, created_at 2019_06_24, deployment Perimeter, performance_impact Low, confidence Medium, signature_severity Major, updated_at 2020_08_31;
)