alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS IBM Aspera Faspex Pre-Auth RCE Attempt (CVE-2022-47986)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:42;
content:"/aspera/faspex/package_relay/relay_package"; fast_pattern;
http.request_body;
content:"|22|package_file_list|22 3a|";
content:"socket|3a 20 26|1|20 21|ruby|2f|object|3a|PrettyPrint"; distance:0;
content:"method_id|3a 20 3a|eval"; distance:0;
content:"newline|3a 20|"; within:30;
content:"|22|throw|20|"; within:20;
pcre:"/^[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
reference:cve,2022-47986;
reference:url,www.assetnote.io/resources/research/pre-auth-rce-in-aspera-faspex-case-guide-for-auditing-ruby-on-rails;
classtype:attempted-admin;
sid:2057137; rev:1;
metadata:affected_product IBM_Aspera_Faspex, attack_target Web_Server, tls_state TLSDecrypt, created_at 2024_10_29, cve CVE_2022_47986, deployment Perimeter, deployment Internal, deployment SSLDecrypt, performance_impact Low, confidence High, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2024_10_29, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
)