Microsoft Windows Contacts (VCF/Contact/LDAP) syslink control href attribute escape vulnerability (CVE-2022-44666) (0day).
Windows Contacts fails to properly sanitise the href attribute of SysLink controls, allowing an attacker to inject a crafted anchor element that executes arbitrary local files when clicked. An attacker could achieve remote code execution as the logged-in user by delivering a malicious VCF or .contact file, or via the ldap URL protocol handler.
This is the story about another forgotten 0day fully disclosed more than 4 years ago by John Page (aka hyp3rlinx). To understand the report, you have to consider i'm stupid :-) And my stupidicity drives me to take longer paths to solve simple issues, but it also leads me to figure out another ways to exploit some bugs.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
Remote code execution as the current user, though the attacker must convince the victim to open a crafted file and click a link, and remote shared locations cannot be used directly.
What the attacker needed
Victim opens a crafted VCF or .contact file; victim clicks an injected link; file association to Windows Contacts
How it was found
- Create a VCF or .contact file containing a crafted URL;WORK field with an injected anchor element.
- Double-click the file to open it in Windows Contacts.
- Single-click the injected link.
- The link launches a local executable, a .lnk file, or a DLL via rundll32.
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 write-up has not been written yet. The Original tab links to the source.
Windows Contacts is a built-in program for storing contact details. It shows clickable links, but it does not check what those links point to. An attacker can make a contact file that contains a link which, when clicked, runs a program already on the computer, such as Notepad, with the user's permissions.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.