www.nbcuniversalstore.com, CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CAPEC-86: Embedding Script (XSS ) in HTTP Headers

Report generated by CloudScan Vulnerability Crawler at Fri Feb 11 10:24:22 CST 2011.



DORK CWE-79 XSS Report

Loading

1. Cross-site scripting (reflected)

2. Flash cross-domain policy

3. Cookie scoped to parent domain

3.1. http://www.nbcuniversalstore.com/detail.php

3.2. http://www.nbcuniversalstore.com/cart.php

4. Cookie without HttpOnly flag set

4.1. http://www.nbcuniversalstore.com/detail.php

4.2. http://www.nbcuniversalstore.com/cart.php

5. Cross-domain Referer leakage

6. Cross-domain script include

7. Email addresses disclosed

7.1. http://www.nbcuniversalstore.com/js/omniture/s_code_dageneral.js

7.2. http://www.nbcuniversalstore.com/nbcuniversalstore/behavior/typeface-0.14.js

8. Credit card numbers disclosed

9. Robots.txt file

10. HTML does not specify charset

11. Content type incorrectly stated



1. Cross-site scripting (reflected)  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.nbcuniversalstore.com
Path:   /detail.php

Issue detail

The value of the p request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload f08db%3balert(1)//7d6e4dc3ec1 was submitted in the p parameter. This input was echoed as f08db;alert(1)//7d6e4dc3ec1 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 application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by submitting a URL-encoded NULL byte (%00) anywhere before the characters that are being blocked.

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. NULL byte bypasses typically arise when the application is being defended by a web application firewall (WAF) that is written in native code, where strings are terminated by a NULL byte. You should fix the actual vulnerability within the application code, and if appropriate ask your WAF vendor to provide a fix for the NULL byte bypass.

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 defenses:In cases where the application's functionality allows users to author content using a restricted subset of HTML tags and attributes (for example, blog comments which allow limited formatting and linking), it is necessary to parse the supplied HTML to validate that it does not use any dangerous syntax; this is a non-trivial task.

Request

GET /detail.php?p=60458f08db%3balert(1)//7d6e4dc3ec1&v=nbc_chuck&ecid=PRF-TV2-101833&pa=PRF-TV2-101833 HTTP/1.1
Host: www.nbcuniversalstore.com
Proxy-Connection: keep-alive
Referer: http://my.nbc.com/
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.13 (KHTML, like Gecko) Chrome/9.0.597.94 Safari/534.13
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
Vary: Accept-Encoding
Content-Type: text/html
Expires: Fri, 11 Feb 2011 15:45:03 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 11 Feb 2011 15:45:03 GMT
Connection: close
Set-Cookie: SESSID=44260ee8414729770d83d5959fc035fe; expires=Fri, 11-Feb-2011 23:45:03 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DAPART=PRF-TV2-101833; expires=Sun, 13-Mar-2011 15:45:03 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DASHORTNAME=nbcuniversalstore; expires=Sat, 11-Jun-2011 15:45:03 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DAABTEST=A; expires=Sat, 11-Jun-2011 15:45:03 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DAPART=PRF-TV2-101833; expires=Sun, 13-Mar-2011 15:45:03 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DACART=deleted; expires=Thu, 11-Feb-2010 15:45:02 GMT; path=/; domain=nbcuniversalstore.com
Content-Length: 86363


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http
...[SNIP]...
<script type="text/javascript">
var p = 60458f08db;alert(1)//7d6e4dc3ec1, ajaxParams, getParams, emailMePopup;

