// For flags

CVE-2015-7576

rubygem-actionpack: Timing attack vulnerability in basic authentication in Action Controller

Severity Score

3.7
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

El método http_basic_authenticate_with en actionpack/lib/action_controller/metal/http_authentication.rb en la implementación Basic Authentication en Action Controller en Ruby on Rails en versiones anteriores a 3.2.22.1, 4.0.x y 4.1.x en versiones anteriores a 4.1.14.1, 4.2.x en versiones anteriores a 4.2.5.1 y 5.x en versiones anteriores a 5.0.0.beta1.1 no usa el algoritmo de tiempo constante para verificar credenciales, lo que hace que sea más fácil para atacantes remotos eludir la autenticación mediante la medición de las diferencias de temporización.

A flaw was found in the way the Action Controller component compared user names and passwords when performing HTTP basic authentication. Time taken to compare strings could differ depending on input, possibly allowing a remote attacker to determine valid user names and passwords using a timing attack.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2015-09-29 CVE Reserved
  • 2016-02-01 CVE Published
  • 2023-03-07 EPSS Updated
  • 2024-08-06 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-254: 7PK - Security Features
  • CWE-385: Covert Timing Channel
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.0
Search vendor "Rubyonrails" for product "Rails" and version "4.0.0"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.0
Search vendor "Rubyonrails" for product "Rails" and version "4.0.0"
beta
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.0
Search vendor "Rubyonrails" for product "Rails" and version "4.0.0"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.0
Search vendor "Rubyonrails" for product "Rails" and version "4.0.0"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.1
Search vendor "Rubyonrails" for product "Rails" and version "4.0.1"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.1
Search vendor "Rubyonrails" for product "Rails" and version "4.0.1"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.1
Search vendor "Rubyonrails" for product "Rails" and version "4.0.1"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.1
Search vendor "Rubyonrails" for product "Rails" and version "4.0.1"
rc3
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.1
Search vendor "Rubyonrails" for product "Rails" and version "4.0.1"
rc4
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.2
Search vendor "Rubyonrails" for product "Rails" and version "4.0.2"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.3
Search vendor "Rubyonrails" for product "Rails" and version "4.0.3"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.4
Search vendor "Rubyonrails" for product "Rails" and version "4.0.4"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.4
Search vendor "Rubyonrails" for product "Rails" and version "4.0.4"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.5
Search vendor "Rubyonrails" for product "Rails" and version "4.0.5"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.6
Search vendor "Rubyonrails" for product "Rails" and version "4.0.6"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.6
Search vendor "Rubyonrails" for product "Rails" and version "4.0.6"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.6
Search vendor "Rubyonrails" for product "Rails" and version "4.0.6"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.6
Search vendor "Rubyonrails" for product "Rails" and version "4.0.6"
rc3
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.7
Search vendor "Rubyonrails" for product "Rails" and version "4.0.7"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.8
Search vendor "Rubyonrails" for product "Rails" and version "4.0.8"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.9
Search vendor "Rubyonrails" for product "Rails" and version "4.0.9"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.10
Search vendor "Rubyonrails" for product "Rails" and version "4.0.10"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.0.10
Search vendor "Rubyonrails" for product "Rails" and version "4.0.10"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.0
Search vendor "Rubyonrails" for product "Rails" and version "4.1.0"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.0
Search vendor "Rubyonrails" for product "Rails" and version "4.1.0"
beta1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.0
Search vendor "Rubyonrails" for product "Rails" and version "4.1.0"
beta2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.0
Search vendor "Rubyonrails" for product "Rails" and version "4.1.0"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.0
Search vendor "Rubyonrails" for product "Rails" and version "4.1.0"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.1
Search vendor "Rubyonrails" for product "Rails" and version "4.1.1"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.2
Search vendor "Rubyonrails" for product "Rails" and version "4.1.2"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.2
Search vendor "Rubyonrails" for product "Rails" and version "4.1.2"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.2
Search vendor "Rubyonrails" for product "Rails" and version "4.1.2"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.2
Search vendor "Rubyonrails" for product "Rails" and version "4.1.2"
rc3
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.3
Search vendor "Rubyonrails" for product "Rails" and version "4.1.3"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.4
Search vendor "Rubyonrails" for product "Rails" and version "4.1.4"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.5
Search vendor "Rubyonrails" for product "Rails" and version "4.1.5"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.6
Search vendor "Rubyonrails" for product "Rails" and version "4.1.6"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.6
Search vendor "Rubyonrails" for product "Rails" and version "4.1.6"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.6
Search vendor "Rubyonrails" for product "Rails" and version "4.1.6"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.7
Search vendor "Rubyonrails" for product "Rails" and version "4.1.7"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.7.1
Search vendor "Rubyonrails" for product "Rails" and version "4.1.7.1"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.8
Search vendor "Rubyonrails" for product "Rails" and version "4.1.8"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.9
Search vendor "Rubyonrails" for product "Rails" and version "4.1.9"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.9
Search vendor "Rubyonrails" for product "Rails" and version "4.1.9"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.10
Search vendor "Rubyonrails" for product "Rails" and version "4.1.10"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.10
Search vendor "Rubyonrails" for product "Rails" and version "4.1.10"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.10
Search vendor "Rubyonrails" for product "Rails" and version "4.1.10"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.10
Search vendor "Rubyonrails" for product "Rails" and version "4.1.10"
rc3
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.10
Search vendor "Rubyonrails" for product "Rails" and version "4.1.10"
rc4
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.12
Search vendor "Rubyonrails" for product "Rails" and version "4.1.12"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.12
Search vendor "Rubyonrails" for product "Rails" and version "4.1.12"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.13
Search vendor "Rubyonrails" for product "Rails" and version "4.1.13"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.13
Search vendor "Rubyonrails" for product "Rails" and version "4.1.13"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.14
Search vendor "Rubyonrails" for product "Rails" and version "4.1.14"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.14
Search vendor "Rubyonrails" for product "Rails" and version "4.1.14"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.1.14
Search vendor "Rubyonrails" for product "Rails" and version "4.1.14"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.0
Search vendor "Rubyonrails" for product "Rails" and version "4.2.0"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.0
Search vendor "Rubyonrails" for product "Rails" and version "4.2.0"
beta1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.0
Search vendor "Rubyonrails" for product "Rails" and version "4.2.0"
beta2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.0
Search vendor "Rubyonrails" for product "Rails" and version "4.2.0"
beta3
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.0
Search vendor "Rubyonrails" for product "Rails" and version "4.2.0"
beta4
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.0
Search vendor "Rubyonrails" for product "Rails" and version "4.2.0"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.0
Search vendor "Rubyonrails" for product "Rails" and version "4.2.0"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.0
Search vendor "Rubyonrails" for product "Rails" and version "4.2.0"
rc3
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.1
Search vendor "Rubyonrails" for product "Rails" and version "4.2.1"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.1
Search vendor "Rubyonrails" for product "Rails" and version "4.2.1"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.1
Search vendor "Rubyonrails" for product "Rails" and version "4.2.1"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.1
Search vendor "Rubyonrails" for product "Rails" and version "4.2.1"
rc3
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.1
Search vendor "Rubyonrails" for product "Rails" and version "4.2.1"
rc4
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.2
Search vendor "Rubyonrails" for product "Rails" and version "4.2.2"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.3
Search vendor "Rubyonrails" for product "Rails" and version "4.2.3"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.3
Search vendor "Rubyonrails" for product "Rails" and version "4.2.3"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.4
Search vendor "Rubyonrails" for product "Rails" and version "4.2.4"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.4
Search vendor "Rubyonrails" for product "Rails" and version "4.2.4"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.5
Search vendor "Rubyonrails" for product "Rails" and version "4.2.5"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.5
Search vendor "Rubyonrails" for product "Rails" and version "4.2.5"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
4.2.5
Search vendor "Rubyonrails" for product "Rails" and version "4.2.5"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
5.0.0
Search vendor "Rubyonrails" for product "Rails" and version "5.0.0"
beta1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Ruby On Rails
Search vendor "Rubyonrails" for product "Ruby On Rails"
<= 3.2.22
Search vendor "Rubyonrails" for product "Ruby On Rails" and version " <= 3.2.22"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Ruby On Rails
Search vendor "Rubyonrails" for product "Ruby On Rails"
4.0.10
Search vendor "Rubyonrails" for product "Ruby On Rails" and version "4.0.10"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Ruby On Rails
Search vendor "Rubyonrails" for product "Ruby On Rails"
4.0.11
Search vendor "Rubyonrails" for product "Ruby On Rails" and version "4.0.11"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Ruby On Rails
Search vendor "Rubyonrails" for product "Ruby On Rails"
4.0.11.1
Search vendor "Rubyonrails" for product "Ruby On Rails" and version "4.0.11.1"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Ruby On Rails
Search vendor "Rubyonrails" for product "Ruby On Rails"
4.0.12
Search vendor "Rubyonrails" for product "Ruby On Rails" and version "4.0.12"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Ruby On Rails
Search vendor "Rubyonrails" for product "Ruby On Rails"
4.0.13
Search vendor "Rubyonrails" for product "Ruby On Rails" and version "4.0.13"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Ruby On Rails
Search vendor "Rubyonrails" for product "Ruby On Rails"
4.0.13
Search vendor "Rubyonrails" for product "Ruby On Rails" and version "4.0.13"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Ruby On Rails
Search vendor "Rubyonrails" for product "Ruby On Rails"
4.1.11
Search vendor "Rubyonrails" for product "Ruby On Rails" and version "4.1.11"
-
Affected