Commit 6dbd09fe authored by Simon McVittie's avatar Simon McVittie

CVE-2015-0245: prevent forged ActivationFailure from non-root processes

Without either this rule or better checking in dbus-daemon, non-systemd
processes can make dbus-daemon think systemd failed to activate a system
service, resulting in an error reply back to the requester.

This is redundant with the fix in the C code (which I consider to be
the real solution), but is likely to be easier to backport.

Reviewed-by: Alban Crequy
Reviewed-by: David King
Reviewed-by: Philip Withnall
parent 3a78d916
......@@ -68,6 +68,14 @@
<deny send_destination="org.freedesktop.DBus"
<deny send_destination="org.freedesktop.DBus"
<!-- Only systemd, which runs as root, may report activation failures. -->
<policy user="root">
<allow send_destination="org.freedesktop.DBus"
<!-- Config files are placed here that among other things, punch
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment