<?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: Howto fix Joomla 1.5 hacking (token admin password reset exploit)</title>
	<atom:link href="http://www.hostsvault.com/blog/howto-fix-joomla-15-hacking-token-admin-password-reset-exploit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hostsvault.com/blog/howto-fix-joomla-15-hacking-token-admin-password-reset-exploit/</link>
	<description>HostsVault Blog</description>
	<lastBuildDate>Tue, 10 Aug 2010 19:19:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Glenn</title>
		<link>http://www.hostsvault.com/blog/howto-fix-joomla-15-hacking-token-admin-password-reset-exploit/comment-page-1/#comment-548</link>
		<dc:creator>Glenn</dc:creator>
		<pubDate>Wed, 21 Apr 2010 14:38:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.hostsvault.com/blog/?p=291#comment-548</guid>
		<description>Small correction ; the correct code should be :

$token = mysql_real_escape_string($token);
if(strlen($token) != 32) {
$this-&gt;setError(JText::_(‘INVALID_TOKEN’));
return false;
}</description>
		<content:encoded><![CDATA[<p>Small correction ; the correct code should be :</p>
<p>$token = mysql_real_escape_string($token);<br />
if(strlen($token) != 32) {<br />
$this-&gt;setError(JText::_(‘INVALID_TOKEN’));<br />
return false;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glenn</title>
		<link>http://www.hostsvault.com/blog/howto-fix-joomla-15-hacking-token-admin-password-reset-exploit/comment-page-1/#comment-547</link>
		<dc:creator>Glenn</dc:creator>
		<pubDate>Wed, 21 Apr 2010 14:21:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.hostsvault.com/blog/?p=291#comment-547</guid>
		<description>Figure this : the token &#039;--------(...) would be 32 chars long .. since -- is the starter for a comment in MySQL, that is ignored. Thus strlen($token) returns 32, while it is still &quot;seen&quot; in the query as &#039; .

Solution :

$token = mysql_real_escape($token);
if(strlen($token) != 32) {
$this-&gt;setError(JText::_(&#039;INVALID_TOKEN&#039;));
return false;
}</description>
		<content:encoded><![CDATA[<p>Figure this : the token &#8216;&#8212;&#8212;&#8211;(&#8230;) would be 32 chars long .. since &#8212; is the starter for a comment in MySQL, that is ignored. Thus strlen($token) returns 32, while it is still &#8220;seen&#8221; in the query as &#8216; .</p>
<p>Solution :</p>
<p>$token = mysql_real_escape($token);<br />
if(strlen($token) != 32) {<br />
$this-&gt;setError(JText::_(&#8216;INVALID_TOKEN&#8217;));<br />
return false;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran</title>
		<link>http://www.hostsvault.com/blog/howto-fix-joomla-15-hacking-token-admin-password-reset-exploit/comment-page-1/#comment-502</link>
		<dc:creator>Imran</dc:creator>
		<pubDate>Wed, 21 Oct 2009 16:47:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.hostsvault.com/blog/?p=291#comment-502</guid>
		<description>I had this problem, I upgraded to 1.5.6 but after 2 days it happened again. I checked reset.php your suggested code is already there. Seems its not workig or hackers have bypassed this too. ANy idea?</description>
		<content:encoded><![CDATA[<p>I had this problem, I upgraded to 1.5.6 but after 2 days it happened again. I checked reset.php your suggested code is already there. Seems its not workig or hackers have bypassed this too. ANy idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim</title>
		<link>http://www.hostsvault.com/blog/howto-fix-joomla-15-hacking-token-admin-password-reset-exploit/comment-page-1/#comment-501</link>
		<dc:creator>jim</dc:creator>
		<pubDate>Fri, 16 Oct 2009 01:26:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.hostsvault.com/blog/?p=291#comment-501</guid>
		<description>this is addressed in the latest version of jomoola and yet they are still able to reset and hack the site</description>
		<content:encoded><![CDATA[<p>this is addressed in the latest version of jomoola and yet they are still able to reset and hack the site</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aj</title>
		<link>http://www.hostsvault.com/blog/howto-fix-joomla-15-hacking-token-admin-password-reset-exploit/comment-page-1/#comment-413</link>
		<dc:creator>aj</dc:creator>
		<pubDate>Wed, 22 Jul 2009 07:34:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.hostsvault.com/blog/?p=291#comment-413</guid>
		<description>wow great content...I will do this...Thanks</description>
		<content:encoded><![CDATA[<p>wow great content&#8230;I will do this&#8230;Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

