XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, genuinewin7.com

Report generated by XSS.CX at Wed Sep 21 15:48:00 CDT 2011.


Loading

1. Cross-site scripting (reflected)

2. Cross-domain Referer leakage

2.1. http://www.genuinewin7.com/about-win7.aspx

2.2. http://www.genuinewin7.com/genuine-sharing.aspx

2.3. http://www.genuinewin7.com/purchase.aspx

2.4. http://www.genuinewin7.com/safety.aspx

3. Cross-domain script include

4. HTML uses unrecognised charset

4.1. http://www.genuinewin7.com/favicon.ico

4.2. http://www.genuinewin7.com/js/png.js

5. Content type incorrectly stated

5.1. http://www.genuinewin7.com/css/default_2011.css

5.2. http://www.genuinewin7.com/js/ExternalJS-default.js

5.3. http://www.genuinewin7.com/js/pop.js

5.4. http://www.genuinewin7.com/js/share.js

5.5. http://www.genuinewin7.com/js/why-win7.js



1. Cross-site scripting (reflected)  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.genuinewin7.com
Path:   /purchase.aspx

Issue detail

The value of the WT.page_from request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 9409c"style%3d"x%3aexpr/**/ession(alert(1))"06a2a2565ec was submitted in the WT.page_from parameter. This input was echoed as 9409c"style="x:expr/**/ession(alert(1))"06a2a2565ec 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 a dynamically evaluated expression with a style attribute to introduce arbitrary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

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.

Request

GET /purchase.aspx?WT.page_from=safety9409c"style%3d"x%3aexpr/**/ession(alert(1))"06a2a2565ec HTTP/1.1
Host: www.genuinewin7.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.genuinewin7.com/safety.aspx?WT.page_from=nav
Cookie: uid=56999891_1316636622599; ctpath=; referrer=http%3A%2F%2Fwww.fakereferrerdominator.com%2FreferrerPathName%3FRefParName%3DRefValue; campaignid=369; WT_FPC=id=27aab3ee2244904c44a1316683422666:lv=1316684122097:ss=1316683422666; WT_NVR=0=/

Response

HTTP/1.1 200 OK
Date: Wed, 21 Sep 2011 15:36:07 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
P3P: CP=CAO PSA OUR
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 23580


<!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]...
<a href="dell.aspx?WT.page_from=purchase&WT.page_from_pre=safety9409c"style="x:expr/**/ession(alert(1))"06a2a2565ec" onclick="var i=new Image(1,1);i.src='http://e.miaozhen.com/r.gif?'+Math.random()+'^k=2039^p=DNR0'; ii=new Image(1,1);ii.src='http://e.miaozhen.com/e.gif?'+Math.random()+'^n=3961^ae=1142';ClickEvent('
...[SNIP]...

2. Cross-domain Referer leakage  previous  next
There are 4 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.


2.1. http://www.genuinewin7.com/about-win7.aspx  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.genuinewin7.com
Path:   /about-win7.aspx

Issue detail

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

Request

GET /about-win7.aspx?WT.page_from=nav HTTP/1.1
Host: www.genuinewin7.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.genuinewin7.com/purchase.aspx?WT.page_from=safety
Cookie: uid=56999891_1316636622599; ctpath=; referrer=http%3A%2F%2Fwww.fakereferrerdominator.com%2FreferrerPathName%3FRefParName%3DRefValue; campaignid=369; WT_FPC=id=27aab3ee2244904c44a1316683422666:lv=1316684126733:ss=1316683422666; WT_NVR=0=/

Response

HTTP/1.1 200 OK
Date: Wed, 21 Sep 2011 15:35:35 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
P3P: CP=CAO PSA OUR
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 24474


<!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]...
<div id="mslogo_top">
<a href="http://windows.microsoft.com/zh-CN/windows7/products/home" target="_bank"><img src="images/index_logo.png" width="96" height="53" class="fixpng"/>
...[SNIP]...
</a> | <a href="http://windows.microsoft.com/zh-CN/windows7/help/upgrade-center" target="_blank">............</a>
...[SNIP]...
</a> | <a href="http://www.microsoft.com/click/services/Redirect2.ashx?CR_CC=200019532&CR_EAC=300009712" target="_blank">...... Windows ...............</a>
...[SNIP]...
<div id="mshelp"><a href="http://support.microsoft.com/ph/14019/zh-cn#tab0" target="_blank">..................</a>
...[SNIP]...
<div id="footer_nav">
&copy; 2011 Microsoft <a href="http://www.microsoft.com/About/Legal/EN/US/IntellectualProperty/Copyright/default.aspx"target="_blank">............</a> |
<a href="http://windows.microsoft.com/zh-CN/windows7/disclaimer"target="_blank">Windows 7 ............</a> | <a href="http://www.microsoft.com/library/toolbar/3.0/trademarks/zh-cn.mspx"target="_blank">......</a> | <a href="http://privacy.microsoft.com/zh-cn/default.aspx"target="_blank">............</a>
...[SNIP]...

