CVE-2024-4990Yiiframework Yii
Crítica 9.1 Sin autenticación
Seguir: esta CVE · Yiiframework · Yiiframework Yii Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 3.1
- 9.1
- EPSS
- 3.4% probabilidad de explotación en 30 días · percentil 90
- Requiere autenticación
- No
- Publicada
- 20 mar 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-470
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Qué pasa
In yiisoft/yii2 version 2.0.48, the base Component class contains a vulnerability where the `__set()` magic method does not validate that the value passed is a valid Behavior class name or configuration. This allows an attacker to instantiate arbitrary classes, passing parameters to their constructors and invoking setter methods. Depending on the installed dependencies, various types of attacks are possible, including the execution of arbitrary code, retrieval of sensitive information, and unauthorized access.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Yii.
- 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 | yiisoft/yii2 |
< 2.0.49.4 |
2.0.49.4 |
composer require "yiisoft/yii2:^2.0.49.4" |
Según OSV / GitHub Advisories (GHSA-cjcc-p67m-7qxm). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| yiiframework | yii | 2.0.48 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- huntr.com Exploit