vendor:
monsta_ftp_v1.6.2
by:
hyp3rlinx
N/A
CVSS
N/A
CSRF / XSS
N/A
CWE
Product Name: monsta_ftp_v1.6.2
Affected Version From: monsta_ftp_v1.6.2
Affected Version To: monsta_ftp_v1.6.2
Patch Exists: N/A
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: Windows 7 SP1 XAMPP
2015
CSRF XSS Monsta FTP
No CSRF token exists when making some POST requests, allowing arbitrary deletion of files on the monstaftp server dirs. Monstaftp sanitizes most $_GET requests with call to sanitizeStr() e.g --> echo sanitizeStr($ftp_host), However we find vulnerable code that is not santized on line 494 of index.php ---> echo $_GET["openFolder"]; creating an XSS entry point and will execute when victim accesses the Monstaftp login page before logging in.
Mitigation:
Ensure that all POST requests are protected with CSRF tokens and that all user input is properly sanitized.