2.2. http://www.genuinewin7.com/genuine-sharing.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.genuinewin7.com
Path:   /genuine-sharing.aspx

Issue detail

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

Request

GET /genuine-sharing.aspx?WT.page_from=about-win7 HTTP/1.1
Host: www.genuinewin7.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.genuinewin7.com/purchase.aspx?WT.page_from=safety
Cookie: uid=56999891_1316636622599; ctpath=; referrer=http%3A%2F%2Fwww.fakereferrerdominator.com%2FreferrerPathName%3FRefParName%3DRefValue; campaignid=369; WT_FPC=id=27aab3ee2244904c44a1316683422666:lv=1316684192661:ss=1316683422666; WT_NVR=0=/

Response

HTTP/1.1 200 OK
Date: Wed, 21 Sep 2011 15:35:44 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
P3P: CP=CAO PSA OUR
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 16755


<!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]...
<div id="mslogo_top">
<a href="http://windows.microsoft.com/zh-CN/windows7/products/home" target="_bank"><img src="images/index_logo.png" width="96" height="53" class="fixpng"/>
...[SNIP]...
</a> | <a href="http://windows.microsoft.com/zh-CN/windows7/help/upgrade-center" target="_blank">............</a>
...[SNIP]...
</a> | <a href="http://www.microsoft.com/click/services/Redirect2.ashx?CR_CC=200019532&CR_EAC=300009712" target="_blank">...... Windows ...............</a>
...[SNIP]...
<div id="mshelp"><a href="http://support.microsoft.com/ph/14019/zh-cn#tab0" target="_blank">..................</a>
...[SNIP]...
<div id="footer_nav">
&copy; 2011 Microsoft <a href="http://www.microsoft.com/About/Legal/EN/US/IntellectualProperty/Copyright/default.aspx"target="_blank">............</a> |
<a href="http://windows.microsoft.com/zh-CN/windows7/disclaimer"target="_blank">Windows 7 ............</a> | <a href="http://www.microsoft.com/library/toolbar/3.0/trademarks/zh-cn.mspx"target="_blank">......</a> | <a href="http://privacy.microsoft.com/zh-cn/default.aspx"target="_blank">............</a>
...[SNIP]...

2.3. http://www.genuinewin7.com/purchase.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.genuinewin7.com
Path:   /purchase.aspx

Issue detail

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

Request

GET /purchase.aspx?WT.page_from=safety HTTP/1.1
Host: www.genuinewin7.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.genuinewin7.com/safety.aspx?WT.page_from=nav
Cookie: uid=56999891_1316636622599; ctpath=; referrer=http%3A%2F%2Fwww.fakereferrerdominator.com%2FreferrerPathName%3FRefParName%3DRefValue; campaignid=369; WT_FPC=id=27aab3ee2244904c44a1316683422666:lv=1316684122097:ss=1316683422666; WT_NVR=0=/

Response

HTTP/1.1 200 OK
Date: Wed, 21 Sep 2011 15:35:30 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
P3P: CP=CAO PSA OUR
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 23325


