Vulnerabilities > CVE-2016-7633 - Use After Free vulnerability in Apple mac OS X
Attack vector
LOCAL Attack complexity
LOW Privileges required
LOW Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
An issue was discovered in certain Apple products. macOS before 10.12.2 is affected. The issue involves the "Directory Services" component. It allows local users to gain privileges or cause a denial of service (use-after-free) via unspecified vectors.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Exploit-Db
description iOS/macOS - Kernel Double Free due to IOSurfaceRootUserClient not Respecting MIG Ownership Rules. CVE-2017-13861. Dos exploit for Multiple platform file exploits/multiple/dos/43320.txt id EDB-ID:43320 last seen 2017-12-11 modified 2017-12-11 platform multiple port published 2017-12-11 reporter Exploit-DB source https://www.exploit-db.com/download/43320/ title iOS/macOS - Kernel Double Free due to IOSurfaceRootUserClient not Respecting MIG Ownership Rules type dos description MacOS 10.12 - Double vm_deallocate in Userspace MIG Code Use-After-Free. CVE-2016-7633. Dos exploit for macOS platform. Tags: Denial of Service (DoS), Use Af... file exploits/macos/dos/40954.c id EDB-ID:40954 last seen 2016-12-22 modified 2016-12-22 platform macos port published 2016-12-22 reporter Exploit-DB source https://www.exploit-db.com/download/40954/ title MacOS 10.12 - Double vm_deallocate in Userspace MIG Code Use-After-Free type dos
Nessus
NASL family | MacOS X Local Security Checks |
NASL id | MACOS_10_12_2.NASL |
description | The remote host is running a version of macOS that is 10.12.x prior to 10.12.2. It is, therefore, affected by multiple vulnerabilities in the following components : - apache_mod_php - AppleGraphicsPowerManagement - Assets - Audio - Bluetooth - CoreCapture - CoreFoundation - CoreGraphics - CoreMedia External Displays - CoreMedia Playback - CoreStorage - CoreText - curl - Directory Services - Disk Images - FontParser - Foundation - Grapher - ICU - ImageIO - Intel Graphics Driver - IOFireWireFamily - IOAcceleratorFamily - IOHIDFamily - IOKit - IOSurface - Kernel - kext tools - libarchive - LibreSSL - OpenLDAP - OpenPAM - OpenSSL - Power Management - Security - syslog - WiFi - xar Note that successful exploitation of the most serious issues can result in arbitrary code execution. Furthermore, CVE-2016-6304, CVE-2016-7596, and CVE-2016-7604 also affect Mac OS X versions 10.10.5 and 10.11.6. However, this plugin does not check those versions. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 95917 |
published | 2016-12-16 |
reporter | This script is Copyright (C) 2016-2020 and is owned by Tenable, Inc. or an Affiliate thereof. |
source | https://www.tenable.com/plugins/nessus/95917 |
title | macOS 10.12.x < 10.12.2 Multiple Vulnerabilities |
code |
|
Seebug
bulletinFamily | exploit |
description | I have previously detailed the lifetime management paradigms in MIG in the writeups for: CVE-2016-7612 [https://bugs.chromium.org/p/project-zero/issues/detail?id=926] and CVE-2016-7633 [https://bugs.chromium.org/p/project-zero/issues/detail?id=954] If a MIG method returns KERN_SUCCESS it means that the method took ownership of `*all*` the arguments passed to it. If a MIG method returns an error code, then it took ownership of `*none*` of the arguments passed to it. If an IOKit userclient external method takes an async wake mach port argument then the lifetime of the reference on that mach port passed to the external method will be managed by MIG semantics. If the external method returns an error then MIG will assume that the reference was not consumed by the external method and as such the MIG generated coode will drop a reference on the port. IOSurfaceRootUserClient external method 17 (s_set_surface_notify) will drop a reference on the wake_port (via IOUserClient::releaseAsyncReference64) then return an error code if the client has previously registered a port with the same callback function. The external method's error return value propagates via the return value of is_io_connect_async_method back to the MIG generated code which will drop a futher reference on the wake_port when only one was taken. This bug is reachable from the iOS app sandbox as demonstrated by this PoC. Tested on iOS 11.0.3 (11A432) on iPhone 6s (MKQL2CN/A) Tested on MacOS 10.13 (17A365) on MacBookAir5,2 [iosurface_uaf_ios.zip](https://bugs.chromium.org/p/project-zero/issues/attachment?aid=309555) [async_wake_ios.zip ](https://bugs.chromium.org/p/project-zero/issues/attachment?aid=315907) |
id | SSV:96991 |
last seen | 2017-12-25 |
modified | 2017-12-15 |
published | 2017-12-15 |
reporter | Root |
title | iOS/MacOS kernel double free due to IOSurfaceRootUserClient not respecting MIG ownership rules(CVE-2017-13861) |