ubuntu-cve-2019-12749
Vulnerability from osv_ubuntu
Published
2019-06-11 15:00
Modified
2026-04-22 07:39
Summary
Details

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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "dbus",
            "binary_version": "1.6.18-0ubuntu4.5+esm1"
          },
          {
            "binary_name": "dbus-x11",
            "binary_version": "1.6.18-0ubuntu4.5+esm1"
          },
          {
            "binary_name": "libdbus-1-3",
            "binary_version": "1.6.18-0ubuntu4.5+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "dbus",
        "purl": "pkg:deb/ubuntu/dbus@1.6.18-0ubuntu4.5+esm1?arch=source\u0026distro=trusty/esm"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.6.18-0ubuntu4.5+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6.12-0ubuntu10",
        "1.6.18-0ubuntu1",
        "1.6.18-0ubuntu2",
        "1.6.18-0ubuntu3",
        "1.6.18-0ubuntu4",
        "1.6.18-0ubuntu4.1",
        "1.6.18-0ubuntu4.2",
        "1.6.18-0ubuntu4.3",
        "1.6.18-0ubuntu4.4",
        "1.6.18-0ubuntu4.5"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "dbus",
            "binary_version": "1.10.6-1ubuntu3.4"
          },
          {
            "binary_name": "dbus-tests",
            "binary_version": "1.10.6-1ubuntu3.4"
          },
          {
            "binary_name": "dbus-user-session",
            "binary_version": "1.10.6-1ubuntu3.4"
          },
          {
            "binary_name": "dbus-x11",
            "binary_version": "1.10.6-1ubuntu3.4"
          },
          {
            "binary_name": "libdbus-1-3",
            "binary_version": "1.10.6-1ubuntu3.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "dbus",
        "purl": "pkg:deb/ubuntu/dbus@1.10.6-1ubuntu3.4?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.10.6-1ubuntu3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.10.0-1ubuntu1",
        "1.10.4-1ubuntu2",
        "1.10.6-1ubuntu1",
        "1.10.6-1ubuntu2",
        "1.10.6-1ubuntu3",
        "1.10.6-1ubuntu3.1",
        "1.10.6-1ubuntu3.3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "dbus",
            "binary_version": "1.12.2-1ubuntu1.1"
          },
          {
            "binary_name": "dbus-tests",
            "binary_version": "1.12.2-1ubuntu1.1"
          },
          {
            "binary_name": "dbus-user-session",
            "binary_version": "1.12.2-1ubuntu1.1"
          },
          {
            "binary_name": "dbus-x11",
            "binary_version": "1.12.2-1ubuntu1.1"
          },
          {
            "binary_name": "libdbus-1-3",
            "binary_version": "1.12.2-1ubuntu1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "dbus",
        "purl": "pkg:deb/ubuntu/dbus@1.12.2-1ubuntu1.1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.12.2-1ubuntu1.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.10.22-1ubuntu1",
        "1.12.0-1ubuntu1",
        "1.12.2-1ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "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.",
  "id": "UBUNTU-CVE-2019-12749",
  "modified": "2026-04-22T07:39:00Z",
  "published": "2019-06-11T15:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2019-12749"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-4015-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-4015-2"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2019-12749"
    }
  ],
  "related": [
    "USN-4015-1",
    "USN-4015-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2019-12749"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…