Vulnerabilities > CVE-2014-9114 - Command Injection vulnerability in multiple products
Attack vector
LOCAL Attack complexity
LOW Privileges required
LOW Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
Blkid in util-linux before 2.26rc-1 allows local users to execute arbitrary code.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Cause Web Server Misclassification An attack of this type exploits a Web server's decision to take action based on filename or file extension. Because different file types are handled by different server processes, misclassification may force the Web server to take unexpected action, or expected actions in an unexpected sequence. This may cause the server to exhaust resources, supply debug or system data to the attacker, or bind an attacker to a remote process. This type of vulnerability has been found in many widely used servers including IIS, Lotus Domino, and Orion. The attacker's job in this case is straightforward, standard communication protocols and methods are used and are generally appended with malicious information at the tail end of an otherwise legitimate request. The attack payload varies, but it could be special characters like a period or simply appending a tag that has a special meaning for operations on the server side like .jsp for a java application server. The essence of this attack is that the attacker deceives the server into executing functionality based on the name of the request, i.e. login.jsp, not the contents.
- LDAP Injection An attacker manipulates or crafts an LDAP query for the purpose of undermining the security of the target. Some applications use user input to create LDAP queries that are processed by an LDAP server. For example, a user might provide their username during authentication and the username might be inserted in an LDAP query during the authentication process. An attacker could use this input to inject additional commands into an LDAP query that could disclose sensitive information. For example, entering a * in the aforementioned query might return information about all users on the system. This attack is very similar to an SQL injection attack in that it manipulates a query to gather additional information or coerce a particular return value.
- Command Delimiters An attack of this type exploits a programs' vulnerabilities that allows an attacker's commands to be concatenated onto a legitimate command with the intent of targeting other resources such as the file system or database. The system that uses a filter or a blacklist input validation, as opposed to whitelist validation is vulnerable to an attacker who predicts delimiters (or combinations of delimiters) not present in the filter or blacklist. As with other injection attacks, the attacker uses the command delimiter payload as an entry point to tunnel through the application and activate additional attacks through SQL queries, shell commands, network scanning, and so on.
- File System Function Injection, Content Based An attack of this type exploits the host's trust in executing remote content including binary files. The files are poisoned with a malicious payload (targeting the file systems accessible by the target software) by the attacker and may be passed through standard channels such as via email, and standard web content like PDF and multimedia files. The attacker exploits known vulnerabilities or handling routines in the target processes. Vulnerabilities of this type have been found in a wide variety of commercial applications from Microsoft Office to Adobe Acrobat and Apple Safari web browser. When the attacker knows the standard handling routines and can identify vulnerabilities and entry points they can be exploited by otherwise seemingly normal content. Once the attack is executed, the attackers' program can access relative directories such as C:\Program Files or other standard system directories to launch further attacks. In a worst case scenario, these programs are combined with other propagation logic and work as a virus.
- Exploiting Multiple Input Interpretation Layers An attacker supplies the target software with input data that contains sequences of special characters designed to bypass input validation logic. This exploit relies on the target making multiples passes over the input data and processing a "layer" of special characters with each pass. In this manner, the attacker can disguise input that would otherwise be rejected as invalid by concealing it with layers of special/escape characters that are stripped off by subsequent processing steps. The goal is to first discover cases where the input validation layer executes before one or more parsing layers. That is, user input may go through the following logic in an application: In such cases, the attacker will need to provide input that will pass through the input validator, but after passing through parser2, will be converted into something that the input validator was supposed to stop.
Nessus
NASL family Fedora Local Security Checks NASL id FEDORA_2014-16016.NASL description Security fix for CVE-2014-9114 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-03-17 modified 2014-12-04 plugin id 79705 published 2014-12-04 reporter This script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/79705 title Fedora 20 : util-linux-2.24.2-2.fc20 (2014-16016) NASL family Huawei Local Security Checks NASL id EULEROS_SA-2019-1670.NASL description According to the version of the util-linux packages installed, the EulerOS installation on the remote host is affected by the following vulnerability : - Blkid in util-linux before 2.26rc-1 allows local users to execute arbitrary code.(CVE-2014-9114) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-05-06 modified 2019-06-27 plugin id 126297 published 2019-06-27 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/126297 title EulerOS 2.0 SP5 : util-linux (EulerOS-SA-2019-1670) NASL family Fedora Local Security Checks NASL id FEDORA_2014-15908.NASL description Security fix for CVE-2014-9114 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-03-17 modified 2014-12-15 plugin id 79901 published 2014-12-15 reporter This script is Copyright (C) 2014-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/79901 title Fedora 21 : util-linux-2.25.2-2.fc21 (2014-15908) NASL family SuSE Local Security Checks NASL id SUSE_11_LIBBLKID-DEVEL-150311.NASL description util-linux has been updated to fix one security issue : - command injection flaw in blkid (bnc#907434). Additionally, these non-security issues have been fixed :. (CVE-2014-9114) - Fix possible script hang. (bnc#888678) - Enable build of libmount / findmnt. (bnc#900965) - Don last seen 2020-06-01 modified 2020-06-02 plugin id 82021 published 2015-03-24 reporter This script is Copyright (C) 2015 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/82021 title SuSE 11.3 Security Update : util-linux (SAT Patch Number 10452) NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-201612-14.NASL description The remote host is affected by the vulnerability described in GLSA-201612-14 (util-linux: Arbitrary code execution) A command injection flaw was discovered in util-linux’s “blkid” utility. It uses caching files (/dev/.blkid.tab or /run/blkid/blkid.tab) to store info about the UUID, LABEL etc. it finds on certain devices. However, it does not strip ‘”’ character, so it can be confused to build variable names containing shell metacharacters, which it would usually encode inside the value. Impact : A local attacker could create a specially crafted partition label containing arbitrary code which would get executed when the “blkid” utility processes that value. Workaround : There is no known workaround at this time. last seen 2020-06-01 modified 2020-06-02 plugin id 95547 published 2016-12-06 reporter This script is Copyright (C) 2016-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/95547 title GLSA-201612-14 : util-linux: Arbitrary code execution NASL family Huawei Local Security Checks NASL id EULEROS_SA-2019-1694.NASL description According to the version of the util-linux packages installed, the EulerOS Virtualization for ARM 64 installation on the remote host is affected by the following vulnerability : - Blkid in util-linux before 2.26rc-1 allows local users to execute arbitrary code.(CVE-2014-9114) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 126536 published 2019-07-09 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/126536 title EulerOS Virtualization for ARM 64 3.0.2.0 : util-linux (EulerOS-SA-2019-1694) NASL family Huawei Local Security Checks NASL id EULEROS_SA-2019-2061.NASL description According to the version of the util-linux packages installed, the EulerOS installation on the remote host is affected by the following vulnerability : - Blkid in util-linux before 2.26rc-1 allows local users to execute arbitrary code.(CVE-2014-9114) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-05-08 modified 2019-09-24 plugin id 129254 published 2019-09-24 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/129254 title EulerOS 2.0 SP3 : util-linux (EulerOS-SA-2019-2061) NASL family SuSE Local Security Checks NASL id OPENSUSE-2015-34.NASL description util-linux was updated to fix a security issue, where local attackers might be able to execute code as root with a prepared USB stick (CVE-2014-9114 bsc#907434). last seen 2020-06-05 modified 2015-01-19 plugin id 80579 published 2015-01-19 reporter This script is Copyright (C) 2015-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/80579 title openSUSE Security Update : util-linux (openSUSE-SU-2015:0066-1) NASL family Huawei Local Security Checks NASL id EULEROS_SA-2019-1175.NASL description According to the version of the util-linux package installed, the EulerOS Virtualization installation on the remote host is affected by the following vulnerability : - Blkid in util-linux before 2.26rc-1 allows local users to execute arbitrary code.i1/4^CVE-2014-9114i1/4%0 Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-03-19 modified 2019-04-09 plugin id 123861 published 2019-04-09 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/123861 title EulerOS Virtualization 2.5.3 : util-linux (EulerOS-SA-2019-1175) NASL family SuSE Local Security Checks NASL id SUSE_SU-2015-0270-1.NASL description util-linux was updated to fix one security issue. This security issue was fixed : - CVE-2014-9114: Using crafted block devices (e.g. USB sticks) it was possibly to inject code via libblkid. libblkid was fixed to care about unsafe chars and possible buffer overflow in cache (bnc#907434) The update package also includes non-security fixes. See advisory for details. 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 2020-06-01 modified 2020-06-02 plugin id 83679 published 2015-05-20 reporter This script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/83679 title SUSE SLED12 / SLES12 Security Update : util-linux (SUSE-SU-2015:0270-1) NASL family Huawei Local Security Checks NASL id EULEROS_SA-2019-1737.NASL description According to the version of the util-linux packages installed, the EulerOS installation on the remote host is affected by the following vulnerability : - Blkid in util-linux before 2.26rc-1 allows local users to execute arbitrary code.(CVE-2014-9114) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-05-06 modified 2019-07-22 plugin id 126864 published 2019-07-22 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/126864 title EulerOS 2.0 SP2 : util-linux (EulerOS-SA-2019-1737) NASL family Mandriva Local Security Checks NASL id MANDRIVA_MDVSA-2015-122.NASL description Updated util-linux packages fix security vulnerability : Sebastian Krahmer reported a command injection flaw in blkid. This could possibly result in command execution with root privileges (CVE-2014-9114). The util-linux package has been updated to version 2.24.2 and patched to fix this issue and other bugs. last seen 2020-06-01 modified 2020-06-02 plugin id 82375 published 2015-03-30 reporter This script is Copyright (C) 2015-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/82375 title Mandriva Linux Security Advisory : util-linux (MDVSA-2015:122)
References
- http://lists.fedoraproject.org/pipermail/package-announce/2014-December/145188.html
- http://lists.fedoraproject.org/pipermail/package-announce/2014-December/145188.html
- http://lists.fedoraproject.org/pipermail/package-announce/2014-December/146229.html
- http://lists.fedoraproject.org/pipermail/package-announce/2014-December/146229.html
- http://lists.opensuse.org/opensuse-updates/2015-01/msg00035.html
- http://lists.opensuse.org/opensuse-updates/2015-01/msg00035.html
- http://www.openwall.com/lists/oss-security/2014/11/26/21
- http://www.openwall.com/lists/oss-security/2014/11/26/21
- http://www.securityfocus.com/bid/71327
- http://www.securityfocus.com/bid/71327
- https://bugzilla.redhat.com/show_bug.cgi?id=1168485
- https://bugzilla.redhat.com/show_bug.cgi?id=1168485
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98993
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98993
- https://github.com/karelzak/util-linux/commit/89e90ae7b2826110ea28c1c0eb8e7c56c3907bdc
- https://github.com/karelzak/util-linux/commit/89e90ae7b2826110ea28c1c0eb8e7c56c3907bdc
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- https://security.gentoo.org/glsa/201612-14
- https://security.gentoo.org/glsa/201612-14