Full account takeover
High
R
Reverb.com
Submitted None
Actions:
Reported by
sandeep_hodkasia
Vulnerability Details
Technical details and impact analysis
Hello Team,
I got a security issue in reverb ios application which allows an attacker hack all users account.
Since iOS application is not in the scope but still I am reporting this, because this vulnerability may compromise all users account.
Please resolve this quickly.
Desription:
Reverb ios application is not validating facebook `access_token` on the server side in login api, which allows an attacker to hack all account using his own app access token.
Vulnerable request:
```
POST /api/auth/facebook HTTP/1.1
Host: reverb.com
{"fb_token":"EAAJ8Of8DF2IBAL5wChKjuRHSV2VEWpm7eCz2IMqqJy1lJJq8ooyQuKHcOXn6aZCZAIrCtClbrZBdUGhC3FbvncNYk1E0k7AOktEhDjUPwHPOh3x29JURSGIGPBlZCj5WlBHhHzI5KYAPbuXKiZBGTkKZABZATh9JjTqEDhRubYSEiTmhjeytx5moFH9naZB6XjZBRUMkmcbucFD9Vf8IoFZAD1LGngi6j5pXFGcTFPfBEudAZDZD"}
```
Here in vulnerable i used lyst app access token to login.
Steps to reproduce:
1. Replay vulnerable request in vulnerable request in burp suite
2. Use any other app access token .
Fix recommendation:
https://developers.facebook.com/docs/facebook-login/security
**(Bug in oauth flow)
## Impact
Attacker Can hack all users account using his own app access token
Report Details
Additional information and metadata
State
Closed
Substate
Resolved
Submitted
Weakness
Improper Access Control - Generic