grub2 Config File Parser grub.cfg BootHole buffer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.6 | $0-$5k | 0.00 |
Summary
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.
Details
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
Product
Name
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.7VulDB 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: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Name: BootHoleClass: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 236732
Nessus Name: Alibaba Cloud Linux 3 : 0048: fwupd (ALINUX3-SA-2021:0048)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Timeline
03/20/2020 🔍07/29/2020 🔍
07/30/2020 🔍
03/18/2026 🔍
Sources
Advisory: eclypsium.comOrganization: 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.: 🔍
Entry
Created: 07/30/2020 08:35Updated: 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
Submit
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.
No comments yet. Languages: en.
Please log in to comment.