Ruby on Rails up to 3.2.7 http_authentication.rb with_http_digest helper improper authentication
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.7 | $0-$5k | 0.00 |
Summary
A vulnerability marked as problematic has been reported in Ruby on Rails up to 3.2.7. This vulnerability affects the function with_http_digest helper of the file http_authentication.rb. Performing a manipulation results in improper authentication.
This vulnerability is reported as CVE-2012-3424. Moreover, an exploit is present.
It is suggested to upgrade the affected component.
Details
A vulnerability classified as critical has been found in Ruby on Rails up to 3.2.7 (Programming Language Software). This affects the function with_http_digest helper of the file http_authentication.rb. The manipulation with an unknown input leads to a improper authentication vulnerability. CWE is classifying the issue as CWE-287. When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. This is going to have an impact on availability. The summary by CVE is:
The decode_credentials method in actionpack/lib/action_controller/metal/http_authentication.rb in Ruby on Rails 3.x before 3.0.16, 3.1.x before 3.1.7, and 3.2.x before 3.2.7 converts Digest Authentication strings to symbols, which allows remote attackers to cause a denial of service by leveraging access to an application that uses a with_http_digest helper method, as demonstrated by the authenticate_or_request_with_http_digest method.
The weakness was disclosed 07/26/2012 by Charlie Somerville as CVE-2012-3424 as not defined mailinglist post (Website). The advisory is shared at openwall.com. This vulnerability is uniquely identified as CVE-2012-3424 since 06/14/2012. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a private exploit are known.
It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 60134 (FreeBSD : rubygem-actionpack -- Denial of Service (ae2fa87c-4bca-4138-8be1-67ce2a19b3a8)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks.
Upgrading to version 3.2.7 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (77240), Tenable (60134), SecurityFocus (BID 54704†), OSVDB (84243†) and Secunia (SA48682†). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.5VulDB Meta Temp Score: 6.7
VulDB Base Score: 7.5
VulDB Temp Score: 6.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Improper authenticationCWE: CWE-287
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Private
Status: Proof-of-Concept
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 60134
Nessus Name: FreeBSD : rubygem-actionpack -- Denial of Service (ae2fa87c-4bca-4138-8be1-67ce2a19b3a8)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 71516
OpenVAS Name: FreeBSD Ports: rubygem-actionpack
OpenVAS File: 🔍
OpenVAS Family: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Ruby on Rails 3.2.7
Timeline
06/14/2012 🔍07/26/2012 🔍
07/26/2012 🔍
07/26/2012 🔍
07/27/2012 🔍
07/27/2012 🔍
07/28/2012 🔍
08/08/2012 🔍
08/08/2012 🔍
08/09/2012 🔍
08/16/2012 🔍
03/27/2021 🔍
Sources
Advisory: CVE-2012-3424Researcher: Charlie Somerville
Status: Not defined
Confirmation: 🔍
CVE: CVE-2012-3424 (🔍)
GCVE (CVE): GCVE-0-2012-3424
GCVE (VulDB): GCVE-100-5877
X-Force: 77240
SecurityFocus: 54704 - Ruby on Rails 'authenticate_or_request_with_http_digest' Method Denial Of Service Vulnerability
Secunia: 48682 - Ruby on Rails Digest Authentication Denial of Service Vulnerability, Moderately Critical
OSVDB: 84243
Vulnerability Center: 35910 - Ruby on Rails 3.x Remote DoS Vulnerability Through\x27with_http_digest helper\x27 Method, Medium
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 08/09/2012 13:02Updated: 03/27/2021 07:44
Changes: 08/09/2012 13:02 (74), 04/15/2017 16:38 (10), 03/27/2021 07:44 (3)
Complete: 🔍
Cache ID: 216:A09:103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.