PT-2023-10311 · Jhipster · Generator-Jhipster
Ghost
·
Publicado
2023-10-31
·
Atualizado
2023-11-08
·
CVE-2015-20110
CVSS v3.1
7.5
Alta
| Vetor | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
JHipster generator-jhipster versions prior to 2.23.0
Description
The issue allows for a timing attack against the
validateToken function due to a string comparison that stops at the first different character. This enables attackers to guess tokens through brute force, one character at a time, by observing the timing. The search space is reduced to a linear amount of guesses based on the token length times the possible characters.Recommendations
For versions prior to 2.23.0, update to version 2.23.0 or later to resolve the issue. As a temporary workaround, consider implementing a constant-time comparison for the
validateToken function to prevent timing attacks.Correção
Improper Restriction of Excessive Authentication Attempts
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Generator-Jhipster