Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Missing Authentication for Critical Function vulnerabilities in an interactive lesson.
Start learningUpgrade github.com/cloudnativelabs/kube-router/v2/pkg/options to version 2.9.0 or higher.
Affected versions of this package are vulnerable to Missing Authentication for Critical Function in the gRPC management server. An attacker can access sensitive BGP configuration and manipulate routing decisions by sending unauthorized gRPC requests from any pod within the cluster. This includes injecting arbitrary BGP routes, enumerating peer configurations, adding or removing BGP neighbors, and modifying routing policies, all without authentication or encryption. This is only exploitable if the routing controller is started with --run-router and the default admin port is exposed on the node's primary IP.
This vulnerability can be mitigated by setting --gobgp-admin-port=0 to disable the gRPC server, adding host-level iptables INPUT rules to block port 50051 from non-localhost sources, or applying Kubernetes NetworkPolicy (noting that NodePort/host-network traffic may bypass NetworkPolicy in some CNI implementations).