An unauthenticated SQL injection can occur on the front end of any site that uses craft.search to perform a search, allowing stacked query execution…
An unauthenticated SQL injection can occur on the front end of any site that uses craft.search to perform a search, allowing stacked query execution and enabling escalation to an administrator. Note that this only affects MySQL/MariaDB. Impact * SQL injection — The attribute parameter is concatenated into the query unsanitized, and because PDO runs with emulated prepares, stacked statements execute. This gives unauthenticated read and write access to the application database. * Privilege escalation to administrator — The write primitive was used to set the admin flag on user ID 1 in the users table, confirmed by reading the value back. Craft short-circuits its permission checks on this singl
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Craftcms
- Product
- cms
- CVSS v3.1
- 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-89
- Exposure class
- Database
- NVD status
- Received
Why it ranks 44 (Notable)
- CVSS v3.1 9.8 critical
- Product class: database
- Widely deployed vendor product (Craftcms)
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.