<!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]...
<div id="mslogo_top">
<a href="http://windows.microsoft.com/zh-CN/windows7/products/home" target="_bank"><img src="images/index_logo.png" width="96" height="53" class="fixpng"/>
...[SNIP]...
</a> | <a href="http://windows.microsoft.com/zh-CN/windows7/help/upgrade-center" target="_blank">............</a>
...[SNIP]...
</a> | <a href="http://www.microsoft.com/click/services/Redirect2.ashx?CR_CC=200019532&CR_EAC=300009712" target="_blank">...... Windows ...............</a>
...[SNIP]...
<li>
                           <a target="_blank" href="http://www.samsung.com/cn/consumer/computers-office/ultra-mobile-pc/fashion-essential/NP-Q460-JS05CN/index.idx?pagetype=prd_detail&subsubtype=q-series" title="......" onclick="var i=new Image(1,1);i.src='http://e.miaozhen.com/r.gif?'+Math.random()+'^k=2039^p=DUd0'; ii=new Image(1,1);ii.src='http://e.miaozhen.com/e.gif?'+Math.random()+'^n=3988^ae=1142';ClickEvent('BUT_Buy_samsung');" class="topimages"></a>
...[SNIP]...
<div id="purleft">
<a href="http://www.sonystyle.com.cn/products/vaio/sd2.htm" target="_blank" onclick="var i=new Image(1,1);i.src='http://e.miaozhen.com/r.gif?'+Math.random()+'^k=2039^p=DNX0'; ii=new Image(1,1);ii.src='http://e.miaozhen.com/e.gif?'+Math.random()+'^n=3967^ae=1142';ClickEvent('BUT_Buy_Left_Sony');">
   <img src="banners/banner_sony_20110825.jpg" width="544" height="248" alt="Sony" title="Sony"/>
...[SNIP]...
</a>
<a href="http://h20426.www2.hp.com/campaign/g/cn/zh/index.html#/home" class="banner_first" target="_blank" onclick="var i=new Image(1,1);i.src='http://e.miaozhen.com/r.gif?'+Math.random()+'^k=2039^p=DNY0'; ii=new Image(1,1);ii.src='http://e.miaozhen.com/e.gif?'+Math.random()+'^n=3968^ae=1142';ClickEvent('BUT_Buy_Left_HP');">
   <img src="banners/banner_hp2011.jpg" width="548" height="252" alt="HP" title="HP"/>
...[SNIP]...
</a>
<a href="http://pc.toshiba.com.cn/product/l700/Satellite_L700_intro.jsp" target="_blank" onclick="var i=new Image(1,1);i.src='http://e.miaozhen.com/r.gif?'+Math.random()+'^k=2039^p=DNW0'; ii=new Image(1,1);ii.src='http://e.miaozhen.com/e.gif?'+Math.random()+'^n=3966^ae=1142';ClickEvent('BUT_Buy_Left_Toshiba');">
   <img src="banners/banner_toshiba_hd.jpg" width="544" height="248" target="_blank" alt="Toshiba" title="Toshiba"/>
...[SNIP]...
</h3>

<a id="pad01" href="http://ilike.360buy.com/ilike/s32telcc1mc3p93q.html" target="_blank" title="............" onclick="var i=new Image(1,1);i.src='http://e.miaozhen.com/r.gif?'+Math.random()+'^k=2039^p=DNa0'; ii=new Image(1,1);ii.src='http://e.miaozhen.com/e.gif?'+Math.random()+'^n=3970^ae=1142';ClickEvent('BUT_Buy_Right_Win7');">............</a>
<a id="pad02" href="http://www.mc2.com.cn/NewsCenter.aspx?NewsID=536" target="_blank" title="......" onclick="var i=new Image(1,1);i.src='http://e.miaozhen.com/r.gif?'+Math.random()+'^k=2039^p=DNb0'; ii=new Image(1,1);ii.src='http://e.miaozhen.com/e.gif?'+Math.random()+'^n=3971^ae=1142';ClickEvent('BUT_Buy_Right_WFSF');">......</a>
<a id="pad03" href="http://www.sundan.com/page-%E5%BE%AE%E8%BD%AFTouch+Mouse.html" target="_blank" title="......" onclick="var i=new Image(1,1);i.src='http://e.miaozhen.com/r.gif?'+Math.random()+'^k=2039^p=DNc0'; ii=new Image(1,1);ii.src='http://e.miaozhen.com/e.gif?'+Math.random()+'^n=3972^ae=1142';ClickEvent('BUT_Buy_Right_Upgra');"></a>
<a id="pad04" href="http://www.microsoft.com/china/windows/buy/retail.aspx" target="_blank" title="Windows 7 .................." onclick="var i=new Image(1,1);i.src='http://e.miaozhen.com/r.gif?'+Math.random()+'^k=2039^p=DNZ0'; ii=new Image(1,1);ii.src='http://e.miaozhen.com/e.gif?'+Math.random()+'^n=3969^ae=1142';ClickEvent('BUT_Buy_Right_WOL');">Windows 7 ..................</a>
...[SNIP]...
<div id="mshelp"><a href="http://support.microsoft.com/ph/14019/zh-cn#tab0" target="_blank">..................</a>
...[SNIP]...
<div id="footer_nav">
&copy; 2011 Microsoft <a href="http://www.microsoft.com/About/Legal/EN/US/IntellectualProperty/Copyright/default.aspx"target="_blank">............</a> |
<a href="http://windows.microsoft.com/zh-CN/windows7/disclaimer"target="_blank">Windows 7 ............</a> | <a href="http://www.microsoft.com/library/toolbar/3.0/trademarks/zh-cn.mspx"target="_blank">......</a> | <a href="http://privacy.microsoft.com/zh-cn/default.aspx"target="_blank">............</a>
...[SNIP]...

