CVE-2023-22727
Severity CVSS v4.0:
Pending analysis
Type:
CWE-89
SQL Injection
Publication date:
17/01/2023
Last modified:
25/01/2023
Description
CakePHP is a development framework for PHP web apps. In affected versions the `Cake\Database\Query::limit()` and `Cake\Database\Query::offset()` methods are vulnerable to SQL injection if passed un-sanitized user request data. This issue has been fixed in 4.2.12, 4.3.11, 4.4.10. Users are advised to upgrade. Users unable to upgrade may mitigate this issue by using CakePHP's Pagination library. Manually validating or casting parameters to these methods will also mitigate the issue.
Impact
Base Score 3.x
9.80
Severity 3.x
CRITICAL
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:* | 4.2.0 (including) | 4.2.12 (excluding) |
cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:* | 4.3.0 (including) | 4.3.11 (excluding) |
cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:* | 4.4.0 (including) | 4.4.10 (excluding) |
To consult the complete list of CPE names with products and versions, see this page