<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: GitPHP 0.0.9</title>
	<atom:link href="http://www.xiphux.com/2009/10/24/gitphp-0-0-9/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xiphux.com/2009/10/24/gitphp-0-0-9/?&#038;owa_medium=feed&#038;owa_sid=</link>
	<description></description>
	<lastBuildDate>Sun, 22 Jan 2012 11:36:31 -0800</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: xiphux</title>
		<link>http://www.xiphux.com/2009/10/24/gitphp-0-0-9/comment-page-1/#comment-663</link>
		<dc:creator>xiphux</dc:creator>
		<pubDate>Wed, 11 Nov 2009 02:53:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.xiphux.com/?p=659#comment-663</guid>
		<description>Thanks for reporting this. I use suhosin / hardened php on my development server so I never caught this. The new release fixes this.</description>
		<content:encoded><![CDATA[<p>Thanks for reporting this. I use suhosin / hardened php on my development server so I never caught this. The new release fixes this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Some[One]</title>
		<link>http://www.xiphux.com/2009/10/24/gitphp-0-0-9/comment-page-1/#comment-661</link>
		<dc:creator>Some[One]</dc:creator>
		<pubDate>Tue, 10 Nov 2009 16:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.xiphux.com/?p=659#comment-661</guid>
		<description>Hello ...
I&#039;m not sure of what i&#039;ve seen in your demo (http://www.xiphux.com/gitphp/index.php?p=php/gitphp.git&amp;a=summary), but i think that your webapp can be exploited to lead to a file injection exploitation :

Like http://www.xiphux.com/gitphp/index.php?p=[put any path of your server here]&amp;a=summary

to remove the search of path+&quot;/description&quot; just add %00 :
http://www.xiphux.com/gitphp/index.php?p=[any path]%00&amp;a=summary
and it will read your files directly

On your server it&#039;s seems that&#039;s your using ModSecurity (return Metho Not Implemented when we put some path to files like passwd but without ModSecurity it can lead to a compromission of the server that host it)

So use regular expression to clean/reject wrong url.

Sorry for reporting the bug here (I don&#039;t wan&#039;t to create an account in mantis ^^)</description>
		<content:encoded><![CDATA[<p>Hello &#8230;<br />
I&#8217;m not sure of what i&#8217;ve seen in your demo (<a href="http://www.xiphux.com/gitphp/index.php?p=php/gitphp.git&#038;a=summary" rel="nofollow">http://www.xiphux.com/gitphp/index.php?p=php/gitphp.git&#038;a=summary</a>), but i think that your webapp can be exploited to lead to a file injection exploitation :</p>
<p>Like <a href="http://www.xiphux.com/gitphp/index.php?p=put" rel="nofollow">http://www.xiphux.com/gitphp/index.php?p=put</a> any path of your server here]&amp;a=summary</p>
<p>to remove the search of path+&#8221;/description&#8221; just add %00 :<br />
<a href="http://www.xiphux.com/gitphp/index.php?p=any" rel="nofollow">http://www.xiphux.com/gitphp/index.php?p=any</a> path]%00&amp;a=summary<br />
and it will read your files directly</p>
<p>On your server it&#8217;s seems that&#8217;s your using ModSecurity (return Metho Not Implemented when we put some path to files like passwd but without ModSecurity it can lead to a compromission of the server that host it)</p>
<p>So use regular expression to clean/reject wrong url.</p>
<p>Sorry for reporting the bug here (I don&#8217;t wan&#8217;t to create an account in mantis ^^)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

