MS Office Word Information Disclosure Vulnerability Vendor homepage: http://www.microsoft.com/ MS Office homepage: https://products.office.com/ MS Office Word contains an Internet Explorer (IE) Script execution issue through a currently well known vector: The "Microsoft Scriptlet Component" ActiveX. Originally found by info sec. researcher Juan Pablo Lopez Yacubian and made public on May, 2008, this issue allowed web pages to be displayed, inline, in Office documents, rendered by the MS IE rendering engine. This issue facilitates attacks against the IE rendering engine because some enhanced security features are not enabled by default. However, Microsoft didn't think it would be suitable to disable the ActiveX, back in 2008, for some unknown reason; Additionally, it was not (publicly) known that you could pass relative URLs to the ActiveX, causing Word/Works documents to reference itself, as HTML, potentially disclosing sensitive information to malicious attackers, like file contents, the Windows user name, etc.. The PoC below will display, on an alert box, the contents of 'WindowsUpdate.log', that, depending on the Windows patch level, used to be located on "c:\windows" directory, but currently it resides in the user that applied the updates directory: c:\users\%username%\AppData\Local\Microsoft\Windows Instructions: a) Save the code below as "Disclose_File.WPS" and host it on your web server of choice. b) Download it using your prefered web browser, and save it to one of your user's profile subfolders. (Could be the home directory too, however nowadays most browsers by default will save the file to the 'Downloads' folder. c) Open and wait for an alert box showing the contents of "WindowsUpdate.log" to show up. Notice you can pick up any file as long as you know the full path. Important: the file must be downloaded and forced in the "Internet Zone" of IE, through the mark of the web, which is appended by several programs to files downloaded from the web. -------------Disclose_File.WPS------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------- Vulnerable: MS Office 2007 MS Office 2010,2013,2016 have killbitted this ActiveX through specific MS Office killbit settings. If an attacker is able to somehow bypass it, the vulnerability will surely affect the latest versions. Tested on: Any Windows version that suppors Office 2007. Greets to: Juan Pablo Lopez Yacubian, my good friend and original discoverer of the IE Script Exec issue.