ET WEB_SPECIFIC_APPS Reolink RLC Series IP Camera SetDdns Authenticated Command Injection Attempt (CVE-2021-40407, CVE-2021-40408, CVE-2021-40409)


Query · suricata

flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/cgi-bin/api.cgi|3f|cmd|3d|SetDdns"; fast_pattern; startswith;
http.request_body;
content:"|22|cmd|22|";
content:"|22|SetDdns|22 2c|"; within:20;
pcre:"/^.+\x22(?:domain|password|username)\x22\x3a[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/Rm";
target:dest_ip;
Raw source ET WEB_SPECIFIC_APPS Reolink RLC Series IP Camera SetDdns Authenticated Command Injection Attempt (CVE-2021-40407, CVE-2021-40408, CVE-2021-40409) · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http any any -> $HOME_NET any (
    msg:"ET WEB_SPECIFIC_APPS Reolink RLC Series IP Camera SetDdns Authenticated Command Injection Attempt (CVE-2021-40407, CVE-2021-40408, CVE-2021-40409)";
    flow:established,to_server;
    http.method;
    content:"POST";
    http.uri;
    content:"/cgi-bin/api.cgi|3f|cmd|3d|SetDdns"; fast_pattern; startswith;
    http.request_body;
    content:"|22|cmd|22|";
    content:"|22|SetDdns|22 2c|"; within:20;
    pcre:"/^.+\x22(?:domain|password|username)\x22\x3a[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/Rm";
    reference:url,talosintelligence.com/vulnerability_reports/TALOS-2021-1424;
    reference:cve,2021-40407;
    reference:cve,2021-40408;
    reference:cve,2021-40409;
    classtype:attempted-admin;
    sid:2059709; rev:1;
    metadata:affected_product Reolink, attack_target IoT, tls_state plaintext, created_at 2025_01_27, cve CVE_2021_40407_CVE_2021_40408_CVE_2021_40409, 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;
)

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.