QID 150585

Date Published: 2022-10-18

QID 150585: FortiOS Authentication Bypass Vulnerability (CVE-2022-40684)

FortiOS handles API calls by proxying all requests to an interface that is only accessible internally. This internal interface is responsible for verifying authentication and authorization.

An authentication bypass vulnerability using an alternate path or channel exists in FortiOS which may allow an unauthenticated attacker to perform operations on the administrative interface via specially crafted HTTP or HTTPS requests.

Affected Products:
FortiOS version from 7.0.0 to 7.0.6
FortiOS version from 7.2.0 to 7.2.1

QID Detection Logic (Unauthenticated):
The QID sends a specially crafted GET and PUT request to endpoint "/api/v2/cmdb/system/admin" and based on the response contents determines if the host is vulnerable

Successful exploitation of this vulnerability could allow an unauthenticated remote attacker to gain complete administrative access of the target system.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as Critical - 10 severity.
  • Solution
    Customer are advised to upgrade to FortiOS version 7.2.2 or above and version 7.0.7 or above. For information regarding this vulnerability please refer to FortiGuard Security advisory FG-IR-22-377
    Vendor References

    CVEs related to QID 150585

    Software Advisories
    Advisory ID Software Component Link
    FG-IR-22-377 URL Logo www.fortiguard.com/psirt/FG-IR-22-377