]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Ensure key state is authenticated before sending push reply
authorArne Schwabe <arne@rfc2549.org>
Mon, 5 Apr 2021 22:14:47 +0000 (00:14 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 20 Apr 2021 12:50:41 +0000 (14:50 +0200)
commitf7b3bf067ffce72e7de49a4174fd17a3a83f0573
tree6c66c7ee1dc6c9d4ddba5a75d3ba5f01a015fb4c
parent3d18e308c4e7e6f7ab7c2826c70d2d07b031c18a
Ensure key state is authenticated before sending push reply

This ensures that the key state is authenticated when sending
a push reply.

This bug allows - under very specific circumstances - to trick a
server using delayed authentication (plugin or management) into
returning a PUSH_REPLY before the AUTH_FAILED message, which can
possibly be used to gather information about a VPN setup.

In combination with "--auth-gen-token" or user-specific token auth
solutions it can be possible to get access to a VPN with an
otherwise-invalid account.

CVE-2020-15078 has been assigned to acknowledge this risk.

CVE: 2020-15078
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <d25ec73f-2ab0-31df-8cb6-7778000f4822@openvpn.net>
URL: non-public, embargoed
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/push.c