vendor:
Work The Flow File Upload
by:
nopesled
7,5
CVSS
HIGH
Unrestricted File Upload
434
CWE
Product Name: Work The Flow File Upload
Affected Version From: 1.2.1
Affected Version To: 1.2.1
Patch Exists: NO
Related CWE: N/A
CPE: 2.3:a:wordpress:work_the_flow_file_upload:1.2.1
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Windows 7
2014
Unrestricted File Upload
Submit an image file via the wtf upload panel and intercept the POST request to /wp-admin/admin-ajax.php. By editing the data from the control 'accept_file_types', we can upload normally disallowed filetypes such as PHP. Append '|php' to the control 'accept_file_types' and change the extension in the data for 'filename' to '.php' and enter desired code. Submit this POST request and the file will be found in the directory /wp-content/uploads/public/wtf-fu_files/default/.
Mitigation:
Set the control 'deny_public_uploads' to true.