Vulnerabilities > CVE-2019-14865 - Privilege Defined With Unsafe Actions vulnerability in GNU Grub2

047910
CVSS 5.5 - MEDIUM
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
LOW
Confidentiality impact
NONE
Integrity impact
NONE
Availability impact
HIGH
local
low complexity
gnu
CWE-267
nessus

Summary

A flaw was found in the grub2-set-bootflag utility of grub2. A local attacker could run this utility under resource pressure (for example by setting RLIMIT), causing grub2 configuration files to be truncated and leaving the system unbootable on subsequent reboots.

Vulnerable Configurations

Part Description Count
Application
Gnu
1
OS
Redhat
2

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • 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.

Nessus

  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2020-1009.NASL
    descriptionAccording to the version of the grub2 packages installed, the EulerOS installation on the remote host is affected by the following vulnerability : - A flaw was found in the grub2-set-bootflag utility of grub2. A local attacker could run this utility under resource pressure (for example by setting RLIMIT), causing grub2 configuration files to be truncated and leaving the system unbootable on subsequent reboots.(CVE-2019-14865) 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 seen2020-05-03
    modified2020-01-02
    plugin id132602
    published2020-01-02
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/132602
    titleEulerOS 2.0 SP8 : grub2 (EulerOS-SA-2020-1009)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2020-0335.NASL
    descriptionAn update for grub2 is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Moderate. 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 grub2 packages provide version 2 of the Grand Unified Boot Loader (GRUB), a highly configurable and customizable boot loader with modular architecture. The packages support a variety of kernel formats, file systems, computer architectures, and hardware devices. Security Fix(es) : * grub2: grub2-set-bootflag utility causes grubenv corruption rendering the system non-bootable (CVE-2019-14865) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
    last seen2020-06-01
    modified2020-06-02
    plugin id133479
    published2020-02-05
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133479
    titleRHEL 8 : grub2 (RHSA-2020:0335)
  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2020-1045.NASL
    descriptionAccording to the version of the grub2 packages installed, the EulerOS Virtualization for ARM 64 installation on the remote host is affected by the following vulnerability : - A flaw was found in the grub2-set-bootflag utility of grub2. A local attacker could run this utility under resource pressure (for example by setting RLIMIT), causing grub2 configuration files to be truncated and leaving the system unbootable on subsequent reboots.(CVE-2019-14865) 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 seen2020-06-01
    modified2020-06-02
    plugin id132799
    published2020-01-13
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/132799
    titleEulerOS Virtualization for ARM 64 3.0.5.0 : grub2 (EulerOS-SA-2020-1045)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2019-E99EBF23C8.NASL
    descriptionFix a grub hidden-menu regression and a bug in blscfg variable expansion ---- Security fix for CVE-2019-14865 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 seen2020-06-01
    modified2020-06-02
    plugin id131465
    published2019-12-03
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/131465
    titleFedora 31 : 1:grub2 (2019-e99ebf23c8)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2019-69DA274284.NASL
    descriptionDrop patch fixing a corner case in BLS variable expansion since it may be causing issues ---- Fix a grub hidden-menu regression and a bug in blscfg variable expansion ---- Security fix for CVE-2019-14865 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 seen2020-06-01
    modified2020-06-02
    plugin id132408
    published2019-12-27
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/132408
    titleFedora 30 : 1:grub2 (2019-69da274284)
  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2019-4869.NASL
    descriptionDescription of changes: [2.02-78.0.2] - grub-set-bootflag: fix grubenv update method, fix CVE-2019-14865 [Orabug: 30607067]
    last seen2020-06-01
    modified2020-06-02
    plugin id132305
    published2019-12-19
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/132305
    titleOracle Linux 8 : grub2 (ELSA-2019-4869)
  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2020-0335.NASL
    descriptionFrom Red Hat Security Advisory 2020:0335 : An update for grub2 is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Moderate. 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 grub2 packages provide version 2 of the Grand Unified Boot Loader (GRUB), a highly configurable and customizable boot loader with modular architecture. The packages support a variety of kernel formats, file systems, computer architectures, and hardware devices. Security Fix(es) : * grub2: grub2-set-bootflag utility causes grubenv corruption rendering the system non-bootable (CVE-2019-14865) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
    last seen2020-06-01
    modified2020-06-02
    plugin id133590
    published2020-02-10
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133590
    titleOracle Linux 8 : grub2 (ELSA-2020-0335)

Redhat

advisories
bugzilla
id1764925
titleCVE-2019-14865 grub2: grub2-set-bootflag utility causes grubenv corruption rendering the system non-bootable
oval
OR
  • commentRed Hat Enterprise Linux must be installed
    ovaloval:com.redhat.rhba:tst:20070304026
  • AND
    • commentRed Hat Enterprise Linux 8 is installed
      ovaloval:com.redhat.rhba:tst:20193384074
    • OR
      • AND
        • commentgrub2-debugsource is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335001
        • commentgrub2-debugsource is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335002
      • AND
        • commentgrub2-tools-minimal is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335003
        • commentgrub2-tools-minimal is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335004
      • AND
        • commentgrub2-tools-extra is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335005
        • commentgrub2-tools-extra is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335006
      • AND
        • commentgrub2-tools is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335007
        • commentgrub2-tools is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20152401004
      • AND
        • commentgrub2-ppc64le is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335009
        • commentgrub2-ppc64le is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335010
      • AND
        • commentgrub2-tools-efi is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335011
        • commentgrub2-tools-efi is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335012
      • AND
        • commentgrub2-pc is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335013
        • commentgrub2-pc is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335014
      • AND
        • commentgrub2-efi-x64-cdboot is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335015
        • commentgrub2-efi-x64-cdboot is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335016
      • AND
        • commentgrub2-efi-x64 is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335017
        • commentgrub2-efi-x64 is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335018
      • AND
        • commentgrub2-efi-ia32-cdboot is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335019
        • commentgrub2-efi-ia32-cdboot is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335020
      • AND
        • commentgrub2-efi-ia32 is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335021
        • commentgrub2-efi-ia32 is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335022
      • AND
        • commentgrub2-efi-aa64-cdboot is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335023
        • commentgrub2-efi-aa64-cdboot is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335024
      • AND
        • commentgrub2-efi-aa64 is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335025
        • commentgrub2-efi-aa64 is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335026
      • AND
        • commentgrub2-ppc64le-modules is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335027
        • commentgrub2-ppc64le-modules is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335028
      • AND
        • commentgrub2-pc-modules is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335029
        • commentgrub2-pc-modules is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335030
      • AND
        • commentgrub2-efi-x64-modules is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335031
        • commentgrub2-efi-x64-modules is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335032
      • AND
        • commentgrub2-efi-ia32-modules is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335033
        • commentgrub2-efi-ia32-modules is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335034
      • AND
        • commentgrub2-efi-aa64-modules is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335035
        • commentgrub2-efi-aa64-modules is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335036
      • AND
        • commentgrub2-common is earlier than 1:2.02-78.el8_1.1
          ovaloval:com.redhat.rhsa:tst:20200335037
        • commentgrub2-common is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20200335038
rhsa
idRHSA-2020:0335
released2020-02-04
severityModerate
titleRHSA-2020:0335: grub2 security update (Moderate)
rpms
  • grub2-common-1:2.02-78.el8_1.1
  • grub2-debuginfo-1:2.02-78.el8_1.1
  • grub2-debugsource-1:2.02-78.el8_1.1
  • grub2-efi-aa64-1:2.02-78.el8_1.1
  • grub2-efi-aa64-cdboot-1:2.02-78.el8_1.1
  • grub2-efi-aa64-modules-1:2.02-78.el8_1.1
  • grub2-efi-ia32-1:2.02-78.el8_1.1
  • grub2-efi-ia32-cdboot-1:2.02-78.el8_1.1
  • grub2-efi-ia32-modules-1:2.02-78.el8_1.1
  • grub2-efi-x64-1:2.02-78.el8_1.1
  • grub2-efi-x64-cdboot-1:2.02-78.el8_1.1
  • grub2-efi-x64-modules-1:2.02-78.el8_1.1
  • grub2-pc-1:2.02-78.el8_1.1
  • grub2-pc-modules-1:2.02-78.el8_1.1
  • grub2-ppc64le-1:2.02-78.el8_1.1
  • grub2-ppc64le-modules-1:2.02-78.el8_1.1
  • grub2-tools-1:2.02-78.el8_1.1
  • grub2-tools-debuginfo-1:2.02-78.el8_1.1
  • grub2-tools-efi-1:2.02-78.el8_1.1
  • grub2-tools-efi-debuginfo-1:2.02-78.el8_1.1
  • grub2-tools-extra-1:2.02-78.el8_1.1
  • grub2-tools-extra-debuginfo-1:2.02-78.el8_1.1
  • grub2-tools-minimal-1:2.02-78.el8_1.1
  • grub2-tools-minimal-debuginfo-1:2.02-78.el8_1.1