ID CVE-2019-6454
Summary An issue was discovered in sd-bus in systemd 239. bus_process_object() in libsystemd/sd-bus/bus-objects.c allocates a variable-length stack buffer for temporarily storing the object path of incoming D-Bus messages. An unprivileged local user can exploit this by sending a specially crafted message to PID1, causing the stack pointer to jump over the stack guard pages into an unmapped memory region and trigger a denial of service (systemd PID1 crash and kernel panic).
References
Vulnerable Configurations
  • cpe:2.3:a:freedesktop:systemd:239:*:*:*:*:*:*:*
    cpe:2.3:a:freedesktop:systemd:239:*:*:*:*:*:*:*
  • cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
    cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:active_iq_performance_analytics_services:-:*:*:*:*:*:*:*
    cpe:2.3:a:netapp:active_iq_performance_analytics_services:-:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
CVSS
Base: 4.9 (as of 04-06-2019 - 17:29)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE COMPLETE
assigner via4 cve@mitre.org
cvss-vector via4 AV:L/AC:L/Au:N/C:N/I:N/A:C
non_vulnerable_configuration via4
    redhat via4
    advisories
    • bugzilla
      id 1667032
      title CVE-2019-6454 systemd: Insufficient input validation in bus_process_object() resulting in PID 1 crash
      oval
      AND
      • OR
        • comment Red Hat Enterprise Linux 7 Client is installed
          oval oval:com.redhat.rhba:tst:20150364001
        • comment Red Hat Enterprise Linux 7 Server is installed
          oval oval:com.redhat.rhba:tst:20150364002
        • comment Red Hat Enterprise Linux 7 Workstation is installed
          oval oval:com.redhat.rhba:tst:20150364003
        • comment Red Hat Enterprise Linux 7 ComputeNode is installed
          oval oval:com.redhat.rhba:tst:20150364004
      • OR
        • AND
          • comment libgudev1 is earlier than 0:219-62.el7_6.5
            oval oval:com.redhat.rhsa:tst:20190368017
          • comment libgudev1 is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20152092016
        • AND
          • comment libgudev1-devel is earlier than 0:219-62.el7_6.5
            oval oval:com.redhat.rhsa:tst:20190368021
          • comment libgudev1-devel is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20152092008
        • AND
          • comment systemd is earlier than 0:219-62.el7_6.5
            oval oval:com.redhat.rhsa:tst:20190368007
          • comment systemd is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20152092020
        • AND
          • comment systemd-devel is earlier than 0:219-62.el7_6.5
            oval oval:com.redhat.rhsa:tst:20190368009
          • comment systemd-devel is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20152092018
        • AND
          • comment systemd-journal-gateway is earlier than 0:219-62.el7_6.5
            oval oval:com.redhat.rhsa:tst:20190368011
          • comment systemd-journal-gateway is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20152092024
        • AND
          • comment systemd-libs is earlier than 0:219-62.el7_6.5
            oval oval:com.redhat.rhsa:tst:20190368023
          • comment systemd-libs is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20152092012
        • AND
          • comment systemd-networkd is earlier than 0:219-62.el7_6.5
            oval oval:com.redhat.rhsa:tst:20190368019
          • comment systemd-networkd is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20152092006
        • AND
          • comment systemd-python is earlier than 0:219-62.el7_6.5
            oval oval:com.redhat.rhsa:tst:20190368013
          • comment systemd-python is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20152092014
        • AND
          • comment systemd-resolved is earlier than 0:219-62.el7_6.5
            oval oval:com.redhat.rhsa:tst:20190368005
          • comment systemd-resolved is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20152092022
        • AND
          • comment systemd-sysv is earlier than 0:219-62.el7_6.5
            oval oval:com.redhat.rhsa:tst:20190368015
          • comment systemd-sysv is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20152092010
      rhsa
      id RHSA-2019:0368
      released 2019-02-19
      severity Important
      title RHSA-2019:0368: systemd security update (Important)
    • rhsa
      id RHSA-2019:0990
    • rhsa
      id RHSA-2019:1322
    rpms
    • libgudev1-0:219-62.el7_6.5
    • libgudev1-devel-0:219-62.el7_6.5
    • systemd-0:219-62.el7_6.5
    • systemd-devel-0:219-62.el7_6.5
    • systemd-journal-gateway-0:219-62.el7_6.5
    • systemd-libs-0:219-62.el7_6.5
    • systemd-networkd-0:219-62.el7_6.5
    • systemd-python-0:219-62.el7_6.5
    • systemd-resolved-0:219-62.el7_6.5
    • systemd-sysv-0:219-62.el7_6.5
    refmap via4
    bid 107081
    confirm
    debian DSA-4393-1
    fedora FEDORA-2019-8434288a24
    misc https://github.com/systemd/systemd/commits/master/src/libsystemd/sd-bus/bus-objects.c
    mlist
    • [SECURITY] [DLA 1684-1] 20190219 systemd security update
    • [oss-security] 20190218 CVE-2019-6454: systemd (PID1) crash with specially crafted D-Bus message
    • [oss-security] 20190219 CVE-2019-6454: systemd (PID1) crash with specially crafted D-Bus message
    suse
    • SUSE-SA:2019:0255-1
    • openSUSE-SU-2019:1450
    ubuntu USN-3891-1
    vulnerable_product via4
    • cpe:2.3:a:freedesktop:systemd:239:*:*:*:*:*:*:*
    • cpe:2.3:a:netapp:active_iq_performance_analytics_services:-:*:*:*:*:*:*:*
    Last major update 04-06-2019 - 17:29
    Published 21-03-2019 - 16:01
    Back to Top