All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Christoph Egger <Christoph.Egger@amd.com>
Cc: xen-devel@lists.xensource.com,
	Samuel Thibault <samuel.thibault@eu.citrix.com>
Subject: Re: ioemu: empty vnc passwd
Date: Wed, 23 Jan 2008 16:48:54 +0000	[thread overview]
Message-ID: <20080123164854.GA17258@redhat.com> (raw)
In-Reply-To: <200801231736.08106.Christoph.Egger@amd.com>

On Wed, Jan 23, 2008 at 05:36:07PM +0100, Christoph Egger wrote:
> On Wednesday 23 January 2008 17:28:11 Daniel P. Berrange wrote:
> > On Wed, Jan 23, 2008 at 05:19:33PM +0100, Christoph Egger wrote:
> > > If we do a debug build let us assume we are in a testing environment.
> > > There an empty vnc password is ok.
> > > If we don't make a debug build, let us assume we are in a production
> > > environment where an empty vnc password is a security risk.
> >
> > That logic is flawed. VNC may be configured to use TLS +x509 certificates
> > which provide real security. A VNC passwd is not really very credible
> > security whether its zero or 8 chars in length. It shouldn't try to
> > second guess what an admin wants.
> 
> That's right. vnc-auth is nothing. TLS (vnc security type 18) and
> Tight (vnc security type 16) are much better.

Not really - the TLS auth scheme merely uses anonymous credentials, so while
the data stream is encrypted, it is susceptible to trivial MITM attack at
the time of connection setup.  QEMU implements the VeNCrypt security type
which uses TLS with x509 certificates, and will also optionally mandate that
the client presents their own certificate upon connecting.  This is supported
by virt-manager, vinagre, vencrypt's vncviewer and any client using GTK-VNC

See the QEMU docs for how this is all configured

   http://fabrice.bellard.free.fr/qemu/qemu-doc.html#SEC36

As for the Tight auth type, I've no idea what that does, but its not
implemented in current tightvnc releases - they only support the flawed
DES vnc password auth:

   http://www.tightvnc.com/faq.html#howsecure

  "Although TightVNC encrypts VNC passwords sent over the net, the rest 
   of the traffic is sent as is, unencrypted (for password encryption, 
   VNC uses a DES-encrypted challenge-response scheme, where the password 
   is limited by 8 characters, and the effective DES key length is 56 bits).
   So using TightVNC over the Internet can be a security risk"

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

  reply	other threads:[~2008-01-23 16:48 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-23 16:11 ioemu: empty vnc passwd Samuel Thibault
2008-01-23 16:19 ` Christoph Egger
2008-01-23 16:23   ` John Levon
2008-01-23 16:28   ` Daniel P. Berrange
2008-01-23 16:36     ` Christoph Egger
2008-01-23 16:48       ` Daniel P. Berrange [this message]
2008-01-23 16:42     ` Samuel Thibault
2008-01-23 16:50       ` Daniel P. Berrange
2008-01-23 16:58         ` Samuel Thibault
2008-01-23 16:50       ` Samuel Thibault
2008-01-23 16:54         ` Daniel P. Berrange
2008-01-23 16:35 ` Daniel P. Berrange
2008-01-23 17:26   ` John Levon
2008-01-23 17:33     ` Daniel P. Berrange
2008-01-23 17:38       ` John Levon
2008-01-23 17:43         ` Daniel P. Berrange
2008-01-23 17:56           ` John Levon
2008-01-23 18:05             ` Daniel P. Berrange
2008-01-23 17:05 ` [PATCH] ioemu: handle " Samuel Thibault
2008-01-23 17:46   ` Keir Fraser
2008-01-23 17:49     ` Daniel P. Berrange
2008-01-23 18:06       ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080123164854.GA17258@redhat.com \
    --to=berrange@redhat.com \
    --cc=Christoph.Egger@amd.com \
    --cc=samuel.thibault@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.