ID CVE-2014-3677
Summary Unspecified vulnerability in Shim might allow attackers to execute arbitrary code via a crafted MOK list, which triggers memory corruption.
References
Vulnerable Configurations
  • cpe:2.3:a:shim:shim
    cpe:2.3:a:shim:shim
CVSS
Base: 7.5 (as of 23-10-2014 - 09:11)
Impact:
Exploitability:
CWE CWE-94
CAPEC
  • 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.
  • Manipulating User-Controlled Variables
    This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2014-14058.NASL
    description This update fixes CVEs CVE-2014-3675, CVE-2014-3676, and CVE-2014-3677, as well as moving to the 0.8 release, which adds support for Aarch64 and fixes several bugs. 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 2017-10-29
    modified 2015-10-19
    plugin id 79194
    published 2014-11-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79194
    title Fedora 20 : mokutil-0.2.0-1.fc20 / shim-signed-0.8-3 (2014-14058)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2014-13581.NASL
    description This update fixes CVEs CVE-2014-3675, CVE-2014-3676, and CVE-2014-3677, as well as moving to the 0.8 release, which adds support for Aarch64 and fixes several bugs. 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 2017-10-29
    modified 2015-10-19
    plugin id 78809
    published 2014-11-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=78809
    title Fedora 21 : mokutil-0.2.0-1.fc21 / shim-0.8-1.fc22 / shim-signed-0.8-1.fc22 (2014-13581)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2014-1801.NASL
    description Updated shim packages that fix three security issues are now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having Moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Shim is the initial UEFI bootloader that handles chaining to a trusted full bootloader under secure boot environments. A heap-based buffer overflow flaw was found the way shim parsed certain IPv6 addresses. If IPv6 network booting was enabled, a malicious server could supply a crafted IPv6 address that would cause shim to crash or, potentially, execute arbitrary code. (CVE-2014-3676) An out-of-bounds memory write flaw was found in the way shim processed certain Machine Owner Keys (MOKs). A local attacker could potentially use this flaw to execute arbitrary code on the system. (CVE-2014-3677) An out-of-bounds memory read flaw was found in the way shim parsed certain IPv6 packets. A specially crafted DHCPv6 packet could possibly cause shim to crash, preventing the system from booting if IPv6 booting was enabled. (CVE-2014-3675) Red Hat would like to thank the SUSE Security Team for reporting these issues. All shim users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. The system must be rebooted for this update to take effect.
    last seen 2017-10-29
    modified 2017-01-06
    plugin id 78867
    published 2014-11-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=78867
    title RHEL 7 : shim (RHSA-2014:1801)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2015-48.NASL
    description shim was updated to fix several security issues. - OOB read access when parsing DHCPv6 packets (remote DoS) (CVE-2014-3675). - Heap overflow when parsing IPv6 addresses provided by tftp:// DHCPv6 boot option (RCE) (CVE-2014-3676). - Memory corruption when processing user provided MOK lists (CVE-2014-3677). More information is available at https://bugzilla.novell.com/show_bug.cgi?id=889332 To enable this update gnu-efi was updated to 3.0u and pesign to version 0.109
    last seen 2017-10-29
    modified 2015-01-23
    plugin id 80926
    published 2015-01-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=80926
    title openSUSE Security Update : gnu-efi / pesign / shim (openSUSE-2015-48)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2014-14059.NASL
    description This update fixes CVEs CVE-2014-3675, CVE-2014-3676, and CVE-2014-3677, as well as moving to the 0.8 release, which adds support for Aarch64 and fixes several bugs. 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 2017-10-29
    modified 2015-10-19
    plugin id 79195
    published 2014-11-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79195
    title Fedora 19 : mokutil-0.2.0-1.fc19 / shim-signed-0.8-2 (2014-14059)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2014-1801.NASL
    description From Red Hat Security Advisory 2014:1801 : Updated shim packages that fix three security issues are now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having Moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Shim is the initial UEFI bootloader that handles chaining to a trusted full bootloader under secure boot environments. A heap-based buffer overflow flaw was found the way shim parsed certain IPv6 addresses. If IPv6 network booting was enabled, a malicious server could supply a crafted IPv6 address that would cause shim to crash or, potentially, execute arbitrary code. (CVE-2014-3676) An out-of-bounds memory write flaw was found in the way shim processed certain Machine Owner Keys (MOKs). A local attacker could potentially use this flaw to execute arbitrary code on the system. (CVE-2014-3677) An out-of-bounds memory read flaw was found in the way shim parsed certain IPv6 packets. A specially crafted DHCPv6 packet could possibly cause shim to crash, preventing the system from booting if IPv6 booting was enabled. (CVE-2014-3675) Red Hat would like to thank the SUSE Security Team for reporting these issues. All shim users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. The system must be rebooted for this update to take effect.
    last seen 2017-10-29
    modified 2015-12-01
    plugin id 78882
    published 2014-11-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=78882
    title Oracle Linux 7 : shim (ELSA-2014-1801)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_SHIM-2014-11-20-141119.NASL
    description shim has been updated to fix three security issues : - OOB read access when parsing DHCPv6 packets (remote DoS). (CVE-2014-3675) - Heap overflow when parsing IPv6 addresses provided by tftp:// DHCPv6 boot option (RCE). (CVE-2014-3676) - Memory corruption when processing user provided MOK lists. (CVE-2014-3677)
    last seen 2017-10-29
    modified 2014-12-15
    plugin id 80024
    published 2014-12-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=80024
    title SuSE 11.3 Security Update : shim (SAT Patch Number 9997)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20141104_SHIM_ON_SL7_X.NASL
    description A heap-based buffer overflow flaw was found the way shim parsed certain IPv6 addresses. If IPv6 network booting was enabled, a malicious server could supply a crafted IPv6 address that would cause shim to crash or, potentially, execute arbitrary code. (CVE-2014-3676) An out-of-bounds memory write flaw was found in the way shim processed certain Machine Owner Keys (MOKs). A local attacker could potentially use this flaw to execute arbitrary code on the system. (CVE-2014-3677) An out-of-bounds memory read flaw was found in the way shim parsed certain IPv6 packets. A specially crafted DHCPv6 packet could possibly cause shim to crash, preventing the system from booting if IPv6 booting was enabled. (CVE-2014-3675) The system must be rebooted for this update to take effect.
    last seen 2017-10-29
    modified 2015-02-11
    plugin id 81294
    published 2015-02-11
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=81294
    title Scientific Linux Security Update : shim on SL7.x x86_64
