IE 5.x allows executing arbitrary programs using .chm files

From: Georgi Guninski (joroat_private)
Date: Wed Mar 01 2000 - 07:32:06 PST

  • Next message: Steve.Kimbleat_private: "Re: BID 994,MS00-010 (Site Server Commerce Edition non-validated"

    Georgi Guninski security advisory #8, 2000
    
    IE 5.x allows executing arbitrary programs using .chm files
    
    Disclaimer:
    The opinions expressed in this advisory and program are my own and not
    of any company.
    The usual standard disclaimer applies, especially the fact that Georgi
    Guninski is not liable for any damages caused by direct or  indirect use
    of the information or functionality provided by this program.
    Georgi Guninski, bears NO responsibility for content or misuse of this
    program or any derivatives thereof.
    
    Description:
    There is a vulnerability in IE 5.x for Win95/WinNT (probably others)
    which allows executing arbitrary programs using .chm files. Microsoft
    Networking must be installed.
    
    Details:
    The problem is the window.showHelp() method which opens .chm files. IE
    disallows opening .chm files with the http protocol, but allows opening
    if the .chm file resides on MS networking server or a local drive.
    In this case the .chm file is opened even if it is on a remote host. In
    turn .chm files may execute arbitrary programs using the "shortcut"
    command.
    
    Demonstration which starts Wordpad: http://www.nat.bg/~joro/chm3.html
    
    Workaround: Disable Active Scripting.
    
    Copyright Georgi Guninski
    
    Regards,
    Georgi Guninski
    http://www.nat.bg/~joro
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 15:38:33 PDT