XSS, Cross Site Scripting, CWE-79, CAPEE-86, wcax.upickem.net

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

Report generated by XSS.CX at Tue Apr 12 10:36:21 CDT 2011.


Loading

1. Cross-site scripting (reflected)

2. Cleartext submission of password

3. Password field with autocomplete enabled

4. Cross-domain Referer leakage

4.1. http://wcax.upickem.net/engine/Splash.aspx

4.2. http://wcax.upickem.net/engine/Splash.aspx

4.3. http://wcax.upickem.net/engine/Splash.aspx

5. Cross-domain script include

6. Cookie without HttpOnly flag set



1. Cross-site scripting (reflected)  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://wcax.upickem.net
Path:   /engine/Splash.aspx

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 9d9ff'-alert(1)-'bb75a418f1c was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Issue background

Reflected cross-site scripting vulnerabilities arise when data is copied from a request and echoed into the application's immediate response in an unsafe way. An attacker can use the vulnerability to construct a request which, if issued by another application user, will cause JavaScript code supplied by the attacker to execute within the user's browser in the context of that user's session with the application.

The attacker-supplied code can perform a wide variety of actions, such as stealing the victim's session token or login credentials, performing arbitrary actions on the victim's behalf, and logging their keystrokes.

Users can be induced to issue the attacker's crafted request in various ways. For example, the attacker can send a victim a link containing a malicious URL in an email or instant message. They can submit the link to popular web sites that allow content authoring, for example in blog comments. And they can create an innocuous looking web site which causes anyone viewing it to make arbitrary cross-domain requests to the vulnerable application (using either the GET or the POST method).

The security impact of cross-site scripting vulnerabilities is dependent upon the nature of the vulnerable application, the kinds of data and functionality which it contains, and the other applications which belong to the same domain and organisation. If the application is used only to display non-sensitive public content, with no authentication or access control functionality, then a cross-site scripting flaw may be considered low risk. However, if the same application resides on a domain which can access cookies for other more security-critical applications, then the vulnerability could be used to attack those other applications, and so may be considered high risk. Similarly, if the organisation which owns the application is a likely target for phishing attacks, then the vulnerability could be leveraged to lend credibility to such attacks, by injecting Trojan functionality into the vulnerable application, and exploiting users' trust in the organisation in order to capture credentials for other applications which it owns. In many kinds of application, such as those providing online banking functionality, cross-site scripting should always be considered high risk.

Remediation background

In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of defences:In cases where the application's functionality allows users to author content using a restricted subset of HTML tags and attributes (for example, blog comments which allow limited formatting and linking), it is necessary to parse the supplied HTML to validate that it does not use any dangerous syntax; this is a non-trivial task.

Request

