NetworkManager/data
Íñigo Huguet 0b75d905e5 polkit: remove the modify_system build option
This build option allowed non-admin users to create system-wide
connections. Generally, this is not a good idea as system-wide changes
should be done by administrators.

However, the main reason for the change is that this can be used to
bypass filesystem permissions, among possibly other attacks. As the
daemon runs as root, a user can create a system-wide connection that
uses a certificate from a different user to authenticate in a WiFi
network protected with 802.1X or a VPN, because as root user the daemon
can access to the file.

This patch does not completely fix the issue, as users can still create
private connections specifying a path to another user's connection. This
will be addressed in other patch. However, this patch is needed too,
because in system-wide connections we don't store which user created the
connection, so there woudn't be any way to check his/her permissions.

This is part of the fix for CVE-2025-9615

See: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1809
2025-12-12 12:38:48 +01:00
..
84-nm-drivers.rules udev: also react to "move" (and "change") udev actions in our rules 2021-08-16 19:22:32 +02:00
85-nm-unmanaged.rules udev: manage veths named eth* 2022-02-23 09:35:15 +01:00
90-nm-thunderbolt.rules udev: also react to "move" (and "change") udev actions in our rules 2021-08-16 19:22:32 +02:00
meson.build polkit: remove the modify_system build option 2025-12-12 12:38:48 +01:00
NetworkManager-config-initrd.service.in systemd: install initrd services using a generator 2025-11-20 13:26:15 +00:00
NetworkManager-dispatcher.service.in dispatcher: show man page in .service file 2023-11-03 07:19:08 +00:00
NetworkManager-initrd.service.in systemd: install initrd services using a generator 2025-11-20 13:26:15 +00:00
NetworkManager-ovs.conf device: add support for OpenVSwitch devices 2017-10-30 21:46:55 +01:00
NetworkManager-wait-online-initrd.service.in systemd: install initrd services using a generator 2025-11-20 13:26:15 +00:00
NetworkManager-wait-online.service.in doc: update Documentation reference in NetworkManager-wait-online.service 2023-06-07 16:48:30 +02:00
NetworkManager.service.in service: add CAP_BPF capability to NetworkManager 2025-10-22 21:49:56 +02:00
nm-priv-helper.service.in Rephrase certain expressions to avoid the usage of the term "allows to" 2025-03-27 09:44:07 +01:00
nm-shared.xml firewalld: allow access to SSH in "nm-shared" firewalld zone 2020-06-15 16:49:14 +02:00
org.freedesktop.NetworkManager.policy.in polkit: remove the modify_system build option 2025-12-12 12:38:48 +01:00
server.conf.in all: fix typos in documentation and comments 2017-03-17 15:11:20 +01:00