Improper Authentication Affecting rails package, versions <2.3.3
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-RAILS-456064
- published 31 Jul 2019
- disclosed 10 Jul 2009
- credit Unknown
Introduced: 10 Jul 2009
CVE-2009-2422 Open this link in a new tabHow to fix?
Upgrade rails
to version 2.3.3 or higher.
Overview
rails is an opensource MVC web framework.
Affected versions of this package are vulnerable to Improper Authentication. 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.