Document Title: =============== IceBB CMS v1.0.x RC10 - SQL Injection Vulnerability Release Date: ============= 2011-07-08 Vulnerability Laboratory ID (VL-ID): ==================================== 108 Product & Service Introduction: =============================== IceBB is a powerful, fast, free, and open-source forum solution powered by the free PHP and MySQL. IceBB scales well, no matter how many users or posts, due to its clean and efficient code. It is also fully customizable, with full skin and language... (Copy of the Vendor Homepage: http://icebb.net/ ) Abstract Advisory Information: ============================== Vulnerability Lab Team discovered a SQL-Injection Vulnerabilities in IceBB CMS. Vulnerability Disclosure Timeline: ================================== 2011-00-00: Vendor Notification 2011-00-00: Vendor Response/Feedback 2011-00-00: Vendor Fix/Patch 2011-00-00: Public or Non-Public Disclosure Discovery Status: ================= Published Affected Product(s): ==================== Exploitation Technique: ======================= Remote Severity Level: =============== High Technical Details & Description: ================================ A SQL Injection vulnerability is detected on IceBB CMS. The vulnerability allows an attacker to inject own sql statements as application moderator. Vulnerable Module(s): [+] ACT & ?S param --- Exception Log --- Sorry, IceBB has encountered an application error and is unable to continue. Information IceBB encountered an error that prevents it from being able to continue. This error has been logged. Please contact an administrator at if the problem persists. SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near xx.218.127.xx' LIMIT 1' at line 1 Query SELECT adsess.*,u.id as userid,u.username,u.temp_ban,g.g_view_board FROM icebb_adsess AS adsess LEFT JOIN icebb_users AS u ON u.username=adsess.user LEFT JOIN icebb_groups AS g ON u.user_group=g.gid WHERE adsess.asid=-1 AND adsess.ip=xx.217.137.xx' LIMIT 1 Pictures: ../sql-icebb.png Proof of Concept (PoC): ======================= The vulnerability can be exploited by privileged moderator accounts. For demonstration or reproducement purposes ... Path: ../icebb/admin/ File: index.php Para: &act=[SQL-INJECTION] Para: ?s=84f43c7c78ddbd2631578aecfcf5b423&act=sql&s=[SQL-INJECTION - 2ND] Reference: http://xxx.com/icebb/admin/index.php?s=84f43c7c78ddbd2631578aecfcf5b423&act=[SQL-INJECTION] Reference: http://xxx.com/icebb/admin/index.php?s=[SQL-INJECTION]&act=home&phpinfo=1 Security Risk: ============== The security risk of the remote vulnerability is estimated as high. Credits & Authors: ================== Vulnerability Research Laboratory Disclaimer & Information: ========================= The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties, either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability- Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases or trade with fraud/stolen material. Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.vulnerability-lab.com/register Contact: admin@vulnerability-lab.com - support@vulnerability-lab.com - research@vulnerability-lab.com Section: video.vulnerability-lab.com - forum.vulnerability-lab.com - news.vulnerability-lab.com Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), modify, use or edit our material contact (admin@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission. Copyright © 2012 | Vulnerability Laboratory