Vulnerability Note VU#249337
Flash authoring tools create Flash files that contain cross-site scripting vulnerabilities
Overview
A number of authoring tools for Flash content may generate files that contain cross-site scripting vulnerabilities. Any site hosting Flash generated by an affected tool could be vulnerable to cross-site scripting.
Description
ActionScript is a scripting language based on ECMAScript (also referred to as JavaScript) used primarily for the development of websites and software using Adobe Flash. The resulting Flash content is typically published in the form of SWF files embedded in web pages. ActionScript within a Flash file creates dynamic content on the web and interacts with web browsers in a manner similar to JavaScript, VBScript, and other client-side scripting languages. As with traditional script content in HTML pages, improperly validated user-controlled input in Flash files can execute arbitrary ActionScript and JavaScript in the context of the domain hosting the affected Flash file. One specific type of vulnerability depends on the behavior of a special ActionScript protocol called asfunction. The asfunction protocol is used for URLs in HTML text fields and causes a link to invoke an ActionScript function in a Flash file instead of opening a URL. An attacker could call all public and static functions by supplying a string parameter to asfunction. There exist other types of vulnerabilities as well. Applications that generate Flash files (e.g., "save as SWF", "export to SWF", etc.) by using vulnerable templates or by including static Flash content like a controller may automatically insert generic and vulnerable ActionScript into saved files. As a result, all Flash files generated by these affected applications create cross-site scripting vulnerabilities in the domains hosting these files. Furthermore, exploitation of these vulnerabilities would be consistent across all sites using a particular product and vulnerable sites could be identified through a web search. |
Impact
Any website hosting Flash files generated by an affected product is vulnerable to cross-site scripting in the context of the domain hosting the vulnerable file. Secondary impacts include the ability to spoof or modify web content, access website information such as cookies, or retrieve data from an encrypted HTTPS connection. For a more detailed description of the impact of cross-site scripting vulnerabilities, please see CERT Advisory CA-2000-02. |
Solution
Upgrade or apply an update or patch |
|
Systems Affected (Learn More)
| Vendor | Status | Date Notified | Date Updated |
|---|---|---|---|
| Adobe | Affected | 04 Oct 2007 | 17 Jan 2008 |
| Autodemo | Affected | 27 Nov 2007 | 13 Dec 2007 |
| InfoSoft Global | Affected | 27 Nov 2007 | 13 Dec 2007 |
| TechSmith Corporation | Affected | 27 Nov 2007 | 16 Jun 2008 |
CVSS Metrics (Learn More)
| Group | Score | Vector |
|---|---|---|
| Base | N/A | N/A |
| Temporal | N/A | N/A |
| Environmental | N/A | N/A |
References
- http://www.wisec.it/sectou.php?id=464dd35c8c5ad
- http://eyeonsecurity.org/papers/flash-xss.pdf
- http://docs.google.com/View?docid=ajfxntc4dmsq_14dt57ssdw
- http://www.adobe.com/support/security/advisories/apsa07-06.html
- http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html
- http://www.adobe.com/devnet/flashplayer/articles/secure_swf_apps.html
- http://code.google.com/p/flash-validators/
- https://www.owasp.org/index.php/Category:SWFIntruder
- http://www.mhprofessional.com/product.php?isbn=0071494618
Credit
Thanks to Rich Cannings of the Google Security Team for reporting this vulnerability. Stefano Di Paola of Minded Security originally published information about the general problem of cross-site scripting in Flash applications.
This document was written by Chad Dougherty.
Other Information
- CVE IDs: Unknown
- Date Public: 18 May 2007
- Date First Published: 02 Jan 2008
- Date Last Updated: 16 Jun 2008
- Severity Metric: 5.40
- Document Revision: 49
Feedback
If you have feedback, comments, or additional information about this vulnerability, please send us email.