Ubuntu Linux 5.0/5.3 shiftfs shiftfs_btrfs_ioctl_fd_replace Underflow operation after expiration

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

Summaryinfo

A vulnerability identified as critical has been detected in Ubuntu Linux 5.0/5.3. Affected by this issue is the function shiftfs_btrfs_ioctl_fd_replace of the component shiftfs. The manipulation leads to operation after expiration (Underflow). This vulnerability is documented as CVE-2019-15791. The attack needs to be performed locally. Additionally, an exploit exists. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Detailsinfo

A vulnerability was found in Ubuntu Linux 5.0/5.3 (Operating System). It has been rated as critical. This issue affects the function shiftfs_btrfs_ioctl_fd_replace of the component shiftfs. The manipulation with an unknown input leads to a operation after expiration vulnerability (Underflow). Using CWE to declare the problem leads to CWE-672. The product uses, accesses, or otherwise operates on a resource after that resource has been expired, released, or revoked. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

In shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, shiftfs_btrfs_ioctl_fd_replace() installs an fd referencing a file from the lower filesystem without taking an additional reference to that file. After the btrfs ioctl completes this fd is closed, which then puts a reference to that file, leading to a refcount underflow.

The weakness was released 04/24/2020. The identification of this vulnerability is CVE-2019-15791 since 08/29/2019. Attacking locally is a requirement. A simple authentication is required for exploitation. Technical details as well as a public exploit are known.

The exploit is available at exploit-db.com. It is declared as proof-of-concept.

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 vulnerability database at Exploit-DB (47693). Entries connected to this vulnerability are available at VDB-154334, VDB-154333 and VDB-154332. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 6.3

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

NVD Base Score: 7.1
NVD Vector: 🔍

CNA Base Score: 7.1
CNA Vector (Canonical Ltd.): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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

NVD Base Score: 🔍

Exploitinginfo

Name: Underflow
Class: Operation after expiration / Underflow
CWE: CWE-672
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

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

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Patch: git.launchpad.net

Timelineinfo

08/29/2019 🔍
04/24/2020 +239 days 🔍
04/24/2020 +0 days 🔍
12/23/2024 +1704 days 🔍

Sourcesinfo

Vendor: ubuntu.com

Advisory: usn-4183-1
Status: Confirmed

CVE: CVE-2019-15791 (🔍)
GCVE (CVE): GCVE-0-2019-15791
GCVE (VulDB): GCVE-100-154331
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 04/24/2020 10:51 AM
Updated: 12/23/2024 09:10 PM
Changes: 04/24/2020 10:51 AM (39), 04/24/2020 10:56 AM (12), 10/12/2020 04:25 PM (1), 06/02/2024 01:54 PM (18), 06/02/2024 01:59 PM (18), 12/23/2024 09:10 PM (16)
Complete: 🔍
Cache ID: 244:639:40

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!