[Bug 1229280] Re: Eavesdroppers confined with AppArmor can see all method_return and error messages
Ubuntu Foundations Team Bug Bot
1229280 at bugs.launchpad.net
Fri Oct 4 20:20:44 UTC 2013
The attachment "dbus_1.6.12-0ubuntu8.debdiff" seems to be a debdiff.
The ubuntu-sponsors team has been subscribed to the bug report so that
they can review and hopefully sponsor the debdiff. If the attachment
isn't a patch, please remove the "patch" flag from the attachment,
remove the "patch" tag, and if you are member of the ~ubuntu-sponsors,
unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]
** Tags added: patch
--
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