T3chnocr4t:~#

Looking 🔭 For Something Hidden....

View on GitHub

Files Upload Vulnerabilities

Lab:# Remote code execution via web shell upload

Guys 👋, let’s go through this really quick. This lab contains a vulnerable image upload function. It doesn’t perform any validation on the files users upload before storing them on the server’s filesystem.

Our task is to solve the lab by uploading a basic PHP web shell and using it to exfiltrate the contents of the file /home/carlos/secret. Submit this secret using the button provided in the lab banner. Let’s get started.

file-upload-vulnerabilities

End Goals:


What is File Upload Vulnerabilities 🤔

File upload vulnerabilities is when a web sever allow the user to upload files to it filesytem without sufficiently valiating things like their name, type, content and size.

Enummeration/ Testing for Vulnerabilities

1png

2

4

5

giphyr,

That’s all, friends. Thank you for reading up to this point. I would like to hear your feedback on anything not clear here. Here is my Twitter account @T3chnocr4t. Feel free to DM me if you have any issues with my write-up. Thanks!

Go Back Home