Microsoft JET Database Engine Remote Code Execution Vulnerability (CVE-2018-8392)
A buffer overflow in the Microsoft JET Database Engine could allow remote code execution when a user opens a specially crafted Excel file. An attacker could take control of the affected system, install programs, view or change data, or create new accounts with full user rights.
Originally disclosed on Microsoft
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 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, leading to a buffer overflow when handling objects in memory.
Impact
An attacker could take control of the affected system, install programs, view, change, or delete data, or create new accounts with full user rights; users with fewer rights could be less impacted.
What the attacker needed
Victim opens a crafted Excel file; affected Windows version; user interaction required
How it was found
- An attacker creates a specially crafted Excel file.
- The attacker sends the file to the victim, for example by email.
- The attacker convinces the victim to open the file on an affected Windows system.
- The buffer overflow is triggered, potentially allowing remote code execution.
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 a bug where a program writes more data into a fixed-size memory area than it can hold, which can corrupt nearby memory. Here, opening a malicious Excel file triggers this overflow in a database component, letting an attacker run their own code on the computer. The attacker must convince the victim to open the file, for example via email.
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.