Linux Kernel up to 4.10.14 File Descriptor fs/timerfd.c use after free

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

Summaryinfo

A vulnerability has been found in Linux Kernel up to 4.10.14 and classified as critical. Impacted is an unknown function of the file fs/timerfd.c of the component File Descriptor Handler. The manipulation leads to use after free. This vulnerability is referenced as CVE-2017-10661. The attack can only be performed from a local environment. Furthermore, an exploit is available. Applying a patch is the recommended action to fix this issue.

Detailsinfo

A vulnerability was found in Linux Kernel up to 4.10.14 (Operating System). It has been rated as critical. This issue affects an unknown part of the file fs/timerfd.c of the component File Descriptor Handler. The manipulation with an unknown input leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

Race condition in fs/timerfd.c in the Linux kernel before 4.10.15 allows local users to gain privileges or cause a denial of service (list corruption or use-after-free) via simultaneous file-descriptor operations that leverage improper might_cancel queueing.

The bug was discovered 06/28/2017. The weakness was published 08/19/2017 by SegFault with Trend Micro as confirmed git commit (GIT Repository). The advisory is shared at git.kernel.org. The identification of this vulnerability is CVE-2017-10661 since 06/28/2017. An attack has to be approached locally. A simple authentication is necessary for exploitation. Technical details as well as a public exploit are known.

A public exploit has been developed in ANSI C and been published 5 months after the advisory. The exploit is available at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 52 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 103363 (Debian DLA-1099-1 : linux security update (BlueBorne) (Stack Clash)), 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 157849 (Oracle Enterprise Linux Security Update for kernel (ELSA-2018-3083)).

Upgrading to version 4.10.15 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be patching the affected component. A possible mitigation has been published 2 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Exploit-DB (43345), Tenable (103363) and SecurityFocus (BID 100215†). Similar entries are available at VDB-81153, VDB-87616, VDB-105187 and VDB-105188. 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.1
VulDB Meta Temp Score: 5.9

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

NVD Base Score: 7.0
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

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

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 103363
Nessus Name: Debian DLA-1099-1 : linux security update (BlueBorne) (Stack Clash)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 53754
OpenVAS Name: Debian Security Advisory DSA 3981-1 (linux - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

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

Upgrade: Kernel 4.10.15
Patch: git.kernel.org

Timelineinfo

06/28/2017 🔍
06/28/2017 +0 days 🔍
08/08/2017 +41 days 🔍
08/19/2017 +11 days 🔍
08/19/2017 +0 days 🔍
08/20/2017 +1 days 🔍
09/20/2017 +31 days 🔍
09/21/2017 +1 days 🔍
12/15/2017 +85 days 🔍
12/15/2017 +0 days 🔍
12/27/2024 +2569 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: RHSA-2018:3083
Researcher: Tong Lin (SegFault)
Organization: Trend Micro
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2017-10661 (🔍)
GCVE (CVE): GCVE-0-2017-10661
GCVE (VulDB): GCVE-100-105605

OVAL: 🔍

SecurityFocus: 100215 - Google Android Kernel Components Multiple Privilege Escalation Vulnerabilities

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 08/20/2017 21:09
Updated: 12/27/2024 23:45
Changes: 08/20/2017 21:09 (91), 12/15/2019 22:42 (7), 01/09/2021 18:57 (2), 12/16/2022 08:45 (3), 12/27/2024 23:45 (14)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!