| タイトル | Tenda AX9 V22.03.01.46 OS Command Injection |
|---|
| 説明 | The Web management backend of the Tenda AX9 smart router (firmware version V22.03.01.46) contains a second-order command injection in the handling of /goform/setMacFilterCfg. The user-controllable macFilterType field is written into the configuration, and when a later request changes this value, the old value is concatenated into a shell command and executed via system():
echo <old macFilterType> >/tmp/macfilter
Because the old value is concatenated without quoting, an attacker first injects a backtick-wrapped command `cmd`, then triggers the echo, and the backtick content is evaluated by the shell — thereby executing arbitrary commands with root (uid=0) privileges.
At the same time, the authentication layer has a whitelist mis-match (CVE-2023-47422): R7WebsSecurityHandler uses strstr for full-string substring matching, so any request appending ?img/main-logo.png is treated as a static resource and bypasses all authentication checks; and with no active session, the request body is parsed as plaintext. Combined: a LAN-side attacker can execute arbitrary commands as root with two plaintext HTTP POSTs and no credentials at all. |
|---|
| ソース | ⚠️ https://github.com/nenghun/Hacker/tree/main/AX9_setMacFilterCfg_Unauthenticated_RCE_Report |
|---|
| ユーザー | mizhou (UID 102593) |
|---|
| 送信 | 2026年11月07日 17:31 (22 日 ago) |
|---|
| モデレーション | 2026年11月29日 20:47 (22 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 445241 [Tenda AX9 22.03.01.46 Web Management Backend /goform/setMacFilterCfg system macFilterType 特権昇格] |
|---|
| ポイント | 20 |
|---|