freebsd-dev/crypto/openssh/contrib
Ed Maste 66fd12cf48 ssh: Update to OpenSSH 9.3p2
From the release notes:

Changes since OpenSSH 9.3
=========================

This release fixes a security bug.

Security
========

Fix CVE-2023-38408 - a condition where specific libaries loaded via
ssh-agent(1)'s PKCS#11 support could be abused to achieve remote
code execution via a forwarded agent socket if the following
conditions are met:

* Exploitation requires the presence of specific libraries on
  the victim system.
* Remote exploitation requires that the agent was forwarded
  to an attacker-controlled system.

Exploitation can also be prevented by starting ssh-agent(1) with an
empty PKCS#11/FIDO allowlist (ssh-agent -P '') or by configuring
an allowlist that contains only specific provider libraries.

This vulnerability was discovered and demonstrated to be exploitable
by the Qualys Security Advisory team.

In addition to removing the main precondition for exploitation,
this release removes the ability for remote ssh-agent(1) clients
to load PKCS#11 modules by default (see below).

Potentially-incompatible changes
--------------------------------

 * ssh-agent(8): the agent will now refuse requests to load PKCS#11
   modules issued by remote clients by default. A flag has been added
   to restore the previous behaviour "-Oallow-remote-pkcs11".

   Note that ssh-agent(8) depends on the SSH client to identify
   requests that are remote. The OpenSSH >=8.9 ssh(1) client does
   this, but forwarding access to an agent socket using other tools
   may circumvent this restriction.

CVE:		CVE-2023-38408
Sponsored by:	The FreeBSD Foundation
2023-07-19 13:02:33 -04:00
..
aix
cygwin
hpux
redhat ssh: Update to OpenSSH 9.3p2 2023-07-19 13:02:33 -04:00
solaris
suse ssh: Update to OpenSSH 9.3p2 2023-07-19 13:02:33 -04:00
findssl.sh
gnome-ssh-askpass1.c
gnome-ssh-askpass2.c
gnome-ssh-askpass3.c
Makefile
README
ssh-copy-id
ssh-copy-id.1
sshd.pam.freebsd
sshd.pam.generic

Other patches and addons for OpenSSH. Please send submissions to
djm@mindrot.org

Externally maintained
---------------------

SSH Proxy Command -- connect.c

Shun-ichi GOTO <gotoh@imasy.or.jp> has written a very useful ProxyCommand
which allows the use of outbound SSH from behind a SOCKS4, SOCKS5 or
https CONNECT style proxy server. His page for connect.c has extensive
documentation on its use as well as compiled versions for Win32.

https://bitbucket.org/gotoh/connect/wiki/Home


X11 SSH Askpass:

Jim Knoble <jmknoble@pobox.com> has written an excellent X11
passphrase requester. This is highly recommended:

http://www.jmknoble.net/software/x11-ssh-askpass/


In this directory
-----------------

ssh-copy-id:

Phil Hands' <phil@hands.com> shell script to automate the process of adding
your public key to a remote machine's ~/.ssh/authorized_keys file.

gnome-ssh-askpass[12]:

A GNOME and Gtk2 passphrase requesters. Use "make gnome-ssh-askpass1" or
"make gnome-ssh-askpass2" to build.

sshd.pam.generic:

A generic PAM config file which may be useful on your system. YMMV

sshd.pam.freebsd:

A PAM config file which works with FreeBSD's PAM port. Contributed by
Dominik Brettnacher <domi@saargate.de>

findssl.sh:

Search for all instances of OpenSSL headers and libraries and print their 
versions.  This is intended to help diagnose OpenSSH's "OpenSSL headers do not
match your library" errors. 

aix:
    Files to build an AIX native (installp or SMIT installable) package.

caldera:
    RPM spec file and scripts for building Caldera OpenLinuix packages

cygwin:
    Support files for Cygwin

hpux:
    Support files for HP-UX

redhat:
    RPM spec file and scripts for building Redhat packages

suse:
    RPM spec file and scripts for building SuSE packages