Skip to content
File upload Disclosed report Beginner

Unrestricted File Upload on https://app.dropcontact.io/app/upload/

omarelfarsaoui Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 10 days
  • Disclosed after 10 days

hi team, I found Unrestricted File Upload Vulnerabilities on https://app.dropcontact.io/app/upload/.

Steps To Reproduce:

  1. Create an account in https://app.dropcontact.io/app/
  2. go to https://app.dropcontact.io/app/upload/
  3. try to upload html file , you will see message only (: .csv, .txt, .xls, .xlsx) allowed.
  4. change the HTML file extension to txt and try to upload it again
  5. it work and the file successfully uploaded

Supporting Material/References:

https://www.exploit-db.com/docs/english/45074-file-upload-restrictions-bypass.pdf https://www.opswat.com/blog/file-upload-protection-best-practices

how to fix

To avoid these types of file upload attacks:

  1. File type verification
  2. Restrict specific file extensions
  3. add verification in both back-End and front-End

Impact

this is not really impact because the app not report the full path for the files uploaded. but if an attacker found a way to get the path . it wil be used to get attackes like xss or even rce .

Best Regards, @omarelfarsaoui

The original report as published on HackerOne, by omarelfarsaoui. 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.

What is known

A file upload bug in app.dropcontact.io. HackerOne made it public on 11 August 2020.

About File upload

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is File upload?

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.

More by omarelfarsaoui

View all

4 more disclosed reports, best first.

More from Dropcontact

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.