Computer Security
[EN] securityvulns.ru
no-pyccku



Related information

  Daily web applications security vulnerabilities summary (PHP, ASP, JSP, CGI, Perl)

  Multiple xss in mambo 4.6.2

  PHP Security Framework: Vuln and Security Bypass

  SurgeMail v.38k4 webmail Host header crash

  neuron news1.0 Multiple Remote Vulnerabilities (sql injection/xss)

From:Jose Luis Góngora Fernández <sys-project_(at)_hotmail.com>
Date:18.12.2007
Subject: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óngora Fernández
# 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óngora Fernández

About | Terms of use | Privacy Policy
© SecurityVulns, 3APA3A, Vladimir Dubrovin
 



Đĺéňčíă@Mail.ru