Beyond Security Blog

GRUB2 version 2.04 Concurrent Execution using Shared Resource with Improper Synchronization (‘Race Condition’) Vulnerability

Summary

Integer overflows were discovered in the functions grub_cmd_initrd and grub_initrd_init in the efilinux component of GRUB2, as shipped in Debian, Red Hat, and Ubuntu (the functionality is not included in GRUB2 upstream), leading to a heap-based buffer overflow.

Credit:

The information has been provided by Daniel Kiper

The original article can be found at:https://lists.gnu.org/archive/html/grub-devel/2020-07/msg00034.html

Details

These could be triggered by an extremely large number of arguments to the initrd command on 32-bit architectures, or a crafted filesystem with very large files on any architecture. An attacker could use this to execute arbitrary code and bypass UEFI Secure Boot restrictions. This issue affects GRUB2 version 2.04 and prior versions.

Vulnerable Systems:

GRUB2 version 2.04

CVE Information:

CVE-2020-15707

Disclosure Timeline:
Published Date:7/29/2020

SecuriTeam

SecuriTeam is a small group within Beyond Security dedicated to bringing you the latest news and utilities in computer security.

Please visit our central security portal at securiteam.com to keep up-to-date with the latest security research and read our archives containing over 10,000 articles about CVEs and zero-day exploits.

Contact Us

By clicking Submit, I agree to the use of my personal data in accordance with the Beyond Security Privacy Policy. Beyond Security will not sell, trade, lease, or rent your personal data to third parties.

Reviews