GHSA-V8FX-PC9P-934X
Clockwork profiler authentication can be bypassed behind a same-host HTTP proxy
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-V8FX-PC9P-934X divulgada | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
Clockwork reads trust loopback `REMOTE_ADDR`. Behind a same-host HTTP proxy every external client has the proxy's loopback address. Configured tokens do not remove exposure because missing/invalid credentials still fall back to loopback.
Affected versions
Grav 2.0.22 through 2.1.6 are affected; no released fix exists.
Details
The endpoint runs before user authorization. `isDebuggerRequestAuthorized()` checks `X-Clockwork-Auth`, then unconditionally accepts loopback TCP peers. This requires Clockwork enabled and a same-host HTTP proxy; the default FastCGI topology is unaffected.
Impact
An unauthenticated visitor can read profiler records, including uncensored system/plugin configuration and possible secrets, request metadata, and queries.
Patches
Require a configured token and valid credential for every data read, while preserving `/__clockwork/auth` exchange.
Credits
Reported by @Zagn.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistgetgrav/grav |
Corregida | 2.1.7 | — | — |
2.1.7Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/getgrav/grav/security/advisories/GHSA-v8fx-pc9p-934xLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
