[+] Credits: John Page ( hyp3rlinx ) [+] Domains: hyp3rlinx.altervista.org [+] Source: http://hyp3rlinx.altervista.org/advisories/AS-PHPFILEMANAGER0729.txt Vendor: ================================ phpfm.sourceforge.net Product: ============================ phpFileManager version 0.9.8 Vulnerability Type: ========================== CSRF Remote Backdoor Shell CVE Reference: ============== N/A Advisory Information: ======================================== CSRF Remote Backdoor Shell Vulnerability Vulnerability Details: ======================================================================= PHP File Manager is vulnerable to creation of arbitrary files on server via CSRF which we can use to create remote backdoor shell access if victim clicks our malicious linx or visits our malicious webpages. To create backdoor shell we will need to execute two POST requests 1- to create PHP backdoor shell 666.php 2- inject code and save to the backdoor we just created e.g. https://localhost/phpFileManager-0.9.8/666.php?cmd=[ OS command ] Exploit code(s): =============== Disclosure Timeline: ========================================================= Vendor Notification: July 28, 2015 July 29, 2015 : Public Disclosure Severity Level: ========================================================= High Description: ========================================================== Request Method(s): [+] POST Vulnerable Product: [+] phpFileManager 0.9.8 Vulnerable Parameter(s): [+] action, cmd_arg, file_data, chmod_arg, save_file Affected Area(s): [+] Web Server =========================================================== [+] Disclaimer Permission is hereby granted for the redistribution of this advisory, provided that it is not altered except by reformatting it, and that due credit is given. Permission is explicitly given for insertion in vulnerability databases and similar, provided that due credit is given to the author. The author is not responsible for any misuse of the information contained herein and prohibits any malicious use of all security related information or exploits by the author or elsewhere. by hyp3rlinx