alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (
msg:"ET EXPLOIT Possible Apache ShardingSphere RCE Attempt (CVE-2020-1947) (PoC Based)";
flow:established,to_server;
http.request_line;
content:"POST|20|/api/schema|20|HTTP/1.1";
http.request_body;
content:"ruleConfiguration"; nocase;
content:"encryptor"; nocase;
content:"|22|dataSourceConfiguration|22 3a 20 22 21 21|com|2e|sun|2e|rowset|2e|JdbcRowSetImpl|5c|n"; nocase; fast_pattern;
content:"dataSourceName:"; nocase;
content:"Object"; nocase; distance:0; within:60;
reference:cve,2020-1947;
classtype:attempted-admin;
sid:2035008; rev:2;
metadata:attack_target Server, created_at 2022_01_28, cve CVE_2020_1947, deployment Perimeter, deployment Internal, confidence Medium, signature_severity Major, tag Exploit, updated_at 2022_01_28, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
)