GHSA-CG72-X35G-XFP8
OpenBao's Plugin Registration APIs Are Not Limited to the Root Namespace
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-CG72-X35G-XFP8 divulgada · CVSS 2 (GitHub) | |
| Remediación | Parche v2.7.0 | github.com/openbao/openbao/v2 · 0 d desde divulgación | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Impact
OpenBao's plugin registration APIs (`/v1/sys/plugins/catalog/*`) did not enforce that requests to update registrations can only be made from the root namespace, leading to sufficiently privileged tokens having control over the plugin registrations via the `sys/` mount of a child namespace.
Note that plugin registrations only lead to plugin execution if:
- The `command` parameter of the registration is a valid file name within the host's plugin directory, if one is configured.
- The `sha256sum` parameter of the registration matches the SHA-256 digest of the contents of the file on disk.
This limits the options of an attacker that does not control the host's plugin directory to DoS-like scenarios, such as removing existing registrations, creating entirely invalid ones or creating new ones for installed plugins.
Patch
This vulnerability is patched in OpenBao v2.7.0 and v2.6.3.
Workarounds
- Ensure that tenants that should not control the plugin catalog are not granted `write` or `delete` capabilities on `sys/plugins/catalog/*` within their namespace(s).
- Alternatively, disable external plugins entirely by not configuring a `plugin_directory`.
References
- https://openbao.org/docs/api/system/plugins-catalog
Reporters
This vulnerability was first reported by @satoqz and later re-reported independently by @MarcIlunga and @opensec-intelligence before publication of the initial report.
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 | 0 d | v2.7.2 no afectada |
2.6.3v2.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-cg72-x35g-xfp8Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
