Improper Authentication Affecting rails package, versions <2.3.3


0.0
high

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 2.65% (91st percentile)
Expand this section
NVD
9.8 critical

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

How 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.