Neuron Blog'admin/pages/blog-add.php'任意文件上传漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1189431 漏洞类型 未知
发布时间 2007-08-15 更新时间 2007-08-15
CVE编号 CVE-2007-4371 CNNVD-ID CNNVD-200708-257
漏洞平台 N/A CVSS评分 6.8
|漏洞来源
https://www.securityfocus.com/bid/85480
https://cxsecurity.com/issue/WLB-2007080083
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200708-257
|漏洞详情
NeuronBlog1.1版本的admin/pages/blog-add.php中存在不限制文件上传漏洞。远程攻击者可以上传并执行uploads/中的任意PHP文件。
|漏洞EXP
Neuron Blog Admin Permission Bypass and Remote File Upload Vulnerability

------------------------------------------------------------------------

Script : Neuron Blog

Version : 1.1

Site : http://dev.localhost.be/?q=detail-script&id=11

Founder : Rizgar

Contact : rizgar (at) linuxmail (dot) org [email concealed] and irc.gigachat.net #kurdhack

Thanks : KHC,PH,ColdHackers and all Kurdish script kiddies/hax0rs/lame/l33t/

d0rk : "neuron blog powered"
------------------------------------------------------------------------

Vulnerability details:

This blog the prepare persons to in "/admin" page to the entrance of far away did't hinder. To reach of far away to be done is necessary just a "click" :) www.site.com/admin

The effect area : The modules in admin

Let us look at now /admin/pages/blog-add.php ;

lines = 42 finish 55

<b>file:</b><br/>
<input type="hidden" name="MAX_FILE_SIZE" value="1024000" />
<input name="uploadfile" type="file" />

<p></p>

<b>filetype:</b><br/>
<select name="filetype">
<option value=""></option>
<option value="photo">photo</option>             
<option value="document">document</option>
</select>

<p></p>

<input type="submit" name="submit" value="add blog item!" />
</form>

Note : If you join the admin modules add blog will get out. You can throw the file to website :) you can find your file in the link is /example/uploads or anyway can you see the homapage :)

Now relative the PoC

http://www.site.com/admin/blog-add.php

http://www.site.com/uploads/phpshell.php :]

and upload your files :) there is two is choose 1) photo 2) documents
|受影响的产品
hotscripts Neuron Blog 1.1
|参考资料

来源:XF
名称:neuronblog-admin-file-upload(35982)
链接:http://xforce.iss.net/xforce/xfdb/35982
来源:BUGTRAQ
名称:20070813NeuronBlogAdminPermissionBypassandRemoteFileUploadVulnerability
链接:http://www.securityfocus.com/archive/1/archive/1/476281/100/0/threaded
来源:OSVDB
名称:39602
链接:http://osvdb.org/39602
来源:SREASON
名称:3016
链接:http://securityreason.com/securityalert/3016