Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2014-6287 PoC — Rejetto HTTP File Server‘ParserLib.pas’代码注入漏洞

Source
Associated Vulnerability
Title:Rejetto HTTP File Server‘ParserLib.pas’代码注入漏洞 (CVE-2014-6287)
Description:The findMacroMarker function in parserLib.pas in Rejetto HTTP File Server (aks HFS or HttpFileServer) 2.3x before 2.3c allows remote attackers to execute arbitrary programs via a %00 sequence in a search action.
Description
Rejetto http File Server 2.3.x (Reverse shell)
Readme
### 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)
![terminal](https://github.com/0xTabun/CVE-2014-6287/assets/144548207/0f80ea07-ea67-4e20-b397-aa17b9329ad3)
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)
![burp](https://github.com/0xTabun/CVE-2014-6287/assets/144548207/02fdeaee-9ae7-468c-9c02-de79d2642f8c)
1. Using ?search with %00, we specified the Powershell path,<br>
   entered the base64 code and break the system with netcat.
File Snapshot

[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
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →