Vulnerabilities · 2009 · Rubyonrails
CVE-2009-2422
Rubyonrails Ruby On Rails vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Ruby On Rails, Mac Os X, Mac Os X Server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Rubyonrails Ruby On Rails runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/35702 · Vendor Advisory
- www.vupen.com/english/advisories/2009/1802 · Patch
- n8.tumblr.com/post/117477059/security-hole-found-in-rails-2-3s · Exploit
- weblog.rubyonrails.org/2009/6/3/security-problem-with-authenticate_with_http_digest · Patch
- www.securityfocus.com/bid/35579 · Patch
- support.apple.com/kb/HT4077 · Third Party Advisory
- exchange.xforce.ibmcloud.com/vulnerabilities/51528 · Third Party Advisory
- lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- nvd.nist.gov/vuln/detail/CVE-2009-2422
- cve.org/CVERecord?id=CVE-2009-2422
More vulnerabilities in Rubyonrails products
CVE-2024-53989CVE-2024-53988CVE-2024-53987CVE-2024-53986CVE-2024-53985CVE-2024-32464CVE-2024-28103CVE-2024-26144All 134
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.