CVE-2019-12749
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · unediteddbus 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA symlink handling flaw in the DBUS_COOKIE_SHA1 authentication mechanism of libdbus allows a malicious client with write access to their home directory to manipulate the ~/.dbus-keyrings symlink, causing a DBusServer running as a different uid to read/write cookies in attacker-controlled locations. This enables cookie reuse and authentication bypass by tricking the server into accepting a known cookie as proof of a different user identity.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 16.04= 18.04= 18.10= 19.04< 1.10.28>= 1.12.0, < 1.12.16>= 1.13.0, < 1.13.12CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check installed dbus versionRun 'dbus-daemon --version' or 'pkg-config --modversion libdbus' to get the version numberAffected if The version falls outside the fixed releases: not 1.10.28+, 1.12.16+, or 1.13.12+
-
Verify ~/.dbus-keyrings is a symlinkRun 'ls -la ~/.dbus-keyrings' and check if the entry shows an arrow (->) indicating a symlink, or use 'file ~/.dbus-keyrings'Affected if The path resolves to a symlink rather than a real directory (the 'l' permission prefix and '->' notation in ls output indicate a symlink)
-
Check write permissions on ~/.dbus-keyrings parent directoryRun 'ls -lad ~' and check group/other write permissions on the home directoryAffected if The home directory or ~/.dbus-keyrings is writable by users other than the owner, allowing a malicious local user to replace or create the symlink
-
Determine if DBUS_COOKIE_SHA1 authentication is in useCheck dbus configuration files in /etc/dbus-1/ or ~/.dbus/ for auth settings, or inspect running dbus-daemon processes with 'ps aux | grep dbus-daemon' and review configurationAffected if The system uses DBUS_COOKIE_SHA1 (the default in many setups) rather than DBUS_COOKIE_SHA1_STRING or other mechanisms; note that any use of the cookie mechanism relies on ~/.dbus-keyrings
You are affected if your dbus version is unpatched AND ~/.dbus-keyrings is a symlink AND an untrusted user has write access to your home directory to manipulate that symlink.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor data1.10.281.12.161.13.12
Upgrade dbus to version 1.10.28/1.12.16/1.13.12 or later to obtain the patch. If immediate upgrade is not feasible, audit and restrict write access to ~/.dbus-keyrings and ensure it is a real directory, not a symlink.
- Consultation2.0 h
- Implementation4.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,328.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2019-12749 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sources- www.openwall.com
- usn.ubuntu.com
- www.openwall.com
- lists.opensuse.org
- lists.opensuse.org
- lists.opensuse.org
- www.securityfocus.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- lists.debian.org
- lists.fedoraproject.org
- seclists.org
- security.gentoo.org
- usn.ubuntu.com
- www.debian.org
- security.netapp.com
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2019-12749 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data