Microsoft Office Protocol Handler Directory Traversal File Creation Vulnerability
Office URL protocol handlers failed to validate a user-supplied path before using it in file operations. A remote attacker could create a file in an arbitrary location in the context of the current user, provided the target visited a malicious page or opened a malicious file.
This vulnerability allows remote attackers to create files in arbitrary locations on vulnerable installations of Microsoft Office. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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 Office URL protocol handlers passed a user-controlled path into file operations without validating or restricting it.
Impact
An attacker could create a file in an arbitrary location as the current user, but only if the victim visited a malicious page or opened a malicious file.
What the attacker needed
Victim visits a malicious page; or victim opens a malicious file
The fix
Microsoft issued an update that corrects 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.
Some Office documents are opened through special links that tell Windows which program should handle them. This report says that when Office handled such a link, it did not check where the link was pointing, so it could be tricked into writing a file somewhere the attacker chose. The attacker still needed the victim to open a malicious page or file first.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.