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

CVE-2015-20110

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

Descrizione

JHipster generator-jhipster before 2.23.0 allows a timing attack against validateToken due to a string comparison that stops at the first character that is different. Attackers can guess tokens by brute forcing one character at a time and observing the timing. This of course drastically reduces the search space to a linear amount of guesses based on the token length times the possible characters.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
jhipster jhipster < 2.23.0 –

Tipo di vulnerabilità

CWE-307 Tentativi di autenticazione eccessivi non limitati

Il prodotto non adotta misure sufficienti a impedire molti tentativi di accesso falliti in poco tempo, rendendo possibili gli attacchi a forza bruta sulle password.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione

Come si previene

Architettura e progettazione Common protection mechanisms include: Disconnecting the user after a small number of failed attempts Implementing a timeout Locking out a targeted account Requiring a computational task on the user's part.
Architettura e progettazione · Librerie o framework Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator.

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

Tutte le 737 CVE di tipo CWE-307, con andamento e prevenzione

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