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
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Ruby On Rails | < 2.3.3 |
| Apple | Mac Os X | >= 10.6.0, < 10.6.3 |
| Apple | Mac Os X Server | >= 10.6.0, < 10.6.3 |
Related Weaknesses (CWE)
References
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.htmlMailing List
- http://n8.tumblr.com/post/117477059/security-hole-found-in-rails-2-3sExploitPatch
- http://secunia.com/advisories/35702Broken LinkVendor Advisory
- http://support.apple.com/kb/HT4077Third Party Advisory
- http://weblog.rubyonrails.org/2009/6/3/security-problem-with-authenticate_with_hPatch
- http://www.securityfocus.com/bid/35579Broken LinkPatchThird Party Advisory
- http://www.vupen.com/english/advisories/2009/1802Broken LinkPatchVendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/51528Third Party AdvisoryVDB Entry
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.htmlMailing List
- http://n8.tumblr.com/post/117477059/security-hole-found-in-rails-2-3sExploitPatch
- http://secunia.com/advisories/35702Broken LinkVendor Advisory
- http://support.apple.com/kb/HT4077Third Party Advisory
- http://weblog.rubyonrails.org/2009/6/3/security-problem-with-authenticate_with_hPatch
- http://www.securityfocus.com/bid/35579Broken LinkPatchThird Party Advisory
- http://www.vupen.com/english/advisories/2009/1802Broken LinkPatchVendor Advisory
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.