Information Disclosure That shows the webroot of CoinBase Server
Uploading a file with a double extension such as a PHP file named with a .jpg suffix to the merchant settings upload endpoint caused the server to disclose its webroot path. An attacker could learn the server's internal filesystem location, which may aid further attacks.
Originally disclosed on HackerOne
- Disclosed after 36 days
Hello, While I was testing The upload method on https://coinbase.com/merchant_settings , I have found that if you try to upload a php file or any other file html in this shape (test.php.jpg) , an Information Disclosure will happen showing the webroot of the server. I have provide a screenshot to demonstrate the issue.
Thank you Mazin Ahmed @mazen160
Attachments

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
Impact
The server's webroot path could be disclosed, which may help an attacker plan further attacks; the report does not claim code execution or data access.
What the attacker needed
Access to merchant settings upload
How it was found
- Go to the merchant settings page on coinbase.com.
- Use the upload feature to submit a file with a double extension such as a PHP file ending in .jpg.
- Observe the response, which discloses the server's webroot path.
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.
A website lets you upload files, for example a profile picture. The tester uploaded a file whose name ended in two extensions, like a picture name but with a hidden script extension in the middle. The server then showed an error or message that revealed the folder path where the website's files live on the server, which is information the public should not see.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.