XSS, www.oldcolonthabitat.org, 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 Sun Mar 13 07:10:09 CDT 2011.


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

Loading

1. Cross-site scripting (reflected)

2. Cross-domain POST

2.1. http://www.oldcolonyhabitat.org/

2.2. http://www.oldcolonyhabitat.org/contact-us.html

2.3. http://www.oldcolonyhabitat.org/donations.html

2.4. http://www.oldcolonyhabitat.org/donations/faithandcommunity.html

2.5. http://www.oldcolonyhabitat.org/news-events/calendar-of-events/icalrepeat.detail/2011/04/05/80/-/ZmVmYWY5ZDRkMmJhMTkwZGMzN2I3MTFlMzNiMzMzMWE=/building-committee-meeting.html

3. Cookie without HttpOnly flag set

4. Email addresses disclosed

4.1. http://www.oldcolonyhabitat.org/

4.2. http://www.oldcolonyhabitat.org/contact-us.html

4.3. http://www.oldcolonyhabitat.org/donations.html

4.4. http://www.oldcolonyhabitat.org/donations/faithandcommunity.html

4.5. http://www.oldcolonyhabitat.org/news-events/calendar-of-events/icalrepeat.detail/2011/04/05/80/-/ZmVmYWY5ZDRkMmJhMTkwZGMzN2I3MTFlMzNiMzMzMWE=/building-committee-meeting.html

5. HTML does not specify charset

5.1. http://www.oldcolonyhabitat.org/favicon.ico

5.2. http://www.oldcolonyhabitat.org/templates/ochfh/images/rssicon.png



1. Cross-site scripting (reflected)  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.oldcolonyhabitat.org
Path:   /contact-us.html

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 52364%2522%253e%253cscript%253ealert%25281%2529%253c%252fscript%253e7b9fcaa5faa was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as 52364\\\"><script>alert(1)</script>7b9fcaa5faa in the application's response.

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

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.

Remediation detail

There is probably no need to perform a second URL-decode of the name of an arbitrarily supplied request parameter as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.

Issue background

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

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

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

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

Remediation background

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

Request

GET /contact-us.html?52364%2522%253e%253cscript%253ealert%25281%2529%253c%252fscript%253e7b9fcaa5faa=1 HTTP/1.1
Host: www.oldcolonyhabitat.org
Proxy-Connection: keep-alive
Referer: http://www.oldcolonyhabitat.org/donations/faithandcommunity.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 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: 53f94ae28286625d467fde6c991deb78=qcn5rr8rhikkgknpr0mt55emu1

Response

HTTP/1.1 200 OK
Date: Sat, 12 Mar 2011 22:55:01 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Mon, 1 Jan 2001 00:00:00 GMT
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Pragma: no-cache
Last-Modified: Sat, 12 Mar 2011 22:55:02 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 20648

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
<he
...[SNIP]...
<link href="/contact-us.feed?52364\\\"><script>alert(1)</script>7b9fcaa5faa=1&amp;type=rss" rel="alternate" type="application/rss+xml" title="RSS 2.0" />
...[SNIP]...

2. Cross-domain POST  previous  next
There are 5 instances of this issue:

Issue background

The POSTing of data between domains does not necessarily constitute a security vulnerability. You should review the contents of the information that is being transmitted between domains, and determine whether the originating application should be trusting the receiving domain with this information.


2.1. http://www.oldcolonyhabitat.org/  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.oldcolonyhabitat.org
Path:   /

Issue detail

The page contains a form which POSTs data to the domain visitor.constantcontact.com. The form contains the following fields:

Request

GET / HTTP/1.1
Host: www.oldcolonyhabitat.org
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.133 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: Sat, 12 Mar 2011 22:52:50 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Mon, 1 Jan 2001 00:00:00 GMT
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Pragma: no-cache
Set-Cookie: 53f94ae28286625d467fde6c991deb78=a0ng25n5ue5lif7jfqmn9roro2; path=/
Last-Modified: Sat, 12 Mar 2011 22:52:51 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 18959

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
<he
...[SNIP]...
<div align="center"><form name="ccoptin" action="http://visitor.constantcontact.com/d.jsp" target="_blank" method="post" style="margin-bottom:3;"> <span style="font-weight: bold; font-size: 18px;">
...[SNIP]...

