← back
CVE-2022-40246

Arbitrary write vulnerability in SbPei module leads to arbitrary code execution during PEI phase.

CVSS 7.2 HIGHEPSS 0.5%CWE-123
In short

A vulnerability in the SbPei module allows writing data to any memory location during the early boot phase (S3 resume), potentially bypassing security protections and executing malicious code before the operating system loads.

Technical detail

CWE-123 arbitrary write vulnerability in SbPei module during PEI phase S3 resume mode allows single-byte writes to arbitrary memory addresses, enabling security mitigation bypasses, memory disclosure, and SMRAM injection. Attack vector is local with physical access or privileged boot context; impact includes confidential computing boundary violation and arbitrary code execution in pre-OS environment.

Summary generated and translated by AI from the official description.
A potential attacker can write one byte by arbitrary address at the time of the PEI phase (only during S3 resume boot mode) and influence the subsequent boot stages. This can lead to the mitigations bypassing, physical memory contents disclosure, discovery of any secrets from any Virtual Machines (VMs) and bypassing memory isolation and confidential computing boundaries. Additionally, an attacker can build a payload which can be injected into the SMRAM memory. This issue affects: Module name: SbPei SHA256: d827182e5f9b7a9ff0b9d3e232f7cfac43b5237e2681e11f005be627a49283a9 Module GUID: c1fbd624-27ea-40d1-aa48-94c3dc5c7e0d
CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Affected products
AMI · Aptio

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →