GHSA-Q74W-HV5X-6HXF
Improper Audit Logging of OpenBao's Root Token Generation and Unauthenticated Rekey Operations
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche v2.7.0 | github.com/openbao/openbao/v2 · -8 d desde divulgación | |
| Divulgación | Publicada | GHSA-Q74W-HV5X-6HXF divulgada · CVSS 2.1 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Impact
The responses of following API paths are not properly audit logged under certain conditions:
- `sys/generate-root/attempt`
- `sys/generate-root/update`
- `sys/rekey/init`
- `sys/rekey/update`
- `sys/rekey/verify`
- `sys/rekey-recovery-key/init`
- `sys/rekey-recovery-key/update`
- `sys/rekey-recovery-key/verify`
There are some factors that limit the impact:
- Since OpenBao 2.5.3, all affected paths are unavailable by default and only accessible if explicitly enabled via `disable_unauthed_rekey_endpoints = false` or `disable_unauthed_generate_root_endpoints = false` in the OpenBao config.
- The requests audit log entry is still generated, just the response entry will me missing.
- The audit log has to succeed for logging the request, but fail for the response.
Patch
This vulnerability is patched in OpenBao v2.7.1 and v2.6.4.
Workarounds
If you run OpenBao 2.5.3 or higher: Make sure `disable_unauthed_rekey_endpoints` and `disable_unauthed_generate_root_endpoints` are set to `true` (which is the default value). If you ever need them, you can temporarily change the config.
References
- `disable_unauthed_generate_root_endpoints`
https://openbao.org/docs/configuration/listener/tcp/#:~:text=disable%5Funauthed%5Fgenerate%5Froot%5Fendpoints - `disable_unauthed_rekey_endpoints`
https://openbao.org/docs/configuration/listener/tcp/#:~:text=disable%5Funauthed%5Frekey%5Fendpoints
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
gogithub.com/openbao/openbao/v2 |
Corregida | v2.7.0 | -8 d | v2.7.2 no afectada |
2.6.4v2.7.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/openbao/openbao/security/advisories/GHSA-q74w-hv5x-6hxfLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
