1. Archivio CVE
  2. 2010
  3. CVE-2010-1321

CVE-2010-1321

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

Descrizione

The kg_accept_krb5 function in krb5/accept_sec_context.c in the GSS-API library in MIT Kerberos 5 (aka krb5) through 1.7.1 and 1.8 before 1.8.2, as used in kadmind and other applications, does not properly check for invalid GSS-API tokens, which allows remote authenticated users to cause a denial of service (NULL pointer dereference and daemon crash) via an AP-REQ message in which the authenticator's checksum field is missing.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
canonical ubuntu linux 6.06 –
canonical ubuntu linux 8.04 –
canonical ubuntu linux 9.04 –
canonical ubuntu linux 9.10 –
canonical ubuntu linux 10.04 –
debian debian linux 5.0 –
debian debian linux 6.0 –
fedoraproject fedora 11 –
fedoraproject fedora 12 –
fedoraproject fedora 13 –
mit kerberos 5 <= 1.7.1 –
mit kerberos 5 >= 1.8 < 1.8.2 –
opensuse opensuse 11.0 –
opensuse opensuse 11.1 –
opensuse opensuse 11.2 –
opensuse opensuse 11.3 –
oracle database server tutte –
suse linux enterprise server 10 sp3 –
suse linux enterprise server 11 –
suse linux enterprise server 11 sp1 –
Tutte le 142 vulnerabilità di Mit Kerberos 5

Tipo di vulnerabilità

CWE-476 Dereferenziazione di un puntatore NULL

Il prodotto usa un puntatore che si aspetta valido ma che in realtà è NULL, di solito causando un arresto anomalo.

Impatto sui sistemi

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

Come si previene

Sviluppo For any pointers that could have been modified or provided from a function that can return NULL, check the pointer for NULL before use. When working with a multithreaded or otherwise asynchronous environment, ensure that proper locking APIs are used to lock before the check, and unlock when it has finished.
Requisiti Select a programming language that is not susceptible to these issues.
Sviluppo Check the results of all functions that return a value and verify that the value is non-null before acting upon it.
Architettura e progettazione Identify all variables and data stores that receive information from external sources, and apply input validation to make sure that they are only initialized to expected values.
Sviluppo Explicitly initialize all variables and other data stores, either during declaration or just before the first usage.

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

Tutte le 5.803 CVE di tipo CWE-476, con andamento e prevenzione

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