CVE-2023-22727Cakephp
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Cakephp · Cakephp Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.0% probabilidad de explotación en 30 días · percentil 63
- Requiere autenticación
- No
- Publicada
- 17 ene 2023
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-89
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Cakephp.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Packagist | cakephp/cakephp |
≥ 4.2.0 < 4.2.12 |
4.2.12 |
composer require "cakephp/cakephp:^4.2.12" |
| Packagist | cakephp/cakephp |
≥ 4.3.0 < 4.3.11 |
4.3.11 |
composer require "cakephp/cakephp:^4.3.11" |
| Packagist | cakephp/cakephp |
≥ 4.4.0 < 4.4.10 |
4.4.10 |
composer require "cakephp/cakephp:^4.4.10" |
| Packagist | cakephp/database |
≥ 4.2.0 < 4.2.12 |
4.2.12 |
composer require "cakephp/database:^4.2.12" |
| Packagist | cakephp/database |
≥ 4.3.0 < 4.3.11 |
4.3.11 |
composer require "cakephp/database:^4.3.11" |
| Packagist | cakephp/database |
≥ 4.4.0 < 4.4.10 |
4.4.10 |
composer require "cakephp/database:^4.4.10" |
Según OSV / GitHub Advisories (GHSA-6g8q-qfpv-57wp). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| cakephp | cakephp | ≥ 4.2.0 < 4.2.12 |
| cakephp | cakephp | ≥ 4.3.0 < 4.3.11 |
| cakephp | cakephp | ≥ 4.4.0 < 4.4.10 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- bakery.cakephp.org Release Notes Vendor Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory