CVE-2017-2524
published 2017-05-22CVE-2017-2524: An issue was discovered in certain Apple products. iOS before 10.3.2 is affected. macOS before 10.12.5 is affected. tvOS before 10.2.1 is affected. watchOS…
PriorityP262critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
6.73%
93.1th percentile
An issue was discovered in certain Apple products. iOS before 10.3.2 is affected. macOS before 10.12.5 is affected. tvOS before 10.2.1 is affected. watchOS before 3.2.2 is affected. The issue involves the "TextInput" component. It allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption and application crash) via crafted data.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | ios | — | — |
| apple | iphone_os | < 10.3.2 | 10.3.2 |
| apple | mac_os_x | < 10.12.5 | 10.12.5 |
| apple | macos_sierra_10.12.5_security_update_2017-002_el_capitan_and_security_update_201 | — | — |
| apple | tvos | < 10.2.1 | 10.2.1 |
| apple | tvos | — | — |
| apple | watchos | < 3.2.2 | 3.2.2 |
| apple | watchos | — | — |
Detection & IOCsextracted from sources · hover to see the quote
commandmemcpy(<_frames>, <frames_data>, original_length) — heap overflow via NSKeyedArchiver TIKeyboardLayout initWithCoder: with frames value "A"*0x107↗
- →Monitor for NSKeyedArchiver deserialization of the class `TIKeyboardLayout` — specifically `initWithCoder:` being invoked with a `frames` binary blob whose length is NOT a multiple of 8. The rounding-error overflow occurs when `length % 8 != 0`. ↗
- →The vulnerable class `TIKeyboardLayout` is present in the TextInput framework on both iOS and macOS. Any attack surface that allows untrusted NSKeyedArchiver archives to be decoded (e.g., IPC, pasteboard, file parsing) can trigger this vulnerability. ↗
- →Use ASAN (AddressSanitizer) instrumentation on macOS/iOS builds to detect the heap buffer overflow triggered by this CVE during fuzzing or testing of archive-parsing code paths. ↗
- →The overflow is at most 7 bytes past the allocated buffer (calloc rounds down to nearest multiple of 8, memcpy uses original length). Heap metadata corruption signatures consistent with a small controlled overflow (1–7 bytes) in a calloc'd region should be investigated in crash reports involving TextInput. ↗
- ·The PoC was tested specifically on macOS 10.12.3 (16D32); behavior on other versions may differ slightly, though the same vulnerable code path exists across iOS, tvOS, and watchOS builds of the TextInput framework. ↗
- ·The x86 disassembly shown is from the macOS build of the TextInput framework; the same vulnerability exists in the ARM builds used on iOS/tvOS/watchOS, but the register layout will differ. ↗
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/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-2524: tvOS 10.2.1
vendor_apple·2017-05-15·CVSS 9.8
CVE-2017-2524 [CRITICAL] CVE-2017-2524: tvOS 10.2.1
Apple Security Update: About the security content of tvOS 10.2.1
Product: tvOS
Version: 10.2.1
CVE: CVE-2017-2524
Component: TextInput
Impact: Parsing maliciously crafted data may lead to arbitrary code execution
Description: A memory corruption issue was addressed with improved memory handling.
Apple
CVE-2017-2524: iOS 10.3.2
vendor_apple·2017-05-15·CVSS 9.8
CVE-2017-2524 [CRITICAL] CVE-2017-2524: iOS 10.3.2
Apple Security Update: About the security content of iOS 10.3.2
Product: iOS
Version: 10.3.2
CVE: CVE-2017-2524
Component: TextInput
Impact: Parsing maliciously crafted data may lead to arbitrary code execution
Description: A memory corruption issue was addressed with improved memory handling.
Apple
CVE-2017-2524: macOS Sierra 10.12.5, Security Update 2017-002 El Capitan, and Security Update 2017-002 Yosemite
vendor_apple·2017-05-15·CVSS 9.8
CVE-2017-2524 [CRITICAL] CVE-2017-2524: macOS Sierra 10.12.5, Security Update 2017-002 El Capitan, and Security Update 2017-002 Yosemite
Apple Security Update: About the security content of macOS Sierra 10.12.5, Security Update 2017-002 El Capitan, and Security Update 2017-002 Yosemite
Product: macOS Sierra 10.12.5, Security Update 2017-002 El Capitan, and Security Update 2017-002 Yosemite
CVE: CVE-2017-2524
Component: TextInput
Impact: Parsing maliciously crafted data may lead to arbitrary code execution
Description: A memory corruption issue was addressed with improved memory handling.
Apple
CVE-2017-2524: watchOS 3.2.2
vendor_apple·2017-05-15·CVSS 9.8
CVE-2017-2524 [CRITICAL] CVE-2017-2524: watchOS 3.2.2
Apple Security Update: About the security content of watchOS 3.2.2
Product: watchOS
Version: 3.2.2
CVE: CVE-2017-2524
Component: TextInput
Impact: Parsing maliciously crafted data may lead to arbitrary code execution
Description: A memory corruption issue was addressed with improved memory handling.
GHSA
GHSA-5m9p-995f-fvm9: An issue was discovered in certain Apple products
ghsa_unreviewed·2022-05-14
CVE-2017-2524 [CRITICAL] CWE-119 GHSA-5m9p-995f-fvm9: An issue was discovered in certain Apple products
An issue was discovered in certain Apple products. iOS before 10.3.2 is affected. macOS before 10.12.5 is affected. tvOS before 10.2.1 is affected. watchOS before 3.2.2 is affected. The issue involves the "TextInput" component. It allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption and application crash) via crafted data.
No detection rules found.
No writeups or analysis indexed.
http://www.securityfocus.com/bid/98468http://www.securitytracker.com/id/1038484https://support.apple.com/HT207797https://support.apple.com/HT207798https://support.apple.com/HT207800https://support.apple.com/HT207801https://www.exploit-db.com/exploits/42051/http://www.securityfocus.com/bid/98468http://www.securitytracker.com/id/1038484https://support.apple.com/HT207797https://support.apple.com/HT207798https://support.apple.com/HT207800https://support.apple.com/HT207801https://www.exploit-db.com/exploits/42051/
2017-05-22
Published