CVE-2019-12749
Last modified
CVE-2019-12749 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.56% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Freedesktop | Dbus | < 1.10.28 |
| Freedesktop | Dbus | >= 1.12.0, < 1.12.16 |
| Freedesktop | Dbus | >= 1.13.0, < 1.13.12 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 18.10 |
| Canonical | Ubuntu Linux | 19.04 |
References
- http://www.openwall.com/lists/oss-security/2019/06/11/2Mailing List, Mitigation, Third Party Advisory
- https://usn.ubuntu.com/4015-1/Third Party Advisory
- https://www.openwall.com/lists/oss-security/2019/06/11/2Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2019/06/11/2Mailing List, Mitigation, Third Party Advisory
- https://usn.ubuntu.com/4015-1/Third Party Advisory
- https://www.openwall.com/lists/oss-security/2019/06/11/2Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-12749?
How severe is CVE-2019-12749?
How do I fix CVE-2019-12749?
Are you affected by CVE-2019-12749?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
