Bug 2224951 (CVE-2023-4001) - CVE-2023-4001 grub2: bypass the GRUB password protection feature
Summary: CVE-2023-4001 grub2: bypass the GRUB password protection feature
Keywords:
Status: NEW
Alias: CVE-2023-4001
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2224953 2224952 2258096
Blocks: 2224954
TreeView+ depends on / blocked
 
Reported: 2023-07-24 03:28 UTC by Sandipan Roy
Modified: 2024-04-09 20:38 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An authentication bypass flaw was found in GRUB due to the way that GRUB uses the UUID of a device to search for the configuration file that contains the password hash for the GRUB password protection feature. An attacker capable of attaching an external drive such as a USB stick containing a file system with a duplicate UUID (the same as in the "/boot/" file system) can bypass the GRUB password protection feature on UEFI systems, which enumerate removable drives before non-removable ones. This issue was introduced in a downstream patch in Red Hat's version of grub2 and does not affect the upstream package.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:0437 0 None None None 2024-01-24 15:26:25 UTC
Red Hat Product Errata RHSA-2024:0456 0 None None None 2024-01-24 16:40:28 UTC
Red Hat Product Errata RHSA-2024:0468 0 None None None 2024-01-24 16:31:14 UTC

Description Sandipan Roy 2023-07-24 03:28:26 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=2223437

The "/boot/efi/EFI/fedora/grub.cfg" configuration file allows an unprivileged user with physical access to a computer to bypass the GRUB password protection feature on many (but not all) UEFI-based systems.

Comment 4 Zack Miele 2024-01-12 16:10:26 UTC
Created grub2 tracking bugs for this issue:

Affects: fedora-all [bug 2258096]

Comment 5 Marta Lewandowska 2024-01-15 19:08:01 UTC
Please add to the doc text that users should remove the stub grub.cfg in their ESP:
# rm /boot/efi/EFI/redhat/grub.cfg
before they do the update, so that it is regenerated with the correct search flags during the update.

Comment 6 errata-xmlrpc 2024-01-24 15:26:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Extended Update Support

Via RHSA-2024:0437 https://access.redhat.com/errata/RHSA-2024:0437

Comment 7 errata-xmlrpc 2024-01-24 16:31:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:0468 https://access.redhat.com/errata/RHSA-2024:0468

Comment 8 errata-xmlrpc 2024-01-24 16:40:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:0456 https://access.redhat.com/errata/RHSA-2024:0456


Note You need to log in before you can comment on or make changes to this bug.