Microsoft Outlook Remote Code Execution Vulnerability (CVE-2018-8582)
Microsoft Outlook parsed specially modified rule export files in an unsafe way, allowing an attacker to run arbitrary code. An attacker could take control of the affected system by sending a crafted email and convincing the user to import an attached rule export file.
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists in the way that Microsoft Outlook parses specially modified rule export 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. Systems such as workstations and terminal servers where Microsoft Outlook is used are at risk. Servers could be at more risk if administrators allow users to log on to servers and to run programs. However, best practices strongly discourage allowing this. In an email attack scenario, an attacker could exploit the vulnerability by sending a specially crafted email message to the user and then convincing the user to open the email and import an attached .rwz (rule export) file. Exploitation of this vulnerability requires that a user open a specially crafted email message with an affected version of Microsoft Outlook, download a malicious attachment, and manually import the contents of the attachment using the Outlook user interface. The update addresses the vulnerability by correcting the way that Microsoft Outlook parses rule export files.
Microsoft Office
Microsoft Office
Microsoft
Microsoft
Customer Action Required
Yes
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, Outlook did not properly validate or sanitise the contents of rule export files before processing them, allowing crafted data to lead to code execution.
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
Outlook on the target system; victim opens a crafted email; victim downloads the attachment; victim manually imports the file
How it was found
- Send a specially crafted email message to the user.
- Convince the user to open the email and download the attached rule export file.
- Have the user manually import the contents of the attachment using the Outlook user interface.
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.
Outlook can save and load its email rules as a file. This report says that if someone opens a malicious rules file, Outlook can be tricked into running the attacker's code on the computer. The attacker has to get the victim to open an email, download the attachment and import it by hand, so it is not automatic.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.