You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.
The AMQP client used by the sensu-client doesn't verify the server's certificate, making it trivial to carry out a man in the middle attack against the TLS connection. It defeats the purpose of using TLS if the authentication is disabled.
Expected Behavior
The AMQP client verifies the connection domain name against the server certificate's Subject Alternative Names or Common Name (although CN is now deprecated). The connection is aborted if the domain name does not match or the issuer of the server's cert is not trusted by the OS's local store or a user-configured CA.
Current Behavior
The AMQP client used by the sensu-client doesn't verify the server's certificate, making it trivial to carry out a man in the middle attack against the TLS connection. It defeats the purpose of using TLS if the authentication is disabled.
Expected Behavior
The AMQP client verifies the connection domain name against the server certificate's Subject Alternative Names or Common Name (although CN is now deprecated). The connection is aborted if the domain name does not match or the issuer of the server's cert is not trusted by the OS's local store or a user-configured CA.
Possible Solution
Implement the ssl_verify_peer method for the AMQP gem.
The text was updated successfully, but these errors were encountered: