PT-2023-10311
CVE-2015-20110
·
Publicado
2023-10-31
·
Atualizado
2023-11-08
Descrição por
CVSS 3.1
7.5
AltaMétricasAV: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.Explorabilidade
Correção
Impactos
Fornecedores
Produtos afetados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