RPM up to 2.0.9 lib/fsm.c 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.
8.0$0-$5k0.00

A vulnerability has been found in RPM up to 2.0.9 and classified as critical. Affected by this vulnerability is an unknown code in the library lib/fsm.c. The manipulation with an unknown input leads to a access control vulnerability. The CWE definition for the vulnerability is CWE-264. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

lib/fsm.c in RPM 4.8.0 and unspecified 4.7.x and 4.6.x versions, and RPM before 4.4.3, does not properly reset the metadata of an executable file during replacement of the file in an RPM package upgrade, which might allow local users to gain privileges by creating a hard link to a vulnerable (1) setuid or (2) setgid file.

The weakness was released 06/03/2010 by Matt McCutchen (Website). It is possible to read the advisory at distrib-coffee.ipsl.jussieu.fr. This vulnerability is known as CVE-2010-2059. The exploitation appears to be easy. Attacking locally is a requirement. The exploitation doesn't need any form of authentication. 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 49267 (openSUSE Security Update : rpm (openSUSE-SU-2010:0627-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 118362 (Fedora Update for RPM (FEDORA-2010-9829)).

Upgrading to version 2.0.10 eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (49267). Entries connected to this vulnerability are available at 5596, 5619 and 53489.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.4
VulDB Meta Temp Score: 8.0

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

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Access control
CWE: CWE-264
ATT&CK: T1068

Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 49267
Nessus Name: openSUSE Security Update : rpm (openSUSE-SU-2010:0627-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 880421
OpenVAS Name: CentOS Update for popt CESA-2010:0678 centos4 i386
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: RPM 2.0.10

Timelineinfo

05/25/2010 🔍
06/02/2010 +8 days 🔍
06/02/2010 +0 days 🔍
06/02/2010 +0 days 🔍
06/03/2010 +1 days 🔍
06/03/2010 +0 days 🔍
06/08/2010 +4 days 🔍
07/12/2010 +34 days 🔍
09/17/2010 +67 days 🔍
03/19/2015 +1644 days 🔍
09/14/2021 +2371 days 🔍

Sourcesinfo

Advisory: RHSA-2010:0679
Researcher: Matt McCutchen
Status: Not defined
Confirmation: 🔍

CVE: CVE-2010-2059 (🔍)
OVAL: 🔍
IAVM: 🔍

Vulnerability Center: 26369 - RPM Local Privilege Escalation Vulnerability via Hardlinks to Vulnerable Privileged Applications, High
SecurityFocus: 40512 - RPM Package Update and Removal File Attribute Security Bypass Vulnerabilities
Secunia: 40028
OSVDB: 65143 - RPM Package Manager Package Upgrade SetUID/SetGID Weakness

See also: 🔍

Entryinfo

Created: 03/19/2015 12:22
Updated: 09/14/2021 23:41
Changes: 03/19/2015 12:22 (68), 02/28/2017 12:27 (10), 09/14/2021 23:28 (6), 09/14/2021 23:41 (1)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!