TUCoPS :: Browsers :: expl5722.htm

MSIE "SaveRef" turns Zone off
2nd Oct 2002 [SBWID-5722]
COMMAND

	MSIE "SaveRef" turns Zone off

SYSTEMS AFFECTED

	Tested on MSIEv6, others ?

PROBLEM

	Liu Die Yu [liudieyuinchina@yahoo.com.cn] says :
	

	MSIE: you can execute jscript in any zone by  saving  the  reference  of
	"(NewWindow).location.assign". (content after  the  "[exp]"  section  is
	not directly related to the flaw, so skip it if you are in a  hurry;)
	

	[tested]
	

	MSIEv6(CN version)

	{IEXPLORE.EXE file version: 6.0.2600.0000}

	{MSHTML.DLL file version: 6.00.2600.0000} 

	Win98

	

	

	[demo] at
	

	http://www16.brinkster.com/liudieyu/SaveRef/SaveRef-MyPage.htm

	

	or
	

	clik.to/liudieyu ==> SaveRef-MyPage section.

	

	

	[exp]  javascript-protocol  URL  can  cause  CSS  at  client  side,   so
	microsoft  blocked  "(NewWindow).location.assign"  method(there  is   no
	other explanation at all). but we  can  save  the  reference(mostly  the
	same as 'pointer' in C) of  "(NewWindow).location.assign"  when  we  can
	access it, then we can access it forever --  regardless  of  NewWindow's
	zone, which means we can execute jscript in any zone.
	

	simple, that's all.

SOLUTION

	?

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH