Skip to content
Info disclosure Advisory Advanced CVE-2019-1370

Open Enclave SDK Information Disclosure Vulnerability (CVE-2019-1370)

The Open Enclave SDK improperly handles objects in memory, allowing an attacker who has already compromised the host application to read enclave memory. This could disclose information stored inside the enclave without user interaction.

David Oswald Follow

Originally disclosed on Microsoft

High 7.0 View original

Description

An information disclosure vulnerability exists when affected Open Enclave SDK versions improperly handle objects in memory. An attacker who successfully exploited this vulnerability could obtain information stored in the Enclave. To exploit this vulnerability, an attacker would have to successfully compromise the host application running the enclave. The attacker can then pivot to the enclave and exploit this vulnerability without user interaction. The security update addresses the vulnerability by modifying how Open Enclave SDK handle objects in memory.

FAQ

What type of information could be disclosed by this vulnerability? The type of information that could be disclosed if an attacker successfully exploited this vulnerability is Enclave memory read - unprivileged write to enclave memory from a host application, which can leak memory contents of the enclave.

Open Source Software

Open Source Software

The original report as published on the Microsoft Security Response Center, by David Oswald (The University of Birmingham, UK). 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 the SDK fails to properly validate or restrict memory operations, allowing an unprivileged write from the host application to affect enclave memory.

Impact

An attacker who has already compromised the host application could read enclave memory contents, but the exploit requires that prior compromise.

What the attacker needed

Compromise of the host application

The fix

The vulnerability was fixed by modifying how Open Enclave SDK handles objects in memory.

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.

An enclave is a protected memory area that keeps secrets safe even from the main operating system. This bug means that if an attacker first takes over the normal program running outside the enclave, they can then use a flaw in the SDK to read data that should have stayed inside the protected area.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by David Oswald

View all

2 more disclosed reports, 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.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.