Ruby up to 1.9.0 HTTPUtils.split_header_value resource management
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
7.2 | $0-$5k | 0.00 |
A vulnerability was found in Ruby up to 1.9.0 (Programming Language Software) and classified as critical. This issue affects the function WEBrick::HTTPUtils.split_header_value
. The manipulation with an unknown input leads to a resource management vulnerability. Using CWE to declare the problem leads to CWE-399. Impacted is availability. The summary by CVE is:
Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value function in WEBrick::HTTP::DefaultFileHandler in WEBrick in Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 allows context-dependent attackers to cause a denial of service (CPU consumption) via a crafted HTTP request that is processed by a backtracking regular expression.
The bug was discovered 12/04/2008. The weakness was presented 08/12/2008 (Website). The advisory is shared at us-cert.gov. The identification of this vulnerability is CVE-2008-3656 since 08/12/2008. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known.
A public exploit has been developed in Ruby. The exploit is available at securityfocus.com. It is declared as highly functional. The vulnerability scanner Nessus provides a plugin with the ID 67767 (Oracle Linux 4 / 5 : ruby (ELSA-2008-0981)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165649 (SUSE Enterprise Linux Security Update dhcp-client (SUSE-SA:2009:037)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 5 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (46108) and Tenable (67767).
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.5VulDB Meta Temp Score: 7.2
VulDB Base Score: 7.5
VulDB Temp Score: 7.2
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: Resource managementCWE: CWE-399 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Highly functional
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 67767
Nessus Name: Oracle Linux 4 / 5 : ruby (ELSA-2008-0981)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 61773
OpenVAS Name: Debian Security Advisory DSA 1651-1 (ruby1.8)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
MetaSploit ID: webrick_regex.rb
MetaSploit Name: Ruby WEBrick::HTTP::DefaultFileHandler DoS
MetaSploit File: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍
Timeline
08/11/2008 🔍08/11/2008 🔍
08/12/2008 🔍
08/12/2008 🔍
08/12/2008 🔍
08/12/2008 🔍
10/12/2008 🔍
12/04/2008 🔍
12/04/2008 🔍
07/12/2013 🔍
03/17/2015 🔍
08/18/2019 🔍
Sources
Advisory: us-cert.govStatus: Confirmed
Confirmation: 🔍
CVE: CVE-2008-3656 (🔍)
OVAL: 🔍
X-Force: 46108
SecurityTracker: 1020654
Vulnerability Center: 19678 - Ruby WEBrick WEBrick::HTTP::DefaultFileHandler Algorithmic Complexity Vulnerability, Medium
SecurityFocus: 30644 - Ruby Multiple Security Bypass and Denial of Service Vulnerabilities
Secunia: 31430
OSVDB: 47471 - Ruby WEBrick httputils.rb denial of service
Vupen: ADV-2008-2334
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 03/17/2015 12:19Updated: 08/18/2019 09:05
Changes: 03/17/2015 12:19 (83), 08/18/2019 09:05 (13)
Complete: 🔍
Cache ID: 3:46D:103
No comments yet. Languages: en.
Please log in to comment.