UEFI code execution via oversized firmware variable
Published Aug 22, 2023 · Updated Oct 3, 2024
A stack buffer overflow in Supermicro X12DPG-QR BIOS 1.4b allows local users to execute arbitrary code in UEFI runtime. In the SmcSecureErase module, a second GetVariable call trusts the attacker-controlled DataSize and copies an oversized SmcSecurityEraseSetupVar value into a 1,680-byte stack buffer. Kernel-level access is required to set the variable, and successful exploitation transfers control to a DXE runtime application.
Summary
What happened
A stack buffer overflow in Supermicro X12DPG-QR BIOS 1.4b allows local users to execute arbitrary code in UEFI runtime. In the SmcSecureErase module, a second GetVariable call trusts the attacker-controlled DataSize and copies an oversized SmcSecurityEraseSetupVar value into a 1,680-byte stack buffer. Kernel-level access is required to set the variable, and successful exploitation transfers control to a DXE runtime application.
The record
- CVE
- CVE-2023-34853
- Published
- Aug 22, 2023
- Updated
- Oct 3, 2024
- Vendor
- Supermicro
- Product
- X12DPG-QR
- Classifications
- CWE-787, T1068
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Aug 22, 2023CVE publishedPublication date reported by the CVE source.
- Oct 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.4b
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- SmcSecurityEraseSetupVar overflow disclosureproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo