grub2 Config File Parser grub.cfg BootHole buffer overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.6$0-$5k0.00

Summaryinfo

A vulnerability was found in grub2. It has been classified as critical. The affected element is an unknown function of the file grub.cfg of the component Config File Parser. The manipulation leads to buffer overflow (BootHole). This vulnerability is listed as CVE-2020-10713. The attack must be carried out locally. There is no available exploit. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in grub2 (unknown version) and classified as critical. This issue affects an unknown code block of the file grub.cfg of the component Config File Parser. The manipulation with an unknown input leads to a buffer overflow vulnerability (BootHole). Using CWE to declare the problem leads to CWE-120. The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

A flaw was found in grub2, prior to version 2.06. An attacker may use the GRUB 2 flaw to hijack and tamper the GRUB verification process. This flaw also allows the bypass of Secure Boot protections. In order to load an untrusted or modified kernel, an attacker would first need to establish access to the system such as gaining physical access, obtain the ability to alter a pxe-boot network, or have remote access to a networked system with root access. With this access, an attacker could then craft a string to cause a buffer overflow by injecting a malicious payload that leads to arbitrary code execution within GRUB. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

The weakness was presented 07/29/2020 with Eclypsium as confirmed blog post (Website). It is possible to read the advisory at eclypsium.com. The public release was coordinated in cooperation with the project team. The identification of this vulnerability is CVE-2020-10713. Attacking locally is a requirement. Additional levels of successful authentication are necessary for exploitation. Technical details of the vulnerability are known, but there is no available exploit. The advisory points out:

Eclypsium researchers have discovered a vulnerability — dubbed “BootHole” — in the GRUB2 bootloader utilized by most Linux systems that can be used to gain arbitrary code execution during the boot process, even when Secure Boot is enabled.

The vulnerability scanner Nessus provides a plugin with the ID 236732 (Alibaba Cloud Linux 3 : 0048: fwupd (ALINUX3-SA-2021:0048)), which helps to determine the existence of the flaw in a target environment. The advisory illustrates:

Rather than halting execution or exiting, it just prints an error to the console and returns to the calling function. Unfortunately, the flex code has been written with the expectation that any calls to YY_FATAL_ERROR() will never return. This results in yy_flex_strncpy() being called and copying the source string from the configuration file into a buffer that is too small to contain it.

Upgrading eliminates this vulnerability.

The vulnerability is also documented in the databases at Tenable (236732) and CERT Bund (WID-SEC-2022-0553). portal.msrc.microsoft.com is providing further details. Be aware that VulDB is the high quality source for vulnerability data.

Affected

  • Ubuntu Linux
  • IBM Security Guardium
  • Open Source Grub
  • Debian Linux
  • Red Hat Enterprise Linux
  • Microsoft Windows
  • Cisco Identity Services Engine (ISE)
  • SUSE Linux
  • Cisco Router
  • Oracle Linux
  • HPE ProLiant
  • Gentoo Linux
  • Palo Alto Networks PAN-OS
  • Avaya Aura Communication Manager
  • Avaya Aura Session Manager
  • Avaya Aura Application Enablement Services
  • Avaya Aura System Manager
  • Avaya Web License Manager
  • Aruba ArubaOS

Productinfo

Name

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.7
VulDB Meta Temp Score: 7.6

VulDB Base Score: 8.2
VulDB Temp Score: 7.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

Researcher Base Score: 8.2
Researcher Vector: 🔍

NVD Base Score: 6.7
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Name: BootHole
Class: Buffer overflow / BootHole
CWE: CWE-120 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 236732
Nessus Name: Alibaba Cloud Linux 3 : 0048: fwupd (ALINUX3-SA-2021:0048)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Timelineinfo

03/20/2020 🔍
07/29/2020 +131 days 🔍
07/30/2020 +1 days 🔍
03/18/2026 +2057 days 🔍

Sourcesinfo

Advisory: eclypsium.com
Organization: Eclypsium
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2020-10713 (🔍)
GCVE (CVE): GCVE-0-2020-10713
GCVE (VulDB): GCVE-100-159143
CERT Bund: WID-SEC-2022-0553 - Grub2: Mehrere Schwachstellen ermöglichen Umgehen von Sicherheitsvorkehrungen

Misc.: 🔍

Entryinfo

Created: 07/30/2020 08:35
Updated: 03/18/2026 17:53
Changes: 07/30/2020 08:35 (56), 07/30/2020 08:40 (17), 11/06/2020 13:47 (2), 05/16/2025 13:43 (18), 03/18/2026 17:53 (7)
Complete: 🔍
Submitter: misc
Cache ID: 216::103

Submitinfo

Accepted

  • Submit #182: GRUB2: crafted grub.cfg file can lead to arbitrary code execution during boot process (by misc)

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!