CRITICAL · 9.8

CVE-2009-2422

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 o...

Vulnerability 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.

CVSS Score

9.8

CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
RubyonrailsRuby On Rails< 2.3.3
AppleMac Os X>= 10.6.0, < 10.6.3
AppleMac Os X Server>= 10.6.0, < 10.6.3

Related Weaknesses (CWE)

References

FAQ

What is CVE-2009-2422?

CVE-2009-2422 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 o...

How severe is CVE-2009-2422?

CVE-2009-2422 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.

Is there a patch for CVE-2009-2422?

Check the references section above for vendor advisories and patch information. Affected products include: Rubyonrails Ruby On Rails, Apple Mac Os X, Apple Mac Os X Server.