Linux Kernel up to 4.12.9 Crafted Program kernel/fork.c mm_init use after free

CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
6.4 | $0-$5k | 0.00 |
A vulnerability was found in Linux Kernel up to 4.12.9 (Operating System). It has been rated as critical. Affected by this issue is the function mm_init
of the file kernel/fork.c of the component Crafted Program. 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. CVE summarizes:
The mm_init function in kernel/fork.c in the Linux kernel before 4.12.10 does not clear the ->exe_file member of a new process's mm_struct, allowing a local attacker to achieve a use-after-free or possibly have unspecified other impact by running a specially crafted program.
The bug was discovered 08/25/2017. The weakness was disclosed 11/29/2017 as confirmed git commit (GIT Repository). The advisory is available at git.kernel.org. This vulnerability is handled as CVE-2017-17052 since 11/28/2017. Local access is required to approach this attack. A simple authentication is required for exploitation. Technical details are known, but there is no available exploit.
The vulnerability was handled as a non-public zero-day exploit for at least 95 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 109008 (Oracle Linux 6 / 7 : Unbreakable Enterprise kernel (ELSA-2018-4062)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 157673 (Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel (ELSA-2018-4062)).
Upgrading to version 4.12.10 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 5 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (109008) and SecurityFocus (BID 102009†). The entry VDB-102802 is pretty similar.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.5VulDB Meta Temp Score: 6.4
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
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: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
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: 109008
Nessus Name: Oracle Linux 6 / 7 : Unbreakable Enterprise kernel (ELSA-2018-4062)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Kernel 4.12.10
Patch: git.kernel.org
Timeline
08/25/2017 🔍11/28/2017 🔍
11/28/2017 🔍
11/28/2017 🔍
11/29/2017 🔍
11/29/2017 🔍
04/11/2018 🔍
04/12/2018 🔍
01/16/2023 🔍
Sources
Vendor: kernel.orgAdvisory: 2b7e8665b4ff51c034c55df3cff76518d1a9ee3a
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2017-17052 (🔍)
SecurityFocus: 102009 - Linux Kernel 'kernel/fork.c' Local Use After Free Memory Corruption Vulnerability
See also: 🔍
Entry
Created: 11/29/2017 07:24 PMUpdated: 01/16/2023 02:25 PM
Changes: 11/29/2017 07:24 PM (74), 12/11/2019 08:48 AM (10), 01/16/2023 02:25 PM (4)
Complete: 🔍
Cache ID: 18:D1C:40
No comments yet. Languages: en.
Please log in to comment.