Full Disclosure mailing list archives

Re: Self-Executing HTML: Internet Explorer 5.5 and 6.0 Part IV


From: Jelmer Kuperus <jkuperus () planet nl>
Date: Fri, 02 Jan 2004 21:34:07 +0100


Gives dialog box to open or save a "blabla.hta" and no, it does not self-execute
even under
low security settings.

Your post isn't verry informative
what kind of system did you test it on? It worked on my fully patched
windows XP

If you'd examine the code you'd understand that it *is* working 

what happens is basicly this

1. get a shortcut
2. modify shortcut + parameters
3. save shortcut to disk
4. execute shortcut

You seem to be having an issue with step 4
The way step 4 works is , we pass mshta.exe an url as argument
and on my pc it then proceeds to open and run the .hta directly
For one reason or the other you seem to be getting a prompt here.

BUT! in order to get the prompt you allready had to have been thru step
1-3, and thats enough for exploitation anyway, since you could just as
easily create a shortcut that calls cmd.exe with "/c format a:" as
argument and than store that shortcut in the "all users" startup folder

  try again Jelmer?

Dont you mean try again http-equiv ?
Since he was the one who found the issue, I just wrote the exploit code
he used for the demo, full credit to him




morning_wood
http://exploitlabs.com

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html


Current thread: