Insecure file upload 0x01
The page only accept jpg and png


when we deleted the png data and change it to hello there
we also change the tcm-logo.png to tcm-logo.txt

We successfully get the result txt

Then we change the file name and extension
from tcm-logo.txt to cmd.php
with this line of code that we can get the cmd side

As we can see the cmd file is uploaded

Now search where the file was uploaded


then just access the php file

Last updated