[Bug 1229280] Re: Eavesdroppers confined with AppArmor can see all method_return and error messages
Jamie Strandboge
jamie at ubuntu.com
Fri Oct 4 18:33:10 UTC 2013
** Tags added: application-confinement
** Changed in: dbus (Ubuntu)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dbus in Ubuntu.
https://bugs.launchpad.net/bugs/1229280
Title:
Eavesdroppers confined with AppArmor can see all method_return and
error messages
Status in “dbus” package in Ubuntu:
In Progress
Bug description:
The AppArmor mediation code in dbus-daemon contains short circuits
that allow method_return and error messages to pass through without
being mediated. The thought is that the original message was allowed,
so the reply should be allowed. However, D-Bus allows eavesdropping
and the short circuits allow the eavesdropper to receive any
method_return and error messages, even if the eavesdropper was not
allowed to receive the original message.
$ echo "profile eve { file, dbus interface=org.freedesktop.DBus member={Hello,AddMatch}, }" | sudo apparmor_parser -qr
$ aa-exec -p eve -- dbus-monitor --session
...
method return sender=:1.15 -> dest=:1.51 reply_serial=27845
string "/org/ayatana/bamf/window/83886084"
method return sender=:1.15 -> dest=:1.51 reply_serial=27846
string "/org/ayatana/bamf/window/83886084"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/1229280/+subscriptions
More information about the foundations-bugs
mailing list