1. Archivio CVE
  2. 2008
  3. CVE-2008-2108

CVE-2008-2108

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

The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 64-bit systems, performs a multiplication that generates a portion of zero bits during conversion due to insufficient precision, which produces 24 bits of entropy and simplifies brute force attacks against protection mechanisms that use the rand and mt_rand functions.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
canonical ubuntu linux 6.06 –
canonical ubuntu linux 7.04 –
canonical ubuntu linux 7.10 –
canonical ubuntu linux 8.04 –
debian debian linux 4.0 –
fedoraproject fedora 8 –
fedoraproject fedora 9 –
php php >= 4.0.0 < 4.4.8 –
php php >= 5.0.0 < 5.2.5 –
Tutte le 757 vulnerabilità di Php

Tipo di vulnerabilità

CWE-331 Insufficient Entropy

The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi, Altro Aggirare i meccanismi di protezione, Altro

Come si previene

Sviluppo Determine the necessary entropy to adequately provide for randomness and predictability. This can be achieved by increasing the number of bits of objects such as keys and seeds.

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

Tutte le 131 CVE di tipo CWE-331, con andamento e prevenzione

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