GNOME NetworkManager before 0.7.0.99 does not properly verify privileges for dbus (1) modify and (2) delete requests, which allows local users to change or remove the network connections of arbitrary users via unspecified vectors related to org.freedesktop.NetworkManagerUserSettings and atconsole.
From Ludwid Nussel:
nm-applet.conf contains the following rules:
<policy context="default"> <allow senddestination="org.freedesktop.NetworkManagerUserSettings"/> <allow sendinterface="org.freedesktop.NetworkManagerSettings"/> <!-- Only root can get secrets --> <deny sendinterface="org.freedesktop.NetworkManagerSettings.Secrets"/>
Ie anyone can call methods on destination org.freedesktop.NetworkManagerUserSettings. There is a line that is supposed to block users from calling the GetSecrets method on the separate interface for secrets. Unfortunately that interface is not called "org.freedesktop.NetworkManagerSettings.Secrets" but "org.freedesktop.NetworkManagerSettings.Connection.Secrets". So the deny statement is useless and any user on the system can fetch the connection secrets. The same problem can be found in nm-system-settings.
Acknowledgements:
Red Hat would like to thank Ludwig Nussel for reporting this flaw responsibly.