CVE-2009-2422

CRITICALCVSS 9.8/10EPSS 3.38%

Last modified

CVE-2009-2422 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 3.38% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
3.38%

87.2th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
RubyonrailsRuby On Rails< 2.3.3
AppleMac Os X>= 10.6.0, < 10.6.3
AppleMac Os X10.5.8
AppleMac Os X Server>= 10.6.0, < 10.6.3
AppleMac Os X Server10.5.8

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2009-2422?
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.
How severe is CVE-2009-2422?
CVE-2009-2422 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 3.38% probability of exploitation in the next 30 days.
How do I fix CVE-2009-2422?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2009-2422?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST