CVE-2009-2422
highpriority · track · 40EPSS 0.034 · 89 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-rxq3-gm4p-5fj4rails vulnerable to improper authentication2017-10-24ghsa · osvUS
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.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.htmlenisa_euvd
- http://n8.tumblr.com/post/117477059/security-hole-found-in-rails-2-3senisa_euvd
- http://secunia.com/advisories/35702enisa_euvd
- http://support.apple.com/kb/HT4077enisa_euvd
- http://weblog.rubyonrails.org/2009/6/3/security-problem-with-authenticate_with_http_digestenisa_euvd
- http://www.securityfocus.com/bid/35579enisa_euvd
- http://www.vupen.com/english/advisories/2009/1802enisa_euvd
- https://exchange.xforce.ibmcloud.com/vulnerabilities/51528enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan