Security advisories

Actively Exploited Fortinet Authentication Bypass Vulnerability - CVE-2022-40684

October 13, 2022 | 2 MINS READ

Speak With A Security Expert Now

TALK TO AN EXPERT

THE THREAT

On October 10th, Fortinet publicly disclosed a critical vulnerability impacting multiple Fortinet products; the vulnerability was confirmed to be under active exploitation at the time of disclosure. The vulnerability is tracked as CVE-2022-40684 (CVSS: 9.6); it is an authentication bypass on administrative interface vulnerability that impacts FortiOS, FortiProxy, and FortiSwitchManager. Successfully exploiting CVE-2022-40684 would allow a remote and unauthenticated threat actor to log into vulnerable on-premises management instances via specially crafted HTTP or HTTPS requests.

On October 13th, a technical report on the vulnerability and functional Proof-of-Concept (POC) exploit code were released. The eSentire Threat Intelligence team assesses with high confidence that the publication of this information will increase real-world attacks in the immediate future. As exploitation is ongoing and expected to increase, impacted organizations are strongly urged to apply the relevant security patches or mitigations immediately.

What we’re doing about it

What you should do about it

Additional information

Details on real-world attacks exploiting CVE-2022-40684 have not been made public yet. However, as noted above, there are a number of publicly available proof of concepts to exploit the vulnerability available on code repositories. The eSentire Threat Intelligence team is actively tracking this topic for additional details and detection opportunities.

The technical blog outlines how using the Forwarded header, an attacker can set the client_ip to “127.0.0.1.” The “trusted access” authentication check verifies that the client_ip is “127.0.0.1” and the User-Agent is “Report Runner” both of which are under attacker control.

Impacted Products:

References:

[1] https://www.fortiguard.com/psirt/FG-IR-22-377
[2] https://github.com/horizon3ai/CVE-2022-40684
[3] https://www.horizon3.ai/fortios-fortiproxy-and-fortiswitchmanager-authentication-bypass-technical-deep-dive-cve-2022-40684/

View Most Recent Advisories