QID 378938

Date Published: 2023-10-12

QID 378938: Fortinet FortiAnalyzer and FortiManager -Command Injection Vulnerability (FG-IR-22-352)

An improper neutralization of special elements used in an OS Command ('OS Command Injection') vulnerability [CWE-78 ] in FortiManager, FortiAnalyzer and FortiADC management interface may allow an authenticated attacker with at least READ permissions on system settings to execute arbitrary commands on the underlying shell due to an unsafe usage of the wordexp function.

Affected Products:
FortiManager version 7.2.0 through 7.2.2
FortiManager version 7.0.0 through 7.0.7
FortiManager version 6.4.0 through 6.4.11
FortiManager 6.2 all versions
FortiManager 6.0 all versions
FortiAnalyzer version 7.2.0 through 7.2.2
FortiAnalyzer version 7.0.0 through 7.0.7
FortiAnalyzer version 6.4.0 through 6.4.11
FortiAnalyzer 6.2 all versions
FortiAnalyzer 6.0 all versions

QID Detection Logic (Authenticated):
Detection checks for vulnerable versions of FortiManager and FortiAnalyzer.

Successful exploitation of this vulnerability may allow a remote and authenticated API admin user to access some system settings such as the mail server settings through the API via a stolen GUI session ID.

  • CVSS V3 rated as High - 7.8 severity.
  • CVSS V2 rated as Medium - 3.3 severity.
  • Solution

    Vendor has released fixes to address this vulnerability
    For more details refer advisory FG-IR-22-352

    Vendor References

    CVEs related to QID 378938

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