CVE-2009-2422

CRITICAL

Ruby on Rails < 2.3.3 - Authentication Bypass via Invalid Username

Title source: llm
STIX 2.1

Description

The example code for the digest authentication functionality (http_authentication.rb) in Ruby on Rails before 2.3.3 defines an authenticate_or_request_with_http_digest block that returns nil instead of false when the user does not exist, which allows context-dependent attackers to bypass authentication for applications that are derived from this example by sending an invalid username without a password.

References (8)

Core 8
Core References
Broken Link, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/35702
Broken Link, Patch, Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/35579
Mailing List vendor-advisory x_refsource_apple
http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
Broken Link, Patch, Vendor Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2009/1802
Third Party Advisory x_refsource_confirm
http://support.apple.com/kb/HT4077
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/51528

Scores

CVSS v3 9.8
EPSS 0.0040
EPSS Percentile 61.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-287
Status published
Products (6)
apple/mac_os_x 10.5.8
apple/mac_os_x 10.6.0 - 10.6.3
apple/mac_os_x_server 10.5.8
apple/mac_os_x_server 10.6.0 - 10.6.3
rubygems/rails 0 - 2.3.3RubyGems
rubyonrails/ruby_on_rails < 2.3.3
Published Jul 10, 2009
Tracked Since Feb 18, 2026