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

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

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

David Oswald Follow

Originally disclosed on Microsoft

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 improper handling of objects in memory within the Open Enclave SDK, allowing unprivileged writes from the host to enclave memory.

Impact

An attacker who has already compromised the host application could read enclave memory contents, potentially disclosing secrets stored inside the enclave.

What the attacker needed

Attacker compromises host application

The fix

The vulnerability was fixed by modifying how the 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 inside a program that is meant to keep secrets safe even if the rest of the computer is compromised. Here, a bug in the software that manages enclaves lets an attacker who already controls the main program read data from that protected area. The attacker cannot use this to break in from scratch; they must first take over the host program.

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.