Cross-site scripting: Intro to XSS

Cross-site scripting (XSS) enables an attacker to send a customized request to a Web site that causes modified Web or e-mail code to be sent to another user. In other words, it allows an attacker to send malicious

Requires Free Membership to View

code to another user by exploiting a flaw or weakness in an Internet server. XSS attacks are used to exploit vulnerabilities on a victim's system to traffic malicious code rather than attack the system itself.

While XSS is not the most severe problem affecting Internet servers, it is still important enough to take seriously. Script or code sent to a victim via an XSS attack runs within the security context of the browser or e-mail viewer employed on the victim's system. In many cases this allows full read and write access to all of the user's personal data files and a considerable portion of the OS itself, such as driver files and configuration settings.

A vulnerability was recently discovered in Microsoft Internet Security and Acceleration (ISA) Server 2000 that allows XSS. An attacker can alter the error pages for failed page requests or invalid data submissions that are sent to clients from ISA. The error pages can be altered so that they direct victims to download malicious code or access a malicious Web site. The compromised error pages can also force automatic download or URL activity on the victim's system.

This vulnerability in ISA is easily dealt with through a simple patch. If you are using ISA to protect your Internet server, I recommend reviewing Microsoft Security Bulletin MS03-028 and applying the patch to your systems.

About the author
James Michael Stewart is a partner and researcher for ITinfopros, a technology-focused writing and training organization.

This tip originally appeared on SearchSecurity.com

This was first published in December 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.