From badf804b348e562e5a0f16abd4ba197b4e6f9adb Mon Sep 17 00:00:00 2001 From: jiangdingyuan <214973957@qq.com> Date: Wed, 2 Sep 2026 14:07:41 +0800 Subject: [PATCH] Fix PrinterSpooler D-Bus signal spoofing The existing policy grants root permission to send messages on the com.redhat.PrinterSpooler interface, but does not deny unprivileged clients. Since the system bus permits broadcast signals by default, an ordinary user can emit a spoofed PrinterSpooler signal despite the comment claiming that only root can send it. Deny signals on this interface in the default policy and allow them again for root. This preserves reception for all connections and limits the change to signal messages, avoiding an unintended restriction on other message types. --- desktop/cups.conf | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/desktop/cups.conf b/desktop/cups.conf index 537ac77657..13669d4352 100644 --- a/desktop/cups.conf +++ b/desktop/cups.conf @@ -1,13 +1,16 @@ - - - - - - + + + + + + +