Vulnerabilities > CVE-2017-2489 - Information Exposure vulnerability in Apple mac OS X
Attack vector
NETWORK Attack complexity
MEDIUM Privileges required
NONE Confidentiality impact
PARTIAL Integrity impact
NONE Availability impact
NONE Summary
An issue was discovered in certain Apple products. macOS before 10.12.4 is affected. The issue involves the "Intel Graphics Driver" component. It allows attackers to obtain sensitive information from kernel memory via a crafted app.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Subverting Environment Variable Values The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.
- Footprinting An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
- Exploiting Trust in Client (aka Make the Client Invisible) An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
- Browser Fingerprinting An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser.
- Session Credential Falsification through Prediction This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.
Exploit-Db
description | macOS Kernel 10.12.2 (16C67) - Memory Disclosure Due to Lack of Bounds Checking in AppleIntelCapriController::getDisplayPipeCapability. CVE-2017-2489. Dos ex... |
file | exploits/macos/dos/41798.c |
id | EDB-ID:41798 |
last seen | 2017-04-04 |
modified | 2017-04-04 |
platform | macos |
port | |
published | 2017-04-04 |
reporter | Exploit-DB |
source | https://www.exploit-db.com/download/41798/ |
title | macOS Kernel 10.12.2 (16C67) - Memory Disclosure Due to Lack of Bounds Checking in AppleIntelCapriController::getDisplayPipeCapability |
type | dos |
Nessus
NASL family | MacOS X Local Security Checks |
NASL id | MACOS_10_12_4.NASL |
description | The remote host is running a version of macOS that is 10.12.x prior to 10.12.4. It is, therefore, affected by multiple vulnerabilities in multiple components, some of which are remote code execution vulnerabilities. An unauthenticated, remote attacker can exploit these remote code execution vulnerabilities by convincing a user to visit a specially crafted website, resulting in the execution of arbitrary code in the context of the current user. The affected components are as follows : - apache - apache_mod_php - AppleGraphicsPowerManagement - AppleRAID - Audio - Bluetooth - Carbon - CoreGraphics - CoreMedia - CoreText - curl - EFI - FinderKit - FontParser - HTTPProtocol - Hypervisor - iBooks - ImageIO - Intel Graphics Driver - IOATAFamily - IOFireWireAVC - IOFireWireFamily - Kernel - Keyboards - libarchive - libc++abi - LibreSSL - MCX Client - Menus - Multi-Touch - OpenSSH - OpenSSL - Printing - python - QuickTime - Security - SecurityFoundation - sudo - System Integrity Protection - tcpdump - tiffutil - WebKit |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 99134 |
published | 2017-03-31 |
reporter | This script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof. |
source | https://www.tenable.com/plugins/nessus/99134 |
title | macOS 10.12.x < 10.12.4 Multiple Vulnerabilities (httpoxy) |
code |
|
Seebug
bulletinFamily | exploit |
description | MacOS kernel memory disclosure due to lack of bounds checking in AppleIntelCapriController::getDisplayPipeCapability Selector 0x710 of IntelFBClientControl ends up in AppleIntelCapriController::getDisplayPipeCapability. This method takes a structure input and output buffer. It reads an attacker controlled dword from the input buffer which it uses to index an array of pointers with no bounds checking: `AppleIntelCapriController::getDisplayPipeCapability(AGDCFBGetDisplayCapability_t *, AGDCFBGetDisplayCapability_t *) __text:000000000002A3AB mov r14, rdx ; output buffer, readable from userspace __text:000000000002A3AE mov rbx, rsi ; input buffer, controlled from userspace ... __text:000000000002A3B8 mov eax, [rbx] ; read dword __text:000000000002A3BA mov rsi, [rdi+rax*8+0E40h] ; use as index for small inline buffer in this object __text:000000000002A3C2 cmp byte ptr [rsi+1DCh], 0 ; fail if the byte at +0x1dc is 0 __text:000000000002A3C9 jz short ___fail __text:000000000002A3CB add rsi, 1E0Dh ; otherwise, the memcpy from that pointer +0x1e0dh __text:000000000002A3D2 mov edx, 1D8h ; 0x1d8 bytes __text:000000000002A3D7 mov rdi, r14 ; to the buffer which will be sent back to userspace __text:000000000002A3DA call _memcpy` For this PoC we try to read the pointers at 0x2000 byte boundaries after this allocation; with luck there will be a vtable pointer there which will allow us to read back vtable contents and defeat kASLR. With a bit more effort this could be turned into an (almost) arbitrary read by for example spraying the kernel heap with the desired read target then using a larger offset hoping to land in one of the sprayed buffers. A kernel arbitrary read would, for example, allow you to read the sandbox. kext The HMAC key and forge sandbox extensions if it still works like that. tested on MacOS Sierra 10.12.2 (16C67) Attachment: [capri_mem. c](<https://bugs.chromium.org/p/project-zero/issues/attachment?aid=265534>) |
id | SSV:92887 |
last seen | 2017-11-19 |
modified | 2017-04-04 |
published | 2017-04-04 |
reporter | Root |
title | MacOS kernel memory disclosure due to lack of bounds checking in AppleIntelCapriController::getDisplayPipeCapability(CVE-2017-2489) |