2.2. http://www.oldcolonyhabitat.org/contact-us.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.oldcolonyhabitat.org
Path:   /contact-us.html

Issue detail

The page contains a form which POSTs data to the domain visitor.constantcontact.com. The form contains the following fields:

Request

GET /contact-us.html HTTP/1.1
Host: www.oldcolonyhabitat.org
Proxy-Connection: keep-alive
Referer: http://www.oldcolonyhabitat.org/donations/faithandcommunity.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 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: 53f94ae28286625d467fde6c991deb78=qcn5rr8rhikkgknpr0mt55emu1

Response

HTTP/1.1 200 OK
Date: Sat, 12 Mar 2011 22:54:37 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Mon, 1 Jan 2001 00:00:00 GMT
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Pragma: no-cache
Last-Modified: Sat, 12 Mar 2011 22:54:38 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 20598

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
<he
...[SNIP]...
<div align="center"><form name="ccoptin" action="http://visitor.constantcontact.com/d.jsp" target="_blank" method="post" style="margin-bottom:3;"> <span style="font-weight: bold; font-size: 18px;">
...[SNIP]...

2.3. http://www.oldcolonyhabitat.org/donations.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.oldcolonyhabitat.org
Path:   /donations.html

Issue detail

The page contains a form which POSTs data to the domain visitor.constantcontact.com. The form contains the following fields:

Request

GET /donations.html HTTP/1.1
Host: www.oldcolonyhabitat.org
Proxy-Connection: keep-alive
Referer: http://www.oldcolonyhabitat.org/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 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: 53f94ae28286625d467fde6c991deb78=qcn5rr8rhikkgknpr0mt55emu1

Response

HTTP/1.1 200 OK
Date: Sat, 12 Mar 2011 22:54:32 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Mon, 1 Jan 2001 00:00:00 GMT
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Pragma: no-cache
Last-Modified: Sat, 12 Mar 2011 22:54:33 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 19581

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
<he
...[SNIP]...
<div align="center"><form name="ccoptin" action="http://visitor.constantcontact.com/d.jsp" target="_blank" method="post" style="margin-bottom:3;"> <span style="font-weight: bold; font-size: 18px;">
...[SNIP]...

2.4. http://www.oldcolonyhabitat.org/donations/faithandcommunity.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.oldcolonyhabitat.org
Path:   /donations/faithandcommunity.html

Issue detail

The page contains a form which POSTs data to the domain visitor.constantcontact.com. The form contains the following fields:

Request

GET /donations/faithandcommunity.html HTTP/1.1
Host: www.oldcolonyhabitat.org
Proxy-Connection: keep-alive
Referer: http://www.oldcolonyhabitat.org/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 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: 53f94ae28286625d467fde6c991deb78=qcn5rr8rhikkgknpr0mt55emu1

Response

HTTP/1.1 200 OK
Date: Sat, 12 Mar 2011 22:54:33 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Mon, 1 Jan 2001 00:00:00 GMT
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Pragma: no-cache
Last-Modified: Sat, 12 Mar 2011 22:54:34 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 19176

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
<he
...[SNIP]...
<div align="center"><form name="ccoptin" action="http://visitor.constantcontact.com/d.jsp" target="_blank" method="post" style="margin-bottom:3;"> <span style="font-weight: bold; font-size: 18px;">
...[SNIP]...

2.5. http://www.oldcolonyhabitat.org/news-events/calendar-of-events/icalrepeat.detail/2011/04/05/80/-/ZmVmYWY5ZDRkMmJhMTkwZGMzN2I3MTFlMzNiMzMzMWE=/building-committee-meeting.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.oldcolonyhabitat.org
Path:   /news-events/calendar-of-events/icalrepeat.detail/2011/04/05/80/-/ZmVmYWY5ZDRkMmJhMTkwZGMzN2I3MTFlMzNiMzMzMWE=/building-committee-meeting.html

Issue detail

The page contains a form which POSTs data to the domain visitor.constantcontact.com. The form contains the following fields:

Request

GET /news-events/calendar-of-events/icalrepeat.detail/2011/04/05/80/-/ZmVmYWY5ZDRkMmJhMTkwZGMzN2I3MTFlMzNiMzMzMWE=/building-committee-meeting.html HTTP/1.1
Host: www.oldcolonyhabitat.org
Proxy-Connection: keep-alive
Referer: http://www.oldcolonyhabitat.org/contact-us.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 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: 53f94ae28286625d467fde6c991deb78=qcn5rr8rhikkgknpr0mt55emu1

