CVE-2023-48733
Medium · 6.7CVSS
6.7
EPSS
0.3%
Published
Feb 14, 2024
CISA due date
—
Cloudanix analysis
A default setting on some computers allows someone who already controls the operating system to turn off important startup security checks and run unauthorized programs.
- Exploitation
- Local Privilege
- Attacker needs
- High Privilege
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Firmware
- Class
- Misconfiguration
- Remediation
- Config Change
- Effort
- Low
- Patch risk
- Low
What it actually does
The misconfiguration leaves the UEFI Shell enabled by default in EDK2-based firmware, allowing an OS-resident process with administrative privileges to launch the shell and interact directly with boot services, EFI variables, and loaders outside of Secure Boot enforcement.
Why it matters to the business
Attackers who already have operating-system access can load and execute code that bypasses the platform's verified boot chain, undermining trust in the entire system startup process and potentially enabling persistent malware that survives OS reinstalls.
How an attack unfolds
An attacker first obtains administrative access to the running operating system, then invokes the enabled UEFI Shell from user space, uses it to disable or bypass Secure Boot policy, and finally loads an unsigned or malicious bootloader or kernel image that executes with platform privileges.
How to fix it
Disable the UEFI Shell in the firmware configuration or apply a firmware update that removes the insecure default; verify that Secure Boot remains enforced after any change and restrict administrative access to boot-related tools.
How to confirm the fix worked
Inspect current firmware settings for UEFI Shell availability, attempt to launch the shell from an administrative OS session, and confirm that Secure Boot policy blocks unsigned loaders after remediation.
Typical attack path
- Gain local administrative access to the operating system
- Execute or invoke the UEFI Shell binary from within the OS
- Use shell commands to modify EFI variables or boot options
- Load and execute unsigned code that bypasses Secure Boot verification
- Establish persistence via modified boot chain or firmware settings
How to detect it
Review system and firmware logs for invocations of the UEFI Shell, unexpected changes to EFI boot variables, or attempts to load unsigned images; correlate with administrative OS sessions and boot-time events.
What your security team should do
- Immediately audit firmware configurations across all affected systems for enabled UEFI Shell
- Apply any available EDK2 firmware updates that correct the default setting
- Enforce least-privilege access so that only trusted administrators can interact with boot services
- Monitor boot logs and EFI variable changes for unexpected modifications
The record
An insecure default to allow UEFI Shell in EDK2 was left enabled in Ubuntu's EDK2. This allows an OS-resident attacker to bypass Secure Boot.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | edk2 | 0 | 0~20181115.85588389-3+deb10u4 |
| Debian:11 | edk2 | 0 | 2020.11-2+deb11u2 |
| Debian:12 | edk2 | 0 | 2022.11-6+deb12u1 |
| Debian:13 | edk2 | 0 | 2023.11-7 |
| Debian:14 | edk2 | 0 | 2023.11-7 |
| Ubuntu:20.04:LTS | edk2 | 0 | 0~20191122.bd85bf54-2ubuntu3.5 |
| Ubuntu:22.04:LTS | edk2 | 0 | 2022.02-3ubuntu0.22.04.2 |
| Ubuntu:23.10 | edk2 | 0 | 2023.05-2ubuntu0.1 |
| Ubuntu:Pro:16.04:LTS | edk2 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | edk2 | 0 | No fix |
| openSUSE:Tumbleweed | ovmf | 0 | 202308-7.1 |
Related vulnerabilities
- CVE-2024-38796 EDK2 contains a vulnerability in the PeCoffLoaderRelocateImage(). Also affects edk2
- CVE-2024-1298 EDK2 contains a vulnerability when S3 sleep is activated where an Attacker may cause a… Also affects edk2
- CVE-2019-11098 Insufficient input validation in MdeModulePkg in EDKII may allow an unauthenticated user… Also affects edk2
- CVE-2019-14562 Integer overflow in DxeImageVerificationHandler() EDK II may allow an authenticated user… Also affects edk2
- CVE-2018-12178 Buffer overflow in network stack for EDK II may allow unprivileged user to potentially… Also affects edk2
- CVE-2024-13176 Issue summary: A timing side-channel which could potentially allow recovering the private… Also affects edk2
- CVE-2024-4741 Issue summary: Calling the OpenSSL API function SSL_free_buffers may cause memory to be… Also affects edk2
- CVE-2024-9143 Issue summary: Use of the low-level GF(2^m) elliptic curve APIs with untrusted explicit… Also affects edk2