Commit 5fef4c8c authored by Simon McVittie's avatar Simon McVittie

Add patch for system.conf to fix a local denial of service when using systemd…

Add patch for system.conf to fix a local denial of service when using systemd activation (CVE-2015-0245)
parent 5b8714c8
dbus (1.6.8-1+deb7u6) wheezy-security; urgency=high
* Add patch for system.conf to fix a local denial of service when
using systemd activation (CVE-2015-0245)
-- Simon McVittie <> Thu, 05 Feb 2015 15:58:36 +0000
dbus (1.6.8-1+deb7u5) wheezy-security; urgency=high dbus (1.6.8-1+deb7u5) wheezy-security; urgency=high
* Fix CVE-2014-7824: * Fix CVE-2014-7824:
From f9697e04f1c9871cb54a99f087e97e4bb9e41e06 Mon Sep 17 00:00:00 2001
From: Simon McVittie <>
Date: Mon, 26 Jan 2015 20:09:56 +0000
Subject: [PATCH] CVE-2015-0245: prevent forged ActivationFailure from non-root
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
bus/ | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/bus/ b/bus/
index 92f4cc4..851b9e6 100644
--- a/bus/
+++ b/bus/
@@ -68,6 +68,14 @@
<deny send_destination="org.freedesktop.DBus"
+ <deny send_destination="org.freedesktop.DBus"
+ send_interface="org.freedesktop.systemd1.Activator"/>
+ </policy>
+ <!-- Only systemd, which runs as root, may report activation failures. -->
+ <policy user="root">
+ <allow send_destination="org.freedesktop.DBus"
+ send_interface="org.freedesktop.systemd1.Activator"/>
<!-- Config files are placed here that among other things, punch
...@@ -18,3 +18,5 @@ If-loader-contains-two-messages-with-fds-don-t-corru.patch ...@@ -18,3 +18,5 @@ If-loader-contains-two-messages-with-fds-don-t-corru.patch
0001-Log-to-syslog-when-auth_timeout-drops-an-incomplete-.patch 0001-Log-to-syslog-when-auth_timeout-drops-an-incomplete-.patch
0002-Revert-config-change-default-auth_timeout-to-5-secon.patch 0002-Revert-config-change-default-auth_timeout-to-5-secon.patch
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