Description
Kuma is a modern Envoy-based service mesh that can run on every cloud across both Kubernetes and VMs. Prior to 2.7.25, 2.9.15, 2.11.13, 2.12.10, and 2.13.5, the default kuma-cp config leaks the admin bootstrap token and signing keys to any webpage the operator visits while the control plane is reachable from their browser. CorsAllowedDomains: [".*"] reflects any Origin, and LocalhostIsAdmin: true promotes requests from 127.0.0.1 to mesh-system:admin. A cross-origin fetch() from a malicious page returns the admin JWT and signing material. This vulnerability is fixed in 2.7.25, 2.9.15, 2.11.13, 2.12.10, and 2.13.5.
Problem types
CWE-346: Origin Validation Error
CWE-942: Permissive Cross-domain Policy with Untrusted Domains
Product status
>= 2.9.0, < 2.9.15
>= 2.11.0, < 2.11.13
>= 2.12.0, < 2.12.10
>= 2.13.0, < 2.13.5
References
github.com/...q/kuma/security/advisories/GHSA-3vcp-chfh-f6r2
github.com/kumahq/kuma/pull/16416
github.com/kumahq/kuma/pull/16423
github.com/kumahq/kuma/pull/16424
github.com/kumahq/kuma/pull/16425
github.com/kumahq/kuma/pull/16426
github.com/kumahq/kuma/pull/16427
github.com/...ommit/8fefa8595d44eb68d922405702ed7a0826322907