Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2018-16385 EUVD-2022-5342GHSA-vcm7-88jx-3r39

ThinkPHP SQL Injection vulnerability

Published Sep 3, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

ThinkPHP before 5.1.23 allows SQL Injection via the public/index/index/test/index query string.

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • SQL注入漏洞复现报告——OWASP靶场实战,通过UNION注入提取数据库29条用户凭证 ThinkPHP 5.0.24 RCE漏洞复现报告——CVE-2018-16385,验证代码执行能力

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist topthink/framework < 5.1.23 5.1.23 GHSA-vcm7-88jx-3r39

References