1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00
putty-source/doc
Simon Tatham 5f5c710cf3 New option to reject 'trivial' success of userauth.
Suggested by Manfred Kaiser, who also wrote most of this patch
(although outlying parts, like documentation and SSH-1 support, are by
me).

This is a second line of defence against the kind of spoofing attacks
in which a malicious or compromised SSH server rushes the client
through the userauth phase of SSH without actually requiring any auth
inputs (passwords or signatures or whatever), and then at the start of
the connection phase it presents something like a spoof prompt,
intended to be taken for part of userauth by the user but in fact with
some more sinister purpose.

Our existing line of defence against this is the trust sigil system,
and as far as I know, that's still working. This option allows a bit of
extra defence in depth: if you don't expect your SSH server to
trivially accept authentication in the first place, then enabling this
option will cause PuTTY to disconnect if it unexpectedly does so,
without the user having to spot the presence or absence of a fiddly
little sigil anywhere.

Several types of authentication count as 'trivial'. The obvious one is
the SSH-2 "none" method, which clients always try first so that the
failure message will tell them what else they can try, and which a
server can instead accept in order to authenticate you unconditionally.
But there are two other ways to do it that we know of: one is to run
keyboard-interactive authentication and send an empty INFO_REQUEST
packet containing no actual prompts for the user, and another even
weirder one is to send USERAUTH_SUCCESS in response to the user's
preliminary *offer* of a public key (instead of sending the usual PK_OK
to request an actual signature from the key).

This new option detects all of those, by clearing the 'is_trivial_auth'
flag only when we send some kind of substantive authentication response
(be it a password, a k-i prompt response, a signature, or a GSSAPI
token). So even if there's a further path through the userauth maze we
haven't spotted, that somehow avoids sending anything substantive, this
strategy should still pick it up.
2021-06-19 21:34:56 +01:00
..
blurb.but Integrate the 'doc' subdir into the CMake system. 2021-05-03 17:01:55 +01:00
chm.css Minor style tweaks for the CHM. 2006-12-19 10:28:44 +00:00
chmextra.but Integrate the 'doc' subdir into the CMake system. 2021-05-03 17:01:55 +01:00
CMakeLists.txt Allow standalone cmake in the doc subdirectory. 2021-05-08 10:37:41 +01:00
config.but New option to reject 'trivial' success of userauth. 2021-06-19 21:34:56 +01:00
errors.but Tweaks to SUPDUP documentation. 2021-02-21 16:44:51 +00:00
faq.but Docs updates. 2021-05-02 08:05:43 +01:00
feedback.but Tweaks to SUPDUP documentation. 2021-02-21 16:44:51 +00:00
gs.but Docs: correct some control names. 2021-04-20 16:25:49 +01:00
index.but Document PPK format parameters, and --reencrypt. 2021-04-20 15:35:50 +01:00
intro.but Docs: de-emphasise VMS. 2021-04-17 13:27:26 +01:00
man-pageant.but uxpgnt: Briefly document --symlink and --test-sign. 2021-04-19 15:40:35 +01:00
man-plink.but Document -ssh-connection (and -ssh) options. 2021-04-19 16:36:23 +01:00
man-pscp.but Document -ssh-connection (and -ssh) options. 2021-04-19 16:36:23 +01:00
man-psftp.but Document -ssh-connection (and -ssh) options. 2021-04-19 16:36:23 +01:00
man-psocks.but Man page for psocks. 2021-04-08 01:06:06 +01:00
man-psusan.but Add WSL as another use case for psusan. 2021-04-23 17:51:41 +01:00
man-pterm.but Rename manpage sources in the doc subdirectory. 2020-12-13 12:36:38 +00:00
man-putty.but Document multiple fingerprint formats. 2021-03-27 18:39:16 +00:00
man-puttygen.but Document PPK format parameters, and --reencrypt. 2021-04-20 15:35:50 +01:00
man-puttytel.but Document new backend command-line options. 2021-02-21 16:44:51 +00:00
mancfg.but Now that Halibut is capable of generating man pages better than I 2004-03-24 19:36:04 +00:00
manpages.but Now that Halibut is capable of generating man pages better than I 2004-03-24 19:36:04 +00:00
pageant.but winpgnt: add a help button to async passphrase prompt. 2021-04-22 20:00:46 +01:00
pgpkeys.but Remove most traces of WinHelp support. 2019-03-26 00:27:04 +00:00
plink.but Update version number for 0.75 release. 2021-05-02 08:11:24 +01:00
pscp.but Update version number for 0.75 release. 2021-05-02 08:11:24 +01:00
psftp.but File transfer tools: sanitise remote filenames and stderr. 2019-02-20 07:27:22 +00:00
pubkey.but Docs updates. 2021-05-02 08:05:43 +01:00
pubkeyfmt.but PuTTYgen: explicitly use 'Kbyte' in Argon2 naming. 2021-04-19 17:03:05 +01:00
site.but Hmm, that relative link wasn't too good. Try a more helpful one. 2003-10-30 10:41:59 +00:00
sshnames.but Document agent protocol extensions. 2021-04-05 18:44:03 +01:00
udp.but Remove the 'compile-once' design principle. 2021-04-21 21:55:26 +01:00
using.but Docs: index and cross-reference ssh-connection. 2021-04-19 16:36:23 +01:00
vids.but Rework versioning system to not depend on Subversion. 2014-09-24 10:33:13 +00:00