User Enumeration, Information Disclosure and Lack of Rate Limitation on API
The money request endpoint on Coinbase did not rate-limit requests, allowing an attacker to send unlimited requests to arbitrary email addresses. By observing whether the recipient appeared as an email address or a full name in the transaction list, the attacker could enumerate which emails belonged to Coinbase accounts and disclose their first and last names.
- Disclosed after 44 hours
NOTE: I am making this email as I think the response from Coinbase originally, via my emails to them was not correct. They had not acknowledged that this flaw allowed for user enumeration and hence I am posting the report again - in hope of a proper and well evaluated response.
The key security issue however, is that after x amount of email addresses are sent requests for money (rate limiting issue, using coinbase email for spam), the users which are members of coinbase can be differentiated between non-members.
Additionally, there is further information disclosure, as the first and last name of the coinbase users email address is also disclosed.
Hence I believe the following impacts are:
-
Unlimited money request emails, spam
-
Email Address / User enumeration on Coinbase
-
Information Disclosure of Coinbase Accounts (First and Last name)
Steps to reproduce the issue or a proof of concept
To reproduce the vulnerability:
-
Login to Coinbase.
-
Click the Request Money button at the top
-
In the from field, insert a coinbase user accounts email address: e.g. ████
-
The rest of the fields can be entered in as usual
-
Click the Request Money button
-
In this stage, capture the request using a proxy, e.g. Burp Suite
-
If done correctly, the request should look like the following:
POST /transactions/request_money HTTP/1.1 Host: coinbase.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 Accept: /;q=0.5, text/javascript, application/javascript, application/ecmascript, application/x-ecmascript Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate X-CSRF-Token: QXdn0YJf9N7wsbI9QQcyDowBqsaEI6bUB8COSqLh2sI= Content-Type: application/x-www-form-urlencoded; charset=UTF-8 X-Requested-With: XMLHttpRequest Referer: https://coinbase.com/transactions Content-Length: 213 Cookie: _coinbase_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTdlMWRiNTQ1ZGY0ZWQxMjA2N2E2OWEyM2U2NzBmNGJjBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMXJRY0owUWsrSlYrb0hUZDlQM3AwZ0R2cUlqeVlWOTVmUCtSMHVqUUdYckU9BjsARg%3D%3D--b3a84dd08d3654246378c244c2d25b83efaace5b; df=f1e650f064a5d9637c5b4710e49593a2; _coinbase=BAh7C0kiEWxhc3RfdXNlcl9pZAY6BkVGVToaTW9wZWQ6OkJTT046Ok9iamVjdElkIhFTDzZ2yroQA7EAAlFJIhBfY3NyZl90b2tlbgY7AEZJIjFRWGRuMFlKZjlON3dzYkk5UVFjeURvd0Jxc2FFSTZiVUI4Q09TcUxoMnNJPQY7AEZJIg9zZXNzaW9uX2lkBjsARkkiJTExZDMzZmU0N2E1YWJiNDVhNTA4MWY1ZTc5MWVjNTZjBjsAVEkiFGxhc3RfcmVxdWVzdF9hdAY7AEZsKwf0PQ9TSSISc2Vzc2lvbl90b2tlbgY7AEYiRTVhY2Q0NGFmNDFmODFjMTliMGUwODYwOGMyN2RjNTgxN2RkOTlhY2IyMTQ2OWI1MDEyN2M2ZmRlNTU1NGU5OGRJIhJidXR0b25fcGFyYW1zBjsARkM6LUFjdGl2ZVN1cHBvcnQ6Okhhc2hXaXRoSW5kaWZmZXJlbnRBY2Nlc3N7CUkiCWNvZGUGOwBUSSIlOTE0YWM0Yjk1NDA3YTExODZiNjg1NDEzYWViNjc3N2IGOwBUSSINcmVmZXJyZXIGOwBUSSIRY29pbmJhc2UuY29tBjsAVEkiCXV0ZjgGOwBUSSII4pyTBjsAVEkiF2F1dGhlbnRpY2l0eV90b2tlbgY7AFRJIjFRWGRuMFlKZjlON3dzYkk5UVFjeURvd0Jxc2FFSTZiVUI4Q09TcUxoMnNJPQY7AFQ%3D--c083b1c8e179ed6cfaa0f4b0d28b591b7d446247; request_method=GET; _cb_cookie_test=true; wcsid=raGNP96CtPB3NiHR1T41E5Z2IEgpD2FC; hblid=6yunfgNtaUi6mcv91T41E5V2IEtCA0K0; _oklv=1393507811571%2CraGNP96CtPB3NiHR1T41E5Z2IEgpD2FC; olfsk=olfsk42341207274371073; _ok=8678-140-10-4291; _okbk=cd4%3Dtrue%2Cvi5%3D0%2Cvi4%3D1393505916467%2Cvi3%3Dactive%2Cvi2%3Dfalse%2Cvi1%3Dfalse%2Ccd8%3Dchat%2Ccd6%3D0%2Ccd5%3Daway%2Ccd3%3Dfalse%2Ccd2%3D0%2Ccd1%3D0%2C; __cfduid=d1e5585dec9616cee843e28044a6324451393507051048; return_to=; __ssid=d1bedf38-8c4d-4ad6-837e-de61ac0ff777; 914ac4b95407a1186b685413aeb6777b=530f3b68467d61cc1100033a Connection: keep-alive Pragma: no-cache Cache-Control: no-cache
utf8=%E2%9C%93&authenticity_token=QXdn0YJf9N7wsbI9QQcyDowBqsaEI6bUB8COSqLh2sI%3D&transaction%5Bfrom%5D=place_email_here&transaction%5Bamount%5D=0.001&transaction_amount_converted=0.59&transaction%5Bnotes%5D=Test
-
This request can now be replayed unlimited times, with unlimited email addresses inputted. Coinbase does not limit the rate of POST requests to /transactions/request_money
-
After x number of requests are sent to /transactions/request_money, visit /transactions/
-
It can be identified that those who are NOT members of Coinbase, show up as email addresses only, whereas those WHO ARE members of Coinbase, show up as Full Names. --> Email Address / User Account enumeration
-
Furthermore, the coinbase members whose emails are identified, have their full names disclosed to the attacker. Information Leakage
I have attached a GIF showing this entire process. I attempted 80 email addresses, 5 threads simultaneously via Burp Suite Intruder. Either download the GIF attached in this email, or visit http://uppix.net/0XKQ4v.gif.
Thanks for your time,
██████████
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the money request endpoint lacked rate limiting and returned different information (full name vs. email) depending on whether the recipient was a registered user, enabling enumeration and information disclosure.
Impact
An attacker could send unlimited money request emails (spam), enumerate which email addresses belong to Coinbase users, and learn the first and last names of those users.
What the attacker needed
A Coinbase account; ability to intercept and replay HTTP requests
How it was found
- Log in to Coinbase and go to the transactions page.
- Click the Request Money button and enter a target email address in the from field.
- Fill in the remaining fields and submit the request while capturing it with a proxy.
- Replay the captured request many times with different email addresses.
- Visit the transactions page and observe whether each recipient appears as an email address or a full name.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When you request money from someone on Coinbase, the site shows you whether that person has a Coinbase account. If they do, it shows their full name; if not, it only shows their email address. Because the site did not limit how many requests you could send, someone could try many email addresses and learn which ones are registered and what those people are called.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.