CVE-2019-8662
CRITICALiPhone OS < 12.4 - Use-After-Free via Untrusted NSDictionary Deserialization
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2019-8662. PoCs published by Google Security Research.
AI-analyzed exploit summary This exploit leverages a deserialization vulnerability in NSUnarchiver via NSSharedKeyDictionary, causing a crash due to an out-of-bounds memory access. Combined with a heap spray, it could lead to remote code execution.
Description
This issue was addressed with improved checks. This issue is fixed in iOS 12.4, macOS Mojave 10.14.6, tvOS 12.4, watchOS 5.3. An attacker may be able to trigger a use-after-free in an application deserializing an untrusted NSDictionary.
Exploits (2)
This exploit leverages a deserialization vulnerability in NSUnarchiver via NSSharedKeyDictionary, causing a crash due to an out-of-bounds memory access. Combined with a heap spray, it could lead to remote code execution.
The writeup describes a deserialization vulnerability in NSKeyedUnarchiver where child classes of whitelisted classes can bypass secure coding checks, leading to use-after-free issues. The example involves OITSUIntDictionary from the OfficeImport framework, which can be exploited via untrusted archives.
References (4)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H