LeakedIn Logo
Stories About Data Leaks and Related Stuff

Potential leak of data: Apache Configuration Directive

0 votedvote

Detected 1 occurrence(s) of ‘allow\s*from\s*[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+’:

{
			($rs, $$cfg) = get_file("$bkpDir/proxy.conf.system");
			return $rs if($rs != 0);

			# Replacing the allowed hosts in mod_proxy if needed
			# @todo Squeeze - All is commented / Check if it work like this
			$$cfg =~ s/#Allow from .example.com/Allow from 127.0.0.1/gi;

			# Storing the new file in the working directory
			$rs = store_file(
				"$wrkDir/proxy.conf", $$cfg, $main::cfg{'ROOT_USER'},
				$main::cfg{'ROOT_GROUP'}, 0644
			);
			return $rs if ($rs != 0);

			# Installing the new file in the prod

Source: http://pastebin.com/raw.php?i=SJiAaNFa

Tags: ,

Comments are closed.