🛡️ CVE-2018-16385 — framework
Description
ThinkPHP SQL Injection vulnerability
ThinkPHP before 5.1.23 allows SQL Injection via the public/index/index/test/index query string.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
CVE-2018-16385 is classified as CWE-89: SQL Injection. Untrusted input is concatenated into an SQL statement, letting an attacker change the query and reach data the request should not return.
Affected software
CVE-2018-16385 is recorded against 1 package.
- topthink/framework (fixed in 5.1.23)
Timeline and source
Published on 14 May 2022 and last revised on 24 April 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
nvd.nist.gov (Advisory)
github.com (Web)
exchange.xforce.ibmcloud.com (Web)
github.com (Package)
Details
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| topthink/framework | — | 5.1.23 |
References
Similar Threats
- Critical CVE-2025-50706
- Critical CVE-2024-44902
- Medium CVE-2024-34467
- Critical CVE-2022-47945
- High CVE-2022-44289
More CVE 2018 advisories
Browse all of CVE 2018 in the advisory index.
Exploit Protection
Are you running framework?
CVE-2018-16385 carries CVSS 9.5 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.
Check My Site For CVE-2018-16385 →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.