|
![]() ![]() |
CERT® Coordination CenterFrequently Asked Questions About Malicious Web Scripts Redirected by Web Sites
Original release date: February 2, 2000 A problem has been identified that can be found on a wide variety of web sites: what you receive from a web site may not be what that site meant to send. If you click on a specially designed link, the site may unknowingly send you bad data, unwanted pictures, and programs (malicious scripts) to compromise your data. The problem is not with web browsers themselves but with how web pages are constructed and how data entering and leaving web sites is validated. "Validate" means ensuring no "unintended" characters are sent back to the client. This document includes: I. Frequently Asked QuestionsHow do malicious web scripts get to my web browser?A malicious web developer may attach a script to something you send to a web site, such as a URL, an element in a form, or a database inquiry. When the web site responds to you, the malicious script comes along, so that it is now on your browser. Among the ways you can potentially expose your web browser to malicious scripts are these:
What might happen if my web browser is exposed to a malicious script?Among the possibilities are that an attacker could capture your password and other information you believe is protected. You should also be concerned because malicious scripts can be used to expose restricted parts of your organization's local network (such as their intranet) to attackers who are on the Internet. Some web browsers contain vulnerabilities in the security systems that determine what access a script should have to your computer or other web sites. In the case of these cross-zone or cross-domain vulnerabilities, a malicious script could download and install arbitrary software on your computer, or read or modify data on another web site. Malicious scripts can also be used to alter the appearance of the browser, thus making social engineering or "phishing" attacks more successful. For example, a malicious script might open a browser windows outside of the visible screen area or cover the address bar with a spoofed address. Attackers may be able to use malicious scripts to infect cookies with copies of themselves. If the infected cookie is sent back to a vulnerable web site and passed back to your browser, the malicious script may start running again. Note: This is not a vulnerability in web cookies; rather, a malicious script takes advantage of the functionality of cookies. How can I avoid the problem?The most significant impact of this vulnerability can be avoided by disabling all scripting languages. Follow the steps below to turn off options in your web browser that allow malicious scripts to run. If you're not using a current version of Internet Explorer, Netscape, or Mozilla you might need to modify the steps. Note that even with scripting disabled, attackers may still be able to influence the appearance of content provided by a legitimate site by embedding other HTML tags. In particular, malicious use of the <FORM> tag is not prevented by disabling scripting languages. How will turning off the options affect my use of the web?While turning off the options will keep you from being vulnerable to malicious scripts, it will limit the interaction you can have with some web sites. You may notice a difference in functionality when you visit legitimate sites that use scripts running within the browser to add useful features. Should I disable Java applets?The risk associated with Java applets is significantly different from some of the other technologies. Java has a robust security mechanism designed to deal with situations like these that prevents sensitive information from being disclosed or client information from being damaged. However, Java applets written by an attacker can still be loaded while your are viewing a legitimate web page. The problems that can arise are similar to those involving the <FORM> and other HTML tags. For example, an attacker could develop a "Trojan Horse" program that presented misleading information and prompted you for a password. If you failed to recognize the malicious applet for what it was, you could accidentally disclose sensitive information. You must make your own determination about disabling Java applets, based on your tolerance for these risks. If you choose to disable Java, please see the detailed instructions below. Is there any more information available about this problem?The CERT/CC has published an advisory containing more details about the problem, its impact, and ways to deal with it. CA-2000-02 is available from You can also find information at the vendor URLs listed in the advisory. The CERT/CC has also published a "tech tip" for web page developers and web site administrators, which you might want to pass along to the appropriate people in your organization. This document, "Malicious Content Mitigation for Web Developers," is available from II. Steps for Changing Your Options in Web Browsers - Netscape, Mozilla, and Internet ExplorerUsing Netscape 6Note: Make sure that these instructions apply to your version of Netscape. To determine your software version, from the Help menu, select About Communicator... . A web page appears with information about your browser including the version number.
Using Netscape 7 or Mozilla 1Note: Make sure that these instructions apply to your version of Netscape or Mozilla. To determine your software version, from the Help menu, select About Communicator... or About Mozilla.... A web page appears with information about your browser including the version number.
For more technical information about Mozilla security features, see Component Secuity for Mozilla. Using Internet Explorer 5 or 6Note: Make sure that these instructions apply to your version of Internet Explorer. To determine your software version, from the Help menu, select About Internet Explorer... . A dialog box appears with information about your browser including the version number.
More information about Internet Explorer security is available from several Microsoft web pages: Increase Your Browsing and E-Mail Safety, Working with Internet Explorer 6 Security Settings, and Microsoft Knowledge Base Articles 833633 and 182569. This document is available from: http://www.cert.org/tech_tips/malicious_code_FAQ.html CERT/CC Contact Information
Phone: +1 412-268-7090 (24-hour hotline) Fax: +1 412-268-6989 Postal address: CERT/CC personnel answer the hotline 08:00-17:00 EST(GMT-5) / EDT(GMT-4) Monday through Friday; they are on call for emergencies during other hours, on U.S. holidays, and on weekends. Using encryptionWe strongly urge you to encrypt sensitive information sent by email. Our public PGP key is available from If you prefer to use DES, please call the CERT hotline for more information. Getting security informationCERT publications and other security information are available from our web site
* "CERT" and "CERT Coordination Center" are registered in the U.S. Patent and Trademark Office.
NO WARRANTY Conditions for use, disclaimers, and sponsorship information
Copyright 2000 Carnegie Mellon University.
|








