1. Archivio CVE
  2. 2015
  3. CVE-2015-2301

CVE-2015-2301

7.5 Gravità alta CVSS v2.0 · fonte NVD AV:N/AC:L/Au:N/C:P/I:P/A:P 7.5 – Alta

Descrizione

Use-after-free vulnerability in the phar_rename_archive function in phar_object.c in PHP before 5.5.22 and 5.6.x before 5.6.6 allows remote attackers to cause a denial of service or possibly have unspecified other impact via vectors that trigger an attempted renaming of a Phar archive to the name of an existing file.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
apple mac os x <= 10.10.4 –
canonical ubuntu linux 10.04 –
canonical ubuntu linux 12.04 –
canonical ubuntu linux 14.04 –
canonical ubuntu linux 14.10 –
debian debian linux 7.0 –
opensuse opensuse 13.1 –
opensuse opensuse 13.2 –
php php >= 5.4.0 < 5.4.40 –
php php >= 5.5.0 < 5.5.22 –
php php >= 5.6.0 < 5.6.6 –
redhat enterprise linux desktop 7.0 –
redhat enterprise linux hpc node 7.0 –
redhat enterprise linux hpc node eus 7.1 –
redhat enterprise linux server 7.0 –
redhat enterprise linux server eus 7.1 –
redhat enterprise linux workstation 7.0 –
Tutte le 757 vulnerabilità di Php

Tipo di vulnerabilità

CWE-416 Uso di memoria dopo la liberazione (use after free)

Il prodotto usa o fa riferimento a un’area di memoria dopo averla liberata. Nel frattempo quell’area può essere stata assegnata ad altro: ogni operazione fatta con il vecchio puntatore agisce su dati che non le appartengono più.

Impatto sui sistemi

AmbitoImpatto
Integrità Modificare la memoria
Disponibilità Interruzione del servizio: arresto o riavvio
Riservatezza Leggere la memoria
Integrità, Riservatezza, Disponibilità Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione · Scelta del linguaggio Choose a language that provides automatic memory management.
Sviluppo · Riduzione della superficie di attacco When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

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

Tutte le 9.599 CVE di tipo CWE-416, con andamento e prevenzione

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