ET WEB_SPECIFIC_APPS Reolink RLC Series IP Camera SetDevName Authenticated Command Injection Attempt (CVE-2021-40412)


Query · suricata

flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/cgi-bin/api.cgi|3f|cmd|3d|SetDevName"; fast_pattern; startswith;
http.request_body;
content:"|22|cmd|22|";
content:"|22|SetDevName|22 2c|"; within:20;
content:"|22|name|22 3a|"; distance:0;
pcre:"/^[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
target:dest_ip;
Raw source ET WEB_SPECIFIC_APPS Reolink RLC Series IP Camera SetDevName Authenticated Command Injection Attempt (CVE-2021-40412) · 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 SetDevName Authenticated Command Injection Attempt (CVE-2021-40412)";
    flow:established,to_server;
    http.method;
    content:"POST";
    http.uri;
    content:"/cgi-bin/api.cgi|3f|cmd|3d|SetDevName"; fast_pattern; startswith;
    http.request_body;
    content:"|22|cmd|22|";
    content:"|22|SetDevName|22 2c|"; within:20;
    content:"|22|name|22 3a|"; distance:0;
    pcre:"/^[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
    reference:url,talosintelligence.com/vulnerability_reports/TALOS-2021-1424;
    reference:cve,2021-40412;
    classtype:attempted-admin;
    sid:2059717; rev:1;
    metadata:affected_product Reolink, attack_target IoT, created_at 2025_01_27, cve CVE_2021_40412, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_01_27;
    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.