2.4. http://www.genuinewin7.com/safety.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.genuinewin7.com
Path:   /safety.aspx

Issue detail

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

Request

GET /safety.aspx?WT.page_from=nav HTTP/1.1
Host: www.genuinewin7.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.genuinewin7.com/
Cookie: uid=56999891_1316636622599; ctpath=; referrer=http%3A%2F%2Fwww.fakereferrerdominator.com%2FreferrerPathName%3FRefParName%3DRefValue; campaignid=369; WT_FPC=id=27aab3ee2244904c44a1316683422666:lv=1316683434805:ss=1316683422666; WT_NVR=0=/

Response

HTTP/1.1 200 OK
Date: Wed, 21 Sep 2011 15:35:09 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
P3P: CP=CAO PSA OUR
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 20002


<!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]...
<div id="mslogo_top">
<a href="http://windows.microsoft.com/zh-CN/windows7/products/home" target="_bank"><img src="images/index_logo.png" width="96" height="53" class="fixpng"/>
...[SNIP]...
</a> | <a href="http://windows.microsoft.com/zh-CN/windows7/help/upgrade-center" target="_blank">............</a>
...[SNIP]...
</a> | <a href="http://www.microsoft.com/click/services/Redirect2.ashx?CR_CC=200019532&CR_EAC=300009712" target="_blank">...... Windows ...............</a>
...[SNIP]...
<dd>
<a onclick="BUT_Safety_Video1" href="http://windows.microsoft.com/zh-CN/windows7/products/features/backup-and-restore" target="_blank"><img src="images/windows7-safety_01.jpg" width="197" height="127" title="..............." alt="..............." />
...[SNIP]...
<dd>
<a onclick="ClickEvent('BUT_Safety_Video2');" href="http://windows.microsoft.com/zh-CN/internet-explorer/products/ie/home" target="_blank"><img src="images/windows7-safety_02.jpg" width="197" height="127" title="Internet Explorer 9" alt="Internet Explorer 9" />
...[SNIP]...
<dd>
<a onclick="ClickEvent('BUT_Safety_Video3');" href="http://windows.microsoft.com/zh-CN/windows7/what-is-microsoft-security-essentials" target="_blank"><img src="images/windows7-safety_03.jpg" width="197" height="127" title="Microsoft Security Essentials" alt="Microsoft Security Essentials" />
...[SNIP]...
<dd>
<a onclick="ClickEvent('BUT_Safety_Video4');" href="http://windows.microsoft.com/zh-CN/windows7/products/features/user-account-control" target="_blank"><img src="images/windows7-safety_04.jpg" width="197" height="127" title=".................." alt=".................." />
...[SNIP]...
<dd>
<a onclick="ClickEvent('BUT_Safety_Video5');" href="http://windows.microsoft.com/zh-CN/windows7/products/features/windows-defender" target="_blank"><img src="images/windows7-safety_05.jpg" width="197" height="127" title="Windows Defender" alt="Windows Defender" />
...[SNIP]...
<dd>
<a onclick="ClickEvent('BUT_Safety_Video6');" href="http://windows.microsoft.com/zh-CN/windows7/products/features/windows-firewall" target="_blank"><img src="images/windows7-safety_06.jpg" width="197" height="127" title="Windows ........." alt="Windows ........." />
...[SNIP]...
<dd>
<a onclick="ClickEvent('BUT_Safety_Video7');" href="http://windows.microsoft.com/zh-CN/windows7/products/features/parental-controls" target="_blank"><img src="images/windows7-safety_07.jpg" width="197" height="127" title="............" alt="............" />
...[SNIP]...
<div id="mshelp"><a href="http://support.microsoft.com/ph/14019/zh-cn#tab0" target="_blank">..................</a>
...[SNIP]...
<div id="footer_nav">
&copy; 2011 Microsoft <a href="http://www.microsoft.com/About/Legal/EN/US/IntellectualProperty/Copyright/default.aspx"target="_blank">............</a> |
<a href="http://windows.microsoft.com/zh-CN/windows7/disclaimer"target="_blank">Windows 7 ............</a> | <a href="http://www.microsoft.com/library/toolbar/3.0/trademarks/zh-cn.mspx"target="_blank">......</a> | <a href="http://privacy.microsoft.com/zh-cn/default.aspx"target="_blank">............</a>
...[SNIP]...

