Envoy Gateway - это проект с открытым исходным кодом для управления Envoy Proxy в качестве автономного или Kubernetes-based приложения шлюза. До 1.7.4 и 1.8.1 сервер xDS gRPC в GatewayNamespaceMode, настроенный через provider.kubernetes.deploy.typeGatewayNamespace, устанавливает JWT StreamInterceptor, но не UnaryInterceptor, оставляя каждый унарный Fetch RPC незаверенным. Потоковый перехватчик также аутентифицирует только сообщения discoverv3.DeltaDiscoveryRequest; discoveryv3.DiscoveryRequest, используемый протоколом State-of-the-World, не выполняет утверждение типа и возвращает успех без проверки JWT.
Любой под, который может достичь порта 18000, может использовать неаутентифицированные унарные или State-of-the-World пути для извлечения закрытых ключей TLS через StreamSecrets, все ресурсы xDS через StreamAggregatedResources, конечные точки бэкэнда через StreamClusters или StreamEndpoints, и конфигурацию маршрутизации через StreamRoutes или StreamListeners. Эта проблема исправлена в версиях 1.7.4 и 1.8.1.
Показать оригинальное описание (EN)
Envoy Gateway is an open source project for managing Envoy Proxy as a standalone or Kubernetes-based application gateway. Prior to 1.7.4 and 1.8.1, the xDS gRPC server in GatewayNamespaceMode, configured through provider.kubernetes.deploy.type=GatewayNamespace, installs a JWT StreamInterceptor but no UnaryInterceptor, leaving every unary Fetch RPC unauthenticated. The streaming interceptor also authenticates only discoveryv3.DeltaDiscoveryRequest messages; a discoveryv3.DiscoveryRequest used by the State-of-the-World protocol fails the type assertion and returns success without JWT validation. Any pod that can reach port 18000 can use the unauthenticated unary or State-of-the-World paths to retrieve TLS private keys through StreamSecrets, all xDS resources through StreamAggregatedResources, backend endpoints through StreamClusters or StreamEndpoints, and routing configuration through StreamRoutes or StreamListeners. This issue is fixed in versions 1.7.4 and 1.8.1.
Характеристики атаки
Последствия
Строка CVSS v3.1