Notice Score pending
Dropbear SSH server skips per-key destination limits for unix sockets
On SSH servers in routers, a limited key can reach beyond its limits.
- First seen
—
Products
Mitigation
No fixed version yet. Until one is released, do not rely on permitopen or permitlisten limits to restrict keys.
Summary
In Dropbear's SSH server, the permitopen and permitlisten limits do not apply to unix-socket forwarding, so a key restricted to one address can reach sockets such as the Docker daemon. The researcher tested it on his own rig, and no attacks in the wild are reported.
Affected when
- authorized_keys key with a permitopen or permitlisten restriction
- unix-socket forwarding on, as by default
- an accessible socket such as Docker reachable by the account
Incidents by product: Dropbear