Open Nav
Sign Up

Critical Shim Boot Loader Vulnerability Affects Linux Distributions (CVE-2023-40547)

Bar Refael

February 8, 2024

A critical vulnerability, CVE-2023-40547, has been identified in the shim boot loader, impacting a wide range of Linux distributions including Debian, Red Hat, SUSE, and Ubuntu. This vulnerability, with a CVSS score of 9.8, enables attackers to bypass Secure Boot and potentially execute remote code. Discovered by Bill Demirkapi of the Microsoft Security Response Center (MSRC), this flaw is part of six security issues addressed in the newly released shim version 15.8.

Vulnerability Details

  • CVE ID: CVE-2023-40547
  • CVSS Score: 9.8
  • Impact: Allows Secure Boot bypass and remote code execution.
  • Affected Component: Shim’s http boot support (httpboot.c).
  • Description: The vulnerability arises from improper handling of attacker-controlled values when parsing an HTTP response, leading to an out-of-bounds write that can result in complete system compromise.

Attack Scenario and Exploitation

The flaw can be exploited in environments where attackers have network access, enabling them to conduct Man-in-the-Middle (MiTM) attacks to intercept HTTP traffic and load a vulnerable shim bootloader. This grants attackers early control in the boot process, potentially allowing the deployment of bootkits that could provide near-total control over the compromised system.

Other Vulnerabilities Addressed

Alongside CVE-2023-40547, shim version 15.8 also patches additional vulnerabilities:

  • CVE-2023-40546: Denial-of-Service (DoS) via out-of-bounds read when printing error messages.
  • CVE-2023-40548: Buffer overflow in 32-bit compiled shim leading to boot phase crashes or data integrity issues.
  • CVE-2023-40549: DoS through an out-of-bounds read in the authenticode function.
  • CVE-2023-40550: Potential information disclosure from out-of-bounds read when validating SBAT information.
  • CVE-2023-40551: Crash or sensitive data exposure from out-of-bounds read when parsing MZ binaries.

Response and Mitigation

Major Linux distributions have issued advisories urging users to update to shim version 15.8 immediately. This update is crucial for mitigating the risk posed by CVE-2023-40547 and the associated vulnerabilities, ensuring the security of the boot process and protecting against potential system compromises.

Conclusion

The discovery of CVE-2023-40547 highlights the critical importance of maintaining secure boot mechanisms and the potential risks posed by vulnerabilities in foundational system components. Organizations and users of affected Linux distributions should prioritize the application of these patches to defend against the exploitation of these vulnerabilities and safeguard their systems against advanced persistent threats.

Stay vigilant and ensure your systems are updated,

OP Innovate.

Resources highlights

Critical Zero-Day in Samsung Galaxy Devices: CVE-2025-21042

A newly disclosed zero-day vulnerability in Samsung Galaxy smartphones has been actively exploited in the wild to deploy a sophisticated Android spyware framework known as…

Read more >

CVE-2025-21042

Critical RCE in CentOS Web Panel (CVE-2025-48703)

CVE-2025-48703 is a critical unauthenticated remote-code-execution (OS command injection) vulnerability in Control Web Panel (CWP / CentOS Web Panel) that allows attackers to inject shell…

Read more >

CVE-2025-48703

Actively Exploited Critical Vulnerability in Post SMTP Plugin for WordPress: CVE-2025-11833

A critical vulnerability (CVE-2025-11833) in the widely used Post SMTP WordPress plugin is being actively exploited to hijack administrator accounts and gain full control of…

Read more >

CVE-2025-11833

Malicious npm Packages Target Developers with Multi-OS Info-Stealer Payloads

A new software supply-chain attack has been uncovered involving ten malicious npm packages designed to steal developer credentials across Windows, macOS, and Linux systems. These…

Read more >

malicious npm packages

Cybersecurity Budgeting for 2026: Getting More Value from Every Dollar

As organizations close the books on 2025, cybersecurity leaders face a familiar dilemma: rising threats, growing expectations and shrinking budgets . Economic uncertainty has tightened…

Read more >

budgeting plan 2026

CVE-2025-59287: WSUS Remote Code Execution

CVE-2025-59287 is a critical remote code execution (RCE) vulnerability in the Windows Server Update Services (WSUS) role. An attacker who can reach a WSUS server…

Read more >

CVE-2025-59287
Under Cyber Attack?

Fill out the form and we will contact you immediately.