The value of the regionid request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload a29b1%3balert(1)//a62b7156d82 was submitted in the regionid parameter. This input was echoed as a29b1;alert(1)//a62b7156d82 in the application's response.
This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
Remediation detail
Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.
Issue background
Reflected cross-site scripting vulnerabilities arise when data is copied from a request and echoed into the application's immediate response in an unsafe way. An attacker can use the vulnerability to construct a request which, if issued by another application user, will cause JavaScript code supplied by the attacker to execute within the user's browser in the context of that user's session with the application.
The attacker-supplied code can perform a wide variety of actions, such as stealing the victim's session token or login credentials, performing arbitrary actions on the victim's behalf, and logging their keystrokes.
Users can be induced to issue the attacker's crafted request in various ways. For example, the attacker can send a victim a link containing a malicious URL in an email or instant message. They can submit the link to popular web sites that allow content authoring, for example in blog comments. And they can create an innocuous looking web site which causes anyone viewing it to make arbitrary cross-domain requests to the vulnerable application (using either the GET or the POST method).
The security impact of cross-site scripting vulnerabilities is dependent upon the nature of the vulnerable application, the kinds of data and functionality which it contains, and the other applications which belong to the same domain and organisation. If the application is used only to display non-sensitive public content, with no authentication or access control functionality, then a cross-site scripting flaw may be considered low risk. However, if the same application resides on a domain which can access cookies for other more security-critical applications, then the vulnerability could be used to attack those other applications, and so may be considered high risk. Similarly, if the organisation which owns the application is a likely target for phishing attacks, then the vulnerability could be leveraged to lend credibility to such attacks, by injecting Trojan functionality into the vulnerable application, and exploiting users' trust in the organisation in order to capture credentials for other applications which it owns. In many kinds of application, such as those providing online banking functionality, cross-site scripting should always be considered high risk.
Remediation background
In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of defenses:
Input should be validated as strictly as possible on arrival, given the kind of content which it is expected to contain. For example, personal names should consist of alphabetical and a small range of typographical characters, and be relatively short; a year of birth should consist of exactly four numerals; email addresses should match a well-defined regular expression. Input which fails the validation should be rejected, not sanitised.
User input should be HTML-encoded at any point where it is copied into application responses. All HTML metacharacters, including < > " ' and =, should be replaced with the corresponding HTML entities (< > etc).
In cases where the application's functionality allows users to author content using a restricted subset of HTML tags and attributes (for example, blog comments which allow limited formatting and linking), it is necessary to parse the supplied HTML to validate that it does not use any dangerous syntax; this is a non-trivial task.
Request
GET /reseller_locator/int_resellers.php?regionid=14a29b1%3balert(1)//a62b7156d82 HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:48 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 17664
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>NewTek.com - Locate ...[SNIP]... }
$(document).ready( function(){ if ($('#region').val() != null) { //base the first region form name on the $_REQUEST[] $('#RegionNameArea').load('assists/form_regionName.php', {regionid: 14a29b1;alert(1)//a62b7156d82});
populateTerritories(); }
$('#region').change(function() { //base subsequent new region name for the form on the drop down list value $('#RegionNameArea').load('assists/form_region ...[SNIP]...
2. Cleartext submission of passwordpreviousnext There are 2 instances of this issue:
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 defense 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.
The page contains a form with the following action URL, which is submitted over clear-text HTTP:
http://www.newtek.com/forums/login.php?do=login
The form contains the following password field:
vb_login_password
Request
GET /forums/ HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
The page contains a form with the following action URL, which is submitted over clear-text HTTP:
http://www.newtek.com/forums/login.php?do=login
The form contains the following password field:
vb_login_password
Request
GET /forums/calendar.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Most browsers have a facility to remember user credentials that are entered into HTML forms. This function can be configured by the user and also by applications which employ user credentials. If the function is enabled, then credentials entered by the user are stored on their local computer and retrieved by the browser on future visits to the same application.
The stored credentials can be captured by an attacker who gains access to the computer, either locally or through some remote compromise. Further, methods have existed whereby a malicious web site can retrieve the stored credentials for other applications, by exploiting browser vulnerabilities or through application-level cross-domain attacks.
Issue remediation
To prevent browsers from storing credentials entered into HTML forms, you should include the attribute autocomplete="off" within the FORM tag (to protect all form fields) or within the relevant INPUT tags (to protect specific individual fields).
The page contains a form with the following action URL:
http://www.newtek.com/forums/login.php?do=login
The form contains the following password field with autocomplete enabled:
vb_login_password
Request
GET /forums/ HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
The page contains a form with the following action URL:
http://www.newtek.com/forums/login.php?do=login
The form contains the following password field with autocomplete enabled:
vb_login_password
Request
GET /forums/calendar.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
The POSTing of data between domains does not necessarily constitute a security vulnerability. You should review the contents of the information that is being transmitted between domains, and determine whether the originating application should be trusting the receiving domain with this information.
The page contains a form which POSTs data to the domain www.salesforce.com. The form contains the following fields:
oid
retURL
last_name
email
state
country
first_name
phone
city
submit
00N40000001qN8J
Request
GET /catalog_resellers.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:55 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 28173
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-T ...[SNIP]... <br />
The page contains a form which POSTs data to the domain www.salesforce.com. The form contains the following fields:
oid
retURL
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
00N40000001pf7s
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
00N40000001pf7t
00N40000001pf9s
00N40000001pf9s
00N40000001pf9s
00N40000001pf9s
00N40000001pf9G
00N40000001pf9G
00N40000001pf9G
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
submit
salutation
salutation
salutation
salutation
salutation
salutation
first_name
last_name
phone
email
company
city
state
zip
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
00N40000001qN8J
Request
GET /speededit/ HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:30 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 63830
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-T ...[SNIP]... <br />
<form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="post" onsubmit="WAValidateAN(document.forms[0].first_name,document.forms[0].first_name.value,'First name required',true,true,false,false,'',document.forms[0].first_name,1,true);WAValidatePN(document.forms[0].phone,'Phone and area code required',true,false,'',document.forms[0].phone,1,true);WAValidateEM(document.forms[0].email,document.forms[0].email.value,'- Invalid email address',document.forms[0].email,1,true);WAValidateRQ(document.forms[0].country,'Country required',document.forms[0].country,1,true,'select');WAAlertErrors('The following errors were found','Correct invalid entries to continue',true,false);return document.MM_returnValue"> <input type="hidden" name="oid" value="00D400000009tdn" /> ...[SNIP]...
The page contains a form which POSTs data to the domain www.salesforce.com. The form contains the following fields:
oid
retURL
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
00N40000001pf7s
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
00N40000001pf7t
00N40000001pf9s
00N40000001pf9s
00N40000001pf9s
00N40000001pf9s
00N40000001pf9G
00N40000001pf9G
00N40000001pf9G
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
submit
salutation
salutation
salutation
salutation
salutation
salutation
first_name
last_name
phone
email
company
city
state
zip
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
00N40000001qN8J
Request
GET /tricaster/requestInfo.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:47:59 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 31703
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-T ...[SNIP]... </script> <form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="post" onsubmit="WAValidateAN(document.forms[0].first_name,document.forms[0].first_name.value,'First name required',true,true,false,false,'',document.forms[0].first_name,1,true);WAValidatePN(document.forms[0].phone,'Phone and area code required',true,false,'',document.forms[0].phone,1,true);WAValidateEM(document.forms[0].email,document.forms[0].email.value,'- Invalid email address',document.forms[0].email,1,true);WAValidateRQ(document.forms[0].country,'Country required',document.forms[0].country,1,true,'select');WAAlertErrors('The following errors were found','Correct invalid entries to continue',true,false);return document.MM_returnValue"> <input type="hidden" name="oid" value="00D400000009tdn" /> ...[SNIP]...
The page contains a form which POSTs data to the domain www.salesforce.com. The form contains the following fields:
oid
retURL
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
00N40000001pf7s
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
00N40000001pf7t
00N40000001pf9s
00N40000001pf9s
00N40000001pf9s
00N40000001pf9s
00N40000001pf9G
00N40000001pf9G
00N40000001pf9G
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
submit
salutation
salutation
salutation
salutation
salutation
salutation
first_name
last_name
phone
email
company
city
state
zip
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
00N40000001qN8J
Request
GET /tricaster/tricaster.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 302 Found Date: Wed, 29 Dec 2010 20:47:42 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Location: http://www.newtek.com/tricaster Connection: close Content-Type: text/html Content-Length: 120514
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content ...[SNIP]... </script> <form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="post" onsubmit="WAValidateAN(document.forms[0].first_name,document.forms[0].first_name.value,'First name required',true,true,false,false,'',document.forms[0].first_name,1,true);WAValidatePN(document.forms[0].phone,'Phone and area code required',true,false,'',document.forms[0].phone,1,true);WAValidateEM(document.forms[0].email,document.forms[0].email.value,'- Invalid email address',document.forms[0].email,1,true);WAValidateRQ(document.forms[0].country,'Country required',document.forms[0].country,1,true,'select');WAAlertErrors('The following errors were found','Correct invalid entries to continue',true,false);return document.MM_returnValue"> <input type="hidden" name="oid" value="00D400000009tdn" /> ...[SNIP]...
The page contains a form which POSTs data to the domain www.salesforce.com. The form contains the following fields:
oid
retURL
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
00N40000001pf7s
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
00N40000001pf7t
00N40000001pf9s
00N40000001pf9s
00N40000001pf9s
00N40000001pf9s
00N40000001pf9G
00N40000001pf9G
00N40000001pf9G
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
submit
salutation
salutation
salutation
salutation
salutation
salutation
first_name
last_name
phone
email
company
city
state
zip
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
00N40000001qN8J
Request
GET /tricaster/tricaster_broadcast.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:47:43 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 119616
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-T ...[SNIP]... </script> <form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="post" onsubmit="WAValidateAN(document.forms[0].first_name,document.forms[0].first_name.value,'First name required',true,true,false,false,'',document.forms[0].first_name,1,true);WAValidatePN(document.forms[0].phone,'Phone and area code required',true,false,'',document.forms[0].phone,1,true);WAValidateEM(document.forms[0].email,document.forms[0].email.value,'- Invalid email address',document.forms[0].email,1,true);WAValidateRQ(document.forms[0].country,'Country required',document.forms[0].country,1,true,'select');WAAlertErrors('The following errors were found','Correct invalid entries to continue',true,false);return document.MM_returnValue"> <input type="hidden" name="oid" value="00D400000009tdn" /> ...[SNIP]...
The page contains a form which POSTs data to the domain www.salesforce.com. The form contains the following fields:
oid
retURL
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
00N40000001pf7s
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
00N40000001pf7t
00N40000001pf9s
00N40000001pf9s
00N40000001pf9s
00N40000001pf9s
00N40000001pf9G
00N40000001pf9G
00N40000001pf9G
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
submit
salutation
salutation
salutation
salutation
salutation
salutation
first_name
last_name
phone
email
company
city
state
zip
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
00N40000001qN8J
Request
GET /tricaster/tricaster_pro.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 302 Found Date: Wed, 29 Dec 2010 20:47:42 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Location: http://www.newtek.com/tricaster Connection: close Content-Type: text/html Content-Length: 120411
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content- ...[SNIP]... </script> <form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="post" onsubmit="WAValidateAN(document.forms[0].first_name,document.forms[0].first_name.value,'First name required',true,true,false,false,'',document.forms[0].first_name,1,true);WAValidatePN(document.forms[0].phone,'Phone and area code required',true,false,'',document.forms[0].phone,1,true);WAValidateEM(document.forms[0].email,document.forms[0].email.value,'- Invalid email address',document.forms[0].email,1,true);WAValidateRQ(document.forms[0].country,'Country required',document.forms[0].country,1,true,'select');WAAlertErrors('The following errors were found','Correct invalid entries to continue',true,false);return document.MM_returnValue"> <input type="hidden" name="oid" value="00D400000009tdn" /> ...[SNIP]...
The page contains a form which POSTs data to the domain www.salesforce.com. The form contains the following fields:
oid
retURL
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
00N40000001pf7s
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
00N40000001pf7t
00N40000001pf9s
00N40000001pf9s
00N40000001pf9s
00N40000001pf9s
00N40000001pf9G
00N40000001pf9G
00N40000001pf9G
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
submit
salutation
salutation
salutation
salutation
salutation
salutation
first_name
last_name
phone
email
company
city
state
zip
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
00N40000001qN8J
Request
GET /tricaster/tricaster_studio.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:47:43 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 120063
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-T ...[SNIP]... </script> <form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="post" onsubmit="WAValidateAN(document.forms[0].first_name,document.forms[0].first_name.value,'First name required',true,true,false,false,'',document.forms[0].first_name,1,true);WAValidatePN(document.forms[0].phone,'Phone and area code required',true,false,'',document.forms[0].phone,1,true);WAValidateEM(document.forms[0].email,document.forms[0].email.value,'- Invalid email address',document.forms[0].email,1,true);WAValidateRQ(document.forms[0].country,'Country required',document.forms[0].country,1,true,'select');WAAlertErrors('The following errors were found','Correct invalid entries to continue',true,false);return document.MM_returnValue"> <input type="hidden" name="oid" value="00D400000009tdn" /> ...[SNIP]...
The page contains a form which POSTs data to the domain www.salesforce.com. The form contains the following fields:
oid
retURL
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
00N40000001pf7s
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
00N40000001pf7t
00N40000001pf9s
00N40000001pf9s
00N40000001pf9s
00N40000001pf9s
00N40000001pf9G
00N40000001pf9G
00N40000001pf9G
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
submit
salutation
salutation
salutation
salutation
salutation
salutation
first_name
last_name
phone
email
company
city
state
zip
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
00N40000001qN8J
Request
GET /tricaster/tricaster_tcxd300.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:47:44 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 147187
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-T ...[SNIP]... </script> <form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="post" onsubmit="WAValidateAN(document.forms[0].first_name,document.forms[0].first_name.value,'First name required',true,true,false,false,'',document.forms[0].first_name,1,true);WAValidatePN(document.forms[0].phone,'Phone and area code required',true,false,'',document.forms[0].phone,1,true);WAValidateEM(document.forms[0].email,document.forms[0].email.value,'- Invalid email address',document.forms[0].email,1,true);WAValidateRQ(document.forms[0].country,'Country required',document.forms[0].country,1,true,'select');WAAlertErrors('The following errors were found','Correct invalid entries to continue',true,false);return document.MM_returnValue"> <input type="hidden" name="oid" value="00D400000009tdn" /> ...[SNIP]...
The page contains a form which POSTs data to the domain www.salesforce.com. The form contains the following fields:
oid
retURL
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
lead_source
00N40000001pf7s
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
industry
00N40000001pf7t
00N40000001pf9s
00N40000001pf9s
00N40000001pf9s
00N40000001pf9s
00N40000001pf9G
00N40000001pf9G
00N40000001pf9G
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
00N40000001pf9O
submit
salutation
salutation
salutation
salutation
salutation
salutation
first_name
last_name
phone
email
company
city
state
zip
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
country
00N40000001qN8J
Request
GET /tricaster/tricaster_tcxd850.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:47:44 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 148327
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-T ...[SNIP]... </script> <form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="post" onsubmit="WAValidateAN(document.forms[0].first_name,document.forms[0].first_name.value,'First name required',true,true,false,false,'',document.forms[0].first_name,1,true);WAValidatePN(document.forms[0].phone,'Phone and area code required',true,false,'',document.forms[0].phone,1,true);WAValidateEM(document.forms[0].email,document.forms[0].email.value,'- Invalid email address',document.forms[0].email,1,true);WAValidateRQ(document.forms[0].country,'Country required',document.forms[0].country,1,true,'select');WAAlertErrors('The following errors were found','Correct invalid entries to continue',true,false);return document.MM_returnValue"> <input type="hidden" name="oid" value="00D400000009tdn" /> ...[SNIP]...
The page contains a form which POSTs data to the domain www.salesforce.com. The form contains the following fields:
oid
retURL
last_name
email
state
country
first_name
phone
city
submit
00N40000001qN8J
Request
GET /us_resellers.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:39 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 28188
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-T ...[SNIP]... <br />
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.
Request
GET /reseller_locator/int_resellers.php?regionid=14 HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:39 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 17656
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 /index.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:40 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 25467
GET /tricaster/tricaster_tcxd850.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:47:44 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 148327
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-T ...[SNIP]... </script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script> ...[SNIP]...
7. 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:
bblastvisit=1293655716; expires=Thu, 29 Dec 2011 20:48:36 GMT; path=/
The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.
Request
GET /forums/ HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.
Request
GET /forums/calendar.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
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).
/** * A base library for Shadowbox used as a standalone (without another base * library/adapter combination). * * This file is part of Shadowbox. * * Shadowbox is an online media viewer ap ...[SNIP]... <mjijackson@gmail.com> ...[SNIP]...
/** * The Shadowbox class. * * This file is part of Shadowbox. * * Shadowbox is an online media viewer application that supports all of the * web's most popular media publishing formats. S ...[SNIP]... <mjijackson@gmail.com> ...[SNIP]... <mjijackson@gmail.com> ...[SNIP]...
The following email addresses were disclosed in the response:
Across@NewTek.com
donetta@newtek.com
kevinr@NewTek.com
kevinr@newtek.com
Request
GET /careers.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:48 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 36960
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-T ...[SNIP]... <br /> ATTN: Kevin Rouviere (kevinr@newtek.com)<br /> ...[SNIP]... <br /> or via email (PDF, DOC or TXT format) to: kevinr@NewTek.com<br /> ...[SNIP]... <br /> or via email (PDF, DOC or TXT format) to: Across@NewTek.com<br /> ...[SNIP]... <br /> ATTN: Donetta Colboch (donetta@newtek.com)<br /> ...[SNIP]...
The following email addresses were disclosed in the response:
cs@newtek.com
tech@newtek.com
Request
GET /customer_care.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:40 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 17964
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-T ...[SNIP]... <a href="mailto:cs@newtek.com">cs@newtek.com</a><a href="tech@newtek.com"> ...[SNIP]...
The following email address was disclosed in the response:
barry@avs-inc.com
Request
GET /forums/calendar.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <head> <met ...[SNIP]... <a href="calendar.php?do=getinfo&e=1817&day=2010-12-5&c=1" title="NewTek TriCaster TCXD850 Presentation Reseller:http://www.avs-inc.com AV Solutions Contact: barry@avs-inc.com
See a full demonstration of TriCaster. TCXD850, bringing live production capabilities of a large network studio in one rack mount appliance. See how..."> ...[SNIP]...
The following email addresses were disclosed in the response:
dominicc@wpsworld.com
mdrabick@mindspring.com
Request
GET /newtek_events.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:49 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 19492
The following email address was disclosed in the response:
jpruett@newtek.com
Request
GET /newtek_now.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:52 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 28088
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-T ...[SNIP]... <a href="mailto:jpruett@newtek.com">jpruett@newtek.com</a> ...[SNIP]...
The following email address was disclosed in the response:
privacy@newtek.com
Request
GET /privacy.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:40 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 23166
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-T ...[SNIP]... <a href="mailto:privacy@newtek.com">privacy@newtek.com</a> ...[SNIP]...
The following email addresses were disclosed in the response:
carolinen@newtek.com
chines@newtek.com
ferdinand@asiamediaproducts.com
iking@newtek.com
jhusson@newtek.com
kbeaumont@newtek.com
mparkhill@newtek.com
nydia@newtek.com
ralph@newtek.com
rgarcia@newtek.com
Request
GET /sales_contact.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:51 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 18937
The following email addresses were disclosed in the response:
tech.lw@newtek-europe.com
tech.tc@newtek-europe.com
tech@newtek.com
Request
GET /tech_support.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:52 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 18258
The following email address was disclosed in the response:
trademarks@newtek.com
Request
GET /trademarks.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:40 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 33562
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-T ...[SNIP]... <a href="mailto:trademarks@newtek.com">trademarks@newtek.com</a> ...[SNIP]... of any graphic symbol, logo, icon or image. The best way to ensure this is to contact NewTek via e-mail at trademarks@newtek.com to inquire and obtain written permission. </p> ...[SNIP]...
The following email addresses were disclosed in the response:
AneishL@FMCtraining.com
Daniel.schmidt@washburn.edu
carlos@3Dpuppets.com
contacto@animationreality.com
daniel.schmidt@washburn.edu
director@studiocreativo.com
jennh@fmctraining.com
jgrogan@mail.accd.edu
karen@3dexchange.com
keriw@fmctraining.com
lightwave@idesignsol.com
peterdavis@hibbing.edu
rinnetter@sbcstnt.com
sarahm@fmctraining.com
tomw@FMCtraining.com
whill@ju.edu
Request
GET /training_centers.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:53 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 24373
/** * A base library for Shadowbox used as a standalone (without another base * library/adapter combination). * * This file is part of Shadowbox. * * Shadowbox is an online media viewer applicat ...[SNIP]... <mjijackson@gmail.com> ...[SNIP]...
/** * The Shadowbox class. * * This file is part of Shadowbox. * * Shadowbox is an online media viewer application that supports all of the * web's most popular media publishing formats. Shadowb ...[SNIP]... <mjijackson@gmail.com> ...[SNIP]... <mjijackson@gmail.com> ...[SNIP]...
The following email address was disclosed in the response:
tech@newtek.com
Request
GET /tricaster/knowledgebase.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:47:58 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 28256
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-T ...[SNIP]... <a href="mailto:tech@newtek.com"><strong>tech@newtek.com</strong> ...[SNIP]...
/** * The English language file for Shadowbox. * * This file is part of Shadowbox. * * Shadowbox is an online media viewer application that supports all of the * web's most popular media publish ...[SNIP]... <mjijackson@gmail.com> ...[SNIP]...
/** * The Shadowbox Flash video player class. * * This file is part of Shadowbox. * * Shadowbox is an online media viewer application that supports all of the * web's most popular media publishi ...[SNIP]... <mjijackson@gmail.com> ...[SNIP]...
/** * The Shadowbox HTML player class. * * This file is part of Shadowbox. * * Shadowbox is an online media viewer application that supports all of the * web's most popular media publishing form ...[SNIP]... <mjijackson@gmail.com> ...[SNIP]...
/** * The Shadowbox iframe player class. * * This file is part of Shadowbox. * * Shadowbox is an online media viewer application that supports all of the * web's most popular media publishing fo ...[SNIP]... <mjijackson@gmail.com> ...[SNIP]...
/** * The Shadowbox image player class. * * This file is part of Shadowbox. * * Shadowbox is an online media viewer application that supports all of the * web's most popular media publishing for ...[SNIP]... <mjijackson@gmail.com> ...[SNIP]...
/** * The Shadowbox QuickTime player class. * * This file is part of Shadowbox. * * Shadowbox is an online media viewer application that supports all of the * web's most popular media publishing ...[SNIP]... <mjijackson@gmail.com> ...[SNIP]...
/** * The Shadowbox SWF movie player class. * * This file is part of Shadowbox. * * Shadowbox is an online media viewer application that supports all of the * web's most popular media publishing ...[SNIP]... <mjijackson@gmail.com> ...[SNIP]...
/** * The Shadowbox Windows Media player class. * * This file is part of Shadowbox. * * Shadowbox is an online media viewer application that supports all of the * web's most popular media publis ...[SNIP]... <mjijackson@gmail.com> ...[SNIP]...
/** * The "classic" theme CSS for Shadowbox. * * This file is part of Shadowbox. * * Shadowbox is an online media viewer application that supports all of the * web's most popular media publishin ...[SNIP]... <mjijackson@gmail.com> ...[SNIP]...
/** * The "classic" theme markup for Shadowbox. * * This file is part of Shadowbox. * * Shadowbox is an online media viewer application that supports all of the * web's most popular media publis ...[SNIP]... <mjijackson@gmail.com> ...[SNIP]...
The following email address was disclosed in the response:
tech@newtek.com
Request
GET /warranties_returns.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:52 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 26014
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-T ...[SNIP]... for Software, and One (1) year for Hardware, as set forth in the respective Warranties above. If you believe the product is defective, contact NewTek Technical Support at 210-341-8444 or by e-mail at tech@newtek.com for confirmation. When you contact us by phone, if appropriate and the product is defective and the warranty applies, we will issue a Return Material Authorization (RMA) number for you to include with ...[SNIP]...
The following credit card numbers were disclosed in the response:
4440000000000000
4630000000000000
Issue background
Responses containing credit card numbers may not represent any security vulnerability - for example, a number may belong to the logged-in user to whom it is displayed. You should verify whether the numbers identified are actually valid credit card numbers and whether their disclosure within the application is appropriate.
Request
GET /tricaster/TriCasterBrochure.pdf HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
If a web response states that it contains HTML content but does not specify a character set, then the browser may analyse the HTML and attempt to determine which character set it appears to be using. Even if the majority of the HTML actually employs a standard character set such as UTF-8, the presence of non-standard characters anywhere in the response may cause the browser to interpret the content using a different character set. This can have unexpected results, and can lead to cross-site scripting vulnerabilities in which non-standard encodings like UTF-7 can be used to bypass the application's defensive filters.
In most cases, the absence of a charset directive 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 HTML content, the application should include within the Content-type header a directive specifying a standard recognised character set, for example charset=ISO-8859-1.
GET /faq/ HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:36 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 30945
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>
GET /reseller_locator/int_resellers.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
Response
HTTP/1.1 200 OK Date: Wed, 29 Dec 2010 20:48:38 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-22 mod_perl/1.999.21 Perl/v5.8.4 X-Powered-By: PHP/4.3.10-22 Connection: close Content-Type: text/html Content-Length: 17621
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>NewTek.com - Locate ...[SNIP]...
GET /resellers/index.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;
The response contains the following Content-type statement:
Content-Type: text/html
The response states that it contains HTML. However, it actually appears to contain plain text.
Issue background
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.
Request
GET /resellers/index.php HTTP/1.1 Host: www.newtek.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close Cookie: __utmz=176671418.1293654605.1.1.utmcsr=techcrunch.tv|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=176671418.1484406188.1293654605.1293654605.1293654605.1; __utmc=176671418; __utmb=176671418.2.10.1293654605;