<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Wolves Security Team - 4Images  1.7.6  Local Inclusion Vulnerability]]></title>
		<link>http://bbs.wolvez.org/topic/56/</link>
		<description><![CDATA[The most recent posts in 4Images  1.7.6  Local Inclusion Vulnerability.]]></description>
		<lastBuildDate>Tue, 17 Feb 2009 03:25:52 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: 4Images  1.7.6  Local Inclusion Vulnerability]]></title>
			<link>http://bbs.wolvez.org/post/131/#p131</link>
			<description><![CDATA[<p><a href="http://bbs.wolvez.org/topic/22/">http://bbs.wolvez.org/topic/22/</a></p>]]></description>
			<author><![CDATA[dummy@example.com (q1ur3n)]]></author>
			<pubDate>Tue, 17 Feb 2009 03:25:52 +0000</pubDate>
			<guid>http://bbs.wolvez.org/post/131/#p131</guid>
		</item>
		<item>
			<title><![CDATA[Re: 4Images  1.7.6  Local Inclusion Vulnerability]]></title>
			<link>http://bbs.wolvez.org/post/130/#p130</link>
			<description><![CDATA[<div class="quotebox"><cite>toby57 wrote:</cite><blockquote><p>呃……就怕开了GPC...^_^</p></blockquote></div><br /><p>if (get_magic_quotes_gpc() == 0) { $HTTP_GET_VARS =addslashes_array($HTTP_GET_VARS); $HTTP_POST_VARS =addslashes_array($HTTP_POST_VARS); $HTTP_COOKIE_VARS =addslashes_array($HTTP_COOKIE_VARS); }</p><p>我犯了一个错误，sorry</p><p>这个貌似关了gpc也不能用%00截断 :)</p><p>不过可以用一个思路，比如在linux下，可以通过旁注拿个shell，然后写个main.php到/tmp目录下，然后包含之</p>]]></description>
			<author><![CDATA[dummy@example.com (flyh4t)]]></author>
			<pubDate>Tue, 17 Feb 2009 01:21:48 +0000</pubDate>
			<guid>http://bbs.wolvez.org/post/130/#p130</guid>
		</item>
		<item>
			<title><![CDATA[Re: 4Images  1.7.6  Local Inclusion Vulnerability]]></title>
			<link>http://bbs.wolvez.org/post/128/#p128</link>
			<description><![CDATA[<p>嗯 还可以采用包含日志的方法...</p>]]></description>
			<author><![CDATA[dummy@example.com (q1ur3n)]]></author>
			<pubDate>Sat, 14 Feb 2009 14:21:30 +0000</pubDate>
			<guid>http://bbs.wolvez.org/post/128/#p128</guid>
		</item>
		<item>
			<title><![CDATA[4Images  1.7.6  Local Inclusion Vulnerability]]></title>
			<link>http://bbs.wolvez.org/post/127/#p127</link>
			<description><![CDATA[<p>4Images&nbsp; 1.7.6&nbsp; Local Inclusion Vulnerability<br />BY Flyh4t<br />/***********************************************************/<br />4images - Image Gallery Management System&nbsp; V1.7.6&nbsp; Local Inclusion Vulnerability</p><p>Author : &nbsp; &nbsp; Flyh4t<br />msn : &nbsp; &nbsp; flyh4t@hotmail.com<br />team: &nbsp; &nbsp; Wolves Security Team<br />site:&nbsp; &nbsp; &nbsp; &nbsp; bbs.wolvez.org<br />Greet to : q1ur3n&nbsp; puret_t&nbsp; make0day&nbsp; and all the members of Wolves Security Team<br />/***********************************************************/<br />Bug file : global.php<br />if (isset($HTTP_GET_VARS[&#039;l&#039;]) || isset($HTTP_POST_VARS[&#039;l&#039;])) {<br />&nbsp; $requested_l = (isset($HTTP_GET_VARS[&#039;l&#039;])) ? trim($HTTP_GET_VARS[&#039;l&#039;]) : trim($HTTP_POST_VARS[&#039;l&#039;]);<br />&nbsp; if ($requested_l != $config[&#039;language_dir&#039;] &amp;&amp; file_exists(ROOT_PATH.&#039;lang/&#039;.$requested_l.&#039;/main.php&#039;)) {<br />&nbsp; &nbsp; $l = $requested_l;<br />&nbsp; &nbsp; $config[&#039;language_dir&#039;] = $l;<br />&nbsp; }<br />}</p><p>include_once(ROOT_PATH.&#039;lang/&#039;.$config[&#039;language_dir&#039;].&#039;/main.php&#039;);</p><p>/***********************************************************/<br /> global.php is included by all the files of 4images,so it can be exploited through many files</p><br /><p>/***********************************************************/</p>]]></description>
			<author><![CDATA[dummy@example.com (flyh4t)]]></author>
			<pubDate>Sat, 14 Feb 2009 14:17:36 +0000</pubDate>
			<guid>http://bbs.wolvez.org/post/127/#p127</guid>
		</item>
	</channel>
</rss>
