www.vulncheck.com Go Micro Framework Exposes Services to MITM Attacks Due to Insecure TLS Config
Article Content
- •Go-micro's default TLS setting is insecure, allowing MITM attacks.
- •Services not using MICRO_TLS_SECURE=true are at risk of data interception.
- •The vulnerability has been acknowledged but remains unpatched due to compatibility concerns.
The go-micro framework, prior to version 6.0.0, has a default TLS configuration that disables certificate verification for gRPC and HTTP communications, making it vulnerable to man-in-the-middle (MITM) attacks. This issue is acknowledged in the code with a SECURITY WARNING and DEPRECATION NOTICE, but the default setting remains unchanged for backward compatibility. Services using go-micro without explicitly setting the MICRO_TLS_SECURE=true option will transmit data over unverified TLS, allowing network-adjacent attackers to intercept and modify service-to-service traffic. The recommended actions are to change the default configuration or invert the opt-in requirement to enhance security. A full technical report is available upon request.
Ask AI about this cluster
Answers cite the sources they use