alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (
msg:"ET WEB_SPECIFIC_APPS Hadoop YARN ResourceManager Unauthenticated Command Execution";
flow:established,to_server;
http.uri;
content:"/ws/v1/cluster/apps"; fast_pattern;
http.request_body;
content:"|22|application-type|22 3a 22|YARN|22|";
content:"|22 3a 7b 22|commands|22 3a 7b 22|command|22 3a 22|";
pcre:"/(?:f0VM|9FT|\/RU)/R";
content:"base64";
reference:url,exploit-db.com/exploits/45025/;
classtype:attempted-user;
sid:2025840; rev:3;
metadata:attack_target Web_Server, created_at 2018_07_16, deployment Datacenter, performance_impact Low, confidence High, signature_severity Major, updated_at 2020_08_25;
)