HexBrain

Coinbase · Report #5314

Coinbase Android Application - Bitcoin Wallet Leaks OAuth Response Code

Validstatus
14upvotes
26 Nov 2014disclosed

How it was found

Hi,

There's a simple bug here, the Coinbase Android App. "BitCoin Wallet" leaks the OAuth Response Code which can be obtained using adb logcat -s Coinbase command line for testing, and any Android application on the same phone can read the response code for the user by reading the logs. As of now nothing can be harmed with OAuth Response code, but along with the hardcoded client secret we can obtain the access_token.

This bug is similar to this - http://attack-secure.com/all-your-facebook-access-tokens-are-belong-to-us/

So using the stolen response code and client secret we can derive the access_token

POC: https://www.dropbox.com/s/zionksi1pt7lot5/Coinbase-Android.mov

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original