ET WEB_SPECIFIC_APPS Draytek mainfunction.cgi cvmcfgupload Command Injection Attempt (CVE-2020-15415)


Query · suricata

flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/cgi-bin/mainfunction.cgi/cvmcfgupload"; fast_pattern;
http.request_body;
content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|";
content:"filename|3d 22|"; 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 Draytek mainfunction.cgi cvmcfgupload Command Injection Attempt (CVE-2020-15415) · 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 Draytek mainfunction.cgi cvmcfgupload Command Injection Attempt (CVE-2020-15415)";
    flow:established,to_server;
    http.method;
    content:"POST";
    http.uri;
    content:"/cgi-bin/mainfunction.cgi/cvmcfgupload"; fast_pattern;
    http.request_body;
    content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|";
    content:"filename|3d 22|"; distance:0;
    pcre:"/^[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
    reference:cve,2020-15415;
    reference:url,github.com/CLP-team/Vigor-Commond-Injection;
    classtype:attempted-admin;
    sid:2058347; rev:1;
    metadata:affected_product DrayTek, attack_target Networking_Equipment, tls_state plaintext, created_at 2024_12_17, cve CVE_2020_15415, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2024_12_17, 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.