CVE-2022-40246 Arbitrary write vulnerability in SbPei module leads to arbitrary code execution during PEI phase.
An attacker with physical access can exploit a memory corruption flaw in AMI Aptio firmware during S3 resume to execute arbitrary code and bypass security mitigations.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-40246?
CVE-2022-40246 is a high-severity memory corruption vulnerability in AMI Aptio, published on 20 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim.
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
Which versions are affected by CVE-2022-40246?
It affects 2 products.
Products include Intel Nuc M15 Laptop Kit Lapbc510 Firmware, Intel Nuc M15 Laptop Kit Lapbc710 Firmware.
How do I fix CVE-2022-40246?
No fix has been published for CVE-2022-40246 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-40246 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-40246 exists.
Other vulnerabilities in AMI Aptio
Sources
Also known as GHSA-jjpm-q6jh-v8gj.