Response

HTTP/1.1 200 OK
Date: Sat, 12 Mar 2011 22:54:39 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Mon, 1 Jan 2001 00:00:00 GMT
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Pragma: no-cache
Last-Modified: Sat, 12 Mar 2011 22:54:40 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 26722

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
<he
...[SNIP]...
<div align="center"><form name="ccoptin" action="http://visitor.constantcontact.com/d.jsp" target="_blank" method="post" style="margin-bottom:3;"> <span style="font-weight: bold; font-size: 18px;">
...[SNIP]...

3. Cookie without HttpOnly flag set  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.oldcolonyhabitat.org
Path:   /

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.

Issue background

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

Issue remediation

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

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

Request

GET / HTTP/1.1
Host: www.oldcolonyhabitat.org
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.133 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: Sat, 12 Mar 2011 22:52:50 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Mon, 1 Jan 2001 00:00:00 GMT
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Pragma: no-cache
Set-Cookie: 53f94ae28286625d467fde6c991deb78=a0ng25n5ue5lif7jfqmn9roro2; path=/
Last-Modified: Sat, 12 Mar 2011 22:52:51 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 18959

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
<he
...[SNIP]...

4. Email addresses disclosed  previous  next
There are 5 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).


4.1. http://www.oldcolonyhabitat.org/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.oldcolonyhabitat.org
Path:   /

Issue detail

The following email address was disclosed in the response:

Request

GET / HTTP/1.1
Host: www.oldcolonyhabitat.org
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.133 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: Sat, 12 Mar 2011 22:52:50 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Mon, 1 Jan 2001 00:00:00 GMT
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Pragma: no-cache
Set-Cookie: 53f94ae28286625d467fde6c991deb78=a0ng25n5ue5lif7jfqmn9roro2; path=/
Last-Modified: Sat, 12 Mar 2011 22:52:51 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 18959

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
<he
...[SNIP]...
<a href="mailto:info@oldcolonyhabitat.org">     info@oldcolonyhabitat.org</a>
...[SNIP]...

4.2. http://www.oldcolonyhabitat.org/contact-us.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.oldcolonyhabitat.org
Path:   /contact-us.html

Issue detail

The following email address was disclosed in the response:

Request

GET /contact-us.html HTTP/1.1
Host: www.oldcolonyhabitat.org
Proxy-Connection: keep-alive
Referer: http://www.oldcolonyhabitat.org/donations/faithandcommunity.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 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: 53f94ae28286625d467fde6c991deb78=qcn5rr8rhikkgknpr0mt55emu1

Response

HTTP/1.1 200 OK
Date: Sat, 12 Mar 2011 22:54:37 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Mon, 1 Jan 2001 00:00:00 GMT
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Pragma: no-cache
Last-Modified: Sat, 12 Mar 2011 22:54:38 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 20598

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
<he
...[SNIP]...
<a href="mailto:info@oldcolonyhabitat.org">     info@oldcolonyhabitat.org</a>
...[SNIP]...

4.3. http://www.oldcolonyhabitat.org/donations.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.oldcolonyhabitat.org
Path:   /donations.html

Issue detail

The following email address was disclosed in the response:

Request

GET /donations.html HTTP/1.1
Host: www.oldcolonyhabitat.org
Proxy-Connection: keep-alive
Referer: http://www.oldcolonyhabitat.org/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 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: 53f94ae28286625d467fde6c991deb78=qcn5rr8rhikkgknpr0mt55emu1

Response

HTTP/1.1 200 OK
Date: Sat, 12 Mar 2011 22:54:32 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Mon, 1 Jan 2001 00:00:00 GMT
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Pragma: no-cache
Last-Modified: Sat, 12 Mar 2011 22:54:33 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 19581

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
<he
...[SNIP]...
<a href="mailto:info@oldcolonyhabitat.org">     info@oldcolonyhabitat.org</a>
...[SNIP]...

4.4. http://www.oldcolonyhabitat.org/donations/faithandcommunity.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.oldcolonyhabitat.org
Path:   /donations/faithandcommunity.html

Issue detail

The following email address was disclosed in the response:

Request

