vendor:
jQuery uploadify
by:
k4cp3r/Ablus
N/A
CVSS
N/A
Remote File Upload
N/A
CWE
Product Name: jQuery uploadify
Affected Version From: v2.1.0
Affected Version To: v2.1.0
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2010
jQuery uploadify v2.1.0 Remote File Upload
The FileFilter class is used to indicate what files on the user's system are shown in the file-browsing dialog box that is displayed when the FileReference.browse() method; a user can simply bypass this filter by writing the malicious file name and path on the file browser dialog box rather than navigating and choosing it. Exploit: #1 : upload your file ie (shell.php) #2 : Retreive the 'folder' parameter passed to uploadify jquery function from the head of the page source code ie('folder': 'files/',) #3 : Navigate to your file ie(http://site/files/shell.php)
Mitigation:
A quick fix is to validate your file type inside uploadify.php before saving it OR to randomize your file names :)