CVE-2023-31343
Published: 11 February 2025
Description
Improper input validation in the SMM handler may allow a privileged attacker to overwrite SMRAM, potentially leading to arbitrary code execution.
Security Summary
CVE-2023-31343 is an improper input validation vulnerability in the SMM handler that may allow a privileged attacker to overwrite SMRAM, potentially leading to arbitrary code execution. It affects AMD platforms, as detailed in multiple AMD security bulletins. The vulnerability is associated with CWE-1220 and carries a CVSS v3.1 base score of 7.5 (AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H), indicating high severity with local attack vector, high attack complexity, high privileges required, no user interaction, changed scope, and high impacts to confidentiality, integrity, and availability.
A privileged local attacker could exploit this vulnerability by targeting the SMM handler with malformed input, enabling overwrite of SMRAM contents. Successful exploitation could result in arbitrary code execution within the high-privilege System Management Mode, potentially compromising the system's firmware and enabling persistent, kernel-level control or escalation to full system compromise.
AMD security bulletins provide guidance on mitigation, including AMD-SB-3009, AMD-SB-4008, and AMD-SB-5004, which detail affected products, firmware updates, and recommended patches to address the improper input validation in the SMM handler. Security practitioners should consult these advisories for platform-specific remediation steps.
Details
- CWE(s)