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.
Published: 2009-07-10
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-rxq3-gm4p-5fj4 rails vulnerable to improper authentication
History

No history.

Subscriptions

Apple Mac Os X Mac Os X Server
Rubyonrails Ruby On Rails
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-07T05:52:14.795Z

Reserved: 2009-07-10T00:00:00.000Z

Link: CVE-2009-2422

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2009-07-10T15:30:00.250

Modified: 2026-04-23T00:35:47.467

Link: CVE-2009-2422

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses