CVE Vulnerabilities

CVE-2022-22299

Use of Externally-Controlled Format String

Published: Aug 05, 2022 | Modified: Aug 11, 2022
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

A format string vulnerability [CWE-134] in the command line interpreter of FortiADC version 6.0.0 through 6.0.4, FortiADC version 6.1.0 through 6.1.5, FortiADC version 6.2.0 through 6.2.1, FortiProxy version 1.0.0 through 1.0.7, FortiProxy version 1.1.0 through 1.1.6, FortiProxy version 1.2.0 through 1.2.13, FortiProxy version 2.0.0 through 2.0.7, FortiProxy version 7.0.0 through 7.0.1, FortiOS version 6.0.0 through 6.0.14, FortiOS version 6.2.0 through 6.2.10, FortiOS version 6.4.0 through 6.4.8, FortiOS version 7.0.0 through 7.0.2, FortiMail version 6.4.0 through 6.4.5, FortiMail version 7.0.0 through 7.0.2 may allow an authenticated user to execute unauthorized code or commands via specially crafted command arguments.

Weakness

The product uses a function that accepts a format string as an argument, but the format string originates from an external source.

Affected Software

Name Vendor Start Version End Version
Fortiproxy Fortinet 1.0.0 1.0.7
Fortiproxy Fortinet 1.1.0 1.1.6
Fortios Fortinet 5.6.0 5.6.14
Fortiadc Fortinet 6.2.0 6.2.0
Fortiadc Fortinet 6.2.1 6.2.1
Fortimail Fortinet 6.4.0 6.4.5
Fortiproxy Fortinet 7.0.0 7.0.0
Fortios Fortinet 6.0.0 6.0.14
Fortios Fortinet 6.4.0 *
Fortios Fortinet 5.4.0 5.4.13
Fortios Fortinet 6.2.0 6.2.10
Fortiproxy Fortinet 1.2.0 1.2.13
Fortiproxy Fortinet 2.0.0 2.0.7
Fortiproxy Fortinet 7.0.1 7.0.1
Fortios Fortinet 5.2.0 5.2.15
Fortios Fortinet 5.0.0 5.0.14
Fortios Fortinet 7.0.0 *
Fortimail Fortinet 7.0.0 7.0.2
Fortiadc Fortinet 6.0.0 6.0.4
Fortiadc Fortinet 6.1.0 6.1.6

Extended Description

When an attacker can modify an externally-controlled format string, this can lead to buffer overflows, denial of service, or data representation problems. It should be noted that in some circumstances, such as internationalization, the set of format strings is externally controlled by design. If the source of these format strings is trusted (e.g. only contained in library files that are only modifiable by the system administrator), then the external control might not itself pose a vulnerability.

Potential Mitigations

References