Joomla tags

a real free joomla tag system

  • Increase font size
  • Default font size
  • Decrease font size
 Joomla Tags Support Forum :: Bugs Report
Welcome Guest   
 Subject :security vulnerability in joomla tags.. 2011-08-05 07:45:31 
gelembjuk
Apprentice
Joined: 2011-08-05 13:37:42
Posts: 1
Location
<p>Hi,</p>
<p>My site was hacked, using SQL injection  vulnerability in Joomla Tags component.</p>
<p>I have updated the component to latest version (1.3.3), but the problem is still there.</p>
<p>This is file components/com_tag/views/tag/view.html.php</p>
<p>function getTagsForArticle</p>
<p>variable $cid is not checked and there can be any string inserted in SQL query.</p>
<p>Hacker used something like this.</p>
<p>/index.php?option=com_tag&controller=tag&task=add&article_id=-260479/**//*!union*//**//*!select*//**/concat(username,0x3a,password,0x3a,usertype)/**/from/**/njos_users/**/&tmpl=component .</p>
<p>And this allowed to get or change password for admin user.  After this call he was able to login to my site as admin user.</p>
<p>I did simple fix on code on my site</p>
<p>function getTagsForArticle(){<br /> $cid=JRequest::getString('article_id');<br /> $cid=strval(intval($cid));<br /> if($cid<0) $cid=0;</p>
IP Logged
Page # 


Powered by ccBoard


Newsletter

Please subscribe to our newsletter to stay up-to-date with the latest news and release notifications delivered to your inbox.
Tags for Joomla



Joomla Plugin:ReadMoreExt