Cross-site scripting
From Wikipedia, the free encyclopedia
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.[1] Often during an attack "everything looks fine" to the end-user[2] who may be exposed to unauthorized access, theft of sensitive data and financial loss.[3]
Contents |
[edit] Background
In recent years XSS surpassed buffer overflows to become the most common of all publicly reported security vulnerabilities[4] and likely at least 70% of websites are open to XSS attacks on their users.[5] Site administrators rarely fix XSS problems and when they do the hole is likely to have been open for more than a month and a half.[1] 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,[2] 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]
In 2005, a community of users formed by Netcraft became a neighborhood watch group who create a blacklist[15]—free in exchange for informing the developer about what sites its users visit[16]—and in 2007 Netcraft licensed access to that information to Microsoft for use in Internet Explorer's (IE) anti-phishing toolbar.[17] Expected in 2008, Mozilla Firefox version 3 will block sites based on Google and StopBadware.org data.[18] Opera version 9.5 will block sites reported by a community of users using Haute Secure and its partners.[18][19]
[edit] Types
Three distinct types of XSS vulnerabilities exist: non-persistent, persistent and DOM-based (which can be either persistent or non-persistent).
[edit] 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.[20] |
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.[21]
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 MSIE 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 IE.) 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.[22]
[edit] 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.[23] |
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.[3]
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.[24]
[edit] 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.[25] |
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.[26] Potentially, such an attack could affect a large number of users with little need for social engineering,[26] and the application could be infected by a cross-site scripting virus or worm.[27]
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]
[edit] 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[21]
- Mallory sends a URL to Alice (via email or another mechanism) of a maliciously constructed web page.
- Alice clicks on the link.
- The malicious web page's JavaScript opens a vulnerable HTML page installed locally on Alice's computer.
- The vulnerable HTML page contains JavaScript which executes in Alice's computer's local zone.
- Mallory's malicious script now may run commands with the privileges Alice holds on her own computer.
Non-Persistent[6]
- 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.
- Mallory observes that Bob's website contains a reflected XSS vulnerability.
- 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).
- Alice visits the URL provided by Mallory while logged into Bob's website.
- 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]
- Bob hosts a web site which allows users to post messages and other content to the site for later viewing by other members.
- Mallory notices that Bob's website is vulnerable to a type 2 XSS attack.
- Mallory posts a message, controversial in nature, which may encourage many other users of the site to view it.
- 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.
- 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.
[edit] Mitigation
Defense against XSS falls to individual Web users, to content and web application developers, and to browser vendors. Users can usually disable scripting,[29] several best practices exist for content developers,[31] web applications can be tested and reviewed before release,[10] and some browsers today implement a few access-control policies.[32]
[edit] 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.[33] 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[34] unless the script originated from the same domain and over the same protocol and the same port if port is specified.[33] 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.[34] 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.[34] 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.[32]
[edit] 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.[35] 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.[36] 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[37] and as of 2007 in Google's case were being written in house.[38] In order to eliminate certain injections, any server-side algorithm must either reject broken HTML, understand how every browser will interpret broken HTML,[39] or (preferably) fix the HTML to be well-formed using techniques akin to those of HTML Tidy.[40]
[edit] 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.[41] 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,[42] such that the result cannot contain a script. Input validation may help to mitigate other injection attacks such as SQL injection as well.[43] 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 '>'.[43] In these situations, HTML entity encoding is the only option.[44]
[edit] Cookie security
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.[35] 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.[45] 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.[45] IE (since version 6) and Firefox (since version 2.0.0.5) have an HttpOnly flag which allows a web server to set a cookie that is unavailable to client-side scripts but while beneficial, the feature does not prevent cookie theft nor can it prevent attacks within the browser.[46]
[edit] Eliminating scripts
Finally, while Web 2.0 and Ajax designers favor the use of JavaScript,[47] some web applications are written to (sometimes optionally) operate completely without the need for client-side scripts.[48] 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.
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 IE (since version 4) by setting up its so called "Security Zones",[49] and in Opera (since version 9) using its "Site Specific Preferences".[50] A solution for Firefox and other Gecko-based browsers is the open source NoScript add-on which has anti-XSS protection.[51]
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[52]). Another problem with script blocking is that many users do not understand it, and do not know how to properly secure their browsers.[29] 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.[53]
[edit] Related vulnerabilities
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.[54] HTTP header injection can be used to create cross-site scripting conditions in addition to allowing attacks such as HTTP response splitting.[55] 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.[56] 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.[57]
[edit] Notes
- ^ a b 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) 1–3. Symantec Corp. (April 2008). Retrieved on 2008-05-11.
- ^ a b Rafail, Jason (2001). Cross-Site Scripting Vulnerabilities (PDF). CERT Coordination Center, Carnegie Mellon University. Retrieved on 2008-05-27.
- ^ 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 on 2008-05-28.
- ^ Christey, Steve and Martin, Robert A. (May 22, 2007). Vulnerability Type Distributions in CVE (version 1.1). MITRE Corporation. Retrieved on 2008-06-07.
- ^ Berinato, Scott. "Software Vulnerability Disclosure: The Chilling Effect", CSO, CXO Media, January 1, 2007, p. 7. Retrieved on 2008-06-07.
- ^ a b c d e f g h Cross-site Scripting. Web Application Security Consortium (2005). Retrieved on 2008-05-28.
- ^ a b Champeon, Steve (April 6, 2001). JavaScript: How Did We Get Here?. O'Reilly Media. Retrieved on 2008-05-27.
- ^ Canter, Sheryl. "Understanding Client-Side Scripting", PC Magazine, Ziff Davis Publishing, April 20, 2004. Retrieved on 2008-06-04.
- ^ Vulnerability Note VU#249337. CERT Coordination Center, Carnegie Mellon University (January 17, 2008). Retrieved on 2008-05-28.
- ^ a b Shah, Shreeraj (November 2, 2006). Detecting Web Application Security Vulnerabilities. O'Reilly Network. Retrieved on 2008-05-29.
- ^ Moshe BA (February 21, 2007). MediaWiki Cross-site Scripting (UTF-7, AJAX). Beyond Security. Retrieved on 2008-05-29.
- ^ Leyden, John. "Facebook poked by XSS flaw", The Register, May 23, 2008. Retrieved on 2008-05-28.
- ^ Full List of Incidents. Web Application Security Consortium (February 17, 2008). Retrieved on 2008-05-28.
- ^ Obama site hacked; Redirected to Hillary Clinton. ZDNet (April 21, ,2008). Retrieved on 2008-05-28.
- ^ Netcraft Phishing Site Feed Available. Netcraft. Retrieved on 2008-06-10.
- ^ Frequently Asked Questions. Netcraft. Retrieved on 2008-06-09.
- ^ Netcraft Phishing Feed To Protect Microsoft Customers. Netcraft. Retrieved on 2008-06-10.
- ^ a b Vamosi, Robert. "Opera 9.5 to include anti-malware protection", CNET News.com, June 6, 2008. Retrieved on 2008-06-10.
- ^ Haute Secure Answers. Haute Secure. Retrieved on 2008-06-10. and Solutions. Haute Secure. Retrieved on 2008-06-10.
- ^ Bug 272620 – XSS vulnerability in internal error messages. Bugzilla@Mozilla (2004). Retrieved on 2008-05-29.
- ^ a b Klein, Amit (July 4, 2005). DOM Based Cross Site Scripting or XSS of the Third Kind. Web Application Security Consortium. Retrieved on 2008-05-28.
- ^ 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 on 2008-06-07.
- ^ Amit, Yair (December 21, 2005). Google.com UTF-7 XSS Vulnerabilities. Beyond Security. Retrieved on 2008-05-29.
- ^ "A WAKE-UP CALL for websites" in Berinato, Scott. "Software Vulnerability Disclosure: The Chilling Effect", CSO, CXO Media, January 1, 2007, p. 8. Retrieved on 2008-06-07.
- ^ This worm is named JS/Ofigel-A, JS/Quickspace.A and JS.Qspace, in JS/Ofigel-A. Sophos. Retrieved on 2008-06-05. and F-Secure Malware Information Pages: JS/Quickspace.A. F-Secure (January 5, 2007). Retrieved on 2008-06-05. and JS.Qspace. Symantec Corp. (February 13, 2007). Retrieved on 2008-06-05.
- ^ a b Rütten, Christiane and Glemser, Tobias. "Healthy suspicion: Web application security", Heise Media UK. Retrieved on 2008-06-07.
- ^ 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 on 2088-05-28. and Grossman, Jeremiah (April 2006). Cross-Site Scripting Worms and Viruses: The Impending Threat and the Best Defense (PDF) 20. WhiteHat Security. Retrieved on 2008-06-06.
- ^ Brodkin, Jon. "The top 10 reasons Web sites get hacked", Network World, IDG, October 4, 2007. Retrieved on 2008-06-08.
- ^ a b c Dormann, Will and Rafail, Jason (February 14, 2008). Securing Your Web Browser. CERT Coordination Center, Carnegie Mellon University. Retrieved on 2008-05-29.
- ^ iPhone: Safari Web Settings. Apple Inc. (October 4, 2007). Retrieved on 2008-06-08.
- ^ Understanding Malicious Content Mitigation for Web Developers. CERT Coordination Center, Carnegie Mellon University (undated). Retrieved on 2008-05-29.
- ^ a b Taylor, John (maintainer). JavaScript Security in Mozilla. Mozilla. Retrieved on 2008-05-27.
- ^ a b Ruderman, Jesse (maintainer). The Same Origin Policy. Mozilla. Retrieved on 2008-05-27.
- ^ a b c Powell, Thomas and Schneider, Fritz. JavaScript: The Complete Reference, 2, McGraw-Hill/Osborne. ISBN 0072253576. Retrieved on 2008-05-27.
- ^ a b Sharma, Anand (February 3, 2004). Prevent a cross-site scripting attack. IBM. Retrieved on 2008-05-29.
- ^ MySpace in Vulnerability Note VU#885665. US-CERT, Department of Homeland Security (December 12, 2006). Retrieved on 2008-06-06. and WordPress in "How do I stop people from posting HTML in comments?" in FAQ Working with WordPress. WordPress. Retrieved on 2008-06-06. and MT in Vulnerability Summary CVE-2007-0604. National Vulnerability Database, NIST Computer Security Resource Center (CSRC) (January 31, 2007). Retrieved on 2008-06-06.
- ^ Summary. HTML Purifier. Retrieved on 2008-06-06.
- ^ Leyden, John. "Google's Lemon squeezes out web app bugs", The Register, July 18, 2007. Retrieved on 2008-06-06.
- ^ 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, 146, 150. ISBN 1597491543. Retrieved on 2008-06-06.
- ^ 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) 20. WhiteHat Security. Retrieved on 2008-06-06.
- ^ Howard, Michael and LeBlanc, David (November 13, 2001). Writing Secure Code (sample chapter). Microsoft Press. ISBN 0-7356-1588-8. Retrieved on 2008-06-06.
- ^ Client-Side Validation with Enhanced Forms. IBM (2005). Retrieved on 2008-06-06.
- ^ a b Huseby, Sverre H. (March 12, 2004). Innocent Code: A Security Wake-Up Call for Web Programmers. Wiley via Amazon Reader, 67–68. ISBN 0470857447. Retrieved on 2008-06-06.
- ^ Huseby, Sverre H. (March 12, 2004). Innocent Code: A Security Wake-Up Call for Web Programmers. Wiley via Amazon Reader, 113. ISBN 0470857447. Retrieved on 2008-06-06.
- ^ a b ModSecurity: Features: PDF Universal XSS Protection. Breach Security. Retrieved on 2008-06-06.
- ^ Ajax and Mashup Security. OpenAjax Alliance. Retrieved on 2008-06-09.
- ^ O'Reilly, Tim (September 30, 2005). What Is Web 2.0 4–5. O'Reilly Media. Retrieved on 2008-06-04.
- ^ "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, 36. ISBN 1590598164. Retrieved on 2008-06-04.
- ^ How to use security zones in Internet Explorer. Microsoft (December 18, 2007]]). Retrieved on 2008-06-04.
- ^ Håkon Wium Lie (February 7, 2006). Opera 9 Technology Preview 2. Opera Software. Retrieved on 2008-06-04.
- ^ NoScript. Mozilla (May 30, 2008). Retrieved on 2008-06-04. and Mogull, Rich. "Should Mac Users Run Antivirus Software?", TidBITS, TidBITS Publishing, March 18, 2008. Retrieved on 2008-06-04.
- ^ "Using client-side events" in DataWindow Programmer's Guide. Sybase (March 2003). Retrieved on 2008-06-04.
- ^ 73% of sites relied on JavaScript in late 2006, in "'Most websites' failing disabled", BBC News, December 6, 2006. Retrieved on 2008-06-04.
- ^ "Security hole in Internet Explorer allows attackers to execute arbitrary programs", Heise Media UK, May 16, 2008. Retrieved on 2008-06-07.
- ^ Update available for potential HTTP header injection vulnerabilities in Adobe Flash Player. Adobe Systems (November 14, 2006). Retrieved on 2008-06-07.
- ^ Auger, Robert (April 17, 2008). The Cross-Site Request Forgery (CSRF/XSRF) FAQ (version 1.59). Cgisecurity.com. Retrieved on 2008-06-07.
- ^ SQL Injection. Web Application Security Consortium (2005). Retrieved on 2008-06-07.