RubyGems up to 2.6.12 GEM Install DNS access control

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

A vulnerability has been found in RubyGems up to 2.6.12 (Programming Language Software) and classified as critical. Affected by this vulnerability is an unknown functionality of the component GEM Install. The manipulation with an unknown input leads to a access control vulnerability (DNS). The CWE definition for the vulnerability is CWE-284. The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

RubyGems version 2.6.12 and earlier is vulnerable to a DNS hijacking vulnerability that allows a MITM attacker to force the RubyGems client to download and install gems from a server that the attacker controls.

The bug was discovered 08/29/2017. The weakness was released 08/31/2017 (Website). It is possible to read the advisory at blog.rubygems.org. This vulnerability is known as CVE-2017-0902 since 11/30/2016. The exploitation appears to be difficult. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. The technical details are unknown and an exploit is not publicly available. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.

The vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 102964 (Debian DSA-3966-1 : ruby2.3 - security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176143 (Debian Security Update for ruby2.3 (DSA 3966-1)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 5 days after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (102964). Entries connected to this vulnerability are available at 106032, 106048, 106049 and 106050.

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: 6.5
VulDB Meta Temp Score: 6.4

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

NVD Base Score: 8.1
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Name: DNS
Class: Access control / DNS
CWE: CWE-284 / CWE-266
ATT&CK: T1068

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 102964
Nessus Name: Debian DSA-3966-1 : ruby2.3 - security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 53376
OpenVAS Name: Debian Security Advisory DSA 3966-1 (ruby2.3 - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Patch: github.com

Timelineinfo

11/30/2016 🔍
08/29/2017 +272 days 🔍
08/31/2017 +2 days 🔍
08/31/2017 +0 days 🔍
08/31/2017 +0 days 🔍
09/01/2017 +1 days 🔍
09/05/2017 +4 days 🔍
09/06/2017 +1 days 🔍
12/27/2022 +1938 days 🔍

Sourcesinfo

Advisory: RHSA-2017:3485
Researcher: Jonathan Claudius
Status: Not defined

CVE: CVE-2017-0902 (🔍)
OVAL: 🔍

SecurityTracker: 1039249
SecurityFocus: 100586 - RubyGems CVE-2017-0902 Security Bypass Vulnerability

See also: 🔍

Entryinfo

Created: 09/01/2017 09:04
Updated: 12/27/2022 14:28
Changes: 09/01/2017 09:04 (70), 11/12/2019 15:27 (11), 01/10/2021 14:53 (2), 01/10/2021 14:57 (1), 12/27/2022 14:28 (4)
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!