ET WEB_SERVER Successful FortiOS Auth Bypass Attempt - SSH Key Upload (CVE-2022-40684)


Query · suricata

flow:established,to_client;
flowbits:isset,ET.CVE-2022-40684;
http.response_body;
content:"SSH key is good"; nocase; fast_pattern;
target:src_ip;

Rule dependencies

Higher-order rule. It fires on other rules' alerts, not on raw events, so it cannot fire on its own. Deploy the rules it depends on too.

Depends on

Raw source ET WEB_SERVER Successful FortiOS Auth Bypass Attempt - SSH Key Upload (CVE-2022-40684) · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http [$HOME_NET,$HTTP_SERVERS] any -> $EXTERNAL_NET any (
    msg:"ET WEB_SERVER Successful FortiOS Auth Bypass Attempt - SSH Key Upload (CVE-2022-40684)";
    flow:established,to_client;
    flowbits:isset,ET.CVE-2022-40684;
    http.response_body;
    content:"SSH key is good"; nocase; fast_pattern;
    reference:url,www.horizon3.ai/fortios-fortiproxy-and-fortiswitchmanager-authentication-bypass-technical-deep-dive-cve-2022-40684/;
    reference:url,github.com/horizon3ai/CVE-2022-40684/blob/master/CVE-2022-40684.py;
    reference:cve,2022-40684;
    classtype:successful-admin;
    sid:2039419; rev:1;
    metadata:affected_product Web_Server_Applications, affected_product Fortigate, attack_target Server, created_at 2022_10_17, cve CVE_2022_40684, deployment Perimeter, deployment SSLDecrypt, confidence High, signature_severity Critical, tag CISA_KEV, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_10_20;
    target:src_ip;
)

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.