Skip to content
Memory corruption Advisory Advanced CVE-2023-1017

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.

Francisco Falcon Follow

Originally disclosed on Microsoft

Critical 8.8 View original

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

The original report as published on the Microsoft Security Response Center, by Francisco Falcon, Quarkslab. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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.

More by Francisco Falcon

View all

1 more disclosed report, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.