Descrizione
Multiple format string vulnerabilities in the Monolith Lithtech engine, as used by First Encounter Assault Recon (F.E.A.R.) 1.08 and earlier, when Punkbuster (PB) is enabled, allow remote attackers to execute arbitrary code or cause a denial of service (daemon crash) via format string specifiers in (1) a PB_Y packet to the YPG server on UDP port 27888 or (2) a PB_U packet to UCON on UDP port 27888, different vectors than CVE-2004-1500. NOTE: this issue might be in Punkbuster itself, but there are insufficient details to be certain.
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
| Ambito | Impatto |
| 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.
Tutte le 435 CVE di tipo CWE-134, con andamento e prevenzione