Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 211451
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sune Kloppenborg Jeppesen <jaervosz@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
CVE-2008-0595.patch CVE-2008-0595.patch patch Sune Kloppenborg Jeppesen 2008-02-25 21:13 0000 2.19 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 211451 depends on: Show dependency tree
Bug 211451 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-25 21:11 0000
Havoc Pennington discovered a flaw in the way the dbus-daemon applies its
security policy.

Ray Strode describes it as such:
    When evaluating whether or not to invoke a method call, the bus daemon
    will look at the security policy and try to determine whether or not
    the caller is allowed access to the method call.

    Many dbus services have lines in their security policy of the form:

    <allow send_interface="some.interface.WithMethods"/>

    to explicitly whitelist the methods of a particular interface for users
    of a specific policy context.

    Normally dbus method calls are invoked fully qualified. That is to say
    the interface the method belongs to is passed to the bus daemon along
    with the method name of the method call. The bus daemon does not
    require method calls to be fully qualified, however. If a caller passes
    just the method with a NULL interface, then the bus daemon will try to
    find the interface with the corresponding method and invoke the method
    call on that interface.

    In these cases, the send_interface attribute of the allow directive is
    ignored.

    <allow send_interface="some.interface.WithMethods"/>

    is interpreted as an implicit <allow/>. This means that if dbus policy
    file contains any <allow send_interface="..." /> directives for a
    particular context, then it implicitly allows that context to invoke
    non-qualified method calls defined for any interface.

------- Comment #1 From Sune Kloppenborg Jeppesen 2008-02-25 21:13:03 0000 -------
Created an attachment (id=144644) [details]
CVE-2008-0595.patch

Proposed patch.

------- Comment #2 From Robert Buchholz 2008-02-26 09:33:30 0000 -------
Adding Doug and Steev as maintainers. Please prepare an updated ebuild and
attach it to this bug. Do not commit anything to CVS yet, this bug is
confidential until wednesday.

------- Comment #3 From Steev Klimaszewski 2008-02-27 03:36:52 0000 -------
Adding compnerd since I have sporadic internet access and won't be online very
often.

------- Comment #4 From Steev Klimaszewski 2008-02-27 18:37:57 0000 -------
Upstream just released dbus 1.1.20 which includes this fix.  Also includes the
fix for another dbus bug that is currently open.  Would like to commit dbus
1.1.20 and mark stable as soon as possible.  Would be removing both 1.0.2 and
1.1.4 since they are both vulnerable if possible.  Or would the security team
prefer we simply patch 1.0.2 and 1.1.4 for now?

------- Comment #5 From Doug Goldstein 2008-02-27 18:44:29 0000 -------
I'm on board with steev's plan. dbus 1.1.x series is a shipping version in
several mainline distros now and we're hoping to see this as the main version
in Gentoo as well.

------- Comment #6 From Doug Goldstein 2008-02-27 18:45:47 0000 -------
Additionally D-Bus upstream calls 1.1.x their "Stable Release" and 1.0.x as
Legacy.

------- Comment #7 From Doug Goldstein 2008-02-27 19:04:44 0000 -------
By the way, this flaw is now public. It's been announced on the dbus ML.

------- Comment #8 From Sune Kloppenborg Jeppesen 2008-02-27 20:10:08 0000 -------
@comment 04: We leave it up to the maintainer wether to patch or bump.

Please update URI with link to release announcement.

Next time just commit when the issue is public. No reason to wait for security.

------- Comment #9 From Doug Goldstein 2008-02-27 20:46:30 0000 -------
(In reply to comment #8)
> @comment 04: We leave it up to the maintainer wether to patch or bump.
> 
> Please update URI with link to release announcement.
> 
> Next time just commit when the issue is public. No reason to wait for security.
> 

It's already been committed. I've just been trying to test everything before
announcing it.

If you want to proceed with making the GLSA. We'll be only supporting 1.1.20
from here out.

------- Comment #10 From Sune Kloppenborg Jeppesen 2008-02-28 00:31:48 0000 -------
Thx Doug.

Arches please test and mark stable. Target keywords are:

dbus-1.1.20.ebuild:KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh
sparc ~sparc-fbsd x86 ~x86-fbsd"

------- Comment #11 From Steve Dibb 2008-02-28 04:26:19 0000 -------
amd64 stable

------- Comment #12 From Christian Faulhammer 2008-02-28 08:39:37 0000 -------
x86 stable

------- Comment #13 From Raúl Porcel 2008-02-28 15:47:49 0000 -------
alpha/ia64/sparc stable

------- Comment #14 From Brent Baude 2008-02-29 02:12:35 0000 -------
ppc64 done

------- Comment #15 From Jeroen Roovers 2008-02-29 05:38:20 0000 -------
Stable for HPPA.

------- Comment #16 From Ryan Hill 2008-03-02 21:41:12 0000 -------
no stable keywords for mips.

------- Comment #17 From Tobias Scherbaum 2008-03-04 20:24:22 0000 -------
ppc stable

------- Comment #18 From Peter Volkov 2008-03-05 06:40:14 0000 -------
Fixed in release snapshot.

------- Comment #19 From Pierre-Yves Rofes 2008-03-12 22:11:35 0000 -------
time for vote. I tend to vote NO.

------- Comment #20 From Christian Faulhammer 2008-03-16 08:54:47 0000 -------
arm/s390 and sh (not listed here) done by Mike

------- Comment #21 From Robert Buchholz 2008-03-21 02:28:19 0000 -------
NO too, closing.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug