CVE-2008-0595: Medium severity Fedoraproject Fedora vulnerability

Published Feb 11, 2008
·
Updated

dbus-daemon in D-Bus before 1.0.3, and 1.1.x before 1.1.20, recognizes sendinterface attributes in allow directives in the security policy only for fully qualified method calls, which allows local users to bypass intended access restrictions via a method call with a NULL interface.

Other sources

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 sendinterface="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 sendinterface attribute of the allow directive is ignored.

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

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

— Red Hat

Affected Software

18 affected componentsFixes available
Fedoraproject Fedora=7
Mandrakesoft Mandrake Linux=2007
Mandrakesoft Mandrake Linux=2007.0_x86_64
Mandrakesoft Mandrake Linux=2007.1
Mandrakesoft Mandrake Linux=2007.1
Mandrakesoft Mandrake Linux=2008.0
Mandrakesoft Mandrake Linux=2008.0
redhat Enterprise Linux=5
redhat Enterprise Linux=5.0
Freedesktop dbus<1.0.3
Freedesktop dbus>=1.1.0<1.1.20
Mandrakesoft Mandrake Linux=2008.0
Mandrakesoft Mandrake Linux=2007.1
redhat/1.0.2<7.
7.
debian/dbus<1.1.20-1
1.1.20-1
debian/dbus<1.1.20-1
1.1.20-1
debian/dbus<1.1.20-1
1.1.20-1
debian/dbus
1.0.2-1+etch11.1.20-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/1.0.2 to a version that resolves this vulnerability.

    Fixed in 7.
  2. Upgrade

    Upgrade debian/dbus to a version that resolves this vulnerability.

    Fixed in 1.1.20-1
  3. Upgrade

    Upgrade debian/dbus to a version that resolves this vulnerability.

    Fixed in 1.0.2-1+etch1Fixed in 1.1.20-1
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.0.3
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.1.20

Event History

Feb 11, 2008
Data Sourced
via Red Hat·10:08 PM
DescriptionSeverityAffected Software
Feb 29, 2008
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
07:44 PM
DescriptionWeaknessAffected Software
Data Sourced
via NVD·07:44 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·07:44 PM
DescriptionAffected Software
Feb 7, 2022
Data Sourced
06:24 PM
RemedySeverity

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2008-0595?

CVE-2008-0595 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2008-0595?

You can fix CVE-2008-0595 by upgrading D-Bus to version 1.0.3 or later, or ensure you are using a version within the 1.1.x series above 1.1.20.

3

Which systems are affected by CVE-2008-0595?

CVE-2008-0595 affects D-Bus versions prior to 1.0.3 and 1.1.x before 1.1.20 on various distributions including Fedora, Mandrake, and Red Hat Enterprise Linux.

4

What type of attack does CVE-2008-0595 facilitate?

CVE-2008-0595 allows local users to bypass intended access restrictions through method calls with a NULL interface.

5

Is there a patch available for CVE-2008-0595?

Yes, patches have been released for CVE-2008-0595 with the corresponding updates in the D-Bus versions mentioned.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203