VYPR
Moderate severityNVD Advisory· Published Mar 1, 2013· Updated Apr 29, 2026

CVE-2012-5604

CVE-2012-5604

Description

The ldap_fluff gem for Ruby, as used in Red Hat CloudForms 1.1, when using Active Directory for authentication, allows remote attackers to bypass authentication via unspecified vectors.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
ldap_fluffRubyGems
< 0.4.00.4.0

Affected products

1

Patches

1
e4c90a522275

Protect against passwordless auth in ldap

https://github.com/theforeman/ldap_fluffJordan OMaraOct 31, 2012via ghsa
1 file changed · +6 1
  • lib/ldap_fluff/ldap_fluff.rb+6 1 modified
    @@ -23,7 +23,12 @@ def initialize(config=nil)
       # return true if the user password combination
       # authenticates the user, otherwise false
       def authenticate?(uid, password)
    -    @ldap.bind? uid, password
    +    if password.nil? || password.empty?
    +      # protect against passwordless auth from ldap server
    +      return false
    +    else
    +      @ldap.bind? uid, password
    +    end
       end
     
       # return a list[] of groups for a given uid
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

5

News mentions

0

No linked articles in our index yet.