Microsoft Outlook Remote Code Execution Vulnerability (CVE-2018-8587)
Microsoft Outlook failed to properly handle objects in memory, which created a remote code execution flaw. An attacker could send a specially crafted file that, once opened by the user, would run actions with the same permissions as that logged-on user.
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists in Microsoft Outlook software when it fails to properly handle objects in memory. An attacker who successfully exploited the vulnerability could use a specially crafted file to perform actions in the security context of the current user. For example, the file could then take actions on behalf of the logged-on user with the same permissions as the current user. To exploit the vulnerability, a user must open a specially crafted file with an affected version of Microsoft Outlook software. In an email attack scenario, an attacker could exploit the vulnerability by sending the specially crafted file to the user and convincing the user to open the file. In a web-based attack scenario, an attacker could host a website (or leverage a compromised website that accepts or hosts user-provided content) that contains a specially crafted file that is designed to exploit the vulnerability. However, an attacker would have no way to force the user to visit the website. Instead, an attacker would have to convince the user to click a link, typically by way of an enticement in an email or Instant Messenger message, and then convince the user to open the specially crafted file. Note that the Preview Pane is not an attack vector for this vulnerability. The security update addresses the vulnerability by correcting how Microsoft Outlook handles files in memory.
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 a memory-handling error in Outlook when processing specially crafted files, which the text does not describe in technical detail.
Impact
An attacker could run code with the same permissions as the logged-on user, but only if the user opens the crafted file; the Preview Pane is not an attack vector.
What the attacker needed
Affected version of Microsoft Outlook; victim opens a crafted file
How it was found
- The attacker creates a specially crafted file.
- The attacker sends the file to the user by email or hosts it on a website.
- The attacker convinces the user to open the file.
- The file performs actions in the security context of the current user.
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.
This is a flaw in Microsoft Outlook, the email program. When Outlook opened a malicious file, it mishandled it in memory, so the file could run code on the computer as if the logged-in user had run it themselves. The attacker still needs the person to open the file, so it relies on tricking them.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.