CVE-2018-18546: SQL Injection

Published Oct 21, 2018
·
Updated

ThinkPHP 3.2.4 has SQL Injection via the order parameter because the Library/Think/Db/Driver.class.php parseOrder function mishandles the key variable.

Other sources

ThinkPHP 3.2.4 has SQL Injection via the order parameter because the Library/Think/Db/Driver.class.php parseOrder function mishandles the key variable.

Affected Software

2 affected components
composer/topthink/framework<=3.2.4
ThinkPHP ThinkPHP=3.2.4

Event History

Oct 21, 2018
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description
May 14, 2022
Advisory Published
01:53 AM

Frequently Asked Questions

1

What is CVE-2018-18546?

CVE-2018-18546 is a SQL Injection vulnerability in ThinkPHP 3.2.4.

2

How severe is CVE-2018-18546?

CVE-2018-18546 has a severity rating of 9.8 (critical).

3

What is the affected software version of CVE-2018-18546?

CVE-2018-18546 affects ThinkPHP 3.2.4.

4

How does CVE-2018-18546 occur?

CVE-2018-18546 occurs due to SQL Injection via the order parameter in ThinkPHP 3.2.4.

5

Are there any references for CVE-2018-18546?

Yes, you can find references for CVE-2018-18546 at the following links: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-18546), [GitHub](https://github.com/top-think/thinkphp/commit/9748cb80d2f24c89218f358ca2f5ab88ee33396f), [Blog](https://98587329.github.io/2018/10/09/thinkphp%E6%B3%A8%E5%85%A5%E5%88%86%E6%9E%90/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203