Nskeyedunarchiver info leak in decoding sgbigutf8string Vulnerability / Exploit
/
/
/
Exploits / Vulnerability Discovered : 2019-08-15 |
Type : dos |
Platform : multiple
This exploit / vulnerability Nskeyedunarchiver info leak in decoding sgbigutf8string is for educational purposes only and if it is used you will do on your own risk!
[+] Code ...
There is an info leak when decoding the SGBigUTF8String class using [SGBigUTF8String initWithCoder:]. This class initializes the string using [SGBigUTF8String initWithUTF8DataNullTerminated:] even though there is no guarantee the bytes provided to the decoder are null terminated. It should use [SGBigUTF8String initWithUTF8Data:] instead.
While this class is included in iMessage, it is more likely that this bug could be useful in local attacks.