Symlink Attack Affecting d-bus package, versions [,1.10.28)[1.12.0,1.12.16)[1.13.0,1.13.12)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-DBUS-2371885
  • published26 Jan 2022
  • disclosed11 Jun 2019
  • creditUnknown

Introduced: 11 Jun 2019

CVE-2019-12749  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade d-bus to version 1.10.28, 1.12.16, 1.13.12 or higher.

Overview

Affected versions of this package are vulnerable to Symlink Attack dbus before 1.10.28, 1.12.x before 1.12.16, and 1.13.x before 1.13.12, as used in DBusServer in Canonical Upstart in Ubuntu 14.04 (and in some, less common, uses of dbus-daemon), allows cookie spoofing because of symlink mishandling in the reference implementation of DBUS_COOKIE_SHA1 in the libdbus library. (This only affects the DBUS_COOKIE_SHA1 authentication mechanism.) A malicious client with write access to its own home directory could manipulate a ~/.dbus-keyrings symlink to cause a DBusServer with a different uid to read and write in unintended locations. In the worst case, this could result in the DBusServer reusing a cookie that is known to the malicious client, and treating that cookie as evidence that a subsequent client connection came from an attacker-chosen uid, allowing authentication bypass.

CVSS Scores

version 3.1