(Pwn2Own) Microsoft Exchange External Control of File Path Remote Code Execution Vulnerability
Microsoft Exchange did not properly validate a user-supplied file path before using it in file operations. A remote attacker could bypass authentication and execute arbitrary code as SYSTEM.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Microsoft Exchange. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application used a user-supplied file path in file operations without validating or restricting it, allowing path manipulation that led to code execution.
Impact
A remote attacker could execute arbitrary code in the context of SYSTEM, and although authentication is required, the existing authentication mechanism can be bypassed.
What the attacker needed
Authentication bypass; network access to Exchange
The fix
Microsoft issued an update to correct the vulnerability.
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 file path is the address of a file on a computer, like a folder name followed by a file name. Exchange accepted a path from a user without checking it carefully, so an attacker could point it at a dangerous location and run their own code. The attacker first had to get past the login, but the report says that was possible.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.