Microsoft JET Database Engine Remote Code Execution Vulnerability (CVE-2017-8718)
A buffer overflow in the Microsoft JET Database Engine could allow remote code execution when a user opens or previews a specially crafted Excel file. An attacker who successfully exploited it could take control of the affected system, install programs, view or change data, or create accounts with full user rights.
Description
A buffer overflow vulnerability exists in the Microsoft JET Database Engine that could allow remote code execution on an affected system. An attacker who successfully exploited this vulnerability could take control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. To exploit the vulnerability, a user must open or preview a specially crafted Excel file while using an affected version of Microsoft Windows. In an email attack scenario, an attacker could exploit the vulnerability by sending a specially crafted Excel file to the user, and then convincing the user to open the file. The security update addresses the vulnerability by modifying how the Microsoft JET Database Engine handles objects in memory.
Microsoft JET Database Engine
Microsoft JET Database Engine
Issuing CNA
Microsoft
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 JET Database Engine does not properly validate the size of data it processes when handling objects in memory, leading to a buffer overflow.
Impact
An attacker who successfully exploited this vulnerability could take control of an affected system, install programs, view, change, or delete data, or create new accounts with full user rights; users with fewer user rights could be less impacted.
What the attacker needed
Victim opens or previews a crafted Excel file; affected version of Microsoft Windows
How it was found
- An attacker creates a specially crafted Excel file.
- The attacker sends the file to the user, for example by email.
- The attacker convinces the user to open or preview the file using an affected version of Microsoft Windows.
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 buffer overflow is when a program writes more data into a fixed-size memory area than it can hold, spilling into nearby memory. Here, opening a malicious Excel file makes the database engine mishandle memory, which can let an attacker run their own code on the computer. The attacker must first convince the user to open the file.
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.