CVE-2018-18530

Source
https://cve.org/CVERecord?id=CVE-2018-18530
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-18530.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-18530
Aliases
Published
2018-10-19T20:29:00.490Z
Modified
2026-07-08T17:16:59.791178Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

ThinkPHP 5.1.25 has SQL Injection via the count parameter because the library/think/db/Query.php aggregate function mishandles the aggregate variable. NOTE: a backquote character is required in the attack URI.

References

Affected packages

Git / github.com/top-think/framework

Affected ranges

Type
GIT
Repo
https://github.com/top-think/framework
Events
Database specific
Show details
{
    "source": "CPE_STRING",
    "cpe": "cpe:2.3:a:thinkphp:thinkphp:5.1.25:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "5.1.25"
        },
        {
            "last_affected": "5.1.25"
        }
    ]
}

Affected versions

5.*
5.1.25
v5.*
v5.1.25

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-18530.json"