User Impersonation Affecting github.com/hydraide/hydraide/app/server/server package, versions <0.2.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

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 applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMHYDRAIDEHYDRAIDEAPPSERVERSERVER-12085657
  • published21 Aug 2025
  • disclosed19 Aug 2025
  • creditTristan Smagghe

Introduced: 19 Aug 2025

New CVE NOT AVAILABLE CWE-290  (opens in a new tab)

How to fix?

Upgrade github.com/hydraide/hydraide/app/server/server to version 0.2.0 or higher.

Overview

Affected versions of this package are vulnerable to User Impersonation due to insufficient authentication checks in the client and server processes. An attacker can gain unauthorized access to sensitive data by establishing a connection without proper certificate validation or authentication.

PoC

            // hostOnly := strings.Split(server.Host, ":")[0]
            // creds, certErr := credentials.NewClientTLSFromFile(server.CertFilePath, hostOnly)
            // if certErr != nil {
            // 	slog.Error("error while loading TLS credentials: ", "error", certErr, "server", server.Host, "fromIsland", server.FromIsland, "toIsland", server.ToIsland)
            // 	errorMessages = append(errorMessages, certErr)
            // }
            var opts []grpc.DialOption
            tlsConfig := &tls.Config{
                InsecureSkipVerify: true,
            }
            creds := credentials.NewTLS(tlsConfig)
            opts = append(opts, grpc.WithTransportCredentials(creds))

References

CVSS Base Scores

version 4.0
version 3.1