Descrizione
All published s2s-proxy versions through 0.2.2 are affected. In versions 0.1.16 through 0.2.2, TLS server listeners use Go's RequireAnyClientCert mode when skipCAVerification is false. This mode checks that the client holds the certificate's private key but does not verify the certificate against the configured CA. An attacker can therefore use a self-signed certificate and key to establish a TLS and yamux connection, then invoke RPCs allowed by the proxy's configuration and Temporal credentials. No certificate or private key trusted by the deployment, and no Temporal credential, is required.
Tipo di vulnerabilità
CWE-296
Improper Following of a Certificate's Chain of Trust
The product does not follow, or incorrectly follows, the chain of trust for a certificate back to a trusted root certificate.
Impatto sui sistemi
| Ambito | Impatto |
| Non ripudio |
Nascondere le proprie attività |
| Integrità, Riservatezza, Disponibilità, Controllo degli accessi |
Ottenere privilegi o assumere un’altra identità, Eseguire codice o comandi non autorizzati |
Come si previene
Architettura e progettazione
Ensure that proper certificate checking is included in the system design.
Sviluppo
Understand, and properly implement all checks necessary to ensure the integrity of certificate trust integrity.
Sviluppo
If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the full chain of trust.
Tutte le 9 CVE di tipo CWE-296, con andamento e prevenzione