1. Archivio CVE
  2. 2014
  3. CVE-2014-0083

CVE-2014-0083

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

Descrizione

The Ruby net-ldap gem before 0.11 uses a weak salt when generating SSHA passwords.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
debian debian linux 8.0 –
debian debian linux 9.0 –
debian debian linux 10.0 –
net-ldap project net-ldap < 0.16.2 ruby

Tipo di vulnerabilità

CWE-916 Use of Password Hash With Insufficient Computational Effort

The product generates a hash for a password, but it uses a scheme that does not provide a sufficient level of computational effort that would make password cracking attacks infeasible or expensive.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione, Ottenere privilegi o assumere un’altra identità

Come si previene

Architettura e progettazione Use an adaptive hash function that can be configured to change the amount of computational effort needed to compute the hash, such as the number of iterations (stretching) or the amount of memory required. Some hash functions perform salting automatically. These functions can significantly increase the overhead for a brute force attack compared to intentionally-fast functions such as MD5. For example, rainbow table attacks can become infeasible due to the high computing overhead. Finally, since computing power gets faster and cheaper over time, the technique can be reconfigured to increase the workload without forcing an entire replacement of the algorithm in use. Some hash functions that have one or more of these desired properties include bcrypt, scrypt, and PBKDF2. While there is active debate about which of these is the most effective, they are all stronger than using salts with hash functions with very little computing overhead. Note that using these functions can have an impact on performance, so they require special consideration to avoid denial-of-service attacks. However, their configurability provides finer control over how much CPU and memory is used, so it could be adjusted to suit the environment's needs.
Sviluppo · Architettura e progettazione When using industry-approved techniques, use them correctly. Don't cut corners by skipping resource-intensive steps (CWE-325). These steps are often essential for preventing common attacks.

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

Tutte le 121 CVE di tipo CWE-916, con andamento e prevenzione

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