Ruby up to 1.9.0 regex.c resource management

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.8$0-$5k0.00

A vulnerability, which was classified as problematic, has been found in Ruby up to 1.9.0 (Programming Language Software). Affected by this issue is an unknown code block of the file regex.c. 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. CVE summarizes:

The regular expression engine (regex.c) 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 remote attackers to cause a denial of service (infinite loop and crash) via multiple long requests to a Ruby socket, related to memory allocation failure, and as demonstrated against Webrick.

The bug was discovered 08/13/2008. The weakness was released 08/14/2008 (Website). The advisory is available at us-cert.gov. This vulnerability is handled as CVE-2008-3443 since 08/01/2008. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known.

A public exploit has been developed in Perl. The exploit is available at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 67751 (Oracle Linux 3 : ruby (ELSA-2008-0896)), 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 3 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (44688), Exploit-DB (6239), Tenable (67751), SecurityFocus (BID 30682†) and OSVDB (47800†).

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 4.8

VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Resource management
CWE: CWE-399 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 67751
Nessus Name: Oracle Linux 3 : ruby (ELSA-2008-0896)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 63099
OpenVAS Name: Debian Security Advisory DSA 1695-1 (ruby1.8, ruby1.9)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

08/01/2008 🔍
08/13/2008 +12 days 🔍
08/13/2008 +0 days 🔍
08/13/2008 +0 days 🔍
08/14/2008 +1 days 🔍
08/14/2008 +0 days 🔍
10/12/2008 +59 days 🔍
10/21/2008 +9 days 🔍
10/21/2008 +0 days 🔍
07/12/2013 +1725 days 🔍
03/17/2015 +613 days 🔍
08/18/2019 +1615 days 🔍

Sourcesinfo

Advisory: us-cert.gov
Status: Not defined
Confirmation: 🔍

CVE: CVE-2008-3443 (🔍)
OVAL: 🔍

X-Force: 44688
SecurityFocus: 30682 - Ruby 'regex.c' Remote Denial Of Service Vulnerability
Secunia: 31430
OSVDB: 47800 - CVE-2008-3443 - Ruby - Denial of Service Issue
SecurityTracker: 1021075
Vulnerability Center: 19676 - Ruby regex.c Remote Denial of Service via Multiple Requests to Ruby Socket, Medium
Vupen: ADV-2009-1297

scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 03/17/2015 12:19
Updated: 08/18/2019 08:53
Changes: 03/17/2015 12:19 (79), 08/18/2019 08:53 (13)
Complete: 🔍
Cache ID: 3:418:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!