3. Cross-domain script include  previous  next

Summary

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

Issue detail

The response dynamically includes the following script from another domain:

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.

Request

GET / HTTP/1.1
Host: www.genuinewin7.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Date: Wed, 21 Sep 2011 15:34:55 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
P3P: CP=CAO PSA OUR
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 27514


<!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="Co
...[SNIP]...
</script>

<script type="text/javascript" src="http://atm.yoyi.com.cn/s/rt/;cid=1081"></script>
...[SNIP]...

4. HTML uses unrecognised charset  previous  next
There are 2 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.


4.1. http://www.genuinewin7.com/favicon.ico  previous  next

Summary

Severity:   Information
Confidence:   Tentative
Host:   http://www.genuinewin7.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: www.genuinewin7.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Cookie: uid=56999891_1316636622599; ctpath=; referrer=http%3A%2F%2Fwww.fakereferrerdominator.com%2FreferrerPathName%3FRefParName%3DRefValue; campaignid=369; WT_FPC=id=27aab3ee2244904c44a1316683422666:lv=1316683422666:ss=1316683422666; WT_NVR=0=/

Response

HTTP/1.1 404 Not Found
Content-Length: 1308
Content-Type: text/html
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Wed, 21 Sep 2011 15:23:03 GMT

<!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]...

4.2. http://www.genuinewin7.com/js/png.js  previous  next

Summary

Severity:   Information
Confidence:   Tentative
Host:   http://www.genuinewin7.com
Path:   /js/png.js

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 /js/png.js HTTP/1.1
Host: www.genuinewin7.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.genuinewin7.com/purchase.aspx?WT.page_from=safety
Cookie: uid=56999891_1316636622599; ctpath=; referrer=http%3A%2F%2Fwww.fakereferrerdominator.com%2FreferrerPathName%3FRefParName%3DRefValue; campaignid=369; WT_FPC=id=27aab3ee2244904c44a1316683422666:lv=1316684126733:ss=1316683422666; WT_NVR=0=/

Response

HTTP/1.1 404 Not Found
Content-Length: 1308
Content-Type: text/html
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Wed, 21 Sep 2011 15:34:37 GMT

<!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]...

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


5.1. http://www.genuinewin7.com/css/default_2011.css  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.genuinewin7.com
Path:   /css/default_2011.css

Issue detail

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

Request

GET /css/default_2011.css HTTP/1.1
Host: www.genuinewin7.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/css,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.genuinewin7.com/

Response

HTTP/1.1 200 OK
Content-Length: 15652
Content-Type: text/css
Last-Modified: Mon, 19 Sep 2011 10:02:11 GMT
Accept-Ranges: bytes
ETag: "6a44de32b376cc1:a59"
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Wed, 21 Sep 2011 15:34:54 GMT

