ET WEB_SERVER Kubernetes NodeLogQuery Command Injection (CVE-2024-9042)


Query · suricata

flow:established,to_server;
http.uri;
content:"/api/v1/nodes/"; fast_pattern; startswith;
content:"/proxy/logs|3f|"; distance:0;
content:"pattern|3d|";
pcre:"/^[^&]*?(?:[\x3b\x24\x60\x7c]|\x25(?:3[bB]|24|60|7[cC]))/R";
target:dest_ip;
Raw source ET WEB_SERVER Kubernetes NodeLogQuery Command Injection (CVE-2024-9042) · 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_SERVER Kubernetes NodeLogQuery Command Injection (CVE-2024-9042)";
    flow:established,to_server;
    http.uri;
    content:"/api/v1/nodes/"; fast_pattern; startswith;
    content:"/proxy/logs|3f|"; distance:0;
    content:"pattern|3d|";
    pcre:"/^[^&]*?(?:[\x3b\x24\x60\x7c]|\x25(?:3[bB]|24|60|7[cC]))/R";
    reference:url,www.sonicwall.com/blog/understanding-and-addressing-kubernetes-command-injection-cve-2024-9042-;
    reference:cve,2024-9042;
    classtype:web-application-attack;
    sid:2066290; rev:1;
    metadata:affected_product Kubernetes, attack_target Server, tls_state TLSDecrypt, created_at 2025_12_11, cve CVE_2024_9042, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, updated_at 2025_12_11, 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.