1. Archivio CVE
  2. 2016
  3. CVE-2016-10160

CVE-2016-10160

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

Descrizione

Off-by-one error in the phar_parse_pharfile function in ext/phar/phar.c in PHP before 5.6.30 and 7.0.x before 7.0.15 allows remote attackers to cause a denial of service (memory corruption) or possibly execute arbitrary code via a crafted PHAR archive with an alias mismatch.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
debian debian linux 8.0 –
netapp clustered data ontap tutte –
php php >= 5.6.0 < 5.6.30 –
php php >= 7.0.0 < 7.0.15 –
php php >= 7.1.0 < 7.1.1 –
Tutte le 757 vulnerabilità di Php

Tipo di vulnerabilità

CWE-193 Off-by-one Error

A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: arresto o riavvio, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: instabilità
Integrità Modificare la memoria
Riservatezza, Disponibilità, Controllo degli accessi Eseguire codice o comandi non autorizzati, Aggirare i meccanismi di protezione

Come si previene

Sviluppo When copying character arrays or using character manipulation methods, the correct size parameter must be used to account for the null terminator that needs to be added at the end of the array. Some examples of functions susceptible to this weakness in C include strcpy(), strncpy(), strcat(), strncat(), printf(), sprintf(), scanf() and sscanf().

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

Tutte le 233 CVE di tipo CWE-193, con andamento e prevenzione

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