-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Severe Security Issue] Password Sent Despite Host Key Verification Failure #9955
Comments
Thank you for the report! @all-contributors add @0x07E5 for security |
I wonder, which versions of Tabby were affected? Was this issue recently introduced, or did it exist for a longer time already? |
It has existed for a long time unfortunately. |
(In response to 7# in this V2EX thread: https://www.v2ex.com/t/1074838) Just want to add that this issue presents minimal risk to public key authentication, as the authentication protocol doesn't sign an arbitrary challenge (let alone giving out your private key), but rather a session-specific payload (RFC 4252 section 7). The best thing a malicious server can have is knowledge of your possession of the corresponding private key. It can do nothing more than that.
|
No. Even though in public key authentication, the client does not "give out" its private key, the process involves signing data specific to the session. This includes information like a session identifier (as defined in RFC 4252 Section 7), and this signature is meant to prove the client’s possession of the corresponding private key. |
In both DH and ECDH exchanges, neither client nor server have full control over the session ID as it includes the server's host key, whose ownership is validated by client during kex (note that this is distinct from a known host validation, which was broken by this bug). So a MitM actor cannot abuse this bug to replay the key exchange to another server. |
Describe the problem:
Tabby attempts to connect to the server and sends the SSH username and password even when the host key verification fails.
To Reproduce:
docker run -dp 8888:2222 cowrie/cowrie:latest
The text was updated successfully, but these errors were encountered: