Jump to content

Find out if register_globals is on


strai

Recommended Posts

I am testing a lot of vulnerability scanners and I have created a web application where I deliberately left 6 prevalent vulnerabilities like XSS, SQL-injection etc.

One of those vulnerabilities is the fact that register_globals is on.

In my admin.php page, the server checks whether $admin == true. If so, the visitor has access to the admin.php page. However, when register_globals is on, one can easily set the $admin variable to true.

 

My question is: Is it por a vulnerability scanner possible to detect whether register_globals is on?

Because register_globals affect data values in variables, the short answer is no, a general purpose vulnerability scanner cannot tell if register_globals are on.

 

It would take specific knowledge about how the data is being used in the code in order to be able to write a vulnerability scanner that could trigger an indication if register_globals were on.

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.