(CVE-2020-0961) Microsoft Jet Database file position integer overflow Memory Corruption
A memory corruption vulnerability exists in Microsoft Jet Excel (msexcl40.dll) when processing a specially crafted .xls file, leading to a crash due to an integer overflow in file position handling. An attacker could potentially execute arbitrary code by convincing a user to open a malicious file.
starlabs.sg
Published on starlabs.sg
msexcl40.dll is a part of Microsoft Jet Excel, it is responsible for to process excel files when opening a specially crafted .xls file, an memory corruption will occur.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely an integer overflow in the calculation of a file position, causing memcpy to read from an invalid source address.
Impact
An attacker could cause a denial of service (crash) and potentially achieve remote code execution by enticing a user to open a malicious .xls file.
What the attacker needed
Victim opens a malicious .xls file
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 write-up has not been written yet. The Original tab links to the source.
This report describes a bug in a Microsoft component that reads Excel files. If someone opens a maliciously crafted Excel file, the program can crash and possibly allow an attacker to run their own code on the victim's computer. The root cause is a miscalculation of where data is located in the file, which leads to copying data from the wrong place in memory.
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.