cbcvebase.
CVE-2017-2523
published 2017-05-22

CVE-2017-2523: 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…

PriorityP265critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
11.48%
95.5th 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 "Foundation" 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
VendorProductVersion rangeFixed in
appleios
appleiphone_os< 10.3.210.3.2
applemac_os_x< 10.12.510.12.5
applemacos_sierra_10.12.5_security_update_2017-002_el_capitan_and_security_update_201
appletvos< 10.2.110.2.1
appletvos
applewatchos< 3.2.23.2.2
applewatchos

Detection & IOCsextracted from sources · hover to see the quote

urlhttps://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/42050.zip
  • Look for NSUnarchiver deserialization of NSBuiltinCharacterSet objects with out-of-bounds integer values (e.g., 42) supplied as the character set identifier via decodeValueOfObjCType:"i"
  • Flag crafted/untrusted serialized data archives being parsed by the Foundation component on Apple platforms (iOS, macOS, tvOS, watchOS) — exploitation triggers heap corruption via NSBuiltinCharacterSet initWithCoder: with no bounds checking on the index into C pointer arrays
  • Monitor for exploitation attempts using a character set identifier value of 42 in serialized NSBuiltinCharacterSet payloads, as used in the proof-of-concept
  • Neither CFCharacterSetGetPredefined nor the direct __NSBuiltinSetTable manipulation path performs bounds checking; any out-of-range index in the deserialized int field should be treated as a malicious payload indicator
  • ·PoC was tested specifically on MacOS 10.12.3 (16D32); behaviour on other versions may differ
  • ·The vulnerability is in the Foundation component and is triggered by parsing maliciously crafted (serialized/archived) data — attack surface includes any application that deserializes untrusted NSArchiver/NSUnarchiver data

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.