Blind Enumeration of gRPC Services
Source Reddit NetSec
Description
Blind enumeration of gRPC services exploits subtle differences in error messages returned by gRPC servers when invalid requests are made. Attackers can map available services and methods even when server reflection is disabled, by sending crafted requests and analyzing error codes such as UNIMPLEMENTED, NOT_FOUND, and INVALID_ARGUMENT. This technique reveals service sprawl, method proliferation, and inconsistent authentication controls, often arising from partial migrations and fragmented development teams. Although crafting valid protobuf messages still requires additional effort, enumerating service existence significantly aids attackers in reconnaissance. The threat is particularly relevant for organizations using gRPC-based microservices architectures without strict security controls or proper network segmentation. European organizations with complex service deployments and legacy microservices are at risk of information disclosure and potential unauthorized access. Mitigation involves strict authentication enforcement on all methods, network segmentation of internal services, disabling or tightly controlling reflection endpoints, and regular audits for service sprawl and auth drift. Countries with strong technology sectors and widespread gRPC adoption, such as Germany, France, the UK, and the Netherlands, are most likely to be affected. The severity is assessed as medium due to the information disclosure nature, the need for some attacker effort, and the lack of direct remote code execution or data manipulation without further exploitation.