Descrizione
An
authenticated format string vulnerability exists in the ONVIF service of Tapo
C110 v2 due to improper handling of user-controlled input. Externally controlled data is interpreted as
a format string, which can be used to manipulate stack memory, including
control flow data such as return addresses.
A remote
authenticated attacker may redirect execution flow to existing internal
functions, triggering an unauthorized factory reset, leading to loss of
configuration, deletion of stored credentials and service disruption.
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 436 CVE di tipo CWE-134, con andamento e prevenzione