- Description
- 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.
- Source
- cve@mitre.org
- NVD status
- Analyzed
CVSS 3.1
- Type
- Primary
- Base score
- 9.8
- Impact score
- 5.9
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity
- CRITICAL
CVSS 2.0
- Type
- Primary
- Base score
- 7.5
- Impact score
- 6.4
- Exploitability score
- 10
- Vector string
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- nvd@nist.gov
- CWE-287
- Hype score
- Not currently trending
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7E594206-CF9B-4C01-947C-79EF74B57416",
"versionEndExcluding": "2.3.3"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F110744D-9928-4DC1-873E-26B3E1D7CD62",
"versionEndExcluding": "10.6.3",
"versionStartIncluding": "10.6.0"
},
{
"criteria": "cpe:2.3:o:apple:mac_os_x:10.5.8:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1335E35A-D381-4056-9E78-37BC6DF8AD98"
},
{
"criteria": "cpe:2.3:o:apple:mac_os_x_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F3611024-49F5-414A-B536-9FA6519856B5",
"versionEndExcluding": "10.6.3",
"versionStartIncluding": "10.6.0"
},
{
"criteria": "cpe:2.3:o:apple:mac_os_x_server:10.5.8:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "82B4CD59-9F37-4EF0-BA43-427CFD6E1329"
}
],
"operator": "OR"
}
]
}
]