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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-rxq3-gm4p-5fj4 | rails vulnerable to improper authentication |
References
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-07T05:52:14.795Z
Reserved: 2009-07-10T00:00:00.000Z
Link: CVE-2009-2422
No data.
Status : Modified
Published: 2009-07-10T15:30:00.250
Modified: 2026-04-23T00:35:47.467
Link: CVE-2009-2422
No data.
OpenCVE Enrichment
No data.
Weaknesses
Github GHSA