CVE-2023-40547: Shim: rce in http boot support may lead to secure boot bypass

Published Aug 24, 2023
·
Updated

A remote code execution vulnerability was found in Shim. The Shim boot support trusts attacker-controlled values when parsing an HTTP response. This flaw allows an attacker to craft a specific malicious HTTP request, leading to a completely controlled out-of-bounds write primitive and complete system compromise. This flaw is only exploitable during the early boot phase, an attacker needs to perform a Man-in-the-Middle or compromise the boot server to be able to exploit this vulnerability successfully.

Other sources

Redhat: CVE-2023-40547 Shim - RCE in HTTP boot support may lead to secure boot bypass

Microsoft

rhboot shim could allow a remote attacker to execute arbitrary code on the system, caused by a out-of-bounds write flaw in the http boot support (httpboot.c). By sending a specially crafted HTTP request, an attacker could exploit this vulnerability to execute arbitrary code on the system.

IBM

The MSRC Vulnerability & Mitigations (V&M) team discovered a critical Remote Code Execution vulnerability in the latest version of the Linux shim (https://github.com/rhboot/shim). The shim's http boot support (httpboot.c) trusts attacker-controlled values when parsing an HTTP response, leading to a completely controlled out-of-bounds write primitive.

Red Hat

Affected Software

41 affected componentsFixes available
Red Hat Shim=15.8
redhat Shim<15.8
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Microsoft Windows 11=21H2
Microsoft Windows 11=21H2
redhat/shim<15.8
15.8
Microsoft Windows 10=1809
Microsoft Windows 11=24H2
Microsoft Windows 11=23H2
Microsoft Windows Server 2012
Microsoft Windows 10=22H2
Microsoft Windows 11=22H2
Microsoft Windows 11=22H2
Microsoft Windows 10=1607
Microsoft Windows Server 2019
Microsoft Windows Server 2012 R2
Microsoft Windows Server 2012
Microsoft Windows Server 2022
Microsoft Windows 10
Microsoft Windows 10
Microsoft Windows Server 2016
Microsoft Windows Server 2019
Microsoft Windows Server 2022, 23H2 Edition
Microsoft Windows 10=1809
Microsoft Windows Server 2012 R2
Microsoft Windows 10=21H2
Microsoft Windows 10=1809
Microsoft Windows 10=21H2
Microsoft Windows 11=24H2
Microsoft Windows Server 2022
Microsoft Windows 10=22H2
Microsoft Windows 11=23H2
Microsoft Windows Server 2016
Microsoft Windows 10=22H2
Microsoft Windows 10=21H2
Microsoft Windows 10=1607
IBM R10.0<=10.1.3.0 10.0.245.0
IBM R9.4<=89.42.18.0 89.41.25.0 89.40.83.0
IBM R9.3<=89.33.52.0 89.33.45.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/shim to a version that resolves this vulnerability.

    Fixed in 15.8

Event History

Aug 24, 2023
Data Sourced
via Red Hat·07:13 PM
DescriptionSeverityAffected Software
Jan 25, 2024
CVE Published
via MITRE·03:54 PM
Data Sourced
via MITRE·03:54 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Feb 7, 2024
News Published
via BleepingComputer·03:55 PM
News Published
via BleepingComputer·03:57 PM
Feb 9, 2024
News Published
via ZDNet·09:06 PM
News Published
via ZDNet·10:33 PM
Aug 13, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-40547?

CVE-2023-40547 is classified as a critical vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2023-40547?

To fix CVE-2023-40547, apply the appropriate security patches provided by your vendor.

3

What products are affected by CVE-2023-40547?

CVE-2023-40547 affects various versions of Red Hat Shim and multiple Windows operating systems.

4

What are the consequences of exploiting CVE-2023-40547?

Exploiting CVE-2023-40547 can lead to complete control of the affected system through out-of-bounds writes.

5

Is CVE-2023-40547 under active exploitation?

There have been reports indicating that CVE-2023-40547 may be actively exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203