Re:Vulnerability That Allowed Hackers to Take Over WhatsApp ...
by morsch on Wednesday March 15, 2017 @06:17PM
(#13880376)
For What'sApp the attack is apparently even more simple. IIUC, there is a client-side whitelist of MIME types on uploader's side. Obviously, the attacker can change the code on their side to whatever they want; in this case they just add text/html to the whitelist.
Apparently, the receiving end just uses the browser to render whatever it's being sent. So apparently there is (or was) effectively no whitelist or verification on the receiving end. Conveniently, the uploader can also control metadata including filename and the thumbnail.
Since the payload is e2e encrypted (for What'sApp, anyway), the server obviously has no idea that any of this is going.
I use Telegram Desktop but this should have showed up in any security test, which they apparently didn't do. As a pen tester, maybe I should take it upon myself to audit stuff that I use now and then...