CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
6.6 | $0-$5k | 0.00 |
A vulnerability classified as critical was found in Ruby up to 1.9.3 (Programming Language Software). Affected by this vulnerability is the function FileUtils.remove_entry_secure
. The manipulation with an unknown input leads to a link following vulnerability. The CWE definition for the vulnerability is CWE-59. The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
The FileUtils.remove_entry_secure method in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, 1.8.8dev, 1.9.1 through 1.9.1-430, 1.9.2 through 1.9.2-136, and 1.9.3dev allows local users to delete arbitrary files via a symlink attack.
The weakness was presented 02/21/2011 with Ruby Dev-Team (Website). It is possible to read the advisory at ruby-lang.org. This vulnerability is known as CVE-2011-1004 since 02/14/2011. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.
It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 52485 (Fedora 13 : ruby-1.8.6.420-2.fc13 (2011-1913)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 119420 (CentOS Security Update for Ruby (CESA-2011:0909)).
Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at ruby-lang.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 2 years after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (52485). See 4302 for similar entry.
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.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
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: Link followingCWE: CWE-59
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
Availability: 🔍
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: 52485
Nessus Name: Fedora 13 : ruby-1.8.6.420-2.fc13 (2011-1913)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 880549
OpenVAS Name: CentOS Update for ruby CESA-2011:0909 centos5 i386
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: ruby-lang.org
Timeline
02/14/2011 🔍02/21/2011 🔍
02/21/2011 🔍
02/21/2011 🔍
02/21/2011 🔍
03/02/2011 🔍
03/02/2011 🔍
03/02/2011 🔍
03/09/2011 🔍
03/21/2011 🔍
05/09/2012 🔍
03/19/2021 🔍
Sources
Advisory: ruby-lang.orgOrganization: Ruby Dev-Team
Status: Not defined
Confirmation: 🔍
CVE: CVE-2011-1004 (🔍)
OVAL: 🔍
Vulnerability Center: 30268 - Ruby FileUtils.remove_entry_secure Method Local Arbitrary Files Delete via a Symlink Attack, Low
SecurityFocus: 46460 - Ruby 'FileUtils.remove_entry_secure()' Method Race Condition Vulnerability
Secunia: 43434 - Ruby "FileUtils.remove_entry_secure" Race Condition Security Issue, Not Critical
OSVDB: 70958 - Ruby FileUtils.remove_entry_secure Method File Symlink Race Condition Arbitrary File Deletion
Vupen: ADV-2011-0539
See also: 🔍
Entry
Created: 03/21/2011 01:00Updated: 03/19/2021 06:58
Changes: 03/21/2011 01:00 (79), 03/18/2017 08:06 (13), 03/19/2021 06:58 (3)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.