Exploit database

Vulnerability

CVE-2018-20062

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

An issue was discovered in NoneCms V1.3. thinkphp/library/think/App.php allows remote attackers to execute arbitrary PHP code via crafted use of the filter parameter, as demonstrated by the s=index/\think\Request/input&filter=phpinfo&data=1 query string.

CVE Program

Exploit source choices

7 sources
ThinkPHP Multiple PHP Injection RCEs
MSF-unix--webapp--thinkphp_rceMetasploitLinux,Unix / remote

This module exploits one of two PHP injection vulnerabilities in the ThinkPHP web framework to execute code as the web user. Versions up to and including 5.0.23 are exploitable, though 5.0.23 is vulnerable to a separate vulnerability. The module will automatically attempt to detect the version of the software. Tested against versions 5.0.20 and 5.0.23 as can be found on Vulhub.

2018-12-10thinkphp_rce.rb
arpsyndicate/kenzer-templates
GH-e5a0867366963da7a3617cf6f32fda4bGitHubUnofficial GitHub source

essential templates for kenzer [DEPRECATED]

2020-09-185,308 files · 118 stars
ns-sp4ce/thinkphp5.xrce
GH-03aa310feae0c04e9a3f8404fd96affbGitHubUnofficial GitHub source

thinkphp5.*Rce CVE-2018-20062

2019-03-173 files · 6 stars
shenhui35/redarrow
GH-083687ae5b5445f89974981196a23a1dGitHubUnofficial GitHub source

RedArrow3.2 是一款用于渗透测试ThinkPHP 5.0.23 远程命令执行漏洞(CVE-2018-20062)的图形化工具。

2025-09-164 files · 2 stars
yilin1203/cve-2018-20062
GH-15ce34b86caf032a0a5e1875d41744beGitHubUnofficial GitHub source

yilin1203/cve-2018-20062 source repository

2022-11-076 files · 2 stars
0xrar/thinkphp5_rce
GH-8119f0a7767cae5f375e8060459d087dGitHubUnofficial GitHub source

ThinkPHP 5.0.23 RCE Vulnerability PoC - CVE-2018-20062

2022-10-182 files · 0 stars