Microsoft OneNote Remote Code Execution Vulnerability (CVE-2017-0197)
Microsoft OneNote did not properly validate input before loading DLL files, so a crafted OneNote document could cause malicious code to run. An attacker who convinced a user to open such a document could take control of the affected system.
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists when Microsoft OneNote improperly validates input before loading dynamic link library (DLL) files. 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, an attacker must first convince a user to open a specially crafted OneNote document. The updates address the vulnerability by correcting how OneNote validates input before loading DLL files.
Microsoft Office
Microsoft Office
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 OneNote loaded DLL files from a location influenced by the document without validating that input, allowing an attacker-supplied library to be loaded.
Impact
An attacker could take control of the affected system, installing programs, viewing, changing or deleting data, or creating accounts with full user rights; users with fewer rights could be less impacted.
What the attacker needed
Victim opens a crafted OneNote document
The fix
The update was fixed by correcting how OneNote validates input before loading DLL files.
How it was found
- Convince a user to open a specially crafted OneNote document.
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 DLL is a file that holds code other programs can load and run. OneNote was loading DLL files without checking them properly, so a booby-trapped notebook document could make the computer run the attacker's code. The attacker still had to trick the user into opening the document.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.