Description
Komodo through 2.3.3 contains an authentication bypass vulnerability in the Periphery agent that allows unauthenticated attackers to connect as a trusted Core because empty core_public_keys and passkeys lists fail open by default. Attackers reaching port 8120 can present any generated keypair to issue Periphery API requests, including terminal sessions and container operations, executing commands on managed hosts typically as root.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| moghtech | komodo | ≤ 2.3.3 | — |
References
- https://github.com/moghtech/komodo/issues/1690 issue-tracking
- https://github.com/moghtech/komodo/blob/v2.3.3/bin/periphery/src/state.rs#L82-L88 technical-description
- https://github.com/moghtech/komodo/blob/v2.3.3/bin/periphery/src/connection/server.rs technical-description
- https://github.com/moghtech/komodo/blob/v2.3.3/config/periphery.config.toml technical-description
- https://github.com/moghtech/komodo/blob/v1.19.5/bin/periphery/src/api/router.rs technical-description
- https://ravindulakmina.pages.dev/advisories/komodo-periphery-fail-open-rce/ technical-description
- VulnCheck Advisory: Komodo through 2.3.3 Periphery Agent Unauthenticated RCE via Default Configuration third-party-advisory