GHSA-6Q3J-62J9-F9HH
Precreated extraction files replace code in embedded applications
Texto original en inglés · Ver en español
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-6Q3J-62J9-F9HH divulgada · CVSS 7 (GitHub) | |
| Remediación | Parche v1.13.2 | github.com/dunglas/frankenphp · 0 d desde divulgación | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
A local user can replace PHP files before an embedded application starts under a more privileged account.
Details
Affected: `v1.13.1` and `main@2db0a2d46cff2c6a3fa77fb272d8c69bf48f34fe`.
FrankenPHP extracts embedded applications to `os.TempDir()/frankenphp_<checksum>`. The checksum is stable and available from the binary. `untar` silently keeps existing files and does not validate the directory's owner, permissions, or contents.
Proof of concept
Build a standalone binary containing a benign `public/index.php`. Read its checksum, then create `/tmp/frankenphp_<checksum>/public/index.php` as another local user. Put different PHP code in that file and start the binary as the service user.
The service executes the precreated file instead of the embedded file.
Impact
On a multi-user host, a local user can execute PHP with the service's rights and modify the effective contents of a signed standalone application.
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
gogithub.com/dunglas/frankenphp |
Corregida | v1.13.2 | 0 d | v1.13.6 no afectada |
v1.13.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/php/frankenphp/security/advisories/GHSA-6q3j-62j9-f9hhLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
