alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Reolink RLC Series IP Camera TestEmail Authenticated Command Injection Attempt (CVE-2019-11001)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/cgi-bin/api.cgi|3f|cmd|3d|TestEmail"; fast_pattern; startswith;
http.request_body;
content:"|22|cmd|22|";
content:"|22|TestEmail|22 2c|"; within:20;
content:"|22|addr"; distance:0;
pcre:"/^[1-3]\x22\x3a[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
reference:url,github.com/advisories/GHSA-73c7-5g37-cmq7;
reference:url,github.com/mcw0/PoC/blob/master/Reolink-IPC-RCE.py;
reference:cve,2019-11001;
classtype:attempted-admin;
sid:2059683; rev:1;
metadata:affected_product Reolink, attack_target IoT, tls_state plaintext, created_at 2025_01_27, cve CVE_2019_11001, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2025_01_27, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)