CVE-2023-22727
Summary
| CVE | CVE-2023-22727 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-01-17 21:15:00 UTC |
| Updated | 2023-01-25 02:23:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-89
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Database\Query::offset() and limit() vulnerable to SQL injection · Advisory · cakephp/cakephp · GitHub | MISC | github.com | |
| Disallow strings in limit() and offset() · cakephp/cakephp@3f463e7 · GitHub | MISC | github.com | |
| CakePHP 4.2.11, 4.3.11, and 4.4.10 Released — Bakery | MISC | bakery.cakephp.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.