Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected versions
No affected versions listed.
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
- Advisorysecunia.com/advisories/35702 ↗
- Advisorysupport.apple.com/kb/HT4077 ↗
- Advisorywww.securityfocus.com/bid/35579 ↗
- Advisorywww.vupen.com/english/advisories/2009/1802 ↗
- Advisoryexchange.xforce.ibmcloud.com/vulnerabilities/51528 ↗
- ARTICLElists.apple.com/archives/security-announce/2010//Mar/msg00001.html ↗
- EVIDENCEn8.tumblr.com/post/117477059/security-hole-found-in-rails-2-3s ↗
- Fixn8.tumblr.com/post/117477059/security-hole-found-in-rails-2-3s ↗
- Fixweblog.rubyonrails.org/2009/6/3/security-problem-with-authenticate_with_http_digest ↗
- Fixwww.securityfocus.com/bid/35579 ↗
- Fixwww.vupen.com/english/advisories/2009/1802 ↗
- Webwww.securityfocus.com/bid/35579 ↗