BLOG 'image_upload.php' 任意文件上传漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1117098 漏洞类型 输入验证
发布时间 2008-12-21 更新时间 2009-01-29
CVE编号 CVE-2008-5732 CNNVD-ID CNNVD-200812-456
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/7537
https://cxsecurity.com/issue/WLB-2008120197
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200812-456
|漏洞详情
KafooeyBlog1.55b版本的lib/image_upload.php中存在无限制文件上传漏洞。远程攻击者通过上传一个具有可执行扩展名的文件并通过对该文件提交一个直接请求来读取,以执行任意代码。
|漏洞EXP
################## Piker #######################################
#
#
#    BLOG v1.55B Arbitrary File Upload Vulnerability
#

#
#    Affected software: BLOG v1.55B prior versions can be affected

#    Vendor: http://sourceforge.net/projects/kafooeyblog/
#    Risk: High
#
################################################################

#

#    http://[target]/[path]/lib/image_upload.php
#
#   This script only checks if the file you are uploading
#   is not a text/plain file so you can upload whatever
#   you want, for example a PHP Shell.
#

#   
################################################################
#
#         Found by Piker [piker0x90(at)gmail(dot)com]
#
#            D.O.M Labs - Security Researchers
#                   www.domlabs.org

#
#
################################################################

# milw0rm.com [2008-12-21]
|参考资料

来源:XF
名称:kafooeyblog-imageupload-file-upload(47535)
链接:http://xforce.iss.net/xforce/xfdb/47535
来源:BID
名称:32953
链接:http://www.securityfocus.com/bid/32953
来源:MILW0RM
名称:7537
链接:http://www.milw0rm.com/exploits/7537
来源:SREASON
名称:4812
链接:http://securityreason.com/securityalert/4812
来源:SECUNIA
名称:33223
链接:http://secunia.com/advisories/33223
来源:OSVDB
名称:50876
链接:http://osvdb.org/50876