ID CVE-2017-8422
Summary KDE kdelibs before 4.14.32 and KAuth before 5.34 allow local users to gain root privileges by spoofing a callerID and leveraging a privileged helper app.
References
Vulnerable Configurations
  • cpe:2.3:a:kde:kauth:5.33
    cpe:2.3:a:kde:kauth:5.33
  • cpe:2.3:a:kde:kdelibs:4.14.31
    cpe:2.3:a:kde:kdelibs:4.14.31
CVSS
Base: 7.2
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
exploit-db via4
description KDE 4/5 - 'KAuth' Privilege Escalation. CVE-2017-8422,CVE-2017-8849. Local exploit for Linux platform
file exploits/linux/local/42053.c
id EDB-ID:42053
last seen 2017-05-25
modified 2017-05-18
platform linux
port
published 2017-05-18
reporter Exploit-DB
source https://www.exploit-db.com/download/42053/
title KDE 4/5 - 'KAuth' Privilege Escalation
type local
nessus via4
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20170522_KDELIBS_ON_SL7_X.NASL
    description Security Fix(es) : - A privilege escalation flaw was found in the way kdelibs handled D-Bus messages. A local user could potentially use this flaw to gain root privileges by spoofing a callerID and leveraging a privileged helper application. (CVE-2017-8422)
    last seen 2018-01-27
    modified 2018-01-26
    plugin id 100349
    published 2017-05-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=100349
    title Scientific Linux Security Update : kdelibs on SL7.x x86_64
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2017-575.NASL
    description This update for kauth and kdelibs4 fixes the following issues : - CVE-2017-8422: logic flaw in the KAuth framework allowed privilege escalation (boo#1036244).
    last seen 2018-01-27
    modified 2018-01-26
    plugin id 100202
    published 2017-05-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=100202
    title openSUSE Security Update : kauth / kdelibs4 (openSUSE-2017-575)
  • NASL family Slackware Local Security Checks
    NASL id SLACKWARE_SSA_2017-136-02.NASL
    description New kdelibs packages are available for Slackware 13.37, 14.0, 14.1, 14.2, and -current to fix a security issue.
    last seen 2018-01-27
    modified 2018-01-26
    plugin id 100224
    published 2017-05-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=100224
    title Slackware 13.37 / 14.0 / 14.1 / 14.2 / current : kdelibs (SSA:2017-136-02)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-3286-1.NASL
    description Sebastian Krahmer discovered that the KDE-Libs Kauth component incorrectly checked services invoking D-Bus. A local attacker could use this issue to gain root privileges. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-01-31
    modified 2018-01-30
    plugin id 100217
    published 2017-05-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=100217
    title Ubuntu 14.04 LTS : kde4libs vulnerability (USN-3286-1)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-3849.NASL
    description Several vulnerabilities were discovered in kde4libs, the core libraries for all KDE 4 applications. The Common Vulnerabilities and Exposures project identifies the following problems : - CVE-2017-6410 Itzik Kotler, Yonatan Fridburg and Amit Klein of Safebreach Labs reported that URLs are not sanitized before passing them to FindProxyForURL, potentially allowing a remote attacker to obtain sensitive information via a crafted PAC file. - CVE-2017-8422 Sebastian Krahmer from SUSE discovered that the KAuth framework contains a logic flaw in which the service invoking dbus is not properly checked. This flaw allows spoofing the identity of the caller and gaining root privileges from an unprivileged account.
    last seen 2018-01-30
    modified 2018-01-29
    plugin id 100163
    published 2017-05-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=100163
    title Debian DSA-3849-1 : kde4libs - security update
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2017-6BDBF57F29.NASL
    description security fix for CVE-2017-8422. https://www.kde.org/info/security/advisory-20170510-1.txt Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-02-02
    modified 2018-02-01
    plugin id 100191
    published 2017-05-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=100191
    title Fedora 24 : kf5-kauth (2017-6bdbf57f29)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2017-1264.NASL
    description From Red Hat Security Advisory 2017:1264 : An update for kdelibs is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. The K Desktop Environment (KDE) is a graphical desktop environment for the X Window System. The kdelibs packages include core libraries for the K Desktop Environment. Security Fix(es) : * A privilege escalation flaw was found in the way kdelibs handled D-Bus messages. A local user could potentially use this flaw to gain root privileges by spoofing a callerID and leveraging a privileged helper application. (CVE-2017-8422) Red Hat would like to thank Sebastian Krahmer (SUSE) for reporting this issue.
    last seen 2018-02-02
    modified 2018-02-01
    plugin id 100343
    published 2017-05-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=100343
    title Oracle Linux 7 : kdelibs (ELSA-2017-1264)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201706-29.NASL
    description The remote host is affected by the vulnerability described in GLSA-201706-29 (KAuth and KDELibs: Privilege escalation) KAuth and KDELibs contains a logic flaw in which the service invoking D-Bus is not properly checked. This allows spoofing the identity of the caller and with some carefully crafted calls can lead to gaining root from an unprivileged account. Impact : A local attacker could spoof the identity of the caller invoking D-Bus, possibly resulting in gaining privileges. Workaround : There is no known workaround at this time.
    last seen 2018-01-27
    modified 2018-01-26
    plugin id 101075
    published 2017-06-28
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=101075
    title GLSA-201706-29 : KAuth and KDELibs: Privilege escalation
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SU-2017-1335-1.NASL
    description This update for kdelibs4 fixes the following issues : - CVE-2017-8422: This update fixes problem in the DBUS authentication of the kauth framework that could be used to escalate privileges depending on bugs or misimplemented dbus services. (boo#1036244) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-02-01
    modified 2018-01-31
    plugin id 100290
    published 2017-05-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=100290
    title SUSE SLED12 / SLES12 Security Update : kdelibs4 (SUSE-SU-2017:1335-1)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2017-8B4898CE81.NASL
    description security fix for CVE-2017-8422. https://www.kde.org/info/security/advisory-20170510-1.txt Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-02-04
    modified 2018-02-02
    plugin id 100229
    published 2017-05-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=100229
    title Fedora 24 : 6:kdelibs (2017-8b4898ce81)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2017-0898C704A1.NASL
    description security fix for CVE-2017-8422. https://www.kde.org/info/security/advisory-20170510-1.txt Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-02-02
    modified 2018-02-01
    plugin id 101567
    published 2017-07-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=101567
    title Fedora 26 : kf5-kauth (2017-0898c704a1)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2017-1264.NASL
    description An update for kdelibs is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. The K Desktop Environment (KDE) is a graphical desktop environment for the X Window System. The kdelibs packages include core libraries for the K Desktop Environment. Security Fix(es) : * A privilege escalation flaw was found in the way kdelibs handled D-Bus messages. A local user could potentially use this flaw to gain root privileges by spoofing a callerID and leveraging a privileged helper application. (CVE-2017-8422) Red Hat would like to thank Sebastian Krahmer (SUSE) for reporting this issue.
    last seen 2018-01-26
    modified 2018-01-25
    plugin id 100345
    published 2017-05-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=100345
    title RHEL 7 : kdelibs (RHSA-2017:1264)
  • NASL family Virtuozzo Local Security Checks
    NASL id VIRTUOZZO_VZLSA-2017-1264.NASL
    description An update for kdelibs is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. The K Desktop Environment (KDE) is a graphical desktop environment for the X Window System. The kdelibs packages include core libraries for the K Desktop Environment. Security Fix(es) : * A privilege escalation flaw was found in the way kdelibs handled D-Bus messages. A local user could potentially use this flaw to gain root privileges by spoofing a callerID and leveraging a privileged helper application. (CVE-2017-8422) Red Hat would like to thank Sebastian Krahmer (SUSE) for reporting this issue. Note that Tenable Network Security has attempted to extract the preceding description block directly from the corresponding Red Hat security advisory. Virtuozzo provides no description for VZLSA advisories. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-01-31
    modified 2018-01-30
    plugin id 101468
    published 2017-07-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=101468
    title Virtuozzo 7 : kdelibs / kdelibs-apidocs / kdelibs-common / etc (VZLSA-2017-1264)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2017-AFF6F6BD9D.NASL
    description security fix for CVE-2017-8422. https://www.kde.org/info/security/advisory-20170510-1.txt Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-02-04
    modified 2018-02-02
    plugin id 100197
    published 2017-05-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=100197
    title Fedora 25 : 6:kdelibs (2017-aff6f6bd9d)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DLA-952.NASL
    description Several vulnerabilities were discovered in kde4libs, the core libraries for all KDE 4 applications. The Common Vulnerabilities and Exposures project identifies the following problems : CVE-2017-6410 Itzik Kotler, Yonatan Fridburg and Amit Klein of Safebreach Labs reported that URLs are not sanitized before passing them to FindProxyForURL, potentially allowing a remote attacker to obtain sensitive information via a crafted PAC file. CVE-2017-8422 Sebastian Krahmer from SUSE discovered that the KAuth framework contains a logic flaw in which the service invoking dbus is not properly checked. This flaw allows spoofing the identity of the caller and gaining root privileges from an unprivileged account. CVE-2013-2074 It was discovered that KIO would show web authentication credentials in some error cases. For Debian 7 'Wheezy', these problems have been fixed in version 4:4.8.4-4+deb7u3. We recommend that you upgrade your kde4libs packages. NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-01-30
    modified 2018-01-29
    plugin id 100431
    published 2017-05-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=100431
    title Debian DLA-952-1 : kde4libs security update
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_0BAEE383356C11E7B9A950E549EBAB6C.NASL
    description Albert Astals Cid reports : KAuth contains a logic flaw in which the service invoking dbus is not properly checked. This allows spoofing the identity of the caller and with some carefully crafted calls can lead to gaining root from an unprivileged account.
    last seen 2018-02-01
    modified 2018-01-31
    plugin id 100113
    published 2017-05-11
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=100113
    title FreeBSD : kauth: Local privilege escalation (0baee383-356c-11e7-b9a9-50e549ebab6c)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2017-1264.NASL
    description An update for kdelibs is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. The K Desktop Environment (KDE) is a graphical desktop environment for the X Window System. The kdelibs packages include core libraries for the K Desktop Environment. Security Fix(es) : * A privilege escalation flaw was found in the way kdelibs handled D-Bus messages. A local user could potentially use this flaw to gain root privileges by spoofing a callerID and leveraging a privileged helper application. (CVE-2017-8422) Red Hat would like to thank Sebastian Krahmer (SUSE) for reporting this issue.
    last seen 2018-01-26
    modified 2018-01-25
    plugin id 100328
    published 2017-05-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=100328
    title CentOS 7 : kdelibs (CESA-2017:1264)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2017-DD51077C87.NASL
    description security fix for CVE-2017-8422. https://www.kde.org/info/security/advisory-20170510-1.txt Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-02-04
    modified 2018-02-02
    plugin id 101735
    published 2017-07-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=101735
    title Fedora 26 : 6:kdelibs (2017-dd51077c87)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2017-7E3437B905.NASL
    description security fix for CVE-2017-8422. https://www.kde.org/info/security/advisory-20170510-1.txt Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-02-04
    modified 2018-02-02
    plugin id 100193
    published 2017-05-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=100193
    title Fedora 25 : kf5-kauth (2017-7e3437b905)
packetstorm via4
data source https://packetstormsecurity.com/files/download/142638/kde45-escalate.txt
id PACKETSTORM:142638
last seen 2017-05-25
published 2017-05-23
reporter stealth
source https://packetstormsecurity.com/files/142638/KDE-4-5-KAuth-Privilege-Escalation.html
title KDE 4/5 KAuth Privilege Escalation
redhat via4
advisories
bugzilla
id 1449647
title CVE-2017-8422 kauth: service invoking dbus is not properly checked and allows local privilege escalation
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 7 Client is installed
      oval oval:com.redhat.rhsa:tst:20140675001
    • comment Red Hat Enterprise Linux 7 Server is installed
      oval oval:com.redhat.rhsa:tst:20140675002
    • comment Red Hat Enterprise Linux 7 Workstation is installed
      oval oval:com.redhat.rhsa:tst:20140675003
    • comment Red Hat Enterprise Linux 7 ComputeNode is installed
      oval oval:com.redhat.rhsa:tst:20140675004
  • OR
    • AND
      • comment kdelibs is earlier than 6:4.14.8-6.el7_3
        oval oval:com.redhat.rhsa:tst:20171264011
      • comment kdelibs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110464006
    • AND
      • comment kdelibs-apidocs is earlier than 6:4.14.8-6.el7_3
        oval oval:com.redhat.rhsa:tst:20171264013
      • comment kdelibs-apidocs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110464010
    • AND
      • comment kdelibs-common is earlier than 6:4.14.8-6.el7_3
        oval oval:com.redhat.rhsa:tst:20171264009
      • comment kdelibs-common is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110464008
    • AND
      • comment kdelibs-devel is earlier than 6:4.14.8-6.el7_3
        oval oval:com.redhat.rhsa:tst:20171264007
      • comment kdelibs-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110464012
    • AND
      • comment kdelibs-ktexteditor is earlier than 6:4.14.8-6.el7_3
        oval oval:com.redhat.rhsa:tst:20171264005
      • comment kdelibs-ktexteditor is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20171264006
rhsa
id RHSA-2017:1264
released 2017-05-22
severity Important
title RHSA-2017:1264: kdelibs security update (Important)
rpms
  • kdelibs-6:4.14.8-6.el7_3
  • kdelibs-apidocs-6:4.14.8-6.el7_3
  • kdelibs-common-6:4.14.8-6.el7_3
  • kdelibs-devel-6:4.14.8-6.el7_3
  • kdelibs-ktexteditor-6:4.14.8-6.el7_3
refmap via4
bid 98412
confirm
debian DSA-3849
gentoo GLSA-201706-29
mlist [oss-security] 20170510 generic kde LPE
sectrack 1038480
Last major update 17-05-2017 - 10:29
Published 17-05-2017 - 10:29
Last modified 04-01-2018 - 21:31
Back to Top