| 标题 | Tenda AC9 AC9V1.0_V15.03.05.19(6318) Command Injection |
|---|
| 描述 | Tenda AC9 V1.0 Router is a consumer-grade wireless router supporting advanced wireless features, firewall, and device management capabilities. A command injection vulnerability exists in the formWriteFacMac function, which handles requests to the /goform/WriteFacMac endpoint. Attackers can inject arbitrary system commands via the mac parameter, leading to unauthorized device control or complete compromise.
The formWriteFacMac function processes POST requests to /goform/WriteFacMac. It extracts the user-controlled mac parameter via sub_2B9D4 (a parameter parsing function) and passes it directly to doSystemCmd. In doSystemCmd, the parameter is interpolated into a system command (e.g., cfm mac %s) without any input sanitization. The command is executed directly on the system. By injecting special characters (e.g., ;), attackers can escape the command context and execute arbitrary system commands on the router. |
|---|
| 来源 | ⚠️ https://github.com/ZZ2266/.github.io/blob/main/Tenda%20AC9/WriteFacMac/readme.md |
|---|
| 用户 | n0ps1ed (UID 88889) |
|---|
| 提交 | 2025-08-11 04時26分 (1 年前) |
|---|
| 管理 | 2025-08-13 13時47分 (2 days later) |
|---|
| 状态 | 重复 |
|---|
| VulDB条目 | 274875 [Tenda AC9 15.03.06.42 httpd formWriteFacMac 权限提升] |
|---|
| 积分 | 0 |
|---|