9.8
CRITICAL
CVE-2009-2422
Ruby on Rails Digest Authentication nil Return Vulnerability
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.

INFO

Published Date :

July 10, 2009, 3:30 p.m.

Last Modified :

Feb. 13, 2024, 5:44 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2009-2422 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Apple mac_os_x
2 Apple mac_os_x_server
1 Rubyonrails rails
2 Rubyonrails ruby_on_rails
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2009-2422.

URL Resource
http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html Mailing List
http://n8.tumblr.com/post/117477059/security-hole-found-in-rails-2-3s Exploit Patch
http://secunia.com/advisories/35702 Broken Link Vendor Advisory
http://support.apple.com/kb/HT4077 Third Party Advisory
http://weblog.rubyonrails.org/2009/6/3/security-problem-with-authenticate_with_http_digest Patch
http://www.securityfocus.com/bid/35579 Broken Link Patch Third Party Advisory VDB Entry
http://www.vupen.com/english/advisories/2009/1802 Broken Link Patch Vendor Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/51528 Third Party Advisory VDB Entry

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2009-2422 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2009-2422 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Feb. 13, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html No Types Assigned http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html Mailing List
    Changed Reference Type http://secunia.com/advisories/35702 Vendor Advisory http://secunia.com/advisories/35702 Broken Link, Vendor Advisory
    Changed Reference Type http://support.apple.com/kb/HT4077 No Types Assigned http://support.apple.com/kb/HT4077 Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/35579 Patch http://www.securityfocus.com/bid/35579 Broken Link, Patch, Third Party Advisory, VDB Entry
    Changed Reference Type http://www.vupen.com/english/advisories/2009/1802 Patch, Vendor Advisory http://www.vupen.com/english/advisories/2009/1802 Broken Link, Patch, Vendor Advisory
    Changed Reference Type https://exchange.xforce.ibmcloud.com/vulnerabilities/51528 No Types Assigned https://exchange.xforce.ibmcloud.com/vulnerabilities/51528 Third Party Advisory, VDB Entry
    Changed CPE Configuration OR *cpe:2.3:a:david_hansson:ruby_on_rails:2.3.3:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:* versions up to (excluding) 2.3.3
    Added CPE Configuration OR *cpe:2.3:o:apple:mac_os_x:10.5.8:*:*:*:*:*:*:* *cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* versions from (including) 10.6.0 up to (excluding) 10.6.3 *cpe:2.3:o:apple:mac_os_x_server:10.5.8:*:*:*:*:*:*:* *cpe:2.3:o:apple:mac_os_x_server:*:*:*:*:*:*:*:* versions from (including) 10.6.0 up to (excluding) 10.6.3
  • CVE Modified by [email protected]

    Aug. 17, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/51528 [Patch]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/51528 [No Types Assigned]
  • Initial Analysis by [email protected]

    Jul. 13, 2009

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2009-2422 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

2.65 }} 1.42%

score

0.90028

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability