Rejetto http File Server 2.3.x (Reverse shell)### Poc exploit(bash script)
[bash.webm](https://github.com/0xTabun/CVE-2014-6287/assets/144548207/329721e8-8400-4605-a3c2-d5d104aaa0c8)
### About the exploit
You can get reverse shell with .sh file (in Linux)<br>
You can get reverse shell with .py file in (Windows and Linux) (in windows, you need to install netcat)<br>
You must specify the url<br>
example: http://target.com/<br>
* using for .py:<br>
python exploit.py<br>
* using for .sh:<br>
chmod +x exploit.sh<br>
./exploit.sh<br>
##### Exploit Title: CVE-2014-6287 | Reverse shell for (Rejetto http File Server 2.3.x)<br>
***Author: Tabun***
<br>
# POC part 1:
### (without exploit,long explanation, a lot of details)

1. To use this vulnerability, we first need a powershell reverse shell. As you can see,<br>
we converted it to "UTF-16LE" format with the iconv tool and parse it as hexadecimal with the xxd tool.
3. We can take a long look at this with xxd, but we need the raw hex code,<br>
so we converted it to "UTF-16LE" format again and we got raw hex codes using the hexdump tool.
5. Finally, we converted the raw hex codes into our part of payload with base64 encode (xxd and base64 were used)<br>
# POC part 2:
### (without exploit,long explanation, a lot of details)

1. Using ?search with %00, we specified the Powershell path,<br>
entered the base64 code and break the system with netcat.
[4.0K] /data/pocs/fbde588ac2f7fb10a522d9552884f709bb84d4e8
├── [1.7K] exploit.py
├── [1.7K] exploit.sh
├── [1.0K] LICENSE
├── [1.6K] README.md
└── [ 631] readme.txt
0 directories, 5 files