Home page logo

fulldisclosure logo Full Disclosure mailing list archives

[Bug Proofing Microsoft.com with Internet Explorer ** Part I **]
From: Vizzy <vizzy () freemail hu>
Date: Tue, 16 Mar 2004 03:47:10 +0000

===[Bug Proofing Microsoft.com with Internet Explorer ]===

Disclaimer: All information contained here based on the author's wild imagination
            and all real coincidences are accidental.
            Provided for educational purposes only.
            Also, be aware that Microsoft site most likely won't explode
            (too good to be true, see Part II), your IE easily could.


So, where are we going today? All roads lead to www.microsoft.com, the powerful home of most
secure operation system. Ever.

But should THE SITE be the tightest one to demonstrate us the
powerfull feeling of security and happines? Or is it Ok to have glitch
or two unless someone notices?

So -- who cares? The company, whos security profile is the security of their operation systems.
Security of our homes (Hopefully we don't live in M$ boxes all of us).

Ok, enough talking, let's see what we can phish with our handy browser..

Before we start, point your browsers to
to remind yourself how Microsoft site looked like back in 1997,
when Microsoft had no chances to hire some good web designers, because
the most insecure and unstable but pretensions operation system was just
going to be released..

=============[* Part I: Bogus URL's:]=================================

**URL 1**

Browsing MSDN I came across following URL:


Page uses frames and one of them contains "library/en-us/winsock/winsock/winsock_functions.asp"
Ok, let's play with url a bit:
Returns us the same page. Same result. Can we change folders?..

Trying to guess parent folder name:
Page not found
Page not found

Ok.. no luck.. but how about:
The system cannot find the file specified.


The system cannot find the file specified.
This looks like Windows error message!
Why? It's not here?:O

I would be surprised if it was..
Tried some other default names but without luck.
Let's leave this URL for now as I found better:

**URL 2**


let's play a bit with 'dtcfg' parameter:

msxml3.dll error '80070005'
Access is denied.
/library/shared/deeptree/asp/contentbar.asp, line 12

Hmm.. Interesting.

Server.MapPath() error 'ASP 0173 : 80004005'
Invalid Path Character
/library/shared/deeptree/asp/contentbar.asp, line 12
An invalid character was specified in the Path parameter for the MapPath method.

Nice. So we control input for Server.MapPath() function, but what is it and
what it does?
Google answers: Function takes one argument, a virtual path, and returns the
corresponding physical path.

Server.MapPath() error 'ASP 0172 : 80004005'
Invalid Path
/library/shared/deeptree/asp/contentbar.asp, line 12
The Path parameter for the MapPath method must be a virtual path. A physical path was used.

Just to be sure.

Ok, our perspective?

It looks like we dealing with something like:

msxml3.dll error '80070005'
Access is denied.
/library/shared/deeptree/asp/contentbar.asp, line 12

Microsoft JScript runtime error '800a138f'
'oXDoc.documentElement' is null or not an object
/library/shared/deeptree/asp/contentbar.asp, line 40

Server.MapPath() error 'ASP 0176 : 80004005'
Path Not Found
/library/shared/deeptree/asp/contentbar.asp, line 12
The Path parameter for the MapPath method did not correspond to a known path.

Looks like we are 5 levels deep from root directory.


OK, leaving it..

**URL 3**


Sneaking into source:

<FORM id="frmSearch2" target="_top"  name="frmSearch2" action="/library/shared/searchtab/searchHandoff.asp" 
<INPUT TYPE="HIDDEN" name="handoffurl" value="http://search.microsoft.com/us/dev/default.asp";>
<INPUT TYPE="HIDDEN" name="stcfg" value="d:/http/library/shared/searchtab/cnfg.xml">
                                        ^^^^^^ oops!
So it looks like great site of Microsoft is hosted on drive D:!
But -- lets try to verify that..

One of the known to us before pages.. With existed xml file name it is:
Shows us nice skyblue screen.

Ok, browsing works..

Works again! So it is indeed located in "HTTP" parent folder.

To be 100% sure, let's try non-existent name and see what happens:
Microsoft JScript runtime error '800a138f'
'oXDoc.documentElement' is null or not an object
/library/shared/deeptree/asp/contentbar.asp, line 40
Yeah, our assumptions were right.

As it appeared later, there are plenty places where physical path is exposed. Like:
 <INPUT TYPE="HIDDEN" name="stcfg" value="d:/http/mscorp/worldwide/spanish/msdn/cnfg.xml">

Now we can use this URL to probe folders in root web folder:

Microsoft JScript runtime error '800a138f'
'oXDoc.documentElement' is null or not an object
/library/shared/deeptree/asp/contentbar.asp, line 40
Folder does not exist.

msxml3.dll error '80070005'
Access is denied.
/library/shared/deeptree/asp/contentbar.asp, line 12
Folder exist.

.... etc

Microsoft JScript runtime error '800a01a8'
Object required
/library/shared/searchtab/searchHandoff.asp, line 90

**URL 4**

"Can anybody tell me where am I?"

Are we at Microsoft.com or what?

I thought I downloaded security update from M$?! (R)

Now, how about securely signing-up to your Passport?

Oh, well.. and last, but not least..

lets get some Javascript run on Microsoft site:

    *** with more critical bugs...
              to be continued in Part II: .......

have phun,

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

  By Date           By Thread  

Current thread:
  • [Bug Proofing Microsoft.com with Internet Explorer ** Part I **] Vizzy (Mar 16)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]