Vulnerability in Rubyonrails Rails
CVE-2015-7576
The http_basic_authenticate_with method in actionpack/lib/action_controller/metal/http_authentication.rb in the Basic Authentication implementation in Action Controller in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 does not use a constant-time algorithm for verifying credentials, which makes it easier for remote attackers to bypass authentication by measuring timing differences.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.049, 92.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rubyonrails Rails — versions 4.0.0, 4.0.1, 4.0.2
- Rubyonrails Ruby On Rails — versions 4.0.10, 4.0.11, 4.0.11.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 10 other repositories (Abinandhini-cpu/VulnerableRubyrepo2, ARPSyndicate/cvemon, bibin-paul-trustme/ruby_repo, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [oss-security] 20160125 [CVE-2015-7576] Timing attack vulnerability in basic authentication in Action Controller. (mailing-list)
- FEDORA-2016-3ede04cd79 (vendor-advisory)
- openSUSE-SU-2016:0372 (vendor-advisory)
- openSUSE-SU-2016:0363 (vendor-advisory)
- FEDORA-2016-94e71ee673 (vendor-advisory)
- www.securityfocus.com/bid/81803 (vdb-entry)
- FEDORA-2016-f486068393 (vendor-advisory)
- SUSE-SU-2016:1146 (vendor-advisory)
- www.securitytracker.com/id/1034816 (vdb-entry)
- DSA-3464 (vendor-advisory)