Jump to content

Recommended Posts

Hello I use the x protection version 1.10 script which basically is a script that allows you to control user access on a specific page, using either an existing mysql database or using encrypted sha1 passwords.  I've used this script a bit in the past, but the developer has stopped work on the project, and as of late there has been a security issue. as described here http://secunia.com/advisories/21282

 

"Input passed to the "username" and "password" form field parameters in protect.php is not properly sanitized before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

 

Successful exploitation can be used to bypass authentication, but requires that "magic_quotes_gpc" is disabled.

 

The vulnerabilities have been confirmed in version 1.10. Other versions may also be affected."

 

I'm curious if anyone know's what I could do to fix the code? to make it properly sanitize the field parameters?

Any idea's?

 

Link to comment
https://forums.phpfreaks.com/topic/39351-x-protection-script/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.