Jump to content

Cross-site scripting

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by SusanLesch (talk | contribs) at 12:07, 8 June 2008 (upright). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

1. Mallory posts a message to a social network. 2. Bob reads the message and Mallory's XSS steals Bob's cookie. 3. Mallory can hijack Bob's session or impersonate Bob.[1]

Cross-site scripting (XSS) is a type of computer security vulnerability typically found in web applications which allow code injection by malicious web users into the web pages viewed by other users. Examples of such code include HTML code and client-side scripts. An exploited cross-site scripting vulnerability can be used by attackers to bypass access controls such as the same origin policy. Vulnerabilities of this kind have been exploited to craft powerful phishing attacks and browser exploits. As of 2007, cross-site scripting carried out on websites were roughly 80% of all documented security vulnerabilities.[2] Often during an attack "everything looks fine" to the end-user[3] who may be exposed to unauthorized access, theft of sensitive data and financial loss.[4]

Background

The number of XSS vulnerabilities (black) surpassed buffer overflows (red) —MITRE, May 2007[5]

Three distinct types of XSS vulnerabilities exist: DOM-based, non-persistent, and persistent. In general, cross-site scripting holes can be seen as vulnerabilities present in web pages which allow attackers to bypass security mechanisms. By finding clever ways of injecting malicious scripts into web pages, an attacker can gain elevated access privileges to sensitive page content, session cookies, and a variety of other objects. Cross-site scripting was originally referred to as CSS,[3] although this usage has been largely discontinued (due to confusion with Cascading Style Sheets).

Criminals write XSS attacks in a markup language such as HTML or XHTML and a client-side scripting language, most often Netscape's JavaScript[6]—the most popular language among Web developers and one that requires little programming skill to learn[7]—or Microsoft's version of JavaScript called JScript[8] or the standardized form called ECMAScript. XSS sometimes reaches other technologies including Sun Microsystems's Java, Microsoft's ActiveX and VBScript, Adobe's Flash and ActionScript, and RSS and Atom feeds.[6][9][10]

XSS vulnerabilites have been reported and in some cases exploited since the 1990s. Some of the prominent sites affected were the search engine Google, the email services of Google and Yahoo!, wikis including the Wikipedia encyclopedia,[11] the social networking sites Facebook,[12] MySpace and Orkut, the retailer TJMaxx, both of Australia's major political parties, The New Zealand Herald, Italian and German banks as well as PayPal, the developer sites SourceForge.net and Netscape, consumer sites Nokia and eBay, Microsoft Xbox, the government site National Institute of Standards and Technology, the Recording Industry Association of America, and a Barack Obama discussion forum.[13][14]

Types

DOM-based

Example of DOM-based XSS
Until the bug was fixed, Bugzilla error pages were open to DOM-based XSS attack in which arbitrary HTML and scripts could be injected using forced error messages.[15]
Bugzilla bug in the U.S. National Vulnerability Database

The DOM-based or Type 0 XSS vulnerability, also been referred to as local cross-site scripting, is based on the standard object model for representing HTML or XML called the Document Object Model or DOM for short. With DOM-based cross-site scripting vulnerabilities, the problem exists within a page's client-side script itself. For instance, if a piece of JavaScript accesses a URL request parameter and uses this information to write some HTML to its own page, and this information is not encoded using HTML entities, an XSS hole will likely be present, since this written data will be re-interpreted by browsers as HTML which could include additional client-side script.[16]