redhat via4
advisories
bugzilla
id 1148232
title CVE-2014-3677 shim: memory corruption flaw when processing Machine Owner Keys (MOKs)
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 mokutil is earlier than 0:0.7-8.el7_0
        oval oval:com.redhat.rhsa:tst:20141801007
      • comment mokutil is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20141801008
    • AND
      • comment shim is earlier than 0:0.7-8.el7_0
        oval oval:com.redhat.rhsa:tst:20141801005
      • comment shim is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20141801006
    • AND
      • comment shim-unsigned is earlier than 0:0.7-8.el7_0
        oval oval:com.redhat.rhsa:tst:20141801009
      • comment shim-unsigned is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20141801010
    • AND
      • comment shim is earlier than 0:0.7-8.el7_0
        oval oval:com.redhat.rhsa:tst:20141801005
      • comment shim is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20141801006
    • AND
      • comment shim-signed is earlier than 0:0.7-8.el7_0
        oval oval:com.redhat.rhsa:tst:20141801011
      • comment shim-signed is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20141801012
rhsa
id RHSA-2014:1801
released 2014-11-04
severity Moderate
title RHSA-2014:1801: shim security update (Moderate)
rpms
  • mokutil-0:0.7-8.el7_0
  • shim-0:0.7-8.el7_0
  • shim-unsigned-0:0.7-8.el7_0
  • shim-0:0.7-8.el7_0
  • shim-signed-0:0.7-8.el7_0
refmap via4
bid 70410
mlist [oss-security] 20141013 shim RCE
xf shim-cve20143677-code-exec(96989)
Last major update 13-11-2014 - 22:05
Published 22-10-2014 - 10:55
Last modified 28-08-2017 - 21:34
Back to Top