CVE-2019-12749
Description
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.
How to fix
- freedesktop dbus1.10.28, 1.12.16, 1.13.12 or later
- usn.ubuntu.com/4015-1/
- usn.ubuntu.com/4015-2/
- debian.org/security/2019/dsa-4462
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V2CQF37O73VH2JDVX2ILX2KD2KLXLQOU/
- access.redhat.com/errata/RHSA-2019:1726
- security.gentoo.org/glsa/201909-08
- access.redhat.com/errata/RHSA-2019:2868
- access.redhat.com/errata/RHSA-2019:2870
- access.redhat.com/errata/RHSA-2019:3707
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| freedesktop dbus | v < 1.10.28, 1.12.0 ≤ v < 1.12.16, 1.13.0 ≤ v < 1.13.12 | 1.10.28, 1.12.16, 1.13.12 |
| canonical ubuntu_linux | 16.04, 18.04, 18.10, 19.04 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.