PT-2018-14506 · Thinkphp · Thinkphp
Liu21St
·
Published
2018-10-21
·
Updated
2022-05-14
·
CVE-2018-18546
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
ThinkPHP version 3.2.4
Description
The issue is related to SQL Injection via the
order parameter. This occurs because the parseOrder function in the Library/Think/Db/Driver.class.php file mishandles the key variable.Recommendations
For ThinkPHP version 3.2.4, consider restricting access to the
order parameter in the affected API endpoint until a patch is available. As a temporary workaround, avoid using the order parameter or ensure proper validation and sanitization of user input to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Thinkphp