Vulnerabilities > CVE-2018-4230 - Race Condition vulnerability in Apple mac OS X
Attack vector
LOCAL Attack complexity
HIGH Privileges required
NONE Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
An issue was discovered in certain Apple products. macOS before 10.13.5 is affected. The issue involves the "NVIDIA Graphics Drivers" component. It allows attackers to execute arbitrary code in a privileged context via a crafted app that triggers a SetAppSupportBits use-after-free because of a race condition.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Leveraging Race Conditions This attack targets a race condition occurring when multiple processes access and manipulate the same resource concurrently and the outcome of the execution depends on the particular order in which the access takes place. The attacker can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance a race condition can occur while accessing a file, the attacker can trick the system by replacing the original file with his version and cause the system to read the malicious file.
- Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. The typical example is the file access. The attacker can leverage a file access race condition by "running the race", meaning that he would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the attacker could do something such as replace the file and cause an escalation of privilege.
Exploit-Db
description | macOS Kernel - Use-After-Free Due to Lack of Locking in nvidia GeForce Driver. CVE-2018-4230. Dos exploit for macOS platform. Tags: Use After Free (UAF) |
file | exploits/macos/dos/44847.c |
id | EDB-ID:44847 |
last seen | 2018-06-06 |
modified | 2018-06-06 |
platform | macos |
port | |
published | 2018-06-06 |
reporter | Exploit-DB |
source | https://www.exploit-db.com/download/44847/ |
title | macOS Kernel - Use-After-Free Due to Lack of Locking in nvidia GeForce Driver |
type | dos |
Nessus
NASL family | MacOS X Local Security Checks |
NASL id | MACOS_10_13_5.NASL |
description | The remote host is running a version of macOS / Mac OS X that is 10.13.x prior to 10.13.5. It is, therefore, affected by multiple vulnerabilities. Note that successful exploitation of the most serious issues can result in arbitrary code execution. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 110324 |
published | 2018-06-05 |
reporter | This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. |
source | https://www.tenable.com/plugins/nessus/110324 |
title | macOS 10.13.x < 10.13.5 Multiple Vulnerabilities |
code |
|
Seebug
bulletinFamily | exploit |
description | `nvDevice::SetAppSupportBits` is external method 0x107 of the nvAccelerator IOService. It calls task_deallocate without locking. Two threads can race calling this external method to drop two task references when only one is held. Note that the repro forks a child which give the nvAccelerator a different task otherwise the repro is more likely to leak task references than panic. |
id | SSV:97337 |
last seen | 2018-06-10 |
modified | 2018-06-08 |
published | 2018-06-08 |
reporter | Knownsec |
source | https://www.seebug.org/vuldb/ssvid-97337 |
title | MacOS kernel UAF due to lack of locking in nvidia GeForce driver(CVE-2018-4230) |
References
- http://www.securitytracker.com/id/1041027
- http://www.securitytracker.com/id/1041027
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1549
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1549
- https://support.apple.com/HT208849
- https://support.apple.com/HT208849
- https://www.exploit-db.com/exploits/44847/
- https://www.exploit-db.com/exploits/44847/