Is storing files under a web server root unsafe if it is handled by PHP and blocked by the web server site configuration file?

Say you have a website which takes file uploads of a certain type and places them in a subdirectory (let’s call it “videos”) in the web root.

I have heard from various sources that trusting uploaded files is never safe, beca… Continue reading Is storing files under a web server root unsafe if it is handled by PHP and blocked by the web server site configuration file?

Does it really improve security to update PHP interpreter version without any code changes at all?

Our hosting provider wants to update our legacy application server (Plesk).

We usually place older PHP projects (PHP 5.3 – 5.6) there, so they can sit in a stable environment until their unknown EOL.

Now the thing is, our p… Continue reading Does it really improve security to update PHP interpreter version without any code changes at all?

Unable to execute PHP, throws 500 error. Able to upload and execute all others

I need some serious help. I managed to upload a PHP shell using an upload form with some tweaking. No such restrictions except it renames the uploaded file to md5.But when I tried to execute the shell, It shows a 500 error. I… Continue reading Unable to execute PHP, throws 500 error. Able to upload and execute all others