Kubetail: Cross-Site WebSocket Hijacking allows attacker to read Kubernetes logs from authenticated users
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 0.14.0, 0.16.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
Kubetail is a real-time logging dashboard for Kubernetes. Prior to 0.14.0, Kubetail's dashboard exposes WebSocket endpoints that did not adequately validate the Origin header on connection upgrade. A malicious web page visited by a user with an active Kubetail session could open a WebSocket to the user's dashboard and read their Kubernetes logs in real time. This is a Cross-Site WebSocket Hijacking (CSWSH) vulnerability and affects both the desktop deployment (default http://localhost:7500) and cluster deployments (typically behind an Ingress with HTTP basic auth). This vulnerability is fixed in 0.14.0.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- kubetail-org kubetail
fixed in 0.14.0
- kubetail-org github.com/kubetail-org/kubetail/modules/cli
fixed in 0.16.0
- kubetail-org github.com/kubetail-org/kubetail/modules/dashboard
fixed in 0.14.0
- github.com/kubetail-org/kubetail/modules/cliGo
All versions
- github.com/kubetail-org/kubetail/modules/dashboardGo
All versions
- github.com/kubetail-org/kubetail/modules/dashboardGo
fixed in 0.14.0
- github.com/kubetail-org/kubetail/modules/cliGo
fixed in 0.16.0