CVE-2009-2422

9.8 CRITICAL
Published: July 10, 2009 Modified: April 23, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://secunia.com/advisories/35702
Source: cve@mitre.org
Broken Link Vendor Advisory
http://support.apple.com/kb/HT4077
Source: cve@mitre.org
Third Party Advisory
http://www.securityfocus.com/bid/35579
Source: cve@mitre.org
Broken Link Patch Third Party Advisory VDB Entry
http://www.vupen.com/english/advisories/2009/1802
Source: cve@mitre.org
Broken Link Patch Vendor Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/51528
Source: cve@mitre.org
Third Party Advisory VDB Entry
http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List
http://n8.tumblr.com/post/117477059/security-hole-found-in-rails-2-3s
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Patch
http://secunia.com/advisories/35702
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link Vendor Advisory
http://support.apple.com/kb/HT4077
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://www.securityfocus.com/bid/35579
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link Patch Third Party Advisory VDB Entry
http://www.vupen.com/english/advisories/2009/1802
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link Patch Vendor Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/51528
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry

16 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
0.4%
61th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

rubyonrails apple