llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · poweradmin/poweradmin

GHSA-HGMW-RC66-M59F

Host header injection via SERVER_NAME fallback turns the OIDC logout redirect into an open redirect

Parche disponible
Descargar PNG JSON
CVSS 3.1
6.1
Media
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche3 versiones4.2.6 · 4.3.5 · 4.4.1
Exposición28 dDesde la divulgación, 24 oct 2026, 8:49 a. m.
Detección26 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Bien priorizada, bien dormida.Agenda, parchea y celebra con un mate.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada +1
24 oct 26
4 nov 26
19 nov 26
21 nov 26
24 oct 26
31 oct 26
7 nov 26
14 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-HGMW-RC66-M59F divulgada · CVSS 6.1 (GitHub)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

## Summary
Poweradmin builds the OIDC logout `post_logout_redirect_uri` from `$_SERVER['SERVER_NAME']` when `interface.application_url` is unset (the default). Under the shipped FrankenPHP/Caddy Docker image and Apache with the default `UseCanonicalName Off`, `SERVER_NAME` comes from the client `Host` header, giving an open redirect after logout.

## Root Cause
The CVE-2026-54588 fix (introduced in v4.2.4 / v4.3.3) swapped `HTTP_HOST` for `$_SERVER['SERVER_NAME']` in the host-fallback path. This sink reads `SERVER_NAME` raw, with no hostname check or allowlist:
- `LogoutController::getBaseUrl()` (`LogoutController.php:292`) — builds OIDC `post_logout_redirect_uri`. Reached with a live OIDC session.

`interface.application_url` defaults to `''` (`settings.defaults.php:149`), so the safe branch is skipped in every sink. There is no global Symfony `trusted_hosts`/`trusted_proxies` guard, and `BaseController`'s host allowlist is `$allowedHosts = []` (disabled).

Deployment host-source (verified): FrankenPHP `cgi.go` sets `$_SERVER['SERVER_NAME']` from `net.SplitHostPort(request.Host)` = the client `Host` header; the shipped `Dockerfile` bakes a hostname-less Caddy site block (`:{$SERVER_PORT:80}`) so nothing pins it. Apache with the documented-default `UseCanonicalName Off` likewise derives SERVER_NAME from the client Host. (Stock nginx from the shipped `nginx.conf.example` pins `server_name your-domain.com` and is NOT affected.)

## Impact
- OIDC logout (MEDIUM): poisoned `post_logout_redirect_uri` → open redirect (needs a live OIDC session).

## Bypass Evidence
- Seed advisory GHSA-3735-5339-xfwx describes `HTTP_HOST` only; the string `SERVER_NAME` does not appear in it. Its affected ranges (`< 4.2.4` and `>= 4.3.0, < 4.3.3`) are BEFORE the fix; the SERVER_NAME sinks exist FROM the fix version onward (confirmed present on v4.2.4, v4.2.5, v4.3.3, v4.3.4, v4.4.0 via `git show <tag>:<file>`). Inverted version range + different source header + not mentioned in advisory = incomplete-fix bypass, not a duplicate.
- FrankenPHP `cgi.go` SERVER_NAME=`SplitHostPort(r.Host)` confirmed from source; shipped `Dockerfile`/Caddyfile has no host to pin. Apache `UseCanonicalName Off` is the documented default. Each sink reads SERVER_NAME raw (no validation), unlike `DocsController.php:267` which validates and whose comment concedes SERVER_NAME "could still let unexpected values through."

## Affected Versions
`>= 4.2.4` (SERVER_NAME fallback introduced by the CVE fix), spanning the 4.2.x (`>= 4.2.4`), 4.3.x (`>= 4.3.3`), and 4.4.x (`>= 4.4.0`) lines. 4.3.0 to 4.3.2 still carry the older `HTTP_HOST` shape and are covered by GHSA-3735-5339-xfwx / CVE-2026-54588.

## Deployment note
Only FrankenPHP/official-Docker and Apache-default derive SERVER_NAME from the client Host. Stock nginx (shipped `nginx.conf.example`) pins `server_name` to the configured directive and is NOT affected — advisory text must state this to avoid overstating nginx.

---
Reported by zx (Jace) — GitHub: @manus-use

Split from GHSA-wpfx-2c2q-hjq9, which originally covered three sinks with the same fallback.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
8.3/ 10Alto
Vector 8.3 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
poweradmin/poweradmin≥ 4.2.4 < 4.2.6
poweradmin/poweradmin≥ 4.3.3 < 4.3.5
poweradmin/poweradmin≥ 4.4.0 < 4.4.1
4.2.4
4.2.6
4.3.3
4.3.5
4.4.0
4.4.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistpoweradmin/poweradmin
Corregida 4.2.6, 4.3.5, 4.4.1 — —
Versiones corregidas4.2.64.3.54.4.1
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/poweradmin/poweradmin/security/advisories/GHSA-hgmw-rc66-m59f

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.