1. Archivio CVE
  2. 2022
  3. CVE-2022-22299

CVE-2022-22299

7.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
fortinet fortiadc >= 6.0.0 <= 6.0.4 –
fortinet fortiadc >= 6.1.0 <= 6.1.6 –
fortinet fortiadc 6.2.0 –
fortinet fortiadc 6.2.1 –
fortinet fortimail >= 6.4.0 <= 6.4.5 –
fortinet fortimail >= 7.0.0 <= 7.0.2 –
fortinet fortios >= 5.0.0 <= 5.0.14 –
fortinet fortios >= 5.2.0 <= 5.2.15 –
fortinet fortios >= 5.4.0 <= 5.4.13 –
fortinet fortios >= 5.6.0 <= 5.6.14 –
fortinet fortios >= 6.0.0 <= 6.0.14 –
fortinet fortios >= 6.2.0 <= 6.2.10 –
fortinet fortios >= 6.4.0 < 6.4.8 –
fortinet fortios >= 7.0.0 < 7.0.2 –
fortinet fortiproxy >= 1.0.0 <= 1.0.7 –
fortinet fortiproxy >= 1.1.0 <= 1.1.6 –
fortinet fortiproxy >= 1.2.0 <= 1.2.13 –
fortinet fortiproxy >= 2.0.0 <= 2.0.7 –
fortinet fortiproxy 7.0.0 –
fortinet fortiproxy 7.0.1 –
Tutte le 291 vulnerabilità di Fortinet Fortios
Tutte le 128 vulnerabilità di Fortinet Fortiproxy
Tutte le 43 vulnerabilità di Fortinet Fortiadc

Tipo di vulnerabilità

CWE-134 Stringa di formato controllata dall’esterno (format string)

Il prodotto usa una funzione che accetta una stringa di formato, ma quella stringa proviene da una fonte esterna.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere la memoria
Integrità, Riservatezza, Disponibilità Modificare la memoria, Eseguire codice o comandi non autorizzati

Come si previene

Requisiti Choose a language that is not subject to this flaw.
Sviluppo Ensure that all format string functions are passed a static string which cannot be controlled by the user, and that the proper number of arguments are always sent to that function as well. If at all possible, use functions that do not support the %n operator in format strings.
Build e compilazione Run compilers and linkers with high warning levels, since they may detect incorrect usage.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 435 CVE di tipo CWE-134, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org