ET WEB_SPECIFIC_APPS Cyberpanel filemanager Command Injection Attempt (CVE-2024-51568)


Query · suricata

flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:19;
content:"/filemanager/upload";
http.cookie;
content:"csrftoken|3d|";
http.header;
content:"X-Csrftoken|3a 20|";
http.request_body;
content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|domainName|22|";
content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|completePath|22|"; distance:0; fast_pattern;
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 Cyberpanel filemanager Command Injection Attempt (CVE-2024-51568) · 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 Cyberpanel filemanager Command Injection Attempt (CVE-2024-51568)";
    flow:established,to_server;
    http.method;
    content:"POST";
    http.uri; bsize:19;
    content:"/filemanager/upload";
    http.cookie;
    content:"csrftoken|3d|";
    http.header;
    content:"X-Csrftoken|3a 20|";
    http.request_body;
    content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|domainName|22|";
    content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|completePath|22|"; distance:0; fast_pattern;
    pcre:"/^[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
    reference:cve,2024-51568;
    reference:url,dreyand.rs/code/review/2024/10/27/what-are-my-options-cyberpanel-v236-pre-auth-rce;
    classtype:attempted-admin;
    sid:2057158; rev:1;
    metadata:affected_product CyberPanel, attack_target Web_Server, tls_state TLSDecrypt, created_at 2024_10_30, cve CVE_2024_51568, deployment Perimeter, deployment Internal, deployment SSLDecrypt, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2024_10_30, 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.