X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=img_auth.php;h=341b7e25b2b46cf955d0451366b5194356719a7d;hb=217efb5ed63308c52cee06976a69d7c478ac512f;hp=6f6152eb1332c8c8801e10d129af560239a0c0ce;hpb=9411d91b49b50de73f878d7e677d5209030d751a;p=lhc%2Fweb%2Fwiklou.git diff --git a/img_auth.php b/img_auth.php index 6f6152eb13..341b7e25b2 100644 --- a/img_auth.php +++ b/img_auth.php @@ -10,6 +10,10 @@ # Valid web server entry point, enable includes define( 'MEDIAWIKI', true ); +if ( isset( $_REQUEST['GLOBALS'] ) ) { + die( '$GLOBALS overwrite vulnerability'); +} + require_once( 'includes/Defines.php' ); require_once( './LocalSettings.php' ); require_once( 'includes/Setup.php' );