News for hackers. Stuff that matters.
Re:The pitfalls of allowing file uploads on your website by meowface on Tuesday May 20, 2014 @07:46PM (#7775889)
This isn't too related to what the blog post was discussing, but just to give an example of how you're right:

If a PHP page is allowing file uploads and only verifies the content of the data, but nothing else, then no protection is offered against arbitrary code execution. It's easy to craft a JPEG header and then place `<?php ... ?>` right after it; you could even append it to a valid JPEG body, too.

There are no comments on this comment yet.