Similar to the previous level, Level 3 is also the same, where Developers add a blacklist for the PHP file extension and its other variants but forgot to do something to blacklist.
In this section, Developer adds a blacklist for certain file extensions but forgets something to restrict, which is considered harmful.
Let’s try to upload the previous file extension to see if this file uploaded successfully or not.
Click on "phpinfo.phtml" and click on open.
Now, we will upload this file and see whether it is uploaded successfully or not.
Once uploaded, open the UPLOADED link in another tab.
Look at that! Our PHP code ran on the server successfully. This payload was benign and only intended for testing.