CVE-2015-7576

Severity

43%

Complexity

86%

Confidentiality

48%

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.

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.

CVSS 3.0 Base Score 3.7. CVSS Attack Vector: network. CVSS Attack Complexity: high. CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N).

CVSS 2.0 Base Score 4.3. CVSS Attack Vector: network. CVSS Attack Complexity: medium. CVSS Vector: (AV:N/AC:M/Au:N/C:P/I:N/A:N).

Overview

Type

Ruby

First reported 9 years ago

2016-02-16 02:59:00

Last updated 5 years ago

2019-08-08 15:43:00

Affected Software

Ruby on Rails Rails 4.0.0

4.0.0

Rubyonrails Rails 4.0.0 Beta

4.0.0

Ruby on Rails Rails 4.0.0 Release Candidate 1

4.0.0

Ruby on Rails Rails 4.0.0 Release Candidate 2

4.0.0

Ruby on Rails Rails 4.0.1

4.0.1

Ruby on Rails Rails 4.0.1 Release Candidate 1

4.0.1

Ruby on Rails Rails 4.0.1 Release Candidate 2

4.0.1

Ruby on Rails Rails 4.0.1 Release Candidate 3

4.0.1

Ruby on Rails Rails 4.0.1 Release Candidate 4

4.0.1

Ruby on Rails Rails 4.0.2

4.0.2

Ruby on Rails Rails 4.0.3

4.0.3

Ruby on Rails Rails 4.0.4 Release Candidate 1

4.0.4

Ruby on Rails Rails 4.0.5

4.0.5

Ruby on Rails Rails 4.0.6 Release Candidate 1

4.0.6

Ruby on Rails Rails 4.0.6 Release Candidate 2

4.0.6

Ruby on Rails Rails 4.0.6 Release Candidate 3

4.0.6

Ruby on Rails Rails 4.0.7

4.0.7

Ruby on Rails Rails 4.0.8

4.0.8

Ruby on Rails Rails 4.0.9

4.0.9

Ruby on Rails Rails 4.0.10 Release Candidate 1

4.0.10

Ruby on Rails Rails 4.1.0

4.1.0

Ruby on Rails Rails 4.1.0 Beta1

4.1.0

Ruby on Rails Rails 4.1.0 Beta2

4.1.0

Ruby on Rails Rails 4.1.0 Release Candidate 1

4.1.0

Ruby on Rails Rails 4.1.0 Release Candidate 2

4.1.0

Ruby on Rails Rails 4.1.1

4.1.1

Ruby on Rails Rails 4.1.2 Release Candidate 1

4.1.2

Ruby on Rails Rails 4.1.2 Release Candidate 2

4.1.2

Ruby on Rails Rails 4.1.2 Release Candidate 3

4.1.2

Ruby on Rails Rails 4.1.3

4.1.3

Ruby on Rails Rails 4.1.4

4.1.4

Ruby on Rails Rails 4.1.5

4.1.5

Ruby on Rails Rails 4.1.6 Release Candidate 1

4.1.6

Ruby on Rails Rails 4.1.6 Release Candidate 2

4.1.6

Ruby on Rails Rails 4.1.7

4.1.7

Ruby on Rails Rails 4.1.7.1

4.1.7.1

Ruby on Rails Rails 4.1.8

4.1.8

Ruby on Rails Rails 4.1.9 Release Candidate 1

4.1.9

Ruby on Rails Rails 4.1.10 Release Candidate 1

4.1.10

Ruby on Rails Rails 4.1.10 Release Candidate 2

4.1.10

Ruby on Rails Rails 4.1.10 Release Candidate 3

4.1.10

Ruby on Rails Rails 4.1.10 Release Candidate 4

4.1.10

Ruby on Rails Rails 4.1.12 Release Candidate 1

4.1.12

Ruby on Rails Rails 4.1.13 Release Candidate 1

4.1.13

Ruby on Rails Rails 4.1.14 Release Candidate 1

4.1.14

Ruby on Rails Rails 4.1.14 Release Candidate 2

4.1.14

Ruby on Rails Rails 4.2.0 Beta1

4.2.0

Ruby on Rails Rails 4.2.0 Beta2

4.2.0

Ruby on Rails Rails 4.2.0 Beta3

4.2.0

Ruby on Rails Rails 4.2.0 Beta4

4.2.0

Ruby on Rails Rails 4.2.0 Release Candidate 1

4.2.0

Ruby on Rails Rails 4.2.0 Release Candidate 2

4.2.0

Ruby on Rails Rails 4.2.0 Release Candidate 3

4.2.0

Ruby on Rails Rails 4.2.1 Release Candidate 1

4.2.1

Ruby on Rails Rails 4.2.1 Release Candidate 2

4.2.1

Ruby on Rails Rails 4.2.1 Release Candidate 3

4.2.1

Ruby on Rails Rails 4.2.1 Release Candidate 4

4.2.1

Ruby on Rails Rails 4.2.2

4.2.2

Ruby on Rails Rails 4.2.3 Release Candidate 1

4.2.3

Ruby on Rails Rails 4.2.4 Release Candidate 1

4.2.4

Ruby on Rails Rails 4.2.5 Release Candidate 1

4.2.5

Ruby on Rails Rails 4.2.5 Release Candidate 2

4.2.5

Ruby on Rails Rails 5.0.0 Beta1

5.0.0

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.