..#.p.c.p.a.g.e.{.m.a.r.g.i.n.:. .0. .a.u.t.o.;. .w.i.d.t.h.:.1.0.0.0.p.x.;.}..
.#.s.o.n.y._.b.a.n.n.e.r.s.{.w.i.d.t.h.:.8.0.0.p.x.;.m.a.r.g.i.n.:.0. .0. .0. .1.0.1.p.x.;.p.o.s.i.t.i.o.n.:.r.e.l.a.t.
...[SNIP]...

5.2. http://www.genuinewin7.com/js/ExternalJS-default.js  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.genuinewin7.com
Path:   /js/ExternalJS-default.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/ExternalJS-default.js HTTP/1.1
Host: www.genuinewin7.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.genuinewin7.com/

Response

HTTP/1.1 200 OK
Content-Length: 1263
Content-Type: application/x-javascript
Last-Modified: Sat, 03 Sep 2011 11:23:05 GMT
Accept-Ranges: bytes
ETag: "556aed92b6acc1:a59"
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Wed, 21 Sep 2011 15:34:54 GMT

.../**
* ...............
*/
function shareRenren(videoUrl, title)
{
   var strRenrenShare = 'http://share.renren.com/share/buttonshare.do?link='+'http://www.microsoft.com/china/genuinewin7/defaul
...[SNIP]...

5.3. http://www.genuinewin7.com/js/pop.js  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.genuinewin7.com
Path:   /js/pop.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/pop.js HTTP/1.1
Host: www.genuinewin7.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.genuinewin7.com/win7-activities.aspx
Cookie: uid=56999891_1316636622599; ctpath=; referrer=http%3A%2F%2Fwww.fakereferrerdominator.com%2FreferrerPathName%3FRefParName%3DRefValue; campaignid=369; WT_FPC=id=27aab3ee2244904c44a1316683422666:lv=1316684195231:ss=1316683422666; WT_NVR=0=/

Response

HTTP/1.1 200 OK
Content-Length: 14516
Content-Type: application/x-javascript
Last-Modified: Thu, 09 Jun 2011 09:23:14 GMT
Accept-Ranges: bytes
ETag: "d6537dc8626cc1:a59"
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Wed, 21 Sep 2011 15:35:50 GMT

...var pop ={
call_iframe : 'call_iframe',
call_ajax : 'call_ajax',
call_content : 'call_content',
call_img : 'call_img',
call_wmv : 'call_wmv',
defaultWidth : 500,

...[SNIP]...

5.4. http://www.genuinewin7.com/js/share.js  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.genuinewin7.com
Path:   /js/share.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/share.js HTTP/1.1
Host: www.genuinewin7.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.genuinewin7.com/

Response

HTTP/1.1 200 OK
Content-Length: 2860
Content-Type: application/x-javascript
Last-Modified: Fri, 02 Sep 2011 15:17:21 GMT
Accept-Ranges: bytes
ETag: "ecd5e698369cc1:a59"
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Wed, 21 Sep 2011 15:34:54 GMT

...
function getQueryString(name) {
if (location.href.indexOf("?") == -1 || location.href.indexOf(name + '=') == -1) {
return '............';
}
var querySt
...[SNIP]...

5.5. http://www.genuinewin7.com/js/why-win7.js  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.genuinewin7.com
Path:   /js/why-win7.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/why-win7.js HTTP/1.1
Host: www.genuinewin7.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.genuinewin7.com/safety.aspx?WT.page_from=nav
Cookie: uid=56999891_1316636622599; ctpath=; referrer=http%3A%2F%2Fwww.fakereferrerdominator.com%2FreferrerPathName%3FRefParName%3DRefValue; campaignid=369; WT_FPC=id=27aab3ee2244904c44a1316683422666:lv=1316683434805:ss=1316683422666; WT_NVR=0=/

Response

HTTP/1.1 200 OK
Content-Length: 1464
Content-Type: application/x-javascript
Last-Modified: Thu, 09 Jun 2011 09:23:14 GMT
Accept-Ranges: bytes
ETag: "bd3034dc8626cc1:a59"
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Wed, 21 Sep 2011 15:35:11 GMT

...function getQueryString(name) {
if (location.href.indexOf("?") == -1 || location.href.indexOf(name + '=') == -1) {
return '............';
}
var queryString =
...[SNIP]...

Report generated by XSS.CX at Wed Sep 21 15:48:00 CDT 2011.