News for hackers. Stuff that matters.
Re:Vulnerability That Allowed Hackers to Take Over WhatsApp ... by lucb1e on Wednesday March 15, 2017 @01:09PM (#13877755)
So basically, you can upload HTML and have users of the web client run the code on the Telgram/Whatsapp domain by sending it with another MIME type such as mp4?

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...

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.

Re:Vulnerability That Allowed Hackers to Take Over WhatsApp ... by bsamuels on Wednesday March 15, 2017 @01:23PM (#13877904)
it's very easy to say "wow they should have tested for that" in retrospect with any vulnerability
Re:Vulnerability That Allowed Hackers to Take Over WhatsApp ... by lucb1e on Wednesday March 15, 2017 @04:34PM (#13879520)
Definitely, which is why I said: any security audit would have found this, so I'm guessing they never had any.