PT-2009-4839 · Ruby · Ruby On Rails

N8

·

Publicado

2009-07-10

·

Atualizado

2024-02-13

·

CVE-2009-2422

CVSS v3.1

9.8

Crítica

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Ruby on Rails versions prior to 2.3.3
Description The issue concerns the digest authentication functionality in Ruby on Rails, where the example code defines an authenticate or request with http digest block that returns nil instead of false when the user does not exist. This allows attackers to bypass authentication for applications derived from this example by sending an invalid username without a password.
Recommendations For versions prior to 2.3.3, update to version 2.3.3 or later to resolve the issue. As a temporary workaround, consider modifying the authenticate or request with http digest block to return false when the user does not exist, instead of returning nil.

Exploit

Correção

Improper Authentication

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2009-2422
GHSA-RXQ3-GM4P-5FJ4

Produtos afetados

Ruby On Rails