Cross-Site Scripting (XSS) and How MOVEit Transfer 2018 Protects You

Cross-Site Scripting (XSS) and How MOVEit Transfer 2018 Protects You

Posted on August 21, 2018 0 Comments

Attackers wanting to steal your information online are some of the most creative people alive. It’s amazing how many ways they can come up with to steal your information. One of those ways is through a technique called cross-site scripting or XSS for short.

To explain XSS, you need to know how web applications receive input from users. When’s the last time you filled out a form on a website? All of the time, right? That is a typical attack vector for XSS attacks. Typically, a user will input their name, address, etc. into a form, the server in the backend then accepts that information and places it into a database.

But if the web application doesn’t have appropriate protections in place, or doesn’t scrub the input before adding it to the database, attackers can instead run a script (most likely Javascript) which your browser executes and performs whatever actions the attacker wants.

For example, another way that an XSS might work is when a website has a page that retrieves information from a database and displays it on the page. Perhaps to generate the HTML for a page, a backend process creates HTML like this:

print "<html>"
print "<h1>Most recent comment</h1>"
print database.displayRecord
print "</html>"

Normally, the page would display a record from the database on the web page. However, if the attack places a script call somewhere in that page like this:

print "<html>"
print "<h1>Most recent comment</h1>"
print "</html>"

They may be able to execute code in your browser to send your credentials to a different server than what you intend. This is XSS. The attack is running a script from another “site.”

MOVEit Transfer Protection

Now that you have a basic understanding of XSS, how does the XSS protection feature work in MOVEit Transfer 2018 SP1? As of SP1, MOVEit Transfer automatically includes built-in XSS protection.

As with any web application, MOVEit Transfer 2018 accepts input from the user. Just having this feature opens makes MOVEit Transfer 2018 susceptible to XSS but as of Service Pack 1 (SP1), there is a new HTTP directive (response header) for the web service in (Settings -> System - HTTP Headers: Security Headers). MOVEit Transfer now has an “Include X-XSS-Protection Header” option.

The “Include X-XSS-Protection Header” option ensures that the Internet Explorer, Chrome and Safari browsers filter out or block injection of Javascript or popups. This small feature in SP1 is a big win for MOVEit Transfer’s security stance. This header allows the WebUI to completely block pages that exhibit some signature of XSS.

Adam Bertram

Adam Bertram is a 20-year veteran of IT. He’s currently an automation engineer, blogger, independent consultant, freelance writer, author, and trainer. Adam focuses on DevOps, system management, and automation technologies as well as various cloud platforms. He is a Microsoft Cloud and Datacenter Management MVP and efficiency nerd that enjoys teaching others a better way to leverage automation.


Comments are disabled in preview mode.

Sitefinity Training and Certification Now Available.

Let our experts teach you how to use Sitefinity's best-in-class features to deliver compelling digital experiences.

Learn More
Latest Stories
in Your Inbox

Subscribe to get all the news, info and tutorials you need to build better business apps and sites

Loading animation