CVE-2023-4001
JSON

6.8medium

Grub2: bypass the grub password protection feature

Severity
6.8medium CVSS:3.1 by redhat
Exploit likelihood
0.59% (higher than 49% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

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.

Affected

Product or packageVersionsReported by
grub2Not specified
Not affected: from 1:2.06-70.el9_3.2 before *, from 1:2.06-27.el9_0.16 before *, from 1:2.06-61.el9_2.2 before *
CVE List
gnu grub2Not specifiedNVD
redhat enterprise_linux9.0NVD
fedoraproject fedora38, 39NVD

All scores

redhat6.8medium CVSS:3.1CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:3.1CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-290

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se encontró un fallo de omisión de autenticación en GRUB debido a la forma en que GRUB usa el UUID de un dispositivo para buscar el archivo de configuración que contiene el hash de contraseña para la función de protección de contraseña de GRUB. Un atacante capaz de conectar una unidad externa, como una memoria USB que contenga un sistema de archivos con un UUID duplicado (el mismo que en el sistema de archivos "/boot/") puede omitir la función de protección con contraseña GRUB en los sistemas UEFI, que enumeran unidades extraíbles. antes que los no removibles. Este problema se introdujo en un parche posterior en la versión de grub2 de Red Hat y no afecta el paquete anterior.

References

https://access.redhat.com/errata/RHSA-2024:0437vendor-advisory
https://access.redhat.com/errata/RHSA-2024:0456vendor-advisory
https://access.redhat.com/errata/RHSA-2024:0468vendor-advisory
https://access.redhat.com/security/cve/CVE-2023-4001third-party-advisory, vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2224951issue-tracking, vendor-advisory
https://dfir.ru/2024/01/15/cve-2023-4001-a-vulnerability-in-the-downstream-grub-boot-manager/third-party-advisory
http://www.openwall.com/lists/oss-security/2024/01/15/3
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3OBADMKHQLJOBA32Q7XPNSYMVHVAFDCB/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CHLZQ47HM64NDOHMHYO7VIJFYD5ZPPYN/
https://security.netapp.com/advisory/ntap-20240216-0006/

Sources

SourceRecordLicence
CVE ListCVE-2023-4001 changed 2026-11-26CVE Terms of Use
NVDCVE-2023-4001 changed 2026-11-07Public domain