CVE-2022-47945Thinkphp
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Thinkphp · Thinkphp Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 75
- CVSS 3.1
- 9.8
- EPSS
- 9.3% probabilidad de explotación en 30 días · percentil 96
- Requiere autenticación
- No
- Publicada
- 23 dic 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-22
- SSVC (CISA)
- Explotación: prueba de concepto · 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
ThinkPHP Framework before 6.0.14 allows local file inclusion via the lang parameter when the language pack feature is enabled (lang_switch_on=true). An unauthenticated and remote attacker can exploit this to execute arbitrary operating system commands, as demonstrated by including pearcmd.php.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Thinkphp.
- 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 | topthink/framework |
< 6.0.14 |
6.0.14 |
composer require "topthink/framework:^6.0.14" |
Según OSV / GitHub Advisories (GHSA-p4qr-vq2g-22wp). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| thinkphp | thinkphp | < 6.0.14 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- tttang.com Exploit Third Party Advisory