AOH :: HP Unsorted U :: BX1114.HTM

Uber Uploader <= 5.3.6 Remote File Upload Vulnerability



Uber Uploader <= 5.3.6 Remote File Upload Vulnerability
Uber Uploader <= 5.3.6 Remote File Upload Vulnerability



# Uber Uploader <= 5.3.6 Remote File Upload Vulnerability
# Download:
# http://sourceforge.net/projects/uber-uploader
# Bug found by JosS / Jose Luis G=F3ngora Fern=E1ndez
# Contact: sys-project[at]hotmail.com
# Spanish Hackers Team
# www.spanish-hackers.com
# /server irc.freenode.net /join #fullsecure

.vuln/
There isn't any kind of file extentions check in: "uu_file_upload.js" and  "uber_uploader_file.js".

.extentions/
you can submit files with extensions like: .html, .txt, .asp, etc...
you can upload all extensions, except: sh, php, php3,php4, php5, py, shtml, phtml, cgi, pl, plx, htaccess, htpasswd.

.PoC/
http://www.localhost/uu_file_upload.php
http://www.localhost/uber_uploader_file.php

.deface/
Once the file is uploaded you can see it in /uploads/
http://www.localhost/uploads/[YourFile]

.fixed/
To fix it, you have to modify "Check for illegal file extentions" and "Check for legal file extentions" in the file "uu_file_upload.js" or "uber_uploader_file.js".
It doesn't go on if its diferent to the allowed extensions.

[code]

// Check for illegal file extentions

function checkAllowFileExtensions(){
        if(!check_allow_extensions){ return true; }
else{
alert('Sorry, uploading a file with the extension "' + file_extension + '" is not allowed.');
return true;
}
}

// Check for legal file extentions

function checkAllowFileExtensions(){
        if(!check_allow_extensions){ return false; }
else{
alert('Sorry, uploading a file with the extension "' + file_extension + '" is not allowed.');
return true;
}
}

[/code]

.dork/
"Powered By Uber Uploader"
allinurl: uu_file_upload.php
allinurl: uber_uploader_file.php


//---------------------------------------\\

Greetz To: All Hackers
JosS! / Jose Luis G=F3ngora Fern=E1ndez 

The entire AOH site is optimized to look best in Firefox® 3 on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH
We do not send spam. If you have received spam bearing an artofhacking.com email address, please forward it with full headers to abuse@artofhacking.com.