Skip to content
Info disclosure Disclosed report Beginner

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.

Mazin Ahmed Follow

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

Screenshot_from_2014-03-28_20_00_16.png
Screenshot_from_2014-03-28_20_00_16.png From the original on HackerOne

The original report as published on HackerOne, by mazen160. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Go to the merchant settings page on coinbase.com.
  2. Use the upload feature to submit a file with a double extension such as a PHP file ending in .jpg.
  3. 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.

More by Mazin Ahmed

View all

2 more disclosed reports, best first.

More from Coinbase

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.