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

WP2Shell WordPress Core RCE Exploited in the Wild (CVE-2026-63030 and CVE-2026-60137)

WordPress administrators should urgently patch two recently disclosed Core vulnerabilities collectively known as WP2Shell. When chained together, the flaws allow an unauthenticated attacker to execute…

Read more >

wp2shell

AsyncAPI npm Supply-Chain Attack Delivers Cross-Platform Miasma RAT

A software supply-chain attack compromised four packages in the official AsyncAPI npm namespace, resulting in five malicious package versions being distributed through the project’s legitimate…

Read more >

AsyncAPI supply chain attack

Zoom Windows Vulnerability Enables Account Takeover (CVE-2026-53412)

Zoom has released security updates for a critical vulnerability affecting Zoom Workplace and Zoom Workplace VDI clients for Windows. Tracked as CVE-2026-53412, the vulnerability could…

Read more >

cve-2026-53412

Actively Exploited SonicWall SMA1000 Vulnerabilities (CVE-2026-15409 and CVE-2026-15410)

SonicWall has released emergency hotfixes for two vulnerabilities affecting SMA1000 Series secure access appliances. Both vulnerabilities have been exploited in active attacks, and one carries…

Read more >

sonicwall_cve-2026-15409_cve-2026-15410_op

Critical Gitea Docker Authentication Bypass Under Active Probing: CVE-2026-20896

A critical authentication bypass vulnerability, tracked as CVE-2026-20896, has been disclosed in the official Gitea Docker image. Gitea is a self-hosted software development platform used…

Read more >

gitea_docker_cve-2026-20896

Adobe Patches Multiple Critical ColdFusion and Campaign Classic Vulnerabilities: CVE-2026-48282 Exploitation Observed

Adobe has released security updates for multiple critical vulnerabilities affecting Adobe ColdFusion and Adobe Campaign Classic, including several flaws rated CVSS 10.0.CVE-2026-48282, a critical ColdFusion…

Read more >

adobe_coldfusion_campaign classic_cve-2026-48282
Under Cyber Attack?

Fill out the form and we will contact you immediately.