diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2008-02-26 13:30:47 -0500 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2008-02-26 13:30:47 -0500 |
commit | 6db561dce296b4c233b9fe9b117012249a99df08 (patch) | |
tree | 8b9aa0520c9eb9d9906e891246321ae2a394403d /test/test-utils.c | |
parent | 381c8548b2deaf1bd827b69e144b652e00f8af1d (diff) |
CVE-2008-0595 dbus security policy circumvention
* CVE-2008-0595 - security policy of the type <allow send_interface=
"some.interface.WithMethods"/> work as an implicit allow for
messages sent without an interface bypassing the default deny rules
and potentially allowing restricted methods exported on the bus to be
executed by unauthorized users. This patch fixes the issue.
* bus/policy.c (bus_client_policy_check_can_send,
bus_client_policy_check_can_receive): skip messages without an
interface when evaluating an allow rule, and thus pass it to the
default deny rules
Diffstat (limited to 'test/test-utils.c')
0 files changed, 0 insertions, 0 deletions