Unrestricted File Upload on https://app.dropcontact.io/app/upload/
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:
- Create an account in https://app.dropcontact.io/app/
- go to https://app.dropcontact.io/app/upload/
- try to upload html file , you will see message only (: .csv, .txt, .xls, .xlsx) allowed.
- change the HTML file extension to txt and try to upload it again
- 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:
- File type verification
- Restrict specific file extensions
- 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
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.