CVE-2017-7047
published 2017-07-20CVE-2017-7047: An issue was discovered in certain Apple products. iOS before 10.3.3 is affected. macOS before 10.12.6 is affected. tvOS before 10.2.2 is affected. watchOS…
PriorityP261high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EXPLOIT
EPSS
6.73%
93.1th percentile
An issue was discovered in certain Apple products. iOS before 10.3.3 is affected. macOS before 10.12.6 is affected. tvOS before 10.2.2 is affected. watchOS before 3.2.3 is affected. The issue involves the "libxpc" component. It allows attackers to execute arbitrary code in a privileged context or cause a denial of service (memory corruption) via a crafted app.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | ios | — | — |
| apple | iphone_os | < 10.3.3 | 10.3.3 |
| apple | mac_os_x | < 10.12.6 | 10.12.6 |
| apple | macos_sierra_10.12.6_security_update_2017-003_el_capitan_and_security_update_201 | — | — |
| apple | tvos | < 10.2.2 | 10.2.2 |
| apple | tvos | — | — |
| apple | watchos | < 3.2.3 | 3.2.3 |
| apple | watchos | — | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Monitor for processes sending crafted XPC messages with mach memory entry ports using non-standard flags to mach_make_memory_entry_64, resulting in shared memory regions being mapped into both sender and receiver address spaces. ↗
- →Detect exploitation attempts targeting the 'airportd' daemon (runs as root) via NSXPC, which is the primary PoC target for CVE-2017-7047 privilege escalation. ↗
- →Look for race condition patterns where xpc_data object backing buffers are modified between NSGetSizeAndAlignment and the subsequent calloc/parse calls in NSMethodSignature signatureWithObjCTypes, indicating an attempt to trigger out-of-bounds writes via the 'ty' key in serialized NSInvocation bplist16 payloads. ↗
- →Alert on deployment or execution of 'triple_fetch' exploit tooling on iOS 10.0–10.3.2 devices, which builds a remote lldb debugserver stub capable of attaching to all userspace processes. ↗
- →Flag use of interposition libraries injected into processes communicating over NSXPC, as the exploit leverages such libraries to craft malicious xpc_data objects with shared-memory-backed mach memory entry ports. ↗
- ·The exploit is a race condition and is not highly reliable; it may require multiple attempts and hard reboots, meaning detection based on single-event triggers may miss attempts. ↗
- ·The vulnerability affects any NSXPC service, not just airportd; detection rules scoped only to airportd will miss exploitation of other privileged NSXPC services. ↗
- ·Apple's advisory attributes the CVE to the 'Kernel' component with memory read impact, while the NVD and PoC describe it as a libxpc logic error enabling arbitrary code execution; detection scope should cover both kernel and userspace XPC layers. ↗
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Apple
CVE-2017-7047: macOS Sierra 10.12.6, Security Update 2017-003 El Capitan, and Security Update 2017-003 Yosemite
vendor_apple·2017-07-19·CVSS 8.8
CVE-2017-7047 [HIGH] CVE-2017-7047: macOS Sierra 10.12.6, Security Update 2017-003 El Capitan, and Security Update 2017-003 Yosemite
Apple Security Update: About the security content of macOS Sierra 10.12.6, Security Update 2017-003 El Capitan, and Security Update 2017-003 Yosemite
Product: macOS Sierra 10.12.6, Security Update 2017-003 El Capitan, and Security Update 2017-003 Yosemite
CVE: CVE-2017-7047
Component: Kernel
Impact: An application may be able to read restricted memory
Description: A validation issue was addressed with improved input sanitization.
Apple
CVE-2017-7047: watchOS 3.2.3
vendor_apple·2017-07-19·CVSS 8.8
CVE-2017-7047 [HIGH] CVE-2017-7047: watchOS 3.2.3
Apple Security Update: About the security content of watchOS 3.2.3
Product: watchOS
Version: 3.2.3
CVE: CVE-2017-7047
Component: Kernel
Impact: An application may be able to read restricted memory
Description: A validation issue was addressed with improved input sanitization.
Apple
CVE-2017-7047: iOS 10.3.3
vendor_apple·2017-07-19·CVSS 8.8
CVE-2017-7047 [HIGH] CVE-2017-7047: iOS 10.3.3
Apple Security Update: About the security content of iOS 10.3.3
Product: iOS
Version: 10.3.3
CVE: CVE-2017-7047
Component: Kernel
Impact: An application may be able to read restricted memory
Description: A validation issue was addressed with improved input sanitization.
Apple
CVE-2017-7047: tvOS 10.2.2
vendor_apple·2017-07-19·CVSS 8.8
CVE-2017-7047 [HIGH] CVE-2017-7047: tvOS 10.2.2
Apple Security Update: About the security content of tvOS 10.2.2
Product: tvOS
Version: 10.2.2
CVE: CVE-2017-7047
Component: Kernel
Impact: An application may be able to read restricted memory
Description: A validation issue was addressed with improved input sanitization.
GHSA
GHSA-77gx-j9g8-9r5v: An issue was discovered in certain Apple products
ghsa_unreviewed·2022-05-14
CVE-2017-7047 [HIGH] CWE-119 GHSA-77gx-j9g8-9r5v: An issue was discovered in certain Apple products
An issue was discovered in certain Apple products. iOS before 10.3.3 is affected. macOS before 10.12.6 is affected. tvOS before 10.2.2 is affected. watchOS before 3.2.3 is affected. The issue involves the "libxpc" component. It allows attackers to execute arbitrary code in a privileged context or cause a denial of service (memory corruption) via a crafted app.
No detection rules found.
http://www.securityfocus.com/bid/99883http://www.securitytracker.com/id/1038950https://support.apple.com/HT207922https://support.apple.com/HT207923https://support.apple.com/HT207924https://support.apple.com/HT207925https://www.exploit-db.com/exploits/42407/http://www.securityfocus.com/bid/99883http://www.securitytracker.com/id/1038950https://support.apple.com/HT207922https://support.apple.com/HT207923https://support.apple.com/HT207924https://support.apple.com/HT207925https://www.exploit-db.com/exploits/42407/
2017-07-20
Published