GET /engine/Splash.aspx?contestid=17178&9d9ff'-alert(1)-'bb75a418f1c=1 HTTP/1.1
Host: wcax.upickem.net
Proxy-Connection: keep-alive
Referer: http://www.vermontopia.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
X-AspNet-Version: 4.0.30319
Set-Cookie: contestid=17178; expires=Tue, 09-Apr-2041 12:31:30 GMT; path=/
Set-Cookie: UPETemporaryShoppingCartID17178=506952470-4/9/2011 8:31:30 AM; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/
Set-Cookie: 293976; expires=Tue, 09-Apr-2041 12:31:30 GMT; path=/
X-Powered-By: ASP.NET
P3P: CP="NOI DSP COR NID CUR PSDa OUR STP STA"
Date: Sat, 09 Apr 2011 12:31:30 GMT
Content-Length: 39277

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

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.co
...[SNIP]...
if (intMode == 0) {
//User is not yet logged into UP and connecting to FB for the first time
window.location.href = '/engine/Splash.aspx?contestid=17178&9d9ff'-alert(1)-'bb75a418f1c=1&FBConnect=1';
} else if (intMode == 1) {
//User is already logged into Upickem but connecting to FB for the first time
window.location.href =
...[SNIP]...

2. Cleartext submission of password  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://wcax.upickem.net
Path:   /engine/Splash.aspx

Issue detail

The page contains a form with the following action URL, which is submitted over clear-text HTTP:The form contains the following password field:

Issue background

Passwords submitted over an unencrypted connection are vulnerable to capture by an attacker who is suitably positioned on the network. This includes any malicious party located on the user's own network, within their ISP, within the ISP used by the application, and within the application's hosting infrastructure. Even if switched networks are employed at some of these locations, techniques exist to circumvent this defence and monitor the traffic passing through switches.

Issue remediation

The application should use transport-level encryption (SSL or TLS) to protect all sensitive communications passing between the client and the server. Communications that should be protected include the login mechanism and related functionality, and any functions where sensitive data can be accessed or privileged actions can be performed. These areas of the application should employ their own session handling mechanism, and the session tokens used should never be transmitted over unencrypted communications. If HTTP cookies are used for transmitting session tokens, then the secure flag should be set to prevent transmission over clear-text HTTP.

Request

GET /engine/Splash.aspx?contestid=17178 HTTP/1.1
Host: wcax.upickem.net
Proxy-Connection: keep-alive
Referer: http://www.vermontopia.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
X-AspNet-Version: 4.0.30319
Set-Cookie: contestid=17178; expires=Tue, 09-Apr-2041 12:31:11 GMT; path=/
Set-Cookie: UPETemporaryShoppingCartID17178=36497604-4/9/2011 8:31:11 AM; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/
Set-Cookie: 293976; expires=Tue, 09-Apr-2041 12:31:11 GMT; path=/
X-Powered-By: ASP.NET
P3P: CP="NOI DSP COR NID CUR PSDa OUR STP STA"
Date: Sat, 09 Apr 2011 12:31:11 GMT
Content-Length: 39215

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

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.co
...[SNIP]...
<center><form name="frmLogin" id="frmLogin" style="display:inline;" method="post" action="splash.aspx">
<table border="0" cellspacing="3" cellpadding="0" style="width:100%;" width="border-collapse:collapse; " class="UPE-StandardTableSmaller">
...[SNIP]...
<input id="txtPasswordDisplay" class="UPE-InputText" style="vertical-align:middle;color:grey;" size="10" value="Password" onfocus="TogglePassword('enter');"><input type="password" name="txtPassword" id="txtPassword" style="vertical-align:middle;display: none;" class="UPE-InputText" size="10" maxlength="10" onblur="TogglePassword('complete');">&nbsp;&nbsp;<input type="Submit" value="Login" class="UPE-ButtonText" style="vertical-align:middle;" onclick="javascript: if (navigator.appName == 'Microsoft Internet Explorer') { if (navigator.cookieE
...[SNIP]...

3. Password field with autocomplete enabled  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://wcax.upickem.net
Path:   /engine/Splash.aspx

Issue detail

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

Issue background

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

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

Issue remediation

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

Request

GET /engine/Splash.aspx?contestid=17178 HTTP/1.1
Host: wcax.upickem.net
Proxy-Connection: keep-alive
Referer: http://www.vermontopia.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
X-AspNet-Version: 4.0.30319
Set-Cookie: contestid=17178; expires=Tue, 09-Apr-2041 12:31:11 GMT; path=/
Set-Cookie: UPETemporaryShoppingCartID17178=36497604-4/9/2011 8:31:11 AM; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/
Set-Cookie: 293976; expires=Tue, 09-Apr-2041 12:31:11 GMT; path=/
X-Powered-By: ASP.NET
P3P: CP="NOI DSP COR NID CUR PSDa OUR STP STA"
Date: Sat, 09 Apr 2011 12:31:11 GMT
Content-Length: 39215

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

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.co
...[SNIP]...
<center><form name="frmLogin" id="frmLogin" style="display:inline;" method="post" action="splash.aspx">
<table border="0" cellspacing="3" cellpadding="0" style="width:100%;" width="border-collapse:collapse; " class="UPE-StandardTableSmaller">
...[SNIP]...
<input id="txtPasswordDisplay" class="UPE-InputText" style="vertical-align:middle;color:grey;" size="10" value="Password" onfocus="TogglePassword('enter');"><input type="password" name="txtPassword" id="txtPassword" style="vertical-align:middle;display: none;" class="UPE-InputText" size="10" maxlength="10" onblur="TogglePassword('complete');">&nbsp;&nbsp;<input type="Submit" value="Login" class="UPE-ButtonText" style="vertical-align:middle;" onclick="javascript: if (navigator.appName == 'Microsoft Internet Explorer') { if (navigator.cookieE
...[SNIP]...

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

Issue background

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

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

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

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

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

Issue remediation

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


4.1. http://wcax.upickem.net/engine/Splash.aspx  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://wcax.upickem.net
Path:   /engine/Splash.aspx

Issue detail

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

Request

GET /engine/Splash.aspx?contestid=17178 HTTP/1.1
Host: wcax.upickem.net
Proxy-Connection: keep-alive
Referer: http://www.vermontopia.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
X-AspNet-Version: 4.0.30319
Set-Cookie: contestid=17178; expires=Tue, 09-Apr-2041 12:31:12 GMT; path=/
Set-Cookie: UPETemporaryShoppingCartID17178=688560985-4/9/2011 8:31:12 AM; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/
Set-Cookie: 293976; expires=Tue, 09-Apr-2041 12:31:12 GMT; path=/
X-Powered-By: ASP.NET
P3P: CP="NOI DSP COR NID CUR PSDa OUR STP STA"
Date: Sat, 09 Apr 2011 12:31:12 GMT
Content-Length: 39215

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

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.co
...[SNIP]...
<meta name="ROBOTS" content="index, follow" />

                   <link href="http://vermontopia.com/layout/general_structure.css" rel="stylesheet" type="text/css" media="all" />
           <link href="http://vermontopia.com/layout/general_dynamic.php" rel="stylesheet" type="text/css" media="all" />
                   <link href="http://vermontopia.com/custom/content_files/noimage.css" rel="stylesheet" type="text/css" media="all" />
       <script type="text/javascript">
...[SNIP]...
</script>

       <script src="http://vermontopia.com/scripts/lang.js.php" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/common.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/location.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/loadtheme.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/advancedsearch.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/contactclick.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/cookies.js" language="javascript" type="text/javascript"></script>


                               <script src="http://vermontopia.com/scripts/jquery.js" language="javascript" type="text/javascript">$.preloadCssImages();</script>
<script src="http://vermontopia.com/scripts/jquery/jquery.cookie.js" type="text/javascript"></script>
               <script src="http://vermontopia.com/scripts/jquery/jquery.autocomplete.js" type="text/javascript"></script>
       <link href="http://vermontopia.com/scripts/jquery/jquery.autocomplete.css" rel="stylesheet" type="text/css" media="all" />
        <script type="text/javascript" src="http://vermontopia.com/scripts/jquery/jcrop/js/jquery.Jcrop.js"></script>
<link rel="stylesheet" href="http://vermontopia.com/scripts/jquery/jcrop/css/jquery.Jcrop.css" type="text/css" />
               <script src="http://vermontopia.com/scripts/jquery/jquery.thickbox.js" type="text/javascript"></script>
       <link href="http://vermontopia.com/scripts/jquery/thickbox/thickbox.css" rel="stylesheet" type="text/css" media="all" />
               <script type="text/javascript" src="http://vermontopia.com/scripts/jquery/jquery.selectbox.js"></script>
       <script src="http://vermontopia.com/scripts/review.js" language="javascript" type="text/javascript"></script>
        <link type="text/css" href="http://vermontopia.com/scripts/jquery/jquery_ui/css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
<script type="text/javascript" src="http://vermontopia.com/scripts/jquery/jquery_ui/js/jquery-ui-1.7.2.custom.min.js"></script>

       <script language="javascript" type="text/javascript" src="http://vermontopia.com/scripts/checkusername.js"></script>
       <script language="javascript" type="text/javascript" src="http://vermontopia.com/scripts/socialbookmarking.js"></script>
...[SNIP]...
</head>

   <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=true&amp;key=ABQIAAAAC-ql6H5r1qnVMqxBP63Z8hQw1gWJNEO1Cn5TQmwHwmBmp3h6FhQGIzG5Agxz3d54vos97_OkOX6cZA" type="text/javascript"></script>
...[SNIP]...
<li><a href="http://vermontopia.com/profile/login.php?destiny=http://vermontopia.com/profile/&keepThis=true&width=250&height=345&modal=true" class="thickbox">Sign In</a>
...[SNIP]...
<li><a href="http://vermontopia.com/profile/add.php">Add a Profile!</a>
...[SNIP]...
<h1 class="logo"><a href="http://vermontopia.com/index.php" target="_parent" title="vermontopia.com" ><span>
...[SNIP]...
<li id="TM0"><a href="http://vermontopia.com/index.php">Home</a>
...[SNIP]...
<li id="TM1" ><a href="http://vermontopia.com/business/">Businesses</a>
...[SNIP]...
<li id="TM2" ><a href="http://vermontopia.com/event/">Events</a>
...[SNIP]...
<li id="TM3" ><a href="http://vermontopia.com/classified/">Classifieds</a>
...[SNIP]...
<li id="TM4" ><a href="http://vermontopia.com/article/">Articles</a>
...[SNIP]...
<li id="TM5" ><a href="http://vermontopia.com/coupon/">Coupons</a>
...[SNIP]...
<li ><a href="http://vermontopia.com/blog/index.php">Blog</a>
...[SNIP]...
<li id="TM6" ><a href="http://vermontopia.com/advertise.php">Join</a>
...[SNIP]...
<li id="TM7" ><a href="http://vermontopia.com/contactus.php">Contact Us</a>
...[SNIP]...
</div>
<script type="text/javascript" src="https://connect.facebook.net/en_US/all.js"></script>
...[SNIP]...
</script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
...[SNIP]...
</a>
<a href="http://twitter.com/home?status=Blue+Morpho+Technologies+-+One-hour+tech+visit+for+just+%2425+(normally+%2455%3b+one+hour+minimum+required):+http%3a%2f%2fupickem.net%2f536aEQqHYL6%3fr%3d883744" title="Add to Twitter" target="_blank" style="display:inline;background-color:inherit;background-image:url('');"><img src="images/twitternew.png" border="0" style="vertical-align:middle;display:inline;padding:0px;margin:0px;background-color:inherit;background-image:url('');" />
...[SNIP]...
<td align="center" style="text-align: center;">
<img src="http://blackpearl.wcax.com/Jumpon-It/Clients/Logos/bluemorpho-Main.jpg" border="0" class="UPE-DealImageFull" ><div class="UPE-Space3">
...[SNIP]...
<br><a href="http://www.bluemorph.com" target="_blank" class="UPE-Link">www.bluemorph.com</a>
...[SNIP]...
<br><iframe src="http://www.facebook.com/plugins/likebox.php?id=230427970205&amp;width=300&amp;connections=10&amp;stream=true&amp;header=true&amp;height=350" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:350px;" allowTransparency="true"></iframe>
...[SNIP]...
</h1>&nbsp;&nbsp;&nbsp;
Powered by &copy;
<a href="http://www.deadlinedeals.com" class="UPE-CopyrightText" target="DeadlineDeals">Deadline Deals</a>
...[SNIP]...
<li id="FM1_0"><a href="http://vermontopia.com/index.php">Home</a>
...[SNIP]...
<li id="FM1_1"><a href="http://vermontopia.com/advertise.php">Join</a>
...[SNIP]...
<li id="FM1_2"><a href="http://vermontopia.com/faq.php">FAQ</a>
...[SNIP]...
<li id="FM1_3"><a href="http://vermontopia.com/sitemap.php">Sitemap</a>
...[SNIP]...
<li id="FM1_4"><a href="http://vermontopia.com/contactus.php">Contact Us</a>
...[SNIP]...
<li id="FM2_0"><a href="http://vermontopia.com/business/">Businesses</a>
...[SNIP]...
<li id="FM2_1"><a href="http://vermontopia.com/event/">Events</a>
...[SNIP]...
<li id="FM2_2"><a href="http://vermontopia.com/classified/">Classifieds</a>
...[SNIP]...
<li id="FM2_3"><a href="http://vermontopia.com/article/">Articles</a>
...[SNIP]...
<li id="FM2_4"><a href="http://vermontopia.com/coupon/">Coupons</a>
...[SNIP]...
<li><a href="http://vermontopia.com/blog/">Blog</a>
...[SNIP]...

4.2. http://wcax.upickem.net/engine/Splash.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://wcax.upickem.net
Path:   /engine/Splash.aspx

Issue detail

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

Request

GET /engine/Splash.aspx?contestid=17178 HTTP/1.1
Host: wcax.upickem.net
Proxy-Connection: keep-alive
Referer: http://www.vermontopia.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
X-AspNet-Version: 4.0.30319
Set-Cookie: contestid=17178; expires=Tue, 09-Apr-2041 12:31:12 GMT; path=/
Set-Cookie: UPETemporaryShoppingCartID17178=82232438-4/9/2011 8:31:12 AM; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/
Set-Cookie: 293976; expires=Tue, 09-Apr-2041 12:31:12 GMT; path=/
X-Powered-By: ASP.NET
P3P: CP="NOI DSP COR NID CUR PSDa OUR STP STA"
Date: Sat, 09 Apr 2011 12:31:11 GMT
Content-Length: 39215

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

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.co
...[SNIP]...
<meta name="ROBOTS" content="index, follow" />

                   <link href="http://vermontopia.com/layout/general_structure.css" rel="stylesheet" type="text/css" media="all" />
           <link href="http://vermontopia.com/layout/general_dynamic.php" rel="stylesheet" type="text/css" media="all" />
                   <link href="http://vermontopia.com/custom/content_files/noimage.css" rel="stylesheet" type="text/css" media="all" />
       <script type="text/javascript">
...[SNIP]...
</script>

       <script src="http://vermontopia.com/scripts/lang.js.php" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/common.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/location.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/loadtheme.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/advancedsearch.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/contactclick.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/cookies.js" language="javascript" type="text/javascript"></script>


                               <script src="http://vermontopia.com/scripts/jquery.js" language="javascript" type="text/javascript">$.preloadCssImages();</script>
<script src="http://vermontopia.com/scripts/jquery/jquery.cookie.js" type="text/javascript"></script>
               <script src="http://vermontopia.com/scripts/jquery/jquery.autocomplete.js" type="text/javascript"></script>
       <link href="http://vermontopia.com/scripts/jquery/jquery.autocomplete.css" rel="stylesheet" type="text/css" media="all" />
        <script type="text/javascript" src="http://vermontopia.com/scripts/jquery/jcrop/js/jquery.Jcrop.js"></script>
<link rel="stylesheet" href="http://vermontopia.com/scripts/jquery/jcrop/css/jquery.Jcrop.css" type="text/css" />
               <script src="http://vermontopia.com/scripts/jquery/jquery.thickbox.js" type="text/javascript"></script>
       <link href="http://vermontopia.com/scripts/jquery/thickbox/thickbox.css" rel="stylesheet" type="text/css" media="all" />
               <script type="text/javascript" src="http://vermontopia.com/scripts/jquery/jquery.selectbox.js"></script>
       <script src="http://vermontopia.com/scripts/review.js" language="javascript" type="text/javascript"></script>
        <link type="text/css" href="http://vermontopia.com/scripts/jquery/jquery_ui/css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
<script type="text/javascript" src="http://vermontopia.com/scripts/jquery/jquery_ui/js/jquery-ui-1.7.2.custom.min.js"></script>

       <script language="javascript" type="text/javascript" src="http://vermontopia.com/scripts/checkusername.js"></script>
       <script language="javascript" type="text/javascript" src="http://vermontopia.com/scripts/socialbookmarking.js"></script>
...[SNIP]...
</head>

   <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=true&amp;key=ABQIAAAAC-ql6H5r1qnVMqxBP63Z8hQw1gWJNEO1Cn5TQmwHwmBmp3h6FhQGIzG5Agxz3d54vos97_OkOX6cZA" type="text/javascript"></script>
...[SNIP]...
<li><a href="http://vermontopia.com/profile/login.php?destiny=http://vermontopia.com/profile/&keepThis=true&width=250&height=345&modal=true" class="thickbox">Sign In</a>
...[SNIP]...
<li><a href="http://vermontopia.com/profile/add.php">Add a Profile!</a>
...[SNIP]...
<h1 class="logo"><a href="http://vermontopia.com/index.php" target="_parent" title="vermontopia.com" ><span>
...[SNIP]...
<li id="TM0"><a href="http://vermontopia.com/index.php">Home</a>
...[SNIP]...
<li id="TM1" ><a href="http://vermontopia.com/business/">Businesses</a>
...[SNIP]...
<li id="TM2" ><a href="http://vermontopia.com/event/">Events</a>
...[SNIP]...
<li id="TM3" ><a href="http://vermontopia.com/classified/">Classifieds</a>
...[SNIP]...
<li id="TM4" ><a href="http://vermontopia.com/article/">Articles</a>
...[SNIP]...
<li id="TM5" ><a href="http://vermontopia.com/coupon/">Coupons</a>
...[SNIP]...
<li ><a href="http://vermontopia.com/blog/index.php">Blog</a>
...[SNIP]...
<li id="TM6" ><a href="http://vermontopia.com/advertise.php">Join</a>
...[SNIP]...
<li id="TM7" ><a href="http://vermontopia.com/contactus.php">Contact Us</a>
...[SNIP]...
</div>
<script type="text/javascript" src="https://connect.facebook.net/en_US/all.js"></script>
...[SNIP]...
</script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
...[SNIP]...
</a>
<a href="http://twitter.com/home?status=Blue+Morpho+Technologies+-+One-hour+tech+visit+for+just+%2425+(normally+%2455%3b+one+hour+minimum+required):+http%3a%2f%2fupickem.net%2f536aEQqHYL6%3fr%3d277417" title="Add to Twitter" target="_blank" style="display:inline;background-color:inherit;background-image:url('');"><img src="images/twitternew.png" border="0" style="vertical-align:middle;display:inline;padding:0px;margin:0px;background-color:inherit;background-image:url('');" />
...[SNIP]...
<td align="center" style="text-align: center;">
<img src="http://blackpearl.wcax.com/Jumpon-It/Clients/Logos/bluemorpho-Main.jpg" border="0" class="UPE-DealImageFull" ><div class="UPE-Space3">
...[SNIP]...
<br><a href="http://www.bluemorph.com" target="_blank" class="UPE-Link">www.bluemorph.com</a>
...[SNIP]...
<br><iframe src="http://www.facebook.com/plugins/likebox.php?id=230427970205&amp;width=300&amp;connections=10&amp;stream=true&amp;header=true&amp;height=350" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:350px;" allowTransparency="true"></iframe>
...[SNIP]...
</h1>&nbsp;&nbsp;&nbsp;
Powered by &copy;
<a href="http://www.deadlinedeals.com" class="UPE-CopyrightText" target="DeadlineDeals">Deadline Deals</a>
...[SNIP]...
<li id="FM1_0"><a href="http://vermontopia.com/index.php">Home</a>
...[SNIP]...
<li id="FM1_1"><a href="http://vermontopia.com/advertise.php">Join</a>
...[SNIP]...
<li id="FM1_2"><a href="http://vermontopia.com/faq.php">FAQ</a>
...[SNIP]...
<li id="FM1_3"><a href="http://vermontopia.com/sitemap.php">Sitemap</a>
...[SNIP]...
<li id="FM1_4"><a href="http://vermontopia.com/contactus.php">Contact Us</a>
...[SNIP]...
<li id="FM2_0"><a href="http://vermontopia.com/business/">Businesses</a>
...[SNIP]...
<li id="FM2_1"><a href="http://vermontopia.com/event/">Events</a>
...[SNIP]...
<li id="FM2_2"><a href="http://vermontopia.com/classified/">Classifieds</a>
...[SNIP]...
<li id="FM2_3"><a href="http://vermontopia.com/article/">Articles</a>
...[SNIP]...
<li id="FM2_4"><a href="http://vermontopia.com/coupon/">Coupons</a>
...[SNIP]...
<li><a href="http://vermontopia.com/blog/">Blog</a>
...[SNIP]...

4.3. http://wcax.upickem.net/engine/Splash.aspx  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://wcax.upickem.net
Path:   /engine/Splash.aspx

Issue detail

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

Request

GET /engine/Splash.aspx?contestid=17178 HTTP/1.1
Host: wcax.upickem.net
Proxy-Connection: keep-alive
Referer: http://www.vermontopia.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
X-AspNet-Version: 4.0.30319
Set-Cookie: contestid=17178; expires=Tue, 09-Apr-2041 12:31:11 GMT; path=/
Set-Cookie: UPETemporaryShoppingCartID17178=36497604-4/9/2011 8:31:11 AM; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/
Set-Cookie: 293976; expires=Tue, 09-Apr-2041 12:31:11 GMT; path=/
X-Powered-By: ASP.NET
P3P: CP="NOI DSP COR NID CUR PSDa OUR STP STA"
Date: Sat, 09 Apr 2011 12:31:11 GMT
Content-Length: 39215

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

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.co
...[SNIP]...
<meta name="ROBOTS" content="index, follow" />

                   <link href="http://vermontopia.com/layout/general_structure.css" rel="stylesheet" type="text/css" media="all" />
           <link href="http://vermontopia.com/layout/general_dynamic.php" rel="stylesheet" type="text/css" media="all" />
                   <link href="http://vermontopia.com/custom/content_files/noimage.css" rel="stylesheet" type="text/css" media="all" />
       <script type="text/javascript">
...[SNIP]...
</script>

       <script src="http://vermontopia.com/scripts/lang.js.php" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/common.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/location.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/loadtheme.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/advancedsearch.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/contactclick.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/cookies.js" language="javascript" type="text/javascript"></script>


                               <script src="http://vermontopia.com/scripts/jquery.js" language="javascript" type="text/javascript">$.preloadCssImages();</script>
<script src="http://vermontopia.com/scripts/jquery/jquery.cookie.js" type="text/javascript"></script>
               <script src="http://vermontopia.com/scripts/jquery/jquery.autocomplete.js" type="text/javascript"></script>
       <link href="http://vermontopia.com/scripts/jquery/jquery.autocomplete.css" rel="stylesheet" type="text/css" media="all" />
        <script type="text/javascript" src="http://vermontopia.com/scripts/jquery/jcrop/js/jquery.Jcrop.js"></script>
<link rel="stylesheet" href="http://vermontopia.com/scripts/jquery/jcrop/css/jquery.Jcrop.css" type="text/css" />
               <script src="http://vermontopia.com/scripts/jquery/jquery.thickbox.js" type="text/javascript"></script>
       <link href="http://vermontopia.com/scripts/jquery/thickbox/thickbox.css" rel="stylesheet" type="text/css" media="all" />
               <script type="text/javascript" src="http://vermontopia.com/scripts/jquery/jquery.selectbox.js"></script>
       <script src="http://vermontopia.com/scripts/review.js" language="javascript" type="text/javascript"></script>
        <link type="text/css" href="http://vermontopia.com/scripts/jquery/jquery_ui/css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
<script type="text/javascript" src="http://vermontopia.com/scripts/jquery/jquery_ui/js/jquery-ui-1.7.2.custom.min.js"></script>

       <script language="javascript" type="text/javascript" src="http://vermontopia.com/scripts/checkusername.js"></script>
       <script language="javascript" type="text/javascript" src="http://vermontopia.com/scripts/socialbookmarking.js"></script>
...[SNIP]...
</head>

   <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=true&amp;key=ABQIAAAAC-ql6H5r1qnVMqxBP63Z8hQw1gWJNEO1Cn5TQmwHwmBmp3h6FhQGIzG5Agxz3d54vos97_OkOX6cZA" type="text/javascript"></script>
...[SNIP]...
<li><a href="http://vermontopia.com/profile/login.php?destiny=http://vermontopia.com/profile/&keepThis=true&width=250&height=345&modal=true" class="thickbox">Sign In</a>
...[SNIP]...
<li><a href="http://vermontopia.com/profile/add.php">Add a Profile!</a>
...[SNIP]...
<h1 class="logo"><a href="http://vermontopia.com/index.php" target="_parent" title="vermontopia.com" ><span>
...[SNIP]...
<li id="TM0"><a href="http://vermontopia.com/index.php">Home</a>
...[SNIP]...
<li id="TM1" ><a href="http://vermontopia.com/business/">Businesses</a>
...[SNIP]...
<li id="TM2" ><a href="http://vermontopia.com/event/">Events</a>
...[SNIP]...
<li id="TM3" ><a href="http://vermontopia.com/classified/">Classifieds</a>
...[SNIP]...
<li id="TM4" ><a href="http://vermontopia.com/article/">Articles</a>
...[SNIP]...
<li id="TM5" ><a href="http://vermontopia.com/coupon/">Coupons</a>
...[SNIP]...
<li ><a href="http://vermontopia.com/blog/index.php">Blog</a>
...[SNIP]...
<li id="TM6" ><a href="http://vermontopia.com/advertise.php">Join</a>
...[SNIP]...
<li id="TM7" ><a href="http://vermontopia.com/contactus.php">Contact Us</a>
...[SNIP]...
</div>
<script type="text/javascript" src="https://connect.facebook.net/en_US/all.js"></script>
...[SNIP]...
</script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
...[SNIP]...
</a>
<a href="http://twitter.com/home?status=Blue+Morpho+Technologies+-+One-hour+tech+visit+for+just+%2425+(normally+%2455%3b+one+hour+minimum+required):+http%3a%2f%2fupickem.net%2f536aEQqHYL6%3fr%3d231682" title="Add to Twitter" target="_blank" style="display:inline;background-color:inherit;background-image:url('');"><img src="images/twitternew.png" border="0" style="vertical-align:middle;display:inline;padding:0px;margin:0px;background-color:inherit;background-image:url('');" />
...[SNIP]...
<td align="center" style="text-align: center;">
<img src="http://blackpearl.wcax.com/Jumpon-It/Clients/Logos/bluemorpho-Main.jpg" border="0" class="UPE-DealImageFull" ><div class="UPE-Space3">
...[SNIP]...
<br><a href="http://www.bluemorph.com" target="_blank" class="UPE-Link">www.bluemorph.com</a>
...[SNIP]...
<br><iframe src="http://www.facebook.com/plugins/likebox.php?id=230427970205&amp;width=300&amp;connections=10&amp;stream=true&amp;header=true&amp;height=350" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:350px;" allowTransparency="true"></iframe>
...[SNIP]...
</h1>&nbsp;&nbsp;&nbsp;
Powered by &copy;
<a href="http://www.deadlinedeals.com" class="UPE-CopyrightText" target="DeadlineDeals">Deadline Deals</a>
...[SNIP]...
<li id="FM1_0"><a href="http://vermontopia.com/index.php">Home</a>
...[SNIP]...
<li id="FM1_1"><a href="http://vermontopia.com/advertise.php">Join</a>
...[SNIP]...
<li id="FM1_2"><a href="http://vermontopia.com/faq.php">FAQ</a>
...[SNIP]...
<li id="FM1_3"><a href="http://vermontopia.com/sitemap.php">Sitemap</a>
...[SNIP]...
<li id="FM1_4"><a href="http://vermontopia.com/contactus.php">Contact Us</a>
...[SNIP]...
<li id="FM2_0"><a href="http://vermontopia.com/business/">Businesses</a>
...[SNIP]...
<li id="FM2_1"><a href="http://vermontopia.com/event/">Events</a>
...[SNIP]...
<li id="FM2_2"><a href="http://vermontopia.com/classified/">Classifieds</a>
...[SNIP]...
<li id="FM2_3"><a href="http://vermontopia.com/article/">Articles</a>
...[SNIP]...
<li id="FM2_4"><a href="http://vermontopia.com/coupon/">Coupons</a>
...[SNIP]...
<li><a href="http://vermontopia.com/blog/">Blog</a>
...[SNIP]...

5. Cross-domain script include  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://wcax.upickem.net
Path:   /engine/Splash.aspx

Issue detail

The response dynamically includes the following scripts from other domains:

Issue background

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

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

Issue remediation

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

Request

GET /engine/Splash.aspx?contestid=17178 HTTP/1.1
Host: wcax.upickem.net
Proxy-Connection: keep-alive
Referer: http://www.vermontopia.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
X-AspNet-Version: 4.0.30319
Set-Cookie: contestid=17178; expires=Tue, 09-Apr-2041 12:31:11 GMT; path=/
Set-Cookie: UPETemporaryShoppingCartID17178=36497604-4/9/2011 8:31:11 AM; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/
Set-Cookie: 293976; expires=Tue, 09-Apr-2041 12:31:11 GMT; path=/
X-Powered-By: ASP.NET
P3P: CP="NOI DSP COR NID CUR PSDa OUR STP STA"
Date: Sat, 09 Apr 2011 12:31:11 GMT
Content-Length: 39215

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

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.co
...[SNIP]...
</script>

       <script src="http://vermontopia.com/scripts/lang.js.php" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/common.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/location.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/loadtheme.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/advancedsearch.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/contactclick.js" language="javascript" type="text/javascript"></script>
       <script src="http://vermontopia.com/scripts/cookies.js" language="javascript" type="text/javascript"></script>


                               <script src="http://vermontopia.com/scripts/jquery.js" language="javascript" type="text/javascript">$.preloadCssImages();</script>
<script src="http://vermontopia.com/scripts/jquery/jquery.cookie.js" type="text/javascript"></script>
               <script src="http://vermontopia.com/scripts/jquery/jquery.autocomplete.js" type="text/javascript"></script>
       <link href="http://vermontopia.com/scripts/jquery/jquery.autocomplete.css" rel="stylesheet" type="text/css" media="all" />
        <script type="text/javascript" src="http://vermontopia.com/scripts/jquery/jcrop/js/jquery.Jcrop.js"></script>
<link rel="stylesheet" href="http://vermontopia.com/scripts/jquery/jcrop/css/jquery.Jcrop.css" type="text/css" />
               <script src="http://vermontopia.com/scripts/jquery/jquery.thickbox.js" type="text/javascript"></script>
       <link href="http://vermontopia.com/scripts/jquery/thickbox/thickbox.css" rel="stylesheet" type="text/css" media="all" />
               <script type="text/javascript" src="http://vermontopia.com/scripts/jquery/jquery.selectbox.js"></script>
       <script src="http://vermontopia.com/scripts/review.js" language="javascript" type="text/javascript"></script>
...[SNIP]...
<link type="text/css" href="http://vermontopia.com/scripts/jquery/jquery_ui/css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
<script type="text/javascript" src="http://vermontopia.com/scripts/jquery/jquery_ui/js/jquery-ui-1.7.2.custom.min.js"></script>

       <script language="javascript" type="text/javascript" src="http://vermontopia.com/scripts/checkusername.js"></script>
       <script language="javascript" type="text/javascript" src="http://vermontopia.com/scripts/socialbookmarking.js"></script>
...[SNIP]...
</head>

   <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=true&amp;key=ABQIAAAAC-ql6H5r1qnVMqxBP63Z8hQw1gWJNEO1Cn5TQmwHwmBmp3h6FhQGIzG5Agxz3d54vos97_OkOX6cZA" type="text/javascript"></script>
...[SNIP]...
</div>
<script type="text/javascript" src="https://connect.facebook.net/en_US/all.js"></script>
...[SNIP]...
</script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
...[SNIP]...

6. Cookie without HttpOnly flag set  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://wcax.upickem.net
Path:   /engine/Splash.aspx

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.

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.

Request

GET /engine/Splash.aspx?contestid=17178 HTTP/1.1
Host: wcax.upickem.net
Proxy-Connection: keep-alive
Referer: http://www.vermontopia.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
X-AspNet-Version: 4.0.30319
Set-Cookie: contestid=17178; expires=Tue, 09-Apr-2041 12:31:11 GMT; path=/
Set-Cookie: UPETemporaryShoppingCartID17178=36497604-4/9/2011 8:31:11 AM; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/
Set-Cookie: 293976; expires=Tue, 09-Apr-2041 12:31:11 GMT; path=/
X-Powered-By: ASP.NET
P3P: CP="NOI DSP COR NID CUR PSDa OUR STP STA"
Date: Sat, 09 Apr 2011 12:31:11 GMT
Content-Length: 39215

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

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.co
...[SNIP]...

Report generated by XSS.CX at Tue Apr 12 10:36:21 CDT 2011.