CVE-2019-12749: Critical severity IBM Security Guardium vulnerability
A flaw was discovered in dbus where the implementation of DBUSCOOKIESHA1 is susceptible to a symbolic link attack. A malicious client with write access to its own home directory could manipulate a ~/.dbus-keyrings symlink to cause the DBusServer to read and write in unintended locations. This could result in authentication bypass.
Other sources
D-Bus could allow a remote attacker to bypass security restrictions, caused by symlink mishandling in the reference implementation of DBUSCOOKIESHA1 in the libdbus library. By manipulating a ~/.dbus-keyrings symlink, an attacker could exploit this vulnerability to bypass DBUSCOOKIESHA1 authentication to allow a DBusServer with a different uid to read and write in arbitrary locations.
— IBM
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 DBUSCOOKIESHA1 in the libdbus library. (This only affects the DBUSCOOKIESHA1 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.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the vulnerability ID for this vulnerability?
The vulnerability ID for this vulnerability is CVE-2019-12749.
What is the severity of CVE-2019-12749?
The severity of CVE-2019-12749 is critical with a severity value of 9.1.
What is the affected software for CVE-2019-12749?
The affected software for CVE-2019-12749 includes dbus versions 1.10.x, 1.12.x, and 1.13.x.
How can a remote attacker exploit this vulnerability?
A remote attacker can exploit this vulnerability through cookie spoofing caused by symlink mishandling in the reference implementation of DBUS_COOKIE_SHA1 in the libdbus library.
Is there a fix available for CVE-2019-12749?
Yes, there are fixes available for CVE-2019-12749. Please refer to the vendor-specific advisories for the appropriate remediation steps.