Ruby up to 1.9.1 on Windows ARGFinplace_mode memory corruption

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

A vulnerability was found in Ruby up to 1.9.1 on Windows (Programming Language Software). It has been classified as critical. Affected is an unknown code. The manipulation of the argument ARGFinplace_mode with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

Buffer overflow in Ruby 1.9.x before 1.9.1-p429 on Windows might allow local users to gain privileges via a crafted ARGF.inplace_mode value that is not properly handled when constructing the filenames of the backup files.

The bug was discovered 07/04/2010. The weakness was presented 07/02/2010 (Website). The advisory is shared for download at ruby-lang.org. This vulnerability is traded as CVE-2010-2489 since 06/28/2010. The exploitability is told to be easy. The attack needs to be approached locally. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known.

A public exploit has been developed in Perl. The exploit is shared for download at securityfocus.com. It is declared as proof-of-concept.

Upgrading to version 1.9.1 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at X-Force (60135).

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: 9.3
VulDB Meta Temp Score: 8.4

VulDB Base Score: 9.3
VulDB Temp Score: 8.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
ATT&CK: Unknown

Local: Yes
Remote: No

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

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

OpenVAS ID: 801375
OpenVAS Name: Ruby ARGF.inplace_mode Buffer Overflow Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Upgrade: Ruby 1.9.1

Timelineinfo

06/28/2010 🔍
07/02/2010 +4 days 🔍
07/02/2010 +0 days 🔍
07/02/2010 +0 days 🔍
07/02/2010 +0 days 🔍
07/04/2010 +2 days 🔍
07/07/2010 +3 days 🔍
07/12/2010 +4 days 🔍
04/03/2011 +265 days 🔍
03/19/2015 +1446 days 🔍
07/31/2019 +1595 days 🔍

Sourcesinfo

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

CVE: CVE-2010-2489 (🔍)
X-Force: 60135
Vulnerability Center: 30755 - Ruby 1.9-1.9.1-p378 Local Privilege Escalation Vulnerability via a Crafted ARGF.inplace_mode Value, Medium
SecurityFocus: 41321 - Ruby 'ARGF.inplace_mode' Buffer Overflow Vulnerability
Secunia: 40442
OSVDB: 66040 - Ruby on Windows ARGF.inplace_mode Variable Local Overflow

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

Entryinfo

Created: 03/19/2015 14:37
Updated: 07/31/2019 17:53
Changes: 03/19/2015 14:37 (65), 07/31/2019 17:53 (9)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!