Jump to content

Preventing Image PHP Injections


Wolphie

Recommended Posts

Oh .. it looks like an error in the forum software that allows that to happen.  The forum software allows you to include arbitrary files on the server by setting the "page" variable.  So if you can upload an image, supposedly your avatar, but which happens to include php code as well, then you can get the forum to include your image as a "page".

 

The underlying problem is that the forum software allows you to include arbitrary files.  If you fix that, then it doesn't matter what images your users upload. How to fix it (or if you need to fix it) depends on your particular forum software..

Ah alright buddy, i wasn't sure if it was JUST forum software alone. (I was referring to images in general)

I'm creating an image hosting service. So i was trying to make it secure as possible

 

http://www.imgpond.phux-development.com/

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.