Language: PHP
Label: vulnerable
CWE: CWE-532 \u2014 Insertion of Sensitive Information into Log File
Information written to log files can be of a sensitive nature and give valuable guidance to an attacker or expose sensitive user information.

Code:
function checkCompatibility() {
	Minz_Log::warning('checkCompatibility() ' . debugInfo(), API_LOG);
	header('Content-Type: text/plain; charset=UTF-8');
	if (PHP_INT_SIZE < 8 && !function_exists('gmp_init')) {
		die('FAIL 64-bit or GMP extension! Wrong PHP configuration.');
	}
	$headerAuth = headerVariable('Authorization', 'GoogleLogin_auth');
	if ($headerAuth == '') {
		die('FAIL get HTTP Authorization header! Wrong Web server configuration.');
	}
	echo 'PASS';
	exit();
}