CRITICAL
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
Published Oct 21, 2018
9.8
CRITICALCVSS 3.0
EPSS 1.66%
Description
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 products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
9.8 CRITICAL NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
7.5 HIGH NVD
AV:N/AC:L/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
1.66% 0.01659
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
EPSS probability 0.01659
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 1.66% (0.01659) | 75.82th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.66% (0.01659) | 73.51th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.18% (0.00184) | 56.08th | v3 (v2023.03.01) |
| Apr 25, 2024 | 0.18% (0.00184) | 55.05th | v3 (v2023.03.01) |
| Mar 15, 2024 | 0.16% (0.00163) | 51.94th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.15% (0.00149) | 49.69th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.22% (0.00221) | 59.27th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.19% (0.00189) | 54.65th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00885) | 26.24th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.62% (0.00624) | 17.80th | v1 |
| Jan 6, 2022 | 0.62% (0.00624) | 17.24th | v1 |
| Sep 1, 2021 | 0.62% (0.00624) | 45.04th | v1 |
| Apr 14, 2021 | 0.62% (0.00624) | 0.00th | v1 |
Weaknesses (1)
References (5)
- https://98587329.github.io/2018/10/09/thinkphp%E6%B3%A8%E5%85%A5%E5%88%86%E6%9E%90/ x_refsource_MISCExploitThird Party Advisory
- https://github.com/advisories/GHSA-j7g8-3qqg-8cvm Advisory
- https://github.com/top-think/framework/issues/2613
- https://github.com/top-think/thinkphp/commit/9748cb80d2f24c89218f358ca2f5ab88ee33396f x_refsource_MISCPatchVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-18546
| Link | Providers | Tags |
|---|---|---|
| https://98587329.github.io/2018/10/09/thinkphp%E6%B3%A8%E5%85%A5%E5%88%86%E6%9E%90/ | x_refsource_MISCExploitThird Party Advisory | |
| https://github.com/advisories/GHSA-j7g8-3qqg-8cvm | Advisory | |
| https://github.com/top-think/framework/issues/2613 | ||
| https://github.com/top-think/thinkphp/commit/9748cb80d2f24c89218f358ca2f5ab88ee33396f | x_refsource_MISCPatchVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-18546 |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Oct 21, 2018
Updated Sep 17, 2024
Reserved Oct 20, 2018
Link CVE-2018-18546
CISA Vulnrichment
GHSA-J7G8-3QQG-8CVM Updated n/a