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.
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
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.