vino-server running by default - security nightmare waiting to happen?

Bug #158967 reported by HarryF
254
Affects Status Importance Assigned to Milestone
vino (Ubuntu)
Invalid
Low
Unassigned

Bug Description

This is technically not a bug but rather a matter of security policy.

Noticed this first with gutsy (no idea if it applies to older versions). Actually noticed because a Mac user told me he could see be running a VNC server - he'd just updated to OSX Leopard where they now automatically show systems on the same network running VNC servers. So perhaps I'm dumb for not having discovered it myself, that ubuntu is running a vnc daemon, but it came as a nasty surprise.

Think it's a very bad idea to having the vino server running by default. That's heading into Microsoft territory, running a bunch of daemons by default (most of which are never needed by the average user), and leaving a huge attack area.

I assume (hope) you're not using a default password (i.e. to start with it has no password so no one could have connected) but, assuming I actually wanted to use it, I'd have to change the password, via the the Preferences > Remote Desktop dialog. So given that I need to actually take _some_ initial action in the first place, that action could also include checking that "Allow other users to access your desktop" option, rather than having it running by default.

It may also be interesting to you to see the actions I took from the moment of "Bloody Hell! I'm running a VNC server!"

Step 1:
$ps -ef | grep -i vnc

Nothing!

Step 2:
System > Administration > Services

"So where the hell is the VNC or remote desktop service?"

Nothing!

Step 3:
a: System > Administration > Synaptic Package Manager
b: Search: "vnc"

Aaha! So now I can see "vino" is installed.

c: vino > Remove Package : "Packages to be removed: ubuntu-desktop"

WTF!

Step 4:
A few minutes later, by chance, happen to see System > Preferences > Remote Desktop and finally I can at least disable it.

Tags: security vino vnc
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. The vino server is not activated by default there is no security issue there

Revision history for this message
HarryF (hfuecks) wrote :

OK - all I can say is this is on a laptop which I installed with Feisty then upgraded to Gutsy. The vino-server was running although I'd never touched the "Remote Desktop" dialog before or had remote clients accessing it via VNC - I haven't used VNC at all on this laptop (client or server). So that's strange.

Revision history for this message
Sebastien Bacher (seb128) wrote :

vino-server is running but sharing is not activated on the default installation

Revision history for this message
HarryF (hfuecks) wrote :

OK - and mystery probably solved - looks like I picked up a copy of the contents of directory ~/.gconf/desktop/gnome/remote_access from rsyncing my home directory with another machine where I _had_ used vnc once before.

Sorry for opening this and thanks for quick response - definately bogus

To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.