alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Hikvision ping.php jsondata[ip] Parameter Command Injection Attempt (CVE-2023-6895)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:13;
content:"/php/ping.php"; fast_pattern;
http.request_body;
content:"jsondata";
pcre:"/^(?:\x5b|%5[bB])type(?:\x5d|%5[dD])\x3d99/R";
content:"jsondata";
pcre:"/^(?:\x5b|%5[bB])ip(?:\x5d|%5[dD])\x3d[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
reference:url,www.sentinelone.com/vulnerability-database/cve-2023-6895/;
reference:cve,2023-6895;
classtype:attempted-admin;
sid:2068367; rev:1;
metadata:affected_product HikVision, attack_target Networking_Equipment, tls_state plaintext, created_at 2026_03_20, cve CVE_2023_6895, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2026_03_20, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)