MiwoFTP - File & Folder Manager <= 1.0.4 - Arbitrary File Disclosure



Description
A hook is added to ‘init’ in the file ‘miwoftp/miwoftp.php’. This hook is triggered whenever a user visits the front end of the site. The function specified in this hook will proceed to allow the user to download a file within the scope of the home directory of the site. Various values from the GET scope are used when specifying the path, however these values are placed into a separate array named $GLOBALS.
Proof of Concept
http://example.com/?action=download&option=com_miwoftp&item=wp-config.php

Affects Plugin

fixed in version 1.0.5
- plugin closed

References

URL https://research.g0blin.co.uk/g0blin-00038/

Classification

Type LFI
OWASP Top 10 A1: Injection
CWE CWE-22

Miscellaneous

Submitter James Hooker
Submitter Website https://research.g0blin.co.uk
Submitter Twitter g0blinResearch
Views 4467
Verified No
WPVDB ID 7848

Timeline

Publicly Published 2015-03-16 (over 5 years ago)
Added 2015-03-17 (over 5 years ago)
Last Updated 2020-03-04 (4 months ago)

Our Other Services

Online WordPress Vulnerability Scanner WPScan WordPress Security Plugin