Ryan Davis Ruby Parser up to 2.1.0 gauntlet_rubyparser.rb diff_pp access control
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.0 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Ryan Davis Ruby Parser up to 2.1.0. It has been classified as problematic. The affected element is the function diff_pp in the library lib/gauntlet_rubyparser.rb of the component Parser. Performing a manipulation results in access control.
This vulnerability was named CVE-2013-0162. There is no available exploit.
Details
A vulnerability was found in Ryan Davis Ruby Parser up to 2.1.0 (Programming Language Software). It has been classified as problematic. This affects the function diff_pp in the library lib/gauntlet_rubyparser.rb of the component Parser. The manipulation with an unknown input leads to a access control vulnerability. CWE is classifying the issue as CWE-264. This is going to have an impact on integrity. The summary by CVE is:
The diff_pp function in lib/gauntlet_rubyparser.rb in the ruby_parser gem 3.1.1 and earlier for Ruby allows local users to overwrite arbitrary files via a symlink attack on a temporary file with a predictable name in /tmp.
The weakness was presented 03/01/2013 by Michael Scherer as Bug 892806 as not defined bug report (Bugzilla). It is possible to read the advisory at bugzilla.redhat.com. This vulnerability is uniquely identified as CVE-2013-0162 since 12/06/2012. The exploitability is told to be easy. Attacking locally is a requirement. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.
The vulnerability scanner Nessus provides a plugin with the ID 64875 (FreeBSD : rubygem-ruby_parser -- insecure tmp file usage (e1aa3bdd-839a-4a77-8617-cca439a8f9fc)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks.
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 databases at X-Force (82300), Tenable (64875), SecurityFocus (BID 58110†) and Vulnerability Center (SBV-38700†). Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.0VulDB Meta Temp Score: 4.0
VulDB Base Score: 4.0
VulDB Temp Score: 4.0
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: Access controlCWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 64875
Nessus Name: FreeBSD : rubygem-ruby_parser -- insecure tmp file usage (e1aa3bdd-839a-4a77-8617-cca439a8f9fc)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
12/06/2012 🔍02/21/2013 🔍
02/21/2013 🔍
02/25/2013 🔍
03/01/2013 🔍
03/01/2013 🔍
03/11/2013 🔍
03/24/2015 🔍
12/29/2021 🔍
Sources
Advisory: Bug 892806Researcher: Michael Scherer
Status: Not defined
CVE: CVE-2013-0162 (🔍)
GCVE (CVE): GCVE-0-2013-0162
GCVE (VulDB): GCVE-100-63663
X-Force: 82300
SecurityFocus: 58110 - RubyGems 'ruby_parser' CVE-2013-0162 Insecure Temporary File Creation Vulnerability
Vulnerability Center: 38700 - RubyGems Ruby Parser 3.1.1 Local Overwrite of Files via an Attack on a File With a Predictable Name, Low
Entry
Created: 03/24/2015 12:22Updated: 12/29/2021 18:06
Changes: 03/24/2015 12:22 (65), 04/25/2017 11:44 (4), 12/29/2021 18:06 (3)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.