alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET EXPLOIT FortiOS SSL VPN - Improper Authorization Vulnerability (CVE-2018-13382)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/remote/logincheck"; depth:18; fast_pattern; endswith;
http.request_body;
content:"ajax=1";
content:"&username=";
content:"&credential=";
content:"&magic=";
reference:cve,CVE-2018-13382;
reference:url,github.com/milo2012/CVE-2018-13382/blob/master/CVE-2018-13382.py;
reference:url,blog.orange.tw/2019/08/attacking-ssl-vpn-part-2-breaking-the-fortigate-ssl-vpn.html;
classtype:attempted-admin;
sid:2027885; rev:4;
metadata:affected_product Fortigate, attack_target Networking_Equipment, created_at 2019_08_14, deployment Perimeter, deployment SSLDecrypt, performance_impact Low, signature_severity Critical, tag CISA_KEV, updated_at 2020_09_17;
)