POC详情: 7b03dacc059d433eeaebaecf648413ce21a1a502

来源
关联漏洞
标题: Rejetto HTTP File Server‘ParserLib.pas’代码注入漏洞 (CVE-2014-6287)
描述:HTTP File Server是一款专为个人用户所设计的HTTP文件服务器,它提供虚拟档案系统,支持新增、移除虚拟档案资料夹等。 Rejetto HTTP File Server 2.3c及之前版本中的parserLib.pas文件中的‘findMacroMarker’函数中存在安全漏洞,该漏洞源于parserLib.pas文件没有正确处理空字节。远程攻击者可借助搜索操作中的‘%00’序列利用该漏洞执行任意程序。
描述
This repository contains Detailed explanation and working poc for Rejetto HTTP File Server (HFS) 2.3.x - Remote Command Execution.
介绍
# rejetto-http-file-server-2.3.x-RCE-exploit-CVE-2014-6287
This repository contains Detailed explanation and working poc for Rejetto HTTP File Server (HFS) 2.3.x - Remote Command Execution.

## Configuration:

Create a netcat listner.

```python
nc -lnvp 1234
```

Change the attacker ip to your ip and port.

![image.png](https://nettle-litter-b50.notion.site/image/attachment%3A04fd9e7d-966f-4aeb-b697-e1f789c46281%3Aimage.png?table=block&id=22d2ca6d-3742-803b-a5f1-e86e2514d836&spaceId=aca0ba9d-f085-4b38-be34-b9b6ac5c2fa6&width=1230&userId=&cache=v2)

Also create a http file server on the same directory where `nc.exe` exists.

```python
python -m http.server 80
```

## Usage:

```python
python exploit.py <target-ip> <target-port>
```

![image.png](https://nettle-litter-b50.notion.site/image/attachment%3Af54b2503-02a4-469a-9298-e30b08959bb2%3Aimage.png?table=block&id=22d2ca6d-3742-807b-8e88-fcdaabffc6d5&spaceId=aca0ba9d-f085-4b38-be34-b9b6ac5c2fa6&width=1230&userId=&cache=v2)

> Note: You may need to run the payload multiple time to get a reverse shell.
> 

## Reference

---

https://www.exploit-db.com/exploits/39161

https://www.exploit-db.com/exploits/34668 

https://mohemiv.com/all/rejetto-http-file-server-2-3m-unauthenticated-rce/
文件快照

[4.0K] /data/pocs/7b03dacc059d433eeaebaecf648413ce21a1a502 ├── [2.4K] exploit.py └── [1.2K] README.md 0 directories, 2 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。