Services
Blog
Map
Contact Me
Rss
About
You should exercise extreme care when working with parameters. If the register_globals parameters is set to On in the php.ini configuration file, global variables are created. This can be a vulnerability source if you are not being careful enough. Let's consider the following vulnerability demonstration example:
<form action="testpass.php" method="get">
Login: <input name="username">
Password: <input name="password">
</form>
if ($password== $legal_pass) and ($username==$legal_name)
$logged = 1
if ($logged)
{
//The user has been authorized
}