what you don't know can hurt you

SWFUpload Content Spoofing / Cross Site Scripting

SWFUpload Content Spoofing / Cross Site Scripting
Posted Mar 10, 2013
Authored by MustLive

SWFUpload suffers from cross site scripting and content spoofing vulnerabilities.

tags | advisory, spoof, vulnerability, xss
MD5 | da7c66ce051b9c9c696ef302616a44bc

SWFUpload Content Spoofing / Cross Site Scripting

Change Mirror Download
Hello list!

These are Content Spoofing and Cross-Site Scripting vulnerabilities in
SWFUpload.

This is very popular flash-file, which is used at tens millions of web sites
and in hundreds of web applications (such as WordPress, only this web
application is used at more then 62 millions of web sites according to
wordpress.com).

Last year I've wrote about XSS vulnerability in swfupload in WordPress
(http://securityvulns.ru/docs28759.html) and in many other web applications.
Neal Poole wrote in April 2012, when he disclosed XSS vulnerability in one
swf-file in WordPress (CVE-2012-3414), that none developers of SWFUpload
support their software. This application is still not maintained. Earlier
I've informed two developers (on their e-mails) about these new
vulnerabilities, but without any response from them, which was predictable
due to Neal's experience.

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

Vulnerable are all versions of SWFUpload - SWFUpload v2.2.0.1 and previous
versions. And all web applications with affected versions of SWFUpload are
vulnerable. There are many such web applications, about many of them I've
wrote last year, like WordPress.

Vulnerable are versions WordPress 2.5 - 3.3.1. The fixed version of
swfupload.swf in WP 3.3.2 contain fix as for previous XSS, as for these CS
and XSS vulnerabilities.

File swfupload.swf is bundled with WordPress 2.7 - 3.3.1. File
swfupload_f9.swf is bundled with WordPress 2.5 - 2.7.1. In versions WP 2.7 -
2.7.1 both flash-files are contained.

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

Use swfupload.swf from WordPress 3.3.2 and higher versions.

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

There are different names of files of SWFUpload: swfupload.swf,
swfupload_f9.swf, swfupload_f8.swf, swfupload_f10.swf and swfupload_f11.swf.
All of them are vulnerable, except swfupload.swf bundled with WordPress
since version 3.3.2.

Content Spoofing (WASC-12):

http://site/swfupload.swf?buttonText=test%3Cimg%20src=%27http://demo.swfupload.org/v220/images/logo.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%20href=%27javascript:alert(document.cookie)%27%3EClick%20me%3C/a%3E

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

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

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2019

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    16 Files
  • 2
    May 2nd
    8 Files
  • 3
    May 3rd
    8 Files
  • 4
    May 4th
    2 Files
  • 5
    May 5th
    1 Files
  • 6
    May 6th
    15 Files
  • 7
    May 7th
    22 Files
  • 8
    May 8th
    16 Files
  • 9
    May 9th
    17 Files
  • 10
    May 10th
    16 Files
  • 11
    May 11th
    3 Files
  • 12
    May 12th
    4 Files
  • 13
    May 13th
    25 Files
  • 14
    May 14th
    24 Files
  • 15
    May 15th
    78 Files
  • 16
    May 16th
    16 Files
  • 17
    May 17th
    12 Files
  • 18
    May 18th
    2 Files
  • 19
    May 19th
    1 Files
  • 20
    May 20th
    2 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    0 Files
  • 23
    May 23rd
    0 Files
  • 24
    May 24th
    0 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close