OpenSSH Key Storage

Nicolas Williams Nicolas.Williams at ubsw.com
Sat Feb 2 06:37:19 EST 2002


On Fri, Feb 01, 2002 at 01:58:22PM -0500, Carson Gaspar wrote:
> Can anyone find a flaw in my analysis? Did I miss any corner cases?

With (b) the client can verify that the server is who it claims to be,
but not whether that is who the user wanted to connect to.

So an attacker could redirect the client to a different host than the
user meant, and the client will think all's ok. The client would have to
check that the server's claimed name is different than the one the user
asked for and would then have to prompt the user - or look up the
server's claimed name in an aliases list and check the user's requested
server name against the server's aliases.

Let's not kid ourselves - if you use DNS and not DNSSEC or something
better, then you have the same problem: an attacker can spoof a DNS
response while ssh is looking up the user's requested server name and
point the ssh client at a different host withot the client or the user
being any the wiser.

BUT, DNS spoofing is a problem external to SSH and can be fixed without
changing SSH.

> -- 
> Carson


Cheers,

Nico
--
-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.




More information about the openssh-unix-dev mailing list