Menu

Star on GitHub · 3.2k

CVE-2009-2422

9.8 · CRITICAL

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 instea…

Published Jul 10, 2009rubyonrailsCWE-287EPSS 3.38%

Overview

CVE-2009-2422 is a critical-severity vulnerability affecting rubyonrails ruby_on_rails. It was published on July 10, 2009 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

Remediation

Check the references section for vendor advisories and patches from rubyonrails. Update ruby_on_rails to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected products

VendorProductVersionsStatus
rubyonrailsruby_on_rails>= 0, < 2.3.3Affected
applemac_os_x>= 10.6.0, < 10.6.3Affected
applemac_os_x_server>= 10.6.0, < 10.6.3Affected

Frequently asked questions

What is CVE-2009-2422?

CVE-2009-2422 is a critical-severity vulnerability affecting rubyonrails ruby_on_rails. It was published on July 10, 2009 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2009-2422?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2009-2422?

Check the references section for vendor advisories and patches from rubyonrails. Update ruby_on_rails to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2009-2422?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2009-2422 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related CRITICAL CVEs from 2009

View all