Jump to content

Is this code a security issue


king.oslo

Recommended Posts

They can inject code, as far as it being something dangerous it depends on example.com. If their website does not have their get-data filtered. Sure they can inject code and now it looks like your site is trying to exploit the example.com, so they basically get a free probe using your site.

 

I would still filter the GET data just for that reason above, and really it is not too much of an extra step to run strip_tags or use regex to replace certain items. But think about what type of data is going to be in that get getting passed through and filter it to only allow that type (IE if it should be all letters or numbers make sure it is).

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.