GET /donations/faithandcommunity.html HTTP/1.1
Host: www.oldcolonyhabitat.org
Proxy-Connection: keep-alive
Referer: http://www.oldcolonyhabitat.org/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 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: 53f94ae28286625d467fde6c991deb78=qcn5rr8rhikkgknpr0mt55emu1

Response

HTTP/1.1 200 OK
Date: Sat, 12 Mar 2011 22:54:33 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Mon, 1 Jan 2001 00:00:00 GMT
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Pragma: no-cache
Last-Modified: Sat, 12 Mar 2011 22:54:34 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 19176

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
<he
...[SNIP]...
<a href="mailto:info@oldcolonyhabitat.org">     info@oldcolonyhabitat.org</a>
...[SNIP]...

4.5. http://www.oldcolonyhabitat.org/news-events/calendar-of-events/icalrepeat.detail/2011/04/05/80/-/ZmVmYWY5ZDRkMmJhMTkwZGMzN2I3MTFlMzNiMzMzMWE=/building-committee-meeting.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.oldcolonyhabitat.org
Path:   /news-events/calendar-of-events/icalrepeat.detail/2011/04/05/80/-/ZmVmYWY5ZDRkMmJhMTkwZGMzN2I3MTFlMzNiMzMzMWE=/building-committee-meeting.html

Issue detail

The following email address was disclosed in the response:

Request

GET /news-events/calendar-of-events/icalrepeat.detail/2011/04/05/80/-/ZmVmYWY5ZDRkMmJhMTkwZGMzN2I3MTFlMzNiMzMzMWE=/building-committee-meeting.html HTTP/1.1
Host: www.oldcolonyhabitat.org
Proxy-Connection: keep-alive
Referer: http://www.oldcolonyhabitat.org/contact-us.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 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: 53f94ae28286625d467fde6c991deb78=qcn5rr8rhikkgknpr0mt55emu1

Response

HTTP/1.1 200 OK
Date: Sat, 12 Mar 2011 22:54:39 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Mon, 1 Jan 2001 00:00:00 GMT
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Pragma: no-cache
Last-Modified: Sat, 12 Mar 2011 22:54:40 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 26722

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
<he
...[SNIP]...
<a href="mailto:info@oldcolonyhabitat.org">     info@oldcolonyhabitat.org</a>
...[SNIP]...

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


5.1. http://www.oldcolonyhabitat.org/favicon.ico  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.oldcolonyhabitat.org
Path:   /favicon.ico

Request

GET /favicon.ico HTTP/1.1
Host: www.oldcolonyhabitat.org
Proxy-Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 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: 53f94ae28286625d467fde6c991deb78=qcn5rr8rhikkgknpr0mt55emu1

Response

HTTP/1.1 404 Not Found
Date: Sat, 12 Mar 2011 22:52:55 GMT
Server: Apache
Content-Type: text/html
Content-Length: 1683

<HTML>
   <HEAD><TITLE>Page Not Found</TITLE></HEAD>

   <BODY BGCOLOR="#FFFFFF" LINK="maroon" VLINK="maroon"
ALINK="maroon">
   <CENTER>
   <TABLE WIDTH="85%" BORDER="1" BORDERCOLOR="#000000"
CELLSPACING="
...[SNIP]...

5.2. http://www.oldcolonyhabitat.org/templates/ochfh/images/rssicon.png  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.oldcolonyhabitat.org
Path:   /templates/ochfh/images/rssicon.png

Request

GET /templates/ochfh/images/rssicon.png HTTP/1.1
Host: www.oldcolonyhabitat.org
Proxy-Connection: keep-alive
Referer: http://www.oldcolonyhabitat.org/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: 53f94ae28286625d467fde6c991deb78=qcn5rr8rhikkgknpr0mt55emu1

Response

HTTP/1.1 404 Not Found
Date: Sat, 12 Mar 2011 22:52:52 GMT
Server: Apache
Content-Type: text/html
Content-Length: 1683

<HTML>
   <HEAD><TITLE>Page Not Found</TITLE></HEAD>

   <BODY BGCOLOR="#FFFFFF" LINK="maroon" VLINK="maroon"
ALINK="maroon">
   <CENTER>
   <TABLE WIDTH="85%" BORDER="1" BORDERCOLOR="#000000"
CELLSPACING="
...[SNIP]...

Report generated by XSS.CX at Sun Mar 13 07:10:09 CDT 2011.