Description
Radar before 1.12.2 contains a missing authorization vulnerability in the handleLocalTerminal WebSocket endpoint (/api/local-terminal) that allows authenticated or unauthenticated attackers to spawn a privileged shell by relying only on a runtime-mode check instead of role-based access control. Attackers can connect to the endpoint to execute /bin/bash -l on the Radar host with Radar's own kubeconfig and process credentials injected into the shell environment, achieving remote code execution with Radar's privileges even when the --disable-local-terminal flag is set.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| skyhook-io | radar | < 1.12.2 | 1.12.2 |
References
- radar 1.12.2 Release Notes release-notes patch
- Pull Request (1) issue-tracking patch
- Pull Request (2) issue-tracking patch
- VulnCheck Advisory: Radar < 1.12.2 Missing Authorization via /api/local-terminal third-party-advisory