qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Possible security enhancement for QEMU
@ 2014-12-29 19:09 Attila-Mihaly Balazs
  2014-12-29 21:26 ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: Attila-Mihaly Balazs @ 2014-12-29 19:09 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 997 bytes --]

Dear all,

Some enterprising people scanned the whole range of IPv4 addresses for open
VNC servers [1] and my casual browsing seems to indicate that a lot of them
are QEMU VMs. I suspect that this is because just doing "-vnc :1" will
listen on/bind to "0.0.0.0" (ie. on all the interfaces).

My suggestion for improvement would be:
- change the behaviour of "-vnc :port" such that it listens on "127.0.0.1"
when the IP isn't specified
- if host is "0.0.0.0" (perhaps also include any routable IPv4 addresses -
and non-link-local IPv6 addresses) and no authentication method is
specified error out with a message like "It is recommended that you DO NOT
expose the VNC server directly to the public internet. If you are sure of
what you are doing, please specify an authentication method for the VNC
server. See the documentation for more details"

I'm happy to supply patches if people agree on the desired approach.

Happy Holidays!
Attila Balazs

[1] https://news.ycombinator.com/item?id=8810366

[-- Attachment #2: Type: text/html, Size: 1277 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-05 18:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-29 19:09 [Qemu-devel] Possible security enhancement for QEMU Attila-Mihaly Balazs
2014-12-29 21:26 ` Peter Maydell
2015-01-05 18:13   ` Daniel P. Berrange
2015-01-05 18:20     ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).