Edit with direct quote from the article:
> Disclaimer: For someone to exploit this vulnerability, they need access to the graphical desktop session of the system, so this issue affects desktop users only.
Am I wrong?
Plus, there are a few admins out there who simply prefer to use VNC over a straight terminal. I'm not here to judge; while this is uncommon, it's certainly not unheard of. Personally I would rather not have that much attack surface on my servers, but there are a few legitimate use cases here and there.
It's really not that common. Yes there's the odd cases of servers that use enterprise software that have to have GUIs, but most linux boxes run headless. GUIs are just a waste of processing power and resources for the large majority of the things that servers are used for.
That said, I'm not happy that Canonical are entirely discounting the possibility that customers will have desktop environments installed on servers. It's not common, but it does happen.
The core vulnerability is in gdm which means that you have to have that running as a system service.
Though on second thought, if one can easily set up X forwarding as an unprivileged user, it might still be trivially exploitable.
Anyway, the announcement means that Ubuntu has fixes in affected (desktop) packages. If they are installed on a server, they'd be fixed with next apt update/upgrade too: they use the same package repositories.
I never install GUIs on my servers, but when deploying a image processing server, while installing another package to debug CUDA/drivers, I've unintentionally added a full windowing system without realising it.
There's no difference between the two, except for the presence of the GUI software.
Simply go apt install ubuntu-desktop on any server and you got yourself a desktop install.
I'd pay similar money to have a similarly robust VIM plugin from a supported vendor with great support and sane keybindings OOTB.
man, its easy to get spoiled with tons of ram and a great IDE.
$ apt-cache policy accountsservice
accountsservice:
Installed: 0.6.40-2ubuntu11.6
Candidate: 0.6.40-2ubuntu11.6
If the installed version reported by the utility is the version that Ubuntu states the problem has been fixed for your release, then presumably your system is safe (for this bug).And grep for this package. Otherwise
sudo apt update
/usr/lib/update-notifier/apt-check --human-readable
Will list number of pending security updates.
(part of update-notifier-common, and in task:server along with various desktop-tasks)
Beyond that, you might want to look at https://vuls.io or other auditing packages. Or perhaps:
sudo snap install cvescan
cvescan
Seems it could use some exposure - I wasn't aware of it: https://github.com/canonical/sec-cvescan