Skip to content
Memory corruption Advisory Advanced CVE-2018-1003

Microsoft JET Database Engine Remote Code Execution Vulnerability (CVE-2018-1003)

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.

Honggang Ren Follow

Originally disclosed on Microsoft

High 7.1 View original

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

The original report as published on the Microsoft Security Response Center, by Honggang Ren of Fortinet's FortiGuard Labs. 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 a buffer overflow in how the Microsoft JET Database Engine handles objects in memory when parsing a crafted Excel file.

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

How it was found

  1. An attacker creates a specially crafted Excel file.
  2. The attacker sends the file to a user, for example by email.
  3. The attacker convinces the user to open the file on an affected Windows system.
  4. Opening the file triggers the buffer overflow and may allow 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.

More by Honggang Ren

View all

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

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.