CERT/CC: CVE-2023-1017 TPM2.0 Module Library Elevation of Privilege Vulnerability
A vulnerability in the TPM 2.0 module library allows an attacker in a guest virtual machine to send malicious TPM commands to a Hyper-V host, causing an out-of-bounds write in the root partition. This could lead to elevation of privilege on the host.
Originally disclosed on Microsoft
FAQ
How could an attacker exploit this vulnerability? By leveraging malicious TPM commands from a guest VM to a target running Hyper-V, an attacker can cause an out of bounds write in the root partition.
FAQ
Why is the CERT/CC the assigning CNA (CVE Numbering Authority)? This CVE is regarding a vulnerability in a third party driver. CERT/CC created this CVE on behalf of the researcher who discovered the vulnerability.
Windows TPM
Windows TPM
CERT/CC
CERT/CC
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a missing bounds check when processing TPM command parameters in the TPM 2.0 module library, leading to an out-of-bounds write.
What the attacker needed
Control of a guest VM on Hyper-V
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A TPM is a small chip that stores security keys. In Hyper-V, virtual machines can talk to a virtual TPM. This bug means a malicious program inside a guest VM can send specially crafted messages to that virtual TPM and corrupt memory on the host machine, potentially taking control of it.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.