CWE
89
Advisory Published
Advisory Published
Updated

CVE-2018-17566: SQL Injection

First published: Wed Sep 26 2018(Updated: )

In ThinkPHP 5.1.24, the inner function delete can be used for SQL injection when its WHERE condition's value can be controlled by a user's request.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
ThinkPHP ThinkPHP=5.1.24
composer/topthink/framework=5.1.24

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID of this ThinkPHP vulnerability?

    The vulnerability ID of this ThinkPHP vulnerability is CVE-2018-17566.

  • What is the severity of CVE-2018-17566?

    The severity of CVE-2018-17566 is critical with a severity value of 9.8.

  • How does this ThinkPHP vulnerability affect the software?

    In ThinkPHP 5.1.24, the inner function delete can be used for SQL injection when its WHERE condition's value can be controlled by a user's request.

  • How can the SQL injection vulnerability be exploited?

    The SQL injection vulnerability in ThinkPHP 5.1.24 can be exploited by controlling the value of the WHERE condition in the delete function.

  • Is there a fix available for CVE-2018-17566?

    Yes, a fix is available for CVE-2018-17566. It is recommended to update to a version of ThinkPHP that is not affected by this vulnerability.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203