function openPopup(sku) {
var url = 'detail.php?p=' + p + '&tpl=when_available&ajaxNoCache=' + $time();
url += '&email_me_sku=' + sku;

...[SNIP]...

2. Flash cross-domain policy  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.nbcuniversalstore.com
Path:   /crossdomain.xml

Issue detail

The application publishes a Flash cross-domain policy which uses a wildcard to specify allowed domains, and allows access from specific other domains.

Using a wildcard to specify allowed domains means that any domain matching the wildcard expression can perform two-way interaction with this application. You should only use this policy if you fully trust every possible web site that may reside on a domain which matches the wildcard expression.

Allowing access from specific domains means that web sites on those domains can perform two-way interaction with this application. You should only use this policy if you fully trust the specific domains allowed by the policy.

Issue background

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

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

Issue remediation

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

Request

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

Response

HTTP/1.0 200 OK
Server: Apache
Last-Modified: Fri, 27 Aug 2010 19:49:19 GMT
ETag: "2a810a-eef-48ed36913edc0"
Content-Type: text/xml
Expires: Fri, 11 Feb 2011 15:44:36 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 11 Feb 2011 15:44:36 GMT
Content-Length: 3823
Connection: close

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*.abc.com" />
<allow-access-from domain="*.aestaging.com" />
<allow-access-from domain="*.aetn.com" />
<allow-access-from domain="*.aetv.com" />
<allow-access-from domain="*.agentc.com" />
<allow-access-from domain="*.aggregateknowledge.com" />
<allow-access-from domain="*.amazon.com" />
<allow-access-from domain="*.bcsfootball.org" />
<allow-access-from domain="*.bebo.com" />
<allow-access-from domain="*.bdbshop.com" />
<allow-access-from domain="*.bio.com" />
<allow-access-from domain="*.biography.com" />
<allow-access-from domain="*.blogspot.com" />
<allow-access-from domain="*.cbs.com" />
<allow-access-from domain="*.cbsstore.com" />
<allow-access-from domain="*.clearspring.com" />
<allow-access-from domain="*.cmt.com" />
<allow-access-from domain="*.comedycentral.com" />
<allow-access-from domain="*.cooliris.com" />
<allow-access-from domain="*.deliveryagent.com" />
<allow-access-from domain="*.discovery.com" />
<allow-access-from domain="*.dotomi.com" />
<allow-access-from domain="*.facebook.com" />
<allow-access-from domain="*.feedburner.com" />
<allow-access-from domain="*.fox.com" />
<allow-access-from domain="*.foxsports.com" />
<allow-access-from domain="*.friendster.com" />
<allow-access-from domain="*.getfused.com" />
<allow-access-from domain="*.gifts.com" />
<allow-access-from domain="*.go.com" />
<allow-access-from domain="*.google.com" />
<allow-access-from domain="*.history.com" />
<allow-access-from domain="*.historychannel.com" />
<allow-access-from domain="*.hulu.com" />
<allow-access-from domain="*.hurley.com" />
<allow-access-from domain="*.jackassworld.com" />
<allow-access-from domain="*.marchex.com" />
<allow-access-from domain="*.marthastewart.com" />
<allow-access-from domain="*.marthastewartcrafts.com" />
<allow-access-from domain="*.marthastewartstore.com" />
<allow-access-from domain="*.mslo.com" />
<allow-access-from domain="*.msn.com" />
<allow-access-from domain="*.mtv.com" />
<allow-access-from domain="*.myspace.com" />
<allow-access-from domain="*.nbc.com" />
<allow-access-from domain="*.nbcuniversalstore.com" />
<allow-access-from domain="*.performics.com" />
<allow-access-from domain="*.resultsdemo.com" />
<allow-access-from domain="*.resultspage.com" />
<allow-access-from domain="*.rockbandstore.com" />
<allow-access-from domain="*.seenon.com" />
<allow-access-from domain="*.seenonmtv.com" />
<allow-access-from domain="*.seenonstyle.com" />
<allow-access-from domain="*.shopthefilm.com" />
<allow-access-from domain="*.shopthescene.com" />
<allow-access-from domain="*.sparkart.com" />
<allow-access-from domain="*.tbs.com" />
<allow-access-from domain="*.thesimpsonsshop.com" />
<allow-access-from domain="*.tnt.tv" />
<allow-access-from domain="*.trafficleader.tv" />
<allow-access-from domain="*.tvloop.com" />
<allow-access-from domain="*.ufc.com" />
<allow-access-from domain="*.vh1.com" />
<allow-access-from domain="*.warnerbrosrecords.com" />
<allow-access-from domain="*.watercooler-inc.com" />
<allow-access-from domain="*.yahoo.com" />
<allow-access-from domain="*.zedo.com" />
...[SNIP]...

3. Cookie scoped to parent domain  previous  next
There are 2 instances of this issue:

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.


3.1. http://www.nbcuniversalstore.com/detail.php  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.nbcuniversalstore.com
Path:   /detail.php

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.

Request

GET /detail.php?p=60458&v=nbc_chuck&ecid=PRF-TV2-101833&pa=PRF-TV2-101833 HTTP/1.1
Host: www.nbcuniversalstore.com
Proxy-Connection: keep-alive
Referer: http://my.nbc.com/
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.13 (KHTML, like Gecko) Chrome/9.0.597.94 Safari/534.13
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
Vary: Accept-Encoding
Content-Type: text/html
Expires: Fri, 11 Feb 2011 15:44:36 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 11 Feb 2011 15:44:36 GMT
Connection: close
Set-Cookie: SESSID=7f12cb30b34c581cd5b2a253615af4e8; expires=Fri, 11-Feb-2011 23:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DAPART=PRF-TV2-101833; expires=Sun, 13-Mar-2011 15:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DASHORTNAME=nbcuniversalstore; expires=Sat, 11-Jun-2011 15:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DAABTEST=A; expires=Sat, 11-Jun-2011 15:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DAPART=PRF-TV2-101833; expires=Sun, 13-Mar-2011 15:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DACART=deleted; expires=Thu, 11-Feb-2010 15:44:35 GMT; path=/; domain=nbcuniversalstore.com
Content-Length: 86327


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http
...[SNIP]...

3.2. http://www.nbcuniversalstore.com/cart.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.nbcuniversalstore.com
Path:   /cart.php

Issue detail

The following cookie was issued by the application and is scoped to a parent of the issuing domain:The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

POST /cart.php?p=60458 HTTP/1.1
Host: www.nbcuniversalstore.com
Proxy-Connection: keep-alive
Referer: http://www.nbcuniversalstore.com/detail.php?p=60458&v=nbc_chuck&ecid=PRF-TV2-101833&pa=PRF-TV2-101833
Origin: http://www.nbcuniversalstore.com
X-Requested-With: XMLHttpRequest
Content-type: application/x-www-form-urlencoded; charset=UTF-8
Accept: text/javascript, text/html, application/xml, text/xml, */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.94 Safari/534.13
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: SESSID=fc28e281c7fbf4148b5a2f888766a471; DASHORTNAME=nbcuniversalstore; DAABTEST=B; DAPART=PRF-TV2-101833; s_pers=%20gpv_pageName%3DNBC%2520Universal%2520Store%253ANBC%253AChuck%253AChuck%2520Nerd%2520Herd%2520Cap%253ADetail%7C1297440946917%3B; s_sess=%20s_cc%3Dtrue%3B%20s_campaign%3DPRF-TV2-101833%3B%20s_sq%3Ddelagentnbc%252Cdelagentglobalrollup%253D%252526pid%25253DNBC%25252520Universal%25252520Store%2525253ANBC%2525253AChuck%2525253AChuck%25252520Nerd%25252520Herd%25252520Cap%2525253ADetail%252526pidt%25253D1%252526oid%25253Djavascript%2525253Aif%25252528%25252524defined%25252528AjaxCart%25252529%25252529AjaxCart.add%25252528%2525252760458%25252527%2525252C%25252527add_form%25252527%2525252C%25252520true%25252529%2525253B%252526ot%25253DA%3B
Content-Length: 24

is_ajax=1&id=60458&qty=1

Response

HTTP/1.1 200 OK
Server: Apache
Vary: Accept-Encoding
Content-Type: text/html
Expires: Fri, 11 Feb 2011 15:45:08 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 11 Feb 2011 15:45:08 GMT
Connection: close
Set-Cookie: DACART=qKmgk5qRnaWskJc%253D; expires=Sat, 11-Jun-2011 15:45:08 GMT; path=/; domain=nbcuniversalstore.com
Content-Length: 2011


<div id="ajaxCartTitle">Shopping Cart</div>
<script type="text/javascript"> document.cookie = "last_p_added=60458;expires=Fri, 31 Dec 2099 23:59:59 GMT;"; </script>

<div id="ajaxCartCoun
...[SNIP]...

4. Cookie without HttpOnly flag set  previous  next
There are 2 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.



4.1. http://www.nbcuniversalstore.com/detail.php  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.nbcuniversalstore.com
Path:   /detail.php

Issue detail

The following cookies were issued by the application and do not have the HttpOnly flag set: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.

Request

GET /detail.php?p=60458&v=nbc_chuck&ecid=PRF-TV2-101833&pa=PRF-TV2-101833 HTTP/1.1
Host: www.nbcuniversalstore.com
Proxy-Connection: keep-alive
Referer: http://my.nbc.com/
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.13 (KHTML, like Gecko) Chrome/9.0.597.94 Safari/534.13
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
Vary: Accept-Encoding
Content-Type: text/html
Expires: Fri, 11 Feb 2011 15:44:36 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 11 Feb 2011 15:44:36 GMT
Connection: close
Set-Cookie: SESSID=7f12cb30b34c581cd5b2a253615af4e8; expires=Fri, 11-Feb-2011 23:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DAPART=PRF-TV2-101833; expires=Sun, 13-Mar-2011 15:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DASHORTNAME=nbcuniversalstore; expires=Sat, 11-Jun-2011 15:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DAABTEST=A; expires=Sat, 11-Jun-2011 15:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DAPART=PRF-TV2-101833; expires=Sun, 13-Mar-2011 15:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DACART=deleted; expires=Thu, 11-Feb-2010 15:44:35 GMT; path=/; domain=nbcuniversalstore.com
Content-Length: 86327


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http
...[SNIP]...

4.2. http://www.nbcuniversalstore.com/cart.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.nbcuniversalstore.com
Path:   /cart.php

Issue detail

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

Request

POST /cart.php?p=60458 HTTP/1.1
Host: www.nbcuniversalstore.com
Proxy-Connection: keep-alive
Referer: http://www.nbcuniversalstore.com/detail.php?p=60458&v=nbc_chuck&ecid=PRF-TV2-101833&pa=PRF-TV2-101833
Origin: http://www.nbcuniversalstore.com
X-Requested-With: XMLHttpRequest
Content-type: application/x-www-form-urlencoded; charset=UTF-8
Accept: text/javascript, text/html, application/xml, text/xml, */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.94 Safari/534.13
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: SESSID=fc28e281c7fbf4148b5a2f888766a471; DASHORTNAME=nbcuniversalstore; DAABTEST=B; DAPART=PRF-TV2-101833; s_pers=%20gpv_pageName%3DNBC%2520Universal%2520Store%253ANBC%253AChuck%253AChuck%2520Nerd%2520Herd%2520Cap%253ADetail%7C1297440946917%3B; s_sess=%20s_cc%3Dtrue%3B%20s_campaign%3DPRF-TV2-101833%3B%20s_sq%3Ddelagentnbc%252Cdelagentglobalrollup%253D%252526pid%25253DNBC%25252520Universal%25252520Store%2525253ANBC%2525253AChuck%2525253AChuck%25252520Nerd%25252520Herd%25252520Cap%2525253ADetail%252526pidt%25253D1%252526oid%25253Djavascript%2525253Aif%25252528%25252524defined%25252528AjaxCart%25252529%25252529AjaxCart.add%25252528%2525252760458%25252527%2525252C%25252527add_form%25252527%2525252C%25252520true%25252529%2525253B%252526ot%25253DA%3B
Content-Length: 24

is_ajax=1&id=60458&qty=1

Response

HTTP/1.1 200 OK
Server: Apache
Vary: Accept-Encoding
Content-Type: text/html
Expires: Fri, 11 Feb 2011 15:45:08 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 11 Feb 2011 15:45:08 GMT
Connection: close
Set-Cookie: DACART=qKmgk5qRnaWskJc%253D; expires=Sat, 11-Jun-2011 15:45:08 GMT; path=/; domain=nbcuniversalstore.com
Content-Length: 2011


<div id="ajaxCartTitle">Shopping Cart</div>
<script type="text/javascript"> document.cookie = "last_p_added=60458;expires=Fri, 31 Dec 2099 23:59:59 GMT;"; </script>

<div id="ajaxCartCoun
...[SNIP]...

5. Cross-domain Referer leakage  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.nbcuniversalstore.com
Path:   /detail.php

Issue detail

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

Issue background

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

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

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

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

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

Issue remediation

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

Request

GET /detail.php?p=60458&v=nbc_chuck&ecid=PRF-TV2-101833&pa=PRF-TV2-101833 HTTP/1.1
Host: www.nbcuniversalstore.com
Proxy-Connection: keep-alive
Referer: http://my.nbc.com/
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.13 (KHTML, like Gecko) Chrome/9.0.597.94 Safari/534.13
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
Vary: Accept-Encoding
Content-Type: text/html
Expires: Fri, 11 Feb 2011 15:44:36 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 11 Feb 2011 15:44:36 GMT
Connection: close
Set-Cookie: SESSID=7f12cb30b34c581cd5b2a253615af4e8; expires=Fri, 11-Feb-2011 23:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DAPART=PRF-TV2-101833; expires=Sun, 13-Mar-2011 15:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DASHORTNAME=nbcuniversalstore; expires=Sat, 11-Jun-2011 15:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DAABTEST=A; expires=Sat, 11-Jun-2011 15:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DAPART=PRF-TV2-101833; expires=Sun, 13-Mar-2011 15:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DACART=deleted; expires=Thu, 11-Feb-2010 15:44:35 GMT; path=/; domain=nbcuniversalstore.com
Content-Length: 86327


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http
...[SNIP]...
<link href="/nbcuniversalstore/layout/slimbox.css?v=11" type="text/css" rel="stylesheet" />
           
<link rel="stylesheet" href="http://assets.resultspage.com/autosuggest/autosuggest.css" media="screen" type="text/css">


<link href="/nbcuniversalstore/layout/nbc/nbc.css?v=11" type="text/css" rel="stylesheet" />
...[SNIP]...
</a>    

<a href="http://NBC.com/" target="_blank" class="partnerlink peacockPartner"> Visit <img src="/nbcuniversalstore/layout/partnerLogo.png" />
...[SNIP]...
<div class="textPromo">
<iframe src="http://ad.doubleclick.net/adi/agt.nbcuni/nbc;tile=5;sz=246x100;ord=1297439076?" width=246 height=100 marginwidth="0" marginheight="0" frameborder="0" scrolling="no">
<script type="text/javascript" src="http://ad.doubleclick.net/adj/agt.nbcuni/nbc;tile=5;sz=246x100;abr=!ie;ord=1297439076?"></script>
...[SNIP]...
<noscript><a href="http://ad.doubleclick.net/jump/agt.nbcuni/nbc;tile=5;sz=246x100;ord=1297439076?"><img src="http://ad.doubleclick.net/ad/agt.nbcuni/nbc;tile=5;sz=246x100;ord=1297439076?" border="0" alt="" /></a>
...[SNIP]...
<div class="textPromo">
<iframe src="http://ad.doubleclick.net/adi/agt.nbcuni/nbc;tile=6;sz=726x100;ord=1297439076?" width=726 height=100 marginwidth="0" marginheight="0" frameborder="0" scrolling="no">
<script type="text/javascript" src="http://ad.doubleclick.net/adj/agt.nbcuni/nbc;tile=6;sz=726x100;abr=!ie;ord=1297439076?"></script>
...[SNIP]...
<noscript><a href="http://ad.doubleclick.net/jump/agt.nbcuni/nbc;tile=6;sz=726x100;ord=1297439076?"><img src="http://ad.doubleclick.net/ad/agt.nbcuni/nbc;tile=6;sz=726x100;ord=1297439076?" border="0" alt="" /></a>
...[SNIP]...
<div id="contentHolder">


<script type="text/javascript" src="http://api.recaptcha.net/js/recaptcha_ajax.js"></script>
...[SNIP]...
<p>
                                                                       
        <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nbcuniversalstore.com%2Fdetail.php%3Fp%3D60458%26v%3Dnbc_chuck&amp;layout=standard&amp;show_faces=false&amp;width=260&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=25" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:260px; height:25px;" allowTransparency="true"></iframe>
...[SNIP]...
<div class="addthis_toolbox addthis_default_style">
       <a href="http://www.addthis.com/bookmark.php?v=250&amp;username=deliveryagent" class="addthis_button last"><img src="/nbcuniversalstore/layout/ico_addshare.gif"
           width="16" height="16" border="0" alt="" />
...[SNIP]...
</script>
       <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=deliveryagent"></script>
...[SNIP]...
<param name="quality" value="high" /><embed src="http://widget.nbc.com/videos/nbcshort_at.swf?CXNID=1000004.10045NXC&widID=4727a250e66f9723&clipID=1261720&showID=96&configXML=http%3A%2F%2Fwww.nbc.com%2Fservice%2Fvideowidget%2Fparams%2FdmlkZW9faWQ9MTI2MTcyMA%3D%3D%2F&initXML=http://www.nbc.com%2Fchuck%2Fvideo%2Fepisodes%2Finit.xml?videoId=1261720" quality="high" bgcolor="#000000" width="384" height="283" allowFullScreen="true" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>
...[SNIP]...
<li>
<a href="http://html.aggregateknowledge.com/click/nocache/111175462/?id=47bf001f-195b-4605-b44a-eba08902443c&impid=32&rid=94&l=en_US&itemid=200708&r=http%3A%2F%2Fwww.nbcuniversalstore.com%2Fdetail.php%3Fp%3D76996%26icid%3Dxsell" class="image"><img src="/img/product/resized/055/00076996-764055_50.jpg?k=c4fbb3ae&pid=76996&s=catl" alt="Chuck Buy More Kit" /></a>
    <a href="http://html.aggregateknowledge.com/click/nocache/111175462/?id=47bf001f-195b-4605-b44a-eba08902443c&impid=32&rid=94&l=en_US&itemid=200708&r=http%3A%2F%2Fwww.nbcuniversalstore.com%2Fdetail.php%3Fp%3D76996%26icid%3Dxsell" class="name">Chuck Buy More Kit</a>
    <a href="http://html.aggregateknowledge.com/click/nocache/111175462/?id=47bf001f-195b-4605-b44a-eba08902443c&impid=32&rid=94&l=en_US&itemid=200708&r=http%3A%2F%2Fwww.nbcuniversalstore.com%2Fdetail.php%3Fp%3D76996%26icid%3Dxsell" class="price"><strike>
...[SNIP]...
<li>
<a href="http://html.aggregateknowledge.com/click/nocache/461766590/?id=47bf001f-195b-4605-b44a-eba08902443c&impid=32&rid=94&l=en_US&itemid=773263&r=http%3A%2F%2Fwww.nbcuniversalstore.com%2Fdetail.php%3Fp%3D275759%26icid%3Dxsell" class="image"><img src="/img/product/resized/148/00275759-978148_50.jpg?k=bc88516d&pid=275759&s=catl" alt="Buy More Employee Costume Kit" /></a>
    <a href="http://html.aggregateknowledge.com/click/nocache/461766590/?id=47bf001f-195b-4605-b44a-eba08902443c&impid=32&rid=94&l=en_US&itemid=773263&r=http%3A%2F%2Fwww.nbcuniversalstore.com%2Fdetail.php%3Fp%3D275759%26icid%3Dxsell" class="name">Buy More Employee Costume Kit</a>
    <a href="http://html.aggregateknowledge.com/click/nocache/461766590/?id=47bf001f-195b-4605-b44a-eba08902443c&impid=32&rid=94&l=en_US&itemid=773263&r=http%3A%2F%2Fwww.nbcuniversalstore.com%2Fdetail.php%3Fp%3D275759%26icid%3Dxsell" class="price"><strike>
...[SNIP]...
<li class="last">
<a href="http://html.aggregateknowledge.com/click/nocache/160639487/?id=47bf001f-195b-4605-b44a-eba08902443c&impid=32&rid=94&l=en_US&itemid=775193&r=http%3A%2F%2Fwww.nbcuniversalstore.com%2Fdetail.php%3Fp%3D276044%26icid%3Dxsell" class="image"><img src="/img/product/resized/074/00276044-075074_50.jpg?k=de6e7c73&pid=276044&s=catl" alt="Chuck Captain Awesome Party Pack" /></a>
    <a href="http://html.aggregateknowledge.com/click/nocache/160639487/?id=47bf001f-195b-4605-b44a-eba08902443c&impid=32&rid=94&l=en_US&itemid=775193&r=http%3A%2F%2Fwww.nbcuniversalstore.com%2Fdetail.php%3Fp%3D276044%26icid%3Dxsell" class="name">Chuck Captain Awesome Party Pack</a>
    <a href="http://html.aggregateknowledge.com/click/nocache/160639487/?id=47bf001f-195b-4605-b44a-eba08902443c&impid=32&rid=94&l=en_US&itemid=775193&r=http%3A%2F%2Fwww.nbcuniversalstore.com%2Fdetail.php%3Fp%3D276044%26icid%3Dxsell" class="price"><strike>
...[SNIP]...
<div class="textPromo">
<iframe src="http://ad.doubleclick.net/adi/agt.nbcuni/nbc;tile=7;sz=246x100;ord=1297439076?" width=246 height=100 marginwidth="0" marginheight="0" frameborder="0" scrolling="no">
<script type="text/javascript" src="http://ad.doubleclick.net/adj/agt.nbcuni/nbc;tile=7;sz=246x100;abr=!ie;ord=1297439076?"></script>
...[SNIP]...
<noscript><a href="http://ad.doubleclick.net/jump/agt.nbcuni/nbc;tile=7;sz=246x100;ord=1297439076?"><img src="http://ad.doubleclick.net/ad/agt.nbcuni/nbc;tile=7;sz=246x100;ord=1297439076?" border="0" alt="" /></a>
...[SNIP]...
<div class="textPromo">
<iframe src="http://ad.doubleclick.net/adi/agt.nbcuni/nbc;tile=8;sz=726x100;ord=1297439076?" width=726 height=100 marginwidth="0" marginheight="0" frameborder="0" scrolling="no">
<script type="text/javascript" src="http://ad.doubleclick.net/adj/agt.nbcuni/nbc;tile=8;sz=726x100;abr=!ie;ord=1297439076?"></script>
...[SNIP]...
<noscript><a href="http://ad.doubleclick.net/jump/agt.nbcuni/nbc;tile=8;sz=726x100;ord=1297439076?"><img src="http://ad.doubleclick.net/ad/agt.nbcuni/nbc;tile=8;sz=726x100;ord=1297439076?" border="0" alt="" /></a>
...[SNIP]...
<!-- START SCANALERT CODE -->
   <a target="_blank" href="https://www.mcafeesecure.com/RatingVerify?ref=secure.nbcuniversalstore.com"><img width="115" height="32" border="0" src="//images.scanalert.com/meter/survey/secure.nbcuniversalstore.com/12.gif" alt="McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams" oncontextmenu="alert('Copying Prohibited by Law - McAfee Secure is a Trademark of McAfee, Inc.'); return false;"></a>
...[SNIP]...
<p id="companyCopy" style="font-size:11px;">&copy;2011 <a href="http://www.nbcuni.com/">NBC Universal</a>
...[SNIP]...
<p id="daPower" style="margin-top:5px;">Powered by <a href="http://www.deliveryagent.com/" target="_blank"><img src="/nbcuniversalstore/layout/logo_da.gif"alt="Delivery Agent" />
...[SNIP]...
</script>

<script language="JavaScript" src="http://edge.aperture.displaymarketplace.com/displayscript.js?liveConClientID=4157529279552&PixelID=127&EventType=view&PageID=27">
</script>
<noscript>
<img height="1" width="1" border="0" src="http://edge.aperture.displaymarketplace.com/audmeasure.gif?liveConClientID=4157529279552&PixelID=127&EventType=view&PageID=27">
</noscript>
...[SNIP]...
</script>


<iframe width="1" height="1" frameborder="0" src="http://html.aggregateknowledge.com/iframe?pid=32&itemid=60458&senduuid=0&che=1297439075"></iframe>

<script language="javascript" src="http://nbcuniversalstore.resultspage.com/autosuggest/searchbox_suggest_v1.js" type="text/javascript"></script>
...[SNIP]...

6. Cross-domain script include  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.nbcuniversalstore.com
Path:   /detail.php

Issue detail

The response dynamically includes the following scripts from other domains:

Issue background

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

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

Issue remediation

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

Request

GET /detail.php?p=60458&v=nbc_chuck&ecid=PRF-TV2-101833&pa=PRF-TV2-101833 HTTP/1.1
Host: www.nbcuniversalstore.com
Proxy-Connection: keep-alive
Referer: http://my.nbc.com/
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.13 (KHTML, like Gecko) Chrome/9.0.597.94 Safari/534.13
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
Vary: Accept-Encoding
Content-Type: text/html
Expires: Fri, 11 Feb 2011 15:44:36 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 11 Feb 2011 15:44:36 GMT
Connection: close
Set-Cookie: SESSID=7f12cb30b34c581cd5b2a253615af4e8; expires=Fri, 11-Feb-2011 23:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DAPART=PRF-TV2-101833; expires=Sun, 13-Mar-2011 15:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DASHORTNAME=nbcuniversalstore; expires=Sat, 11-Jun-2011 15:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DAABTEST=A; expires=Sat, 11-Jun-2011 15:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DAPART=PRF-TV2-101833; expires=Sun, 13-Mar-2011 15:44:36 GMT; path=/; domain=nbcuniversalstore.com
Set-Cookie: DACART=deleted; expires=Thu, 11-Feb-2010 15:44:35 GMT; path=/; domain=nbcuniversalstore.com
Content-Length: 86327


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http
...[SNIP]...
<iframe src="http://ad.doubleclick.net/adi/agt.nbcuni/nbc;tile=5;sz=246x100;ord=1297439076?" width=246 height=100 marginwidth="0" marginheight="0" frameborder="0" scrolling="no">
<script type="text/javascript" src="http://ad.doubleclick.net/adj/agt.nbcuni/nbc;tile=5;sz=246x100;abr=!ie;ord=1297439076?"></script>
...[SNIP]...
<iframe src="http://ad.doubleclick.net/adi/agt.nbcuni/nbc;tile=6;sz=726x100;ord=1297439076?" width=726 height=100 marginwidth="0" marginheight="0" frameborder="0" scrolling="no">
<script type="text/javascript" src="http://ad.doubleclick.net/adj/agt.nbcuni/nbc;tile=6;sz=726x100;abr=!ie;ord=1297439076?"></script>
...[SNIP]...
<div id="contentHolder">


<script type="text/javascript" src="http://api.recaptcha.net/js/recaptcha_ajax.js"></script>
...[SNIP]...
</script>
       <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=deliveryagent"></script>
...[SNIP]...
<iframe src="http://ad.doubleclick.net/adi/agt.nbcuni/nbc;tile=7;sz=246x100;ord=1297439076?" width=246 height=100 marginwidth="0" marginheight="0" frameborder="0" scrolling="no">
<script type="text/javascript" src="http://ad.doubleclick.net/adj/agt.nbcuni/nbc;tile=7;sz=246x100;abr=!ie;ord=1297439076?"></script>
...[SNIP]...
<iframe src="http://ad.doubleclick.net/adi/agt.nbcuni/nbc;tile=8;sz=726x100;ord=1297439076?" width=726 height=100 marginwidth="0" marginheight="0" frameborder="0" scrolling="no">
<script type="text/javascript" src="http://ad.doubleclick.net/adj/agt.nbcuni/nbc;tile=8;sz=726x100;abr=!ie;ord=1297439076?"></script>
...[SNIP]...
</script>

<script language="JavaScript" src="http://edge.aperture.displaymarketplace.com/displayscript.js?liveConClientID=4157529279552&PixelID=127&EventType=view&PageID=27">
</script>
...[SNIP]...
</iframe>

<script language="javascript" src="http://nbcuniversalstore.resultspage.com/autosuggest/searchbox_suggest_v1.js" type="text/javascript"></script>
...[SNIP]...

7. Email addresses disclosed  previous  next
There are 2 instances of this issue:

Issue background

The presence of email addresses within application responses does not necessarily constitute a security vulnerability. Email addresses may appear intentionally within contact information, and many applications (such as web mail) include arbitrary third-party email addresses within their core content.

However, email addresses of developers and other individuals (whether appearing on-screen or hidden within page source) may disclose information that is useful to an attacker; for example, they may represent usernames that can be used at the application's login, and they may be used in social engineering attacks against the organisation's personnel. Unnecessary or excessive disclosure of email addresses may also lead to an increase in the volume of spam email received.

Issue remediation

You should review the email addresses being disclosed by the application, and consider removing any that are unnecessary, or replacing personal addresses with anonymous mailbox addresses (such as helpdesk@example.com).


7.1. http://www.nbcuniversalstore.com/js/omniture/s_code_dageneral.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.nbcuniversalstore.com
Path:   /js/omniture/s_code_dageneral.js

Issue detail

The following email address was disclosed in the response:

Request

GET /js/omniture/s_code_dageneral.js HTTP/1.1
Host: www.nbcuniversalstore.com
Proxy-Connection: keep-alive
Referer: http://www.nbcuniversalstore.com/detail.php?p=60458&v=nbc_chuck&ecid=PRF-TV2-101833&pa=PRF-TV2-101833
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.94 Safari/534.13
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: SESSID=fc28e281c7fbf4148b5a2f888766a471; DASHORTNAME=nbcuniversalstore; DAABTEST=B; DAPART=PRF-TV2-101833

Response

HTTP/1.1 200 OK
Server: Apache
Last-Modified: Wed, 09 Feb 2011 08:08:44 GMT
ETag: "178d49-5f5a-49bd4f940fb00"
Accept-Ranges: bytes
Vary: Accept-Encoding
Content-Type: application/x-javascript
Date: Fri, 11 Feb 2011 15:44:36 GMT
Connection: close
Content-Length: 24410

/* SiteCatalyst code version: H.17.
Copyright 1997-2008 Omniture, Inc. More info available at
http://www.omniture.com */
/************************ ADDITIONAL FEATURES ************************
Plu
...[SNIP]...
.hav()+q+(qs?qs:s."
+"rq(^C)),0,id,ta);qs`e;`Wm('t')`5s.p_r)s.p_r(`R`X`e}^7(qs);^z`p(@i;`l@i`L^9,`G$71',vb`R@G=^D=s.`N`i=s.`N^M=`F@0^y=s.ppu=^p=^pv1=^pv2=^pv3`e`5$x)`F@0@G=`F@0eo=`F@0`N`i=`F@0`N^M`e`5!id@Ls.tc#Ctc=1;s.f"
+"lush`a()}`2$m`Atl`0o,t,n,vo`1;s.@G=@wo`R`N^M=t;s.`N`i=n;s.t(@i}`5pg){`F@0co`0o){`K@J\"_\",1,#B`2@wo)`Awd@0gs`0$S{`K@J$p1,#B`2s.t()`Awd@0dc`0$S{`K@J$p#B`2s.t()}}@3=(`F`J`Y`8`4@us@d0`Rd=^L;
...[SNIP]...

7.2. http://www.nbcuniversalstore.com/nbcuniversalstore/behavior/typeface-0.14.js  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.nbcuniversalstore.com
Path:   /nbcuniversalstore/behavior/typeface-0.14.js

Issue detail

The following email address was disclosed in the response:

Request

GET /nbcuniversalstore/behavior/typeface-0.14.js HTTP/1.1
Host: www.nbcuniversalstore.com
Proxy-Connection: keep-alive
Referer: http://www.nbcuniversalstore.com/detail.php?p=60458&v=nbc_chuck&ecid=PRF-TV2-101833&pa=PRF-TV2-101833
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.94 Safari/534.13
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: SESSID=fc28e281c7fbf4148b5a2f888766a471; DASHORTNAME=nbcuniversalstore; DAABTEST=B; DAPART=PRF-TV2-101833

Response

HTTP/1.1 200 OK
Server: Apache
Last-Modified: Mon, 18 Oct 2010 21:42:33 GMT
ETag: "1560101-5f12-492eb0dc7a440"
Accept-Ranges: bytes
Vary: Accept-Encoding
Content-Type: application/x-javascript
Date: Fri, 11 Feb 2011 15:44:36 GMT
Connection: close
Content-Length: 24338

/*****************************************************************

typeface.js, version 0.14 | typefacejs.neocracy.org

Copyright (c) 2008 - 2009, David Chester davidchester@gmx.net

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, includ
...[SNIP]...

8. Credit card numbers disclosed  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.nbcuniversalstore.com
Path:   /nbcuniversalstore/behavior/houschka_pro_bold.typeface.js

Issue detail

The following credit card numbers were disclosed in the response:

Issue background

Responses containing credit card numbers may not represent any security vulnerability - for example, a number may belong to the logged-in user to whom it is displayed. You should verify whether the numbers identified are actually valid credit card numbers and whether their disclosure within the application is appropriate.

Request

GET /nbcuniversalstore/behavior/houschka_pro_bold.typeface.js HTTP/1.1
Host: www.nbcuniversalstore.com
Proxy-Connection: keep-alive
Referer: http://www.nbcuniversalstore.com/detail.php?p=60458&v=nbc_chuck&ecid=PRF-TV2-101833&pa=PRF-TV2-101833
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.94 Safari/534.13
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: SESSID=fc28e281c7fbf4148b5a2f888766a471; DASHORTNAME=nbcuniversalstore; DAABTEST=B; DAPART=PRF-TV2-101833

Response

HTTP/1.1 200 OK
Server: Apache
Last-Modified: Fri, 05 Nov 2010 23:52:12 GMT
ETag: "20f0183-711c0-49456f6968300"
Accept-Ranges: bytes
Vary: Accept-Encoding
Content-Type: application/x-javascript
Date: Fri, 11 Feb 2011 15:44:36 GMT
Connection: close
Content-Length: 463296

if (_typeface_js && _typeface_js.loadFace) _typeface_js.loadFace({"glyphs":{"...":{"x_min":90,"x_max":771,"ha":861,"o":"m 750 0 l 651 0 q 614 20 630 0 l 265 444 l 265 20 q 258 6 265 12 q 242 0 252 0 l
...[SNIP]...
1179 314 1179 q 504 1129 455 1179 q 554 1009 554 1080 m 473 1009 q 447 1073 473 1046 q 385 1100 421 1100 q 322 1074 348 1100 q 297 1009 297 1048 q 322 946 297 972 q 385 921 348 921 q 447 946 421 921 q 473 1009 473 972 "},"...":{"x_min":17.921875,"x_max":664,"ha":692,"o":"m 643 0 l 37 0 q 25 27 5 0 l 373 591 l 57 591 q 35 613 35 591 l 35 735 q 41 749 35 743 q 57 756 47 756 l 644 756 q 661 746 657 756 q 659 726 666 73
...[SNIP]...
447 1147 q 474 1132 462 1147 l 674 906 q 681 885 684 895 q 665 876 679 876 l 549 876 q 512 896 527 876 l 415 1006 l 316 896 q 278 876 300 876 l 163 876 q 146 885 149 876 q 153 906 144 895 l 353 1132 q 382 1147 366 1147 "},"...":{"x_min":92,"x_max":871,"ha":963,"o":"m 480 772 q 350 722 402 772 q 292 555 292 660 l 292 450 l 671 450 l 671 555 q 613 722 671 660 q 480 772 561 772 m 871 563 l 871 20 q 864 6 871 12 q 850 0
...[SNIP]...
430 1061 q 458 1046 445 1061 l 658 819 q 665 798 667 808 q 648 789 662 789 l 533 789 q 495 809 511 789 l 398 919 l 299 809 q 262 789 284 789 l 146 789 q 130 798 133 789 q 137 819 127 808 l 337 1046 q 366 1061 349 1061 "},"...":{"x_min":1,"x_max":1467.3125,"ha":1469,"o":"m 998 248 l 1245 923 q 1280 947 1254 947 l 1447 947 q 1465 936 1462 947 q 1463 917 1469 926 l 1112 16 q 1079 -4 1105 -4 l 912 -4 q 880 16 887 -4 l 7
...[SNIP]...
80 1217 397 1217 q 576 1297 564 1217 q 600 1319 579 1319 l 665 1319 q 690 1296 690 1319 q 634 1147 690 1208 q 480 1086 579 1086 q 326 1147 381 1086 q 271 1296 271 1208 q 296 1319 271 1319 l 361 1319 q 385 1297 380 1319 "},"...":{"x_min":90,"x_max":716.421875,"ha":747,"o":"m 530 637 l 692 637 q 715 623 712 637 q 707 599 719 609 l 473 369 q 648 245 596 329 q 701 20 701 161 q 678 0 698 0 l 536 0 q 521 6 527 0 q 515 20 5
...[SNIP]...
447 1147 q 474 1132 462 1147 l 674 905 q 681 884 684 894 q 665 875 679 875 l 549 875 q 512 895 527 875 l 415 1005 l 316 895 q 278 875 300 875 l 163 875 q 146 884 149 875 q 153 905 144 894 l 353 1132 q 382 1147 366 1147 "},"..":{"x_min":93,"x_max":894.9375,"ha":910,"o":"m 683 946 l 861 946 q 880 935 876 946 q 874 914 884 925 l 526 486 l 886 36 q 894 11 897 22 q 876 0 891 0 l 688 0 q 648 20 663 0 l 362 386 l 293 386 l
...[SNIP]...
q 466 6 473 12 q 452 0 460 0 l 310 0 q 290 20 290 0 m 387 1149 l 512 1149 q 529 1138 524 1149 q 527 1117 534 1128 l 391 899 q 359 877 377 877 l 264 877 q 246 891 248 877 q 253 917 245 906 l 357 1128 q 387 1149 369 1149 "},"..":{"x_min":53,"x_max":741,"ha":797,"o":"m 53 316 q 151 558 53 468 q 396 649 249 649 q 584 601 500 649 l 596 615 q 631 636 614 636 l 693 636 q 713 626 709 636 q 706 605 717 616 l 654 545 q 741 316
...[SNIP]...

9. Robots.txt file  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.nbcuniversalstore.com
Path:   /nbcuniversalstore/layout/style.css

Issue detail

The web server contains a robots.txt file.

Issue background

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

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

Issue remediation

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

Request

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

Response

HTTP/1.0 200 OK
Server: Apache
Last-Modified: Fri, 07 Apr 2006 21:55:02 GMT
ETag: "3f0126-19-410de4f0ed980"
Content-Type: text/plain
Expires: Fri, 11 Feb 2011 15:44:36 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 11 Feb 2011 15:44:36 GMT
Content-Length: 25
Connection: close

User-agent: *
Disallow:

10. HTML does not specify charset  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.nbcuniversalstore.com
Path:   /cart.php

Issue description

If a web response states that it contains HTML content but does not specify a character set, then the browser may analyse the HTML and attempt to determine which character set it appears to be using. Even if the majority of the HTML actually employs a standard character set such as UTF-8, the presence of non-standard characters anywhere in the response may cause the browser to interpret the content using a different character set. This can have unexpected results, and can lead to cross-site scripting vulnerabilities in which non-standard encodings like UTF-7 can be used to bypass the application's defensive filters.

In most cases, the absence of a charset directive 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 HTML content, the application should include within the Content-type header a directive specifying a standard recognised character set, for example charset=ISO-8859-1.

Request

POST /cart.php?p=60458 HTTP/1.1
Host: www.nbcuniversalstore.com
Proxy-Connection: keep-alive
Referer: http://www.nbcuniversalstore.com/detail.php?p=60458&v=nbc_chuck&ecid=PRF-TV2-101833&pa=PRF-TV2-101833
Origin: http://www.nbcuniversalstore.com
X-Requested-With: XMLHttpRequest
Content-type: application/x-www-form-urlencoded; charset=UTF-8
Accept: text/javascript, text/html, application/xml, text/xml, */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.94 Safari/534.13
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: SESSID=fc28e281c7fbf4148b5a2f888766a471; DASHORTNAME=nbcuniversalstore; DAABTEST=B; DAPART=PRF-TV2-101833; s_pers=%20gpv_pageName%3DNBC%2520Universal%2520Store%253ANBC%253AChuck%253AChuck%2520Nerd%2520Herd%2520Cap%253ADetail%7C1297440946917%3B; s_sess=%20s_cc%3Dtrue%3B%20s_campaign%3DPRF-TV2-101833%3B%20s_sq%3Ddelagentnbc%252Cdelagentglobalrollup%253D%252526pid%25253DNBC%25252520Universal%25252520Store%2525253ANBC%2525253AChuck%2525253AChuck%25252520Nerd%25252520Herd%25252520Cap%2525253ADetail%252526pidt%25253D1%252526oid%25253Djavascript%2525253Aif%25252528%25252524defined%25252528AjaxCart%25252529%25252529AjaxCart.add%25252528%2525252760458%25252527%2525252C%25252527add_form%25252527%2525252C%25252520true%25252529%2525253B%252526ot%25253DA%3B
Content-Length: 24

is_ajax=1&id=60458&qty=1

Response

HTTP/1.1 200 OK
Server: Apache
Vary: Accept-Encoding
Content-Type: text/html
Expires: Fri, 11 Feb 2011 15:45:08 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 11 Feb 2011 15:45:08 GMT
Connection: close
Set-Cookie: DACART=qKmgk5qRnaWskJc%253D; expires=Sat, 11-Jun-2011 15:45:08 GMT; path=/; domain=nbcuniversalstore.com
Content-Length: 2011


<div id="ajaxCartTitle">Shopping Cart</div>
<script type="text/javascript"> document.cookie = "last_p_added=60458;expires=Fri, 31 Dec 2099 23:59:59 GMT;"; </script>

<div id="ajaxCartCoun
...[SNIP]...

11. Content type incorrectly stated  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.nbcuniversalstore.com
Path:   /nbcuniversalstore/layout/favicon.ico

Issue detail

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

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 /nbcuniversalstore/layout/favicon.ico HTTP/1.1
Host: www.nbcuniversalstore.com
Proxy-Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.94 Safari/534.13
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: SESSID=fc28e281c7fbf4148b5a2f888766a471; DASHORTNAME=nbcuniversalstore; DAABTEST=B; DAPART=PRF-TV2-101833; s_pers=%20gpv_pageName%3DNBC%2520Universal%2520Store%253ANBC%253AChuck%253AChuck%2520Nerd%2520Herd%2520Cap%253ADetail%7C1297440930298%3B; s_sess=%20s_cc%3Dtrue%3B%20s_campaign%3DPRF-TV2-101833%3B%20s_sq%3Ddelagentnbc%252Cdelagentglobalrollup%253D%252526pid%25253DNBC%25252520Universal%25252520Store%2525253ANBC%2525253AChuck%2525253AChuck%25252520Nerd%25252520Herd%25252520Cap%2525253ADetail%252526pidt%25253D1%252526oid%25253Djavascript%2525253Aif%25252528%25252524defined%25252528AjaxCart%25252529%25252529AjaxCart.add%25252528%2525252760458%25252527%2525252C%25252527add_form%25252527%2525252C%25252520true%25252529%2525253B%252526ot%25253DA%3B

Response

HTTP/1.1 200 OK
Server: Apache
Last-Modified: Mon, 08 Nov 2010 20:13:44 GMT
ETag: "4380d6-37e-4949042d06e00"
Accept-Ranges: bytes
Content-Length: 894
Content-Type: text/plain
Date: Fri, 11 Feb 2011 15:44:49 GMT
Connection: close

..............h.......(....... .........................................................................................................................................................................
...[SNIP]...

Report generated by CloudScan Vulnerability Crawler at Fri Feb 11 10:24:22 CST 2011.