GHSA-rxq3-gm4p-5fj4

    Dashboard / Vulnerabilities / GHSA-rxq3-gm4p-5fj4

    GHSA-rxq3-gm4p-5fj4

    Published: 24 Oct 2017Last Modified: 16 Feb 2024
    Aliases:

    Summary: rails vulnerable to improper authentication

    Details: 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.

    Affected packages

    Package

    Name: rails

    Purl: pkg:gem/rails

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.3.3

    Affected versions

    0.10.0
    0.10.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High