In practice, exploiting such a hole would be very similar to the exploit of non-persistent type vulnerabilities (see below), except in one very important situation. Because of the way older versions of Internet Explorer (IE) treat client-side script in objects located in the "local zone" (for instance, on the client's local hard drive), an XSS hole of this kind in a local page can result in remote execution vulnerabilities. For example, if an attacker hosts a malicious website, which contains a link to a vulnerable page on a client's local system, a script could be injected and would run with privileges of that user's browser on their system. (Local HTML pages are commonly installed with standard software packages, including Internet Explorer.) This bypasses the entire client-side sandbox, not just the cross-domain restrictions that are normally bypassed with XSS exploits. The Local Machine Zone Lockdown in IE6 on Windows XP Service Pack 2 was implemented to prevent attackers from executing scripts in the local file zone but did not protect IE users from similar vulnerabilities.[17]

Non-Persistent

Example of non-persistent XSS
Non-persistent XSS vulnerabilities in Google could allow its members to be impersonated when payloads used UTF-7 encoding.[18]
Google bug in the NVD

The non-persistent or Type 1 cross-site scripting hole is also referred to as a reflected vulnerability, and is by far the most common type. These holes show up when data provided by a web client is used immediately by server-side scripts to generate a page of results for that user.[6] If unvalidated user-supplied data is included in the resulting page without HTML encoding, this will allow client-side code to be injected into the dynamic page.[6] A classic example of this is in site search engines: if one searches for a string which includes some HTML special characters, often the search string will be redisplayed on the result page to indicate what was searched for, or will at least include the search terms in the text box for easier editing. If all occurrences of the search terms are not HTML entity encoded, an XSS hole will result.[4]

At first blush, this does not appear to be a serious problem since users can only inject code into their own pages. However, with a small amount of social engineering, an attacker could convince a user to follow a malicious URL which injects code into the results page, giving the attacker full access to that page's content. Due to the general requirement of the use of some social engineering in this case (and normally in Type 0 vulnerabilities as well), many programmers have disregarded these holes as not terribly important. This misconception is sometimes applied to XSS holes in general (even though this is only one type of XSS) and there is often disagreement in the security community as to the importance of cross-site scripting vulnerabilities.[19]

Persistent

Example of persistent XSS
A persistent cross-zone scripting vulnerability and computer worm allowed execution of arbitrary code and listing of filesystem contents via a QuickTime movie on MySpace.[20]
Apple QuickTime bug in the NVD

The persistent or Type 2 XSS vulnerability is also referred to as a stored or second-order vulnerability, and it allows the most powerful kinds of attacks. A type 2 XSS vulnerability exists when data provided to a web application by a user is first stored persistently on the server (in a database, filesystem, or other location), and later displayed to users in a web page without being encoded using HTML entities.[6] A classic example of this is with online message boards, where users are allowed to post HTML formatted messages for other users to read.[6]

Persistent XSS can be more significant than other types because an attacker's malicious script is rendered more than once.[21] Potentially, such an attack could affect a large number of users with little need for social engineering,[21] and the application could be infected by a cross-site scripting virus or worm.[22]

The methods of injection can vary a great deal, and an attacker may not need to use the web application itself to exploit such a hole. Any data received by the web application (via email, system logs, etc) that can be controlled by an attacker must be encoded prior to re-display in a dynamic page, else an XSS vulnerability of this type could result.[citation needed]

Exploit scenarios

Attackers intending to exploit cross-site scripting vulnerabilities must approach each class of vulnerability differently. For each class, a specific attack vector is described here. (The names below come from the cast of characters commonly used in computer security.)

DOM-based attack[16]

  1. Mallory sends a URL to Alice (via email or another mechanism) of a maliciously constructed web page.
  2. Alice clicks on the link.
  3. The malicious web page's JavaScript opens a vulnerable HTML page installed locally on Alice's computer.
  4. The vulnerable HTML page contains JavaScript which executes in Alice's computer's local zone.
  5. Mallory's malicious script now may run commands with the privileges Alice holds on her own computer.

Non-Persistent[6]

  1. Alice often visits a particular website, which is hosted by Bob. Bob's website allows Alice to log in with a username/password pair and store sensitive information, such as billing information.
  2. Mallory observes that Bob's website contains a reflected XSS vulnerability.
  3. Mallory crafts a URL to exploit the vulnerability, and sends Alice an email, making it look as if it came from Bob (i.e., the email is spoofed).
  4. Alice visits the URL provided by Mallory while logged into Bob's website.
  5. The malicious script embedded in the URL executes in Alice's browser, as if it came directly from Bob's server. The script can be used to email Alice's session cookie to Mallory. Mallory can then use the session cookie to steal sensitive information available to Alice (authentication credentials, billing info, etc) without Alice's knowledge.

Persistent[6]

  1. Bob hosts a web site which allows users to post messages and other content to the site for later viewing by other members.
  2. Mallory notices that Bob's website is vulnerable to a type 2 XSS attack.
  3. Mallory posts a message, controversial in nature, which may encourage many other users of the site to view it.
  4. Upon merely viewing the posted message, site users' session cookies or other credentials could be taken and sent to Mallory's webserver without their knowledge.
  5. Later, Mallory logs in as other site users and posts messages on their behalf....

Please note, the preceding examples are merely a representation of common methods of exploit and are not meant to encompass all vectors of attack.

Mitigation

Avoiding XSS requires frequent tests and audits of applications[10]

Defense against XSS falls to individual Web users, to content and web application developers, and to browser vendors. Users can usually disable scripting,[23] several best practices exist for content developers,[24] web applications can be tested and reviewed before release,[10] and some browsers today implement a few access-control policies.[25]

Early policies

Several high profile security vulnerabilities followed the Netscape introduction in 1995 of the JavaScript language.[7] Netscape began to realize some of the security risks of allowing a Web server to send executable code to a browser (even if only in a browser sandbox). The company introduced the same origin policy in Netscape Navigator version 2.[26] One key problem is the case where users have more than one browser window open at once. In some instances, a script from one page should be allowed to access data from another page or object, but in others, this should be strictly forbidden because a malicious website could attempt to steal sensitive information. The policy forbids browsers to load a script when it crosses the boundary of the current Window object[27] unless the script originated from the same domain and over the same protocol and the same port if port is specified.[26] Essentially, this policy was intended to allow interaction between objects and pages but in theory a malicious Web site would not be able to access sensitive data in another browser window. Unfortunately browser vendors implemented the policy in different ways and the result was unpredictable behavior.[27] The policy also had loopholes, for example, an HTML element embedded in a page or resource at the origin host may link to a script hosted elsewhere and the browser will load that script when it loads the page.[27] Since then, other similar access-control policies have been adopted in other browsers and client-side scripting languages to protect end-users from malicious Web sites but the policies may depend on the user themself to guide access control according to their preferences. For example, digital signatures might identify scripts and their source to the user or user agent before a script can load.[25]

Escaping and filtering

One way to eliminate some XSS vulnerabilities is to encode locally or at the server all user-supplied HTML special characters into character entities, thereby preventing them from being interpreted as HTML.[28] Unfortunately, users of many kinds of web applications (commonly forums and webmail) wish to use some of the features HTML provides. Some web applications such as social networking sites like MySpace and mainstream forum and blog software like WordPress and Movable Type attempt to identify malicious HTML constructs, and neutralize them, either by removing or encoding them.[29] But due to the flexibility and complexity of HTML and related standards, and the continuous addition of new features, it is almost impossible to know for sure if all possible injections are eliminated. Capabilities differ greatly among filtering systems[30] and as of 2007 in Google's case were being written in house.[31] In order to eliminate certain injections, any server-side algorithm must either reject broken HTML, understand how every browser will interpret broken HTML,[32] or (preferably) fix the HTML to be well-formed using techniques akin to those of HTML Tidy.[33]

Input validation

Input validation for all potentially malicious data sources is another way to mitigate XSS. This is a common theme in application development (even outside of web development) and is generally very useful.[34] For instance, if a form accepts some field, which is supposed to contain a phone number, a server-side routine could remove all characters other than digits, parentheses, and dashes,[35] such that the result cannot contain a script. Input validation may help to mitigate other injection attacks such as SQL injection as well.[36] While effective for most types of input, there are times when an application, by design, must be able to accept special HTML characters, such as '<' and '>'.[36] In these situations, HTML entity encoding is the only option.[37]

Besides content filtering, other methods for XSS mitigation are also commonly used. One example is that of cookie security. Many web applications rely on session cookies for authentication between individual HTTP requests, and because client-side scripts generally have access to these cookies, simple XSS exploits can steal these cookies.[28] To mitigate this particular threat (though not the XSS problem in general), many web applications tie session cookies to the IP address of the user who originally logged in, and only permit that IP to use that cookie.[38] This is effective in most situations (if an attacker is only after the cookie), but obviously breaks down in situations where an attacker is behind the same NATed IP address or web proxy.[38] Internet Explorer (since version 6)[39] and Mozilla Firefox (since version 2.0.0.5)[40] have an HttpOnly flag which allows a web server to set a cookie that is unavailable to client-side scripts. While it is a beneficial feature for securing cookies, HttpOnly does not prevent other kinds of XSS attacks.[41]

Eliminating scripts

Avoiding XSS requires actions on the part of the user.[23][42]

Finally, while Web 2.0 and Ajax designers favor the use of JavaScript,[43] some web applications are written to (sometimes optionally) operate completely without the need for client-side scripts.[44] This allows users, if they choose, to disable scripting in their browsers before using the application. In this way, even potentially malicious client-side scripts could be inserted unescaped on a page, and users would not be susceptible to XSS attacks. Unfortunately external content can still be loaded into the page with elements like iframe or object to trick users.[45]

Many browsers can be configured to disable client-side scripts on a per-domain basis. If scripting is allowed by default, then this approach is of limited value, since it blocks bad sites only after the user knows that they are bad, which is too late. Functionality that blocks all scripting and external inclusions by default and then allows the user to enable it on a per-domain basis is more effective. This has been possible for a long time in Internet Explorer (since version 4) by setting up its so called "Security Zones",[46] and in Opera (since version 9) using its "Site Specific Preferences".[47] A solution for Firefox and other Gecko-based browsers is the open source NoScript add-on which has anti-XSS protection.[48]

The most significant problem with blocking all scripts on all websites by default is substantial reduction in functionality and responsiveness (client-side scripting can be much faster than server-side scripting because it does not need to connect to a remote server and the page or frame does not need to be reloaded[49]). Another problem with script blocking is that many users do not understand it, and do not know how to properly secure their browsers.[23] Another drawback is that most sites do not work without client-side scripting, forcing users to disable protection for that site and opening their systems to the threat.[50]

Several classes of vulnerabilities or attack techniques are related to XSS. Cross-zone scripting exploits "zone" concepts in software and usually executes code with a greater privilege.[51] HTTP header injection can be used to create cross-site scripting conditions in addition to allowing attacks such as HTTP response splitting.[52] Cross-site request forgery (CSRF/XSRF) is almost the opposite of XSS, in that rather than exploiting the user's trust in a site, the attacker exploits the site's trust in the client software, submitting requests that the site believes come from its own authenticated users.[53] SQL injection exploits a vulnerability in the database layer of an application. When user input is incorrectly filtered any SQL statements can be executed by the application.[54]

Notes

  1. ^ Brodkin, Jon (October 4, 2007). "The top 10 reasons Web sites get hacked". Network World. IDG. Retrieved 2008-06-08. {{cite news}}: Check date values in: |date= (help)
  2. ^ During the second half of 2007, 11,253 site-specific cross-site vulnerabilities were documented by XSSed, compared to 2,134 "traditional" vulnerabilities documented by Symantec, in "Symantec Internet Security Threat Report: Trends for July-December 2007 (Executive Summary)" (PDF). Symantec Corp. April 2008. pp. 1–2. Retrieved 2008-05-11.
  3. ^ a b Rafail, Jason (2001). "Cross-Site Scripting Vulnerabilities" (PDF). CERT Coordination Center, Carnegie Mellon University. Retrieved 2008-05-27.
  4. ^ a b Grossman, Jeremiah and Robert Hansen, Seth Fogie, Petko D. Petkov and Anton Rager (2007). XSS Attacks: Cross Site Scripting Exploits and Defense (Abstract). Elsevier Science & Technology via Google Book Search. ISBN 1597491543. Retrieved 2008-05-28.{{cite book}}: CS1 maint: multiple names: authors list (link) Cite error: The named reference "GHFPR" was defined multiple times with different content (see the help page).
  5. ^ Christey, Steve and Martin, Robert A. (May 22, 2007). "Vulnerability Type Distributions in CVE (version 1.1)". MITRE Corporation. Retrieved 2008-06-07. {{cite web}}: Check date values in: |date= (help)CS1 maint: multiple names: authors list (link)
  6. ^ a b c d e f g h "Cross-site Scripting". Web Application Security Consortium. 2005. Retrieved 2008-05-28.
  7. ^ a b Champeon, Steve (April 6, 2001). "JavaScript: How Did We Get Here?". O'Reilly Media. Retrieved 2008-05-27. {{cite web}}: Check date values in: |date= (help)
  8. ^ Canter, Sheryl (April 20, 2004). "Understanding Client-Side Scripting". PC Magazine. Ziff Davis Publishing. Retrieved 2008-06-04. {{cite news}}: Check date values in: |date= (help)
  9. ^ "Vulnerability Note VU#249337". CERT Coordination Center, Carnegie Mellon University. January 17, 2008. Retrieved 2008-05-28. {{cite web}}: Check date values in: |date= (help)
  10. ^ a b c Shah, Shreeraj (November 2, 2006). "Detecting Web Application Security Vulnerabilities". O'Reilly Network. Retrieved 2008-05-29. {{cite web}}: Check date values in: |date= (help)
  11. ^ Moshe BA (February 21, 2007). "MediaWiki Cross-site Scripting (UTF-7, AJAX)". Beyond Security. Retrieved 2008-05-29. {{cite web}}: Check date values in: |date= (help)
  12. ^ Leyden, John (May 23, 2008). "Facebook poked by XSS flaw". The Register. Retrieved 2008-05-28. {{cite news}}: Check date values in: |date= (help)
  13. ^ "Full List of Incidents". Web Application Security Consortium. February 17, 2008. Retrieved 2008-05-28. {{cite web}}: Check date values in: |date= (help)
  14. ^ "Obama site hacked; Redirected to Hillary Clinton". ZDNet. April 21, ,2008. Retrieved 2008-05-28. {{cite web}}: Check date values in: |date= (help)
  15. ^ "Bug 272620 – XSS vulnerability in internal error messages". Bugzilla@Mozilla. 2004. Retrieved 2008-05-29.
  16. ^ a b Klein, Amit (July 4,2005). "DOM Based Cross Site Scripting or XSS of the Third Kind". Web Application Security Consortium. Retrieved 2008-05-28. {{cite web}}: Check date values in: |date= (help)
  17. ^ For example, "vulnerabilities in technologies relating to the IE domain/zone security model, local file system (Local Machine Zone) trust, the Dynamic HTML (DHTML) document object model..." in "Vulnerability Note VU#356600". US-CERT, Department of Homeland Security. February 17, 2005. Retrieved 2008-06-07. {{cite web}}: Check date values in: |date= (help)
  18. ^ Amit, Yair (December 21, 2005). "Google.com UTF-7 XSS Vulnerabilities". Beyond Security. Retrieved 2008-05-29. {{cite web}}: Check date values in: |date= (help)
  19. ^ "A WAKE-UP CALL for websites" in Berinato, Scott (January 1, 2007). "Software Vulnerability Disclosure: The Chilling Effect". CSO. CXO Media. p. 8. Retrieved 2008-06-07. {{cite news}}: Check date values in: |date= (help)
  20. ^ This worm is named JS/Ofigel-A, JS/Quickspace.A and JS.Qspace, in "JS/Ofigel-A". Sophos. Retrieved 2008-06-05. and "F-Secure Malware Information Pages: JS/Quickspace.A". F-Secure. January 5, 2007. Retrieved 2008-06-05. {{cite web}}: Check date values in: |date= (help) and "JS.Qspace". Symantec Corp. February 13, 2007. Retrieved 2008-06-05. {{cite web}}: Check date values in: |date= (help)
  21. ^ a b Rütten, Christiane and Glemser, Tobias. "Healthy suspicion: Web application security". Heise Media UK. Retrieved 2008-06-07.{{cite news}}: CS1 maint: multiple names: authors list (link)
  22. ^ Viruses and worms in Alcorn, Wade (September 28, 2005). "The Cross-site Scripting Virus (version 1.0.9)". Regionales Rechenzentrum der Universität Hamburg. Retrieved 2088-05-28. {{cite web}}: Check date values in: |accessdate= and |date= (help) and Grossman, Jeremiah (April 2006). "Cross-Site Scripting Worms and Viruses: The Impending Threat and the Best Defense" (PDF). WhiteHat Security. p. 20. Retrieved 2008-06-06.
  23. ^ a b c Dormann, Will and Rafail, Jason (February 14, 2008). "Securing Your Web Browser". CERT Coordination Center, Carnegie Mellon University. Retrieved 2008-05-29. {{cite web}}: Check date values in: |date= (help)CS1 maint: multiple names: authors list (link)
  24. ^ "Understanding Malicious Content Mitigation for Web Developers". CERT Coordination Center, Carnegie Mellon University. undated. Retrieved 2008-05-29. {{cite web}}: Check date values in: |date= (help)
  25. ^ a b Taylor, John (maintainer). "JavaScript Security in Mozilla". Mozilla. Retrieved 2008-05-27.
  26. ^ a b Ruderman, Jesse (maintainer). "The Same Origin Policy". Mozilla. Retrieved 2008-05-27.
  27. ^ a b c Powell, Thomas and Schneider, Fritz. JavaScript: The Complete Reference (2 ed.). McGraw-Hill/Osborne. ISBN 0072253576. Retrieved 2008-05-27.{{cite book}}: CS1 maint: multiple names: authors list (link)
  28. ^ a b Sharma, Anand (February 3, 2004). "Prevent a cross-site scripting attack". IBM. Retrieved 2008-05-29. {{cite web}}: Check date values in: |date= (help)
  29. ^ MySpace in "Vulnerability Note VU#885665". US-CERT, Department of Homeland Security. December 12, 2006. Retrieved 2008-06-06. {{cite web}}: Check date values in: |date= (help) and WordPress in ""How do I stop people from posting HTML in comments?" in FAQ Working with WordPress". WordPress. Retrieved 2008-06-06. and MT in "Vulnerability Summary CVE-2007-0604". National Vulnerability Database, NIST Computer Security Resource Center (CSRC). January 31, 2007. Retrieved 2008-06-06. {{cite web}}: Check date values in: |date= (help)
  30. ^ "Summary". HTML Purifier. Retrieved 2008-06-06.
  31. ^ Leyden, John (July 18, 2007). "Google's Lemon squeezes out web app bugs". The Register. Retrieved 2008-06-06. {{cite news}}: Check date values in: |date= (help)
  32. ^ For example, "the Webmaster must be very familiar with how each browser renders their code and accounts for any possible form of abuse" and "Browser Peculiarities" in Fogie, Seth, Jeremiah Grossman, Robert Hansen, and Anton Rager (2007). Cross Site Scripting Attacks: XSS Exploits and Defense (PDF). Syngress, Elsevier Science & Technology. pp. 146, 150. ISBN 1597491543. Retrieved 2008-06-06.{{cite book}}: CS1 maint: multiple names: authors list (link)
  33. ^ If a Web application "MUST support user-supplied HTML...Make sure the HTML content you receive is well-formed...." in Grossman, Jeremiah (April 2006). "Cross-Site Scripting Worms and Viruses: The Impending Threat and the Best Defense" (PDF). WhiteHat Security. p. 20. Retrieved 2008-06-06.
  34. ^ Howard, Michael and LeBlanc, David (November 13, 2001). Writing Secure Code (sample chapter). Microsoft Press. ISBN 0-7356-1588-8. Retrieved 2008-06-06. {{cite book}}: Check date values in: |date= (help)CS1 maint: multiple names: authors list (link)
  35. ^ "Client-Side Validation with Enhanced Forms". IBM. 2005. Retrieved 2008-06-06.
  36. ^ a b Huseby, Sverre H. (March 12, 2004). Innocent Code: A Security Wake-Up Call for Web Programmers. Wiley via Amazon Reader. pp. 67–68. ISBN 0470857447. Retrieved 2008-06-06. {{cite book}}: Check date values in: |date= (help)
  37. ^ Huseby, Sverre H. (March 12, 2004). Innocent Code: A Security Wake-Up Call for Web Programmers. Wiley via Amazon Reader. p. 113. ISBN 0470857447. Retrieved 2008-06-06. {{cite book}}: Check date values in: |date= (help)
  38. ^ a b "ModSecurity: Features: PDF Universal XSS Protection". Breach Security. Retrieved 2008-06-06.
  39. ^ "Mitigating Cross-site Scripting With HTTP-only Cookies". Microsoft Developer Network. Retrieved 2008-06-06.
  40. ^ "[Branch] Firefox 2.0.0.5 fixlist (NOW RELEASED)". mozillaZine. Retrieved 2008-06-06.
  41. ^ "CS155: Computer and Network Security" (PPT). Applied Crypto Group, Stanford University. Spring 2008. Retrieved 2008-06-06.
  42. ^ "iPhone: Safari Web Settings". Apple Inc. October 4, 2007. Retrieved 2008-06-08. {{cite web}}: Check date values in: |date= (help)
  43. ^ O'Reilly, Tim (September 30, 2005). "What Is Web 2.0". O'Reilly Media. pp. 4–5. Retrieved 2008-06-04. {{cite web}}: Check date values in: |date= (help)
  44. ^ "A page should work, even if in a degraded form, without JavaScript." in Zammetti, Frank (April 16, 2007). Practical JavaScript, DOM Scripting and Ajax Projects via Amazon Reader. Apress. p. 36. ISBN 1590598164. Retrieved 2008-06-04. {{cite book}}: Check date values in: |date= (help)
  45. ^ How can I avoid the problem?, in "Frequently Asked Questions About Malicious Web Scripts Redirected by Web Sites". CERT Coordination Center, Carnegie Mellon University. December 7, 2004. Retrieved 2008-06-04. {{cite web}}: Check date values in: |date= (help)
  46. ^ "How to use security zones in Internet Explorer". Microsoft. December 18, 2007]]. Retrieved 2008-06-04. {{cite web}}: Check date values in: |date= (help)
  47. ^ Håkon Wium Lie (February 7, 2006). "Opera 9 Technology Preview 2". Opera Software. Retrieved 2008-06-04. {{cite web}}: Check date values in: |date= (help)
  48. ^ "NoScript". Mozilla. May 30, 2008. Retrieved 2008-06-04. {{cite web}}: Check date values in: |date= (help) and Mogull, Rich (March 18, 2008). "Should Mac Users Run Antivirus Software?". TidBITS. TidBITS Publishing. Retrieved 2008-06-04. {{cite news}}: Check date values in: |date= (help)
  49. ^ ""Using client-side events" in DataWindow Programmer's Guide". Sybase. March 2003. Retrieved 2008-06-04.
  50. ^ 73% of sites relied on JavaScript in late 2006, in "'Most websites' failing disabled". BBC News. December 6, 2006. Retrieved 2008-06-04. {{cite news}}: Check date values in: |date= (help)
  51. ^ "Security hole in Internet Explorer allows attackers to execute arbitrary programs". Heise Media UK. May 16, 2008. Retrieved 2008-06-07. {{cite news}}: Check date values in: |date= (help)
  52. ^ "Update available for potential HTTP header injection vulnerabilities in Adobe Flash Player". Adobe Systems. November 14, 2006. Retrieved 2008-06-07. {{cite web}}: Check date values in: |date= (help)
  53. ^ Auger, Robert (April 17, 2008). "The Cross-Site Request Forgery (CSRF/XSRF) FAQ (version 1.59)". Cgisecurity.com. Retrieved 2008-06-07. {{cite web}}: Check date values in: |date= (help)
  54. ^ "SQL Injection". Web Application Security Consortium. 2005. Retrieved 2008-06-07.