1. Archivio CVE
  2. 2006
  3. CVE-2006-3469

CVE-2006-3469

4 Gravità media CVSS v2.0 · fonte NVD AV:N/AC:L/Au:S/C:N/I:N/A:P 4 – Media

Descrizione

Format string vulnerability in time.cc in MySQL Server 4.1 before 4.1.21 and 5.0 before 1 April 2006 allows remote authenticated users to cause a denial of service (crash) via a format string instead of a date as the first parameter to the date_format function, which is later used in a formatted print call to display the error message.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
mysql mysql 4.1.8 –
mysql mysql 4.1.12 –
mysql mysql 4.1.13 –
mysql mysql 4.1.14 –
mysql mysql 4.1.15 –
mysql mysql 5.0.5.0.21 –
mysql mysql 5.0.10 –
mysql mysql 5.0.15 –
mysql mysql 5.0.16 –
mysql mysql 5.0.17 –
oracle mysql 4.1.6 –
oracle mysql 4.1.7 –
oracle mysql 4.1.9 –
oracle mysql 4.1.11 –
oracle mysql 4.1.16 –
oracle mysql 4.1.18 –
oracle mysql 4.1.19 –
oracle mysql 4.1.20 –
oracle mysql 5.0.6 –
oracle mysql 5.0.9 –
oracle mysql 5.0.11 –
oracle mysql 5.0.12 –
oracle mysql 5.0.13 –
oracle mysql 5.0.18 –
oracle mysql 5.0.19 –
Tutte le 1.328 vulnerabilità di Oracle Mysql
Tutte le 92 vulnerabilità di Mysql

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