[Full-Disclosure] iDEFENSE Security Advisory 10.21.02: Cross-Site Scripting Holes present in virtually all websites
From: David Endler (dendler@idefense.com)
Date: 10/21/02
- Next message: David Endler: "[Full-Disclosure] iDEFENSE Security Advisory 10.21.02: Cross-Site Scripting Holes present in virtually all websites"
- Previous message: Ulf Harnhammar: "[Full-Disclosure] kmMail XSS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: dendler@idefense.com (David Endler) Date: Mon, 21 Oct 2002 00:45:18 -0400 (EDT)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
iDEFENSE Security Advisory 10.21.02:
http://www.idefense.com/advisory/10.21.02.txt
i. Cross-Site Scripting Holes present in virtually all websites/web-services.
ii. Fully-Automated XSS-exploiting AI anti-semite terrorist robots found in the wild.
Release Date : October 21, 2002
I. BACKGROUND
Cross-Site Scripting (hereafter referred to psuedo-acronymously as XSS) is a method of host and network intrusion pioneered by network security luminaries such as ZENOMORPH (zeno@cgisecurity.net) and iDEFENSE's own DAVIDENDLER (dendler@idefense.com). It is considered one of the top 10 threats to Internet and National Security and has resulted in numerous CERT, NIPC, FBI and SANS alerts. A XSS FAQ (authored by said luminaries) is available at http://www.cgisecurity.com/articles/xss-faq.shtml.
David Endler (known in Blackhat circles as urlmazter[BoW/h4g1s/ac1db1tch3z/TMD/RaZoR]) writes the following on the subject of XSS:
"It seems today that Cross-Site Scripting (XSS) holes in popular web applications are being discovered and disclosed at an ever-increasing rate. Just glancing at the Bugtraq security mailing list archives over the first half of 2002 shows countless postings of XSS holes in widely used websites and applications. This new iDEFENSE Labs XSS paper predicts that fully and semi- automated techniques will aggressively begin to emerge for targeting and hijacking web applications using XSS, thus eliminating the need for active human exploitation. Some of these techniques are detailed along with solutions and workarounds for web application developers and users. It is available at http://www.idefense.com/XSS.html for download.
II. DESCRIPTION
iDEFENSE has determined that 98% of websites, especially those utilizing "scripts" or "active content", contain at least one passing-unfiltered-user-input-back-to-the-user-inside-html-page vulnerability that could lead to denial-of-service attacks against legitimate users, cookie and session theft, arbitrary html execution, malicious GIF/TIF injection, erroneous counter statistics, cross-frame spoofing (see idefense.com for details), crossed-bean java infection (see idefense.com for details), cross-img-src 1x1pixel web-bug injection and spoofing (see idefense.com for details), web-application muscle and nerve exhaustion attacks, and inappropriate or stalled/delayed fullscreen-pop-under banner-advertisement serving to opt-in users.
In addition to the above discovery, it was noted that many search engines (hereafter referred to as "search engines") allow for rapid identification of potentially vulnerable sites. Coupled with widespread availability of email and newsgroup discussion services on the Internet, the dissemination of information regarding potential vulnerable servers is highly expediated. This allows the hacker community (hereafter referred to as 'skiddiotards') to broadcast their findings to their peers, which results in obscure domains and servers being targetted by large numbers of neophyte skiddiotards in a very short period of time.
III. IMPACT
The impact of an XSS attack should not be underestimated. It has been discovered that close to 90% of all identified XSS vulnerabilities allow an attacker to execute arbitrary HTML (and Javascript) code with the same privileges as a standard website. Put simply, an attacker taking advantage of a XSS-vulnerability can force unsuspecting users to display and/or execute webpages that they had not previously requested. This is equivalent to creating a malicious website, and enticing users to visit the page with an appropriate HTML browser client, or attaching said malicious HTML to an email message.
Technical Note 1: Many website operators rely on cookies and session ID's to identify and track their users.
IIIII. SOLUTION
Appropriate Anti-XSS Defense Mechanisms (ADMs) should be included in your organizational security policy. The iDEFENSE Site Security Standards Charter 2002 (iSSSC02) recommends a 2-layered approach encompassing both a technical and operational component to ensure maximum transparency and pro-activity. iDEFENSE is the worlds premier supplier of Anti-XSS defense software and consultancy services. For your free XSS Vulnerability Assessment Quote (iDEFXVAQ), please contact our sales, marketing and merchandising department at the number(s) listed below.
III. EXAMPLES
The following sites and services have been found to be vulnerable to at least 1 (One) XSS (cross-site-scripting) vulnerability which may or may not lead to arbitrary webpage injection to website visitors, and stuff.
http://www.thecanadianteacher.com/cgi-bin/links/error.cgi?ID=483&title=ript>alert("iDEFENSE.COM");</script>
http://www.sinotrade.com.tw/ec/mo/show.asp?title=><script>alert("iDEFENSE.COM");</script>
http://internetwoordenboek.kennisnet.nl/inetwdb/show.asp?qu=