X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=profileinfo.php;h=2f54fea010631b77b0e52e2cf41ac420b897fd41;hb=0ff6142dfaf15c060563cdd068d2334230b155ea;hp=f81462c8c94d748a036e663a475ae0fc1cc175fc;hpb=3791c6e5e013b16ae1096a64985727134f80ab04;p=lhc%2Fweb%2Fwiklou.git diff --git a/profileinfo.php b/profileinfo.php index f81462c8c9..2f54fea010 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -48,6 +48,10 @@ $wgDBadminuser = $wgDBadminpassword = $wgDBserver = $wgDBname = $wgEnableProfileInfo = false; define("MEDIAWIKI", 1); +if ( isset( $_REQUEST['GLOBALS'] ) ) { + print $GLOBALS; + die( '$GLOBALS overwrite vulnerability'); +} require_once("./includes/Defines.php"); require_once("./LocalSettings.php"); @@ -242,4 +246,4 @@ mysql_close($dbh); ?> -