Vulnerabilities > CVE-2012-3414 - Cross-site Scripting vulnerability in multiple products
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Cross-site scripting (XSS) vulnerability in swfupload.swf in SWFUpload 2.2.0.1 and earlier, as used in WordPress before 3.3.2, TinyMCE Image Manager 1.1, and other products, allows remote attackers to inject arbitrary web script or HTML via the movieName parameter, related to the "ExternalInterface.call" function.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Cross Site Scripting through Log Files An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
- Embedding Scripts in Non-Script Elements This attack is a form of Cross-Site Scripting (XSS) where malicious scripts are embedded in elements that are not expected to host scripts such as image tags (<img>), comments in XML documents (< !-CDATA->), etc. These tags may not be subject to the same input validation, output validation, and other content filtering and checking routines, so this can create an opportunity for an attacker to tunnel through the application's elements and launch a XSS attack through other elements. As with all remote attacks, it is important to differentiate the ability to launch an attack (such as probing an internal network for unpatched servers) and the ability of the remote attacker to collect and interpret the output of said attack.
- Embedding Scripts within Scripts An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
- Cross-Site Scripting in Error Pages An attacker distributes a link (or possibly some other query structure) with a request to a third party web server that is malformed and also contains a block of exploit code in order to have the exploit become live code in the resulting error page. When the third party web server receives the crafted request and notes the error it then creates an error message that echoes the malformed message, including the exploit. Doing this converts the exploit portion of the message into to valid language elements that are executed by the viewing browser. When a victim executes the query provided by the attacker the infected error message error message is returned including the exploit code which then runs in the victim's browser. XSS can result in execution of code as well as data leakage (e.g. session cookies can be sent to the attacker). This type of attack is especially dangerous since the exploit appears to come from the third party web server, who the victim may trust and hence be more vulnerable to deception.
- Cross-Site Scripting Using Alternate Syntax The attacker uses alternate forms of keywords or commands that result in the same action as the primary form but which may not be caught by filters. For example, many keywords are processed in a case insensitive manner. If the site's web filtering algorithm does not convert all tags into a consistent case before the comparison with forbidden keywords it is possible to bypass filters (e.g., incomplete black lists) by using an alternate case structure. For example, the "script" tag using the alternate forms of "Script" or "ScRiPt" may bypass filters where "script" is the only form tested. Other variants using different syntax representations are also possible as well as using pollution meta-characters or entities that are eventually ignored by the rendering engine. The attack can result in the execution of otherwise prohibited functionality.
Exploit-Db
description | SWFUpload 'movieName' Parameter Cross Site Scripting Vulnerability. CVE-2012-3414. Webapps exploits for multiple platform |
id | EDB-ID:37470 |
last seen | 2016-02-04 |
modified | 2012-06-29 |
published | 2012-06-29 |
reporter | Nathan Partlan |
source | https://www.exploit-db.com/download/37470/ |
title | SWFUpload 'movieName' Parameter Cross Site Scripting Vulnerability |
Nessus
NASL family | CGI abuses |
NASL id | WORDPRESS_3_3_2.NASL |
description | According to its version number, the WordPress install hosted on the remote web server is affected by multiple vulnerabilities : - The application is affected by an unspecified vulnerability in wp-includes/js/swfupload/swfupload.swf. (CVE-2012-2399) - The application is affected by an unspecified vulnerability in wp-includes/js/swfobject.js. (CVE-2012-2400) - The application contains a version of Plupload prior to 1.5.4 that enables scripting regardless of the domain from which the SWF content was loaded, which allows remote attackers to bypass Same Origin Policy via crafted content. (CVE-2012-2401) - The application is affected by a security bypass vulnerability. Successfully exploiting this issue would allow a site administrator to deactivate network wide plugins. This issue requires the application to run under a WordPress network. (CVE-2012-2402) - The application is prone to multiple cross-site scripting vulnerabilities. An attacker can use specially crafted comments and the application is affected when making URLs clickable. (CVE-2012-2403, CVE-2012-2404) Note that CVE-2011-4898, CVE-2011-4899, CVE-2012-0782, CVE-2012-0937, and CVE-2012-1936 reportedly affect WordPress versions 3.3.1 and prior, however the CVE |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 59048 |
published | 2012-05-09 |
reporter | This script is Copyright (C) 2012-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/59048 |
title | WordPress < 3.3.2 Multiple Vulnerabilities |
code |
|
Packetstorm
data source https://packetstormsecurity.com/files/download/121291/dotclear-spoofxss.txt id PACKETSTORM:121291 last seen 2016-12-05 published 2013-04-13 reporter MustLive source https://packetstormsecurity.com/files/121291/Dotclear-2.4.4-Cross-Site-Scripting-Content-Spoofing.html title Dotclear 2.4.4 Cross Site Scripting / Content Spoofing data source https://packetstormsecurity.com/files/download/118009/wpswfupload-xss.txt id PACKETSTORM:118009 last seen 2016-12-05 published 2012-11-09 reporter MustLive source https://packetstormsecurity.com/files/118009/WordPress-3.3.1-swfupload.swf-Cross-Site-Scripting.html title WordPress 3.3.1 swfupload.swf Cross Site Scripting data source https://packetstormsecurity.com/files/download/118059/variousswfupload-xss.txt id PACKETSTORM:118059 last seen 2016-12-05 published 2012-11-13 reporter MustLive source https://packetstormsecurity.com/files/118059/SWF-Upload-Cross-Site-Scripting.html title SWF Upload Cross Site Scripting data source https://packetstormsecurity.com/files/download/124921/wpecommerce3895-shellexecxssxsrf.txt id PACKETSTORM:124921 last seen 2016-12-05 published 2014-01-24 reporter KedAns-Dz source https://packetstormsecurity.com/files/124921/WordPress-E-Commerce-3.8.9.5-File-Upload-XSS-CSRF-Code-Execution.html title WordPress E-Commerce 3.8.9.5 File Upload / XSS / CSRF / Code Execution
Seebug
bulletinFamily | exploit |
description | ### 简要描述: Turbomail邮件系统最新版某处存在xss漏洞,可以用来钓鱼,获取cookie等 ### 详细说明: 版本:windows server下搭建的最新版5.2.0 漏洞文件为 C:\turbomail\web\webapps\ROOT\enterprise\swfupload\swfupload.swf 此版本存在xss缺陷,参考CVE-2012-3414 http://mail.fuck.com:8080/enterprise/swfupload/swfupload/swfupload.swf?movieName=%22%5d%29;}catch%28e%29{}if%28!self.a%29self.a=!alert%28document.cookie%29;// [<img src="https://images.seebug.org/upload/201412/21231543e3d5323acc40e0e57f14953dafe17b65.png" alt="ssv.png" width="600" onerror="javascript:errimg(this);">](https://images.seebug.org/upload/201412/21231543e3d5323acc40e0e57f14953dafe17b65.png) [<img src="https://images.seebug.org/upload/201412/21231435a93e9ff8afab88501cb6f801ff6b8029.png" alt="t1.png" width="600" onerror="javascript:errimg(this);">](https://images.seebug.org/upload/201412/21231435a93e9ff8afab88501cb6f801ff6b8029.png) ### 漏洞证明: 如上 |
id | SSV:95642 |
last seen | 2017-11-19 |
modified | 2014-12-24 |
published | 2014-12-24 |
reporter | Root |
title | Turbomail邮件系统XSS-1 |
References
- http://bot24.blogspot.ca/2013/04/swfupload-object-injectioncsrf.html
- http://bot24.blogspot.ca/2013/04/swfupload-object-injectioncsrf.html
- http://code.google.com/p/swfupload/issues/detail?id=376
- http://code.google.com/p/swfupload/issues/detail?id=376
- http://make.wordpress.org/core/2013/06/21/secure-swfupload/
- http://make.wordpress.org/core/2013/06/21/secure-swfupload/
- http://packetstormsecurity.com/files/122399/TinyMCE-Image-Manager-1.1-Cross-Site-Scripting.html
- http://packetstormsecurity.com/files/122399/TinyMCE-Image-Manager-1.1-Cross-Site-Scripting.html
- http://www.openwall.com/lists/oss-security/2012/07/16/4
- http://www.openwall.com/lists/oss-security/2012/07/16/4
- http://www.openwall.com/lists/oss-security/2012/07/17/12
- http://www.openwall.com/lists/oss-security/2012/07/17/12
- http://www.securityfocus.com/bid/54245
- http://www.securityfocus.com/bid/54245
- https://nealpoole.com/blog/2012/05/xss-and-csrf-via-swf-applets-swfupload-plupload/
- https://nealpoole.com/blog/2012/05/xss-and-csrf-via-swf-applets-swfupload-plupload/