Differences

This shows you the differences between the selected revisions of the page.

ui_login_bugs 2021-12-06 ui_login_bugs 2022-06-16 (current)
Line 41: Line 41:
===== [[sshbug_rsapad2]] Requires padding on SSH RSA signatures ===== ===== [[sshbug_rsapad2]] Requires padding on SSH RSA signatures =====
-Versions below 3.3 of [[&openssh|OpenSSH]] and versions below 1.3.4d/1.3.5rc4 of ProFTPD/mod_sftp require SSH RSA signatures to be padded with zero bytes to the same length as the %%RSA%% key modulus. The %%SSH%% specification says that an unpadded signature MUST be accepted, so this is a bug. A typical symptom of this problem is that WinSCP mysteriously fails %%RSA%% authentication once in every few hundred attempts, and falls back to passwords. In session log file you will typically see this record:+Versions below 3.3 of [[&openssh|OpenSSH]] and versions below 1.3.4d/1.3.5rc4 of ProFTPD ''mod_sftp'' require SSH RSA signatures to be padded with zero bytes to the same length as the %%RSA%% key modulus. The %%SSH%% specification says that an unpadded signature MUST be accepted, so this is a bug. A typical symptom of this problem is that WinSCP mysteriously fails %%RSA%% authentication once in every few hundred attempts, and falls back to passwords. In session log file you will typically see this record:
<code> <code>
Line 73: Line 73:
correct server, the session will work correctly, but download correct server, the session will work correctly, but download
performance will be less than it could be. ((&puttydoccite)) performance will be less than it could be. ((&puttydoccite))
- 
-===== [[sshbug_ignore1]] Chokes on SSH-1 ignore messages ===== 
-An ignore message (SSH_MSG_IGNORE) is a message in the SSH protocol which can be sent from the client to the server, or from the server to the client, at any time. Either side is required to ignore the message whenever it receives it. WinSCP uses ignore messages to hide the password packet in SSH-1, so that a listener cannot tell the length of the user's password; it also uses ignore messages for [[ui_login_connection#keepalives|connection keepalives]].  
- 
-If this bug is detected, WinSCP will stop using ignore messages. This means that keepalives will stop working, and WinSCP will have to fall back to a secondary defense against [[#sshbug_plainpw1|SSH-1 password-length eavesdropping]]. If this bug is enabled when talking to a correct server, the session will succeed, but keepalives will not work and the session might be more vulnerable to eavesdroppers than it could be.  
- 
-//The SSH-1 support has been removed in the latest beta version.// &beta 
- 
-===== [[sshbug_plainpw1]] Refuses all SSH-1 password camouflage ===== 
-When talking to an SSH-1 server which cannot deal with [[#sshbug_ignore1|ignore messages]], WinSCP will attempt to disguise the length of the user's password by sending additional padding within the password packet. This is technically a violation of the %%SSH-1%% specification, and so WinSCP will only do it when it cannot use standards-compliant ignore messages as camouflage. In this sense, for a server to refuse to accept a padded password packet is not really a bug, but it does make life inconvenient if the server can also not handle ignore messages.  
- 
-If this bug is detected, WinSCP will assume that neither ignore messages nor padding are acceptable, and that it thus has no choice but to send the user's password with no form of camouflage, so that an eavesdropping user will be easily able to find out the exact length of the password. If this bug is enabled when talking to a correct server, the session will succeed, but will be more vulnerable to eavesdroppers than it could be. 
- 
-This is an %%SSH-1%%-specific bug. SSH-2 is secure against this type of attack. //The SSH-1 support has been removed in the latest beta version.// &beta 
- 
-===== Chokes on SSH-1 RSA authentication ===== 
- 
-Some SSH-1 servers cannot deal with RSA authentication messages at all. If [[ui_pageant|Pageant]] is running and contains any %%SSH-1%% keys, WinSCP will normally automatically try %%RSA%% authentication before falling back to passwords, so these servers will crash when they see the %%RSA%% attempt.  
- 
-If this bug is detected, WinSCP will go straight to password authentication. If this bug is enabled when talking to a correct server, the session will succeed, but of course %%RSA%% authentication will be impossible.  
- 
-This is an %%SSH-1%%-specific bug. //The SSH-1 support has been removed in the latest beta version.// &beta 
===== Further Reading ===== ===== Further Reading =====
Read more about [[ui_login|Login dialog]] and [[ui_login_advanced|Advanced Site Settings dialog]]. Read more about [[ui_login|Login dialog]] and [[ui_login_advanced|Advanced Site Settings dialog]].

Last modified: by martin