VDB-51538 · CVE-2009-4492 · BID 37710

Ruby 1.8.6/1.8.7/1.8.8/1.9.1/1.9.2 Terminal input validation

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.
5.3$0-$5k0.00

A vulnerability has been found in Ruby 1.8.6/1.8.7/1.8.8/1.9.1/1.9.2 (Programming Language Software) and classified as critical. This vulnerability affects an unknown code of the component Terminal. The manipulation with an unknown input leads to a input validation vulnerability. The CWE definition for the vulnerability is CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. As an impact it is known to affect confidentiality. CVE summarizes:

WEBrick 1.3.1 in Ruby 1.8.6 through patchlevel 383, 1.8.7 through patchlevel 248, 1.8.8dev, 1.9.1 through patchlevel 376, and 1.9.2dev writes data to a log file without sanitizing non-printable characters, which might allow remote attackers to modify a window s title, or possibly execute arbitrary commands or overwrite files, via an HTTP request containing an escape sequence for a terminal emulator.

The weakness was presented 01/13/2010 (Website). The advisory is available at ruby-lang.org. This vulnerability was named CVE-2009-4492. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. The technical details are unknown and an exploit is not available.

The vulnerability scanner Nessus provides a plugin with the ID 68298 (Oracle Linux 5 : ruby (ELSA-2011-0909)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 119555 (CentOS Security Update for Ruby (CESA-2011:0908)).

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the vulnerability database at Tenable (68298). See 53683 and 56925 for similar entries.

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: 5.3

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

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 68298
Nessus Name: Oracle Linux 5 : ruby (ELSA-2011-0909)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 880953
OpenVAS Name: CentOS Update for irb CESA-2011:0908 centos4 i386
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

12/04/2009 🔍
12/30/2009 +25 days 🔍
01/11/2010 +12 days 🔍
01/13/2010 +2 days 🔍
01/13/2010 +0 days 🔍
01/25/2010 +12 days 🔍
07/12/2013 +1264 days 🔍
03/18/2015 +614 days 🔍
08/31/2021 +2358 days 🔍

Sourcesinfo

Advisory: ruby-lang.org
Status: Not defined
Confirmation: 🔍

CVE: CVE-2009-4492 (🔍)
OVAL: 🔍

Vulnerability Center: 24669 - Ruby WEBrick Remote Arbitrary Code Execution Vulnerability via a Malicious HTTP Request, High
SecurityFocus: 37710 - Ruby WEBrick Terminal Escape Sequence in Logs Command Injection Vulnerability

See also: 🔍

Entryinfo

Created: 03/18/2015 15:15
Updated: 08/31/2021 09:03
Changes: 03/18/2015 15:15 (60), 02/20/2017 10:10 (9), 08/31/2021 08:58 (4), 08/31/2021 09:03 (1)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!