|
|
iOS/OS X NSKeyedArchiver memory corruption due to lack of bounds checking in CAMediaTimingFunctionBuiltin | ||||
| Project Member Reported by ianbeer@google.com, Mar 10 2017 | Back to list | ||||
CAMediaTimingFunctionBuiltin is a class in QuartzCore. Its initWithCoder: method reads an Int "index" then passes that to builtin_function mov ebx, edi <-- controlled unsigned int mov r14d, ebx lea r15, __ZL9functions_0 ; functions mov rax, [r15+r14*8] if rax is non-null it's returned as an objective-c object pointer and the objective-c retain selector is sent to it. Serialized poc in attached file with an index of 12345678. tested on MacOS 10.12.3 (16D32)
Project Member
Comment 1
by
ianbeer@google.com,
Mar 10 2017
,
May 17 2017
Fixed in MacOS 10.12.5: https://support.apple.com/en-us/HT207797
,
May 17 2017
,
May 23 2017
|
|||||
| ► Sign in to add a comment | |||||