~vcs-imports/openvpn/trunk

Viewing all changes in revision 208.

  • Committer: james
  • Date: 2006-04-05 06:48:22 UTC
  • Revision ID: vcs-imports@canonical.com-20060405064822-f86f2ff7a56e81fe
Security Vulnerability -- An OpenVPN client connecting to a
malicious or compromised server could potentially receive
"setenv" configuration directives from the server which could
cause arbitrary code execution on the client via a LD_PRELOAD
attack.  A successful attack appears to require that (a) the
client has agreed to allow the server to push configuration
directives to it by including "pull" or the macro "client" in
its configuration file, (b) the client configuration file uses
a scripting directive such as "up" or "down", (c) the client
succesfully authenticates the server, (d) the server is
malicious or has been compromised and is under the control of
the attacker, and (e) the attacker has at least some level of
pre-existing control over files on the client (this might be
accomplished by having the server respond to a client web request
with a specially crafted file).

The fix is to disallow "setenv" to be pushed to clients from
the server.  For those who need this capability, OpenVPN
2.1 supports a new "setenv-safe" directive which is free
of this vulnerability.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: