|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: OBJECT TYPE="text/html" may allow executing arbitrary programs in IE 5.5
From: Georgi Guninski (guninski
GUNINSKI.COM)Date: Thu Nov 23 2000 - 09:50:01 CST
- Next message: debian-security-announce
LISTS.DEBIAN.ORG: "[SECURITY] New Debian xmcd packages released"
- Previous message: tlabs: "Re: possible bug in rcp..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Georgi Guninski security advisory #29, 2000
OBJECT TYPE="text/html" may allow executing arbitrary programs in IE 5.5
Systems affected:
IE 5.5 probably 5.x and Outlook/Outlook Express, have not tested
Risk: High
Date: 23 November 2000
Legal Notice:
This Advisory is Copyright (c) 2000 Georgi Guninski. You may distribute
it unmodified.
You may not modify it and distribute it or distribute parts of it
without the author's
written permission.
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 advisory or program.
Georgi Guninski, bears no responsibility for content or misuse of this
advisory or program or
any derivatives thereof.
Announcement:
I have set up an experimental mailing list about client and web security
-
there you may learn faster about my discoveries and how to protect your
clients.
Check: http://www.guninski.com/mailinglist.html
Description:
Note: This is completely different issue from Advisory #28
"IE 5.x/Outlook allows executing arbitrary programs using .chm files and
temporary internet files folder"
though both use some common stuff.
There is a security vulnerability in IE 5.5 (probably 5.x and Outlook)
which allows
executing arbitratrary programs using OBJECT TYPE="text/html" and
parsing index.dat
by revealing the location of temporary internet files folder.
This may lead to taking full control over user's computer.
Details:
Backround:
If one can inject a file on user's local disk and know its location it
is possible to execute
arbitrary programs in at least two ways:
1) window.showHelp("c:\\dir\\hostile.chm")
2) <OBJECT CLASSID="clsid:000000000-0000-0000-00000-000000000002"
CODEBASE="C:\DIR\HOSTILE.EXE">
So the question arise how to inject a specified file on user's disk.
A good way is to use the Temporary Internet Files Folder which contain
cached documents and files.
The problem with it is there are several subfolders with random names.
But there is a special file "index.dat" which is something like a
catalog or registry which
contains all visited URLs and which is more important the names of the
random folders in its beginning.
It is locatated in C:/WINDOWS/Temporary Internet Files/Content.IE5/
under Win9x and in
C:/Documents and Settings/USERNAME/Local Settings/Temporary Internet
Files/Content.IE5/
under Win2K - so under Win2K the username of the current user must be
known or guessed which makes things
more difficult.
It is possible to inject JavaScript in it by just doing:
window.open("